Small lemma about sums and products

  • Thread starter Tarty
  • Start date
  • Tags
    Sums
In summary, the conversation discusses a theorem regarding the equality of sets and their sums and products, and potential counterexamples to this theorem. It also explores a larger theorem involving eigenvalues of matrices and provides a proof for this theorem.
  • #1
Tarty
7
0
Hey,
I'm trying to prove a larger theorem; in order to complete my proof I need to use the following lemma (or, if it turns out to be false, try a completely different method of proof):

Consider any two sets of n nonzero integers, A and B. If their respective sums and products are equal, then A = B.
i.e if A = {a1, a2, ... aN} and B = (b1, b2, ... bN},
and a1*a2*...*aN = b1*b2*...*bN
and a1 + a2 +... + aN = b1 + b2 + ... bN

then A and B are the same set.

For some reason I'm sure I've seen this theorem before, but I can't for the life of me remember where or whether it was exactly this or slightly different. I'd search it on Google, but then I'd need to know what terms to search for - and if I knew that I would probably know the answer.

So, any ideas/pointers/links to wikipedia articles are very much appreciated.
 
Mathematics news on Phys.org
  • #2
have you tried induction?
 
  • #3
the case |A| = |B| = 2 might be instructive:

let A = {x,y}, B = {a,b}

then x + y = a + b, and xy = ab.

so y = ab/x, and

x + ab/x = a + b, that is:

x^2 + ab = (a+b)x, so

x^2 - (a+b)x + ab = 0

(x - a)(x - b) = 0.

thus x = a, or x = b, in either case, y is the remaining element of B.
 
  • #4
Deveno's approach, suggests ths is false if n > 2.

Consider the polynomial
[tex](x-a_1)(x-a_2)\cdots(x-a_n) = x^n + A_{n-1}x^{n-1} \cdots + A_0[/tex]

The sum and product of the a's determine [itex]A_{n-1}[/itex] and [itex]A_0[/itex] but not the other A's.

I conjecture you could find a counterexample that way. But, your conditon that all the a's are nonzero integers imposes some more constraints on the A's ...
 
  • #5
Unless you meant to restrict it to positive integers, here's a counter example:

A = -1 2 3 -4
B = 1 -2 -3 4
 
  • #6
Deveno said:
thus x = a, or x = b, in either case, y is the remaining element of B.
&&
AlephZero said:
A = -1 2 3 -4
B = 1 -2 -3 4
In other words, the sets are not necessarily the same.

In Deveno's case, the elements are the same, but the possibility exists that a1=b2 and b1=a2 (the set order is different).

In AlephZero's case, the elements have the same magnitude, but have differing signs (and they could have alternate set ordering as well).
|-1| = |1|
 
  • #7
This lemma is not even true for the positive integers. Consider the multisets {1, 5, 8} and {2, 2, 10}. Alternatively, if we want to require that all three numbers be distinct, we can consider the sets {1, 9, 10} and {2, 3, 15}.
 
  • #8
Good counter example Citan. I wonder if the Lemma could be salvaged with the condition that all the factors be positive and non-trivial (that is, we also exclude "1"). Can anyone think of a counter example that doesn't include "1" as one of the factors?

In other words, the sets are not necessarily the same.

In Deveno's case, the elements are the same, but the possibility exists that a1=b2 and b1=a2 (the set order is different).
Matt, sets don't have ordering so that isn't important here.
 
  • #9
uart said:
I wonder if the Lemma could be salvaged with the condition that all the factors be positive and non-trivial (that is, we also exclude "1")?

Just to answer my own question. Yes obviously if we just multiply each of the elements in the above counter example by "2" then the sums will increase by a factor of two and the products by eight, so they'll still be equal. So it looks like the proposed lemma is definitely sunk.
 
  • #10
Oh wow, good catch Citan! (but in fact negative integers are allowable, so even Aleph's counterexample works).

Thanks guys. I guess it's back to the drawing board with the proof. :(
 
  • #11
Just out of curiosity, what's the larger theorem you're trying to prove?
 
  • #12
Given two nxn matrices A, B,
The eigenvalues of AB = the eigenvalues of BA.

Essentially I had proved that the trace and determinant of both matrices was the same, and if this lemma were true that's all I would need.
 
Last edited:
  • #13
actually i thought of a better way:

suppose 0 is an eigenvalue of AB.

then either A or B must be singular.

hence BA is singular, so 0 is an eigenvalue of BA.

suppose λ is a non-zero eigenvalue for AB, with eigenvector v.

then BA(Bv) = B(ABv) = B(λv) = λ(Bv),

so λ is an eigenvalue for BA (with eigenvector Bv,

Bv cannot be 0, since ABv = λv is non-zero).

that's half, the other half is similar.
 
  • #14
You can actually go farther, and prove that AB and BA have the same eigenvalues with the same multiplicity. For this, it is necessary and sufficient to prove that AB and BA have the same characteristic polynomial. Let Char(AB) = det(λI-AB) be the characteristic polynomial of AB, and similarly for BA. If B is invertible, we have det(B) * Char(AB) = det(B(λI - AB)) = det (λB - BAB) = det ((λI-BA)B) = Char(BA) det(B), and dividing by both sides yields that Char(AB) = Char(BA). Now, note that the coefficients of Char(A) are polynomials in the entries of A, so the map A↦Char(A) is continuous. The invertible matrices are dense in the set of all matrices, so if B is not invertible, there is a sequence of invertible matrices {Bn} such that Bn → B. Then from the previous case we have Char(AB) = lim Char(ABn) = lim Char(BnA) = Char(BA), which completes the proof.
 
  • #15
Citan Uzuki said:
The invertible matrices are dense in the set of all matrices

this is a topological fact unlikely to be covered in a linear algebra course (but I do like the way you think).
 

1. What is a small lemma about sums and products?

A small lemma about sums and products is a mathematical statement that helps us understand the relationship between addition and multiplication. It states that the sum of two numbers multiplied by a third number is equal to the sum of each number individually multiplied by the third number.

2. How is the small lemma about sums and products useful in mathematics?

The small lemma about sums and products is useful in simplifying mathematical expressions and solving equations. It can also be used in proofs and to help understand more complex mathematical concepts.

3. Can you provide an example of the small lemma about sums and products?

Sure, for example, if we have the numbers 2, 3, and 4, the small lemma states that (2+3) x 4 = (2x4) + (3x4). In other words, the sum of 2 and 3 multiplied by 4 is equal to the sum of 2 multiplied by 4 and 3 multiplied by 4.

4. Is the small lemma about sums and products applicable to all numbers?

Yes, the small lemma about sums and products holds true for all real numbers. It is a fundamental mathematical principle that can be applied to any numerical values.

5. How can I use the small lemma about sums and products in real-life situations?

The small lemma about sums and products can be applied in various real-life situations, such as calculating discounts and taxes, understanding compound interest, and solving problems involving proportions. It can also be used in fields such as economics, physics, and engineering to simplify complex equations and models.

Similar threads

Replies
7
Views
639
  • Quantum Interpretations and Foundations
2
Replies
38
Views
4K
  • General Math
Replies
5
Views
3K
  • General Math
Replies
1
Views
2K
Replies
2
Views
2K
Replies
1
Views
1K
Replies
5
Views
1K
  • General Math
Replies
4
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
Back
Top