Small lemma about sums and products

  • Context: Graduate 
  • Thread starter Thread starter Tarty
  • Start date Start date
  • Tags Tags
    Sums
Click For Summary

Discussion Overview

The discussion revolves around a lemma concerning the equality of sums and products of two sets of nonzero integers, specifically whether having equal sums and products implies that the sets are identical. Participants explore this lemma in the context of proving a larger theorem related to eigenvalues of matrices.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant proposes the lemma that if two sets of nonzero integers have equal sums and products, then the sets must be the same.
  • Another suggests using induction to explore the lemma further.
  • A specific case with two elements is analyzed, leading to a quadratic equation that suggests the sets may be equal under certain conditions.
  • Some participants argue that the lemma is false for larger sets, citing polynomial properties that indicate sums and products do not uniquely determine the elements of the sets.
  • Counterexamples are provided, including sets with negative integers and distinct integers that yield the same sums and products.
  • Discussion includes the possibility of salvaging the lemma by restricting to positive integers and excluding the number "1," though this is also challenged.
  • One participant shares their larger theorem involving eigenvalues of matrices and how the lemma relates to their proof.
  • Further exploration of eigenvalues leads to a more comprehensive understanding of the relationship between matrices and their characteristic polynomials.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the validity of the lemma, with multiple competing views and counterexamples presented. The discussion remains unresolved regarding the lemma's truth under various conditions.

Contextual Notes

Limitations include the dependence on the definitions of the sets involved and the constraints imposed by the requirement that all integers be nonzero. The discussion also highlights the complexity of the relationships between sums, products, and the elements of the sets.

Who May Find This Useful

Readers interested in mathematical proofs, properties of integers, and eigenvalue theory in linear algebra may find this discussion relevant.

Tarty
Messages
7
Reaction score
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.
 
Physics news on Phys.org
have you tried induction?
 
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.
 
Deveno's approach, suggests ths is false if n > 2.

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

The sum and product of the a's determine A_{n-1} and A_0 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 ...
 
Unless you meant to restrict it to positive integers, here's a counter example:

A = -1 2 3 -4
B = 1 -2 -3 4
 
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|
 
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}.
 
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.
 
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).
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 38 ·
2
Replies
38
Views
6K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 42 ·
2
Replies
42
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K