Let n⩾2 be a positive integer and a1,a2,…,an be real numbers such that a1+a2+⋯+an=0. Define the set A by A={(i,j)∣1⩽i<j⩽n,∣ai−aj∣⩾1}. Prove that, if A is not empty, then (i,j)∈A∑aiaj<0.
Solutions — 2
Solution 1
Define sets B and C by B={(i,j)∣1⩽i,j⩽n,∣ai−aj∣⩾1},C={(i,j)∣1⩽i,j⩽n,∣ai−aj∣<1}. We have (i,j)∈A∑aiaj(i,j)∈B∑aiaj=21(i,j)∈B∑aiaj=1⩽i,j⩽n∑aiaj−(i,j)∈/B∑aiaj=0−(i,j)∈C∑aiaj. So it suffices to show that if A (and hence B) are nonempty, then (i,j)∈C∑aiaj>0. Partition the indices into sets P,Q,R, and S such that P={i∣ai⩽−1}Q={i∣−1<ai⩽0}R={i∣0<ai<1}S={i∣1⩽ai}. Then (i,j)∈C∑aiaj⩾i∈P∪S∑ai2+i,j∈Q∪R∑aiaj=i∈P∪S∑ai2+i∈Q∪R∑ai2⩾0. The first inequality holds because all of the positive terms in the RHS are also in the LHS, and all of the negative terms in the LHS are also in the RHS. The first inequality attains equality only if both sides have the same negative terms, which implies ∣ai−aj∣<1 whenever i,j∈Q∪R; the second inequality attains equality only if P=S=∅. But then we would have A=∅. So A nonempty implies that the inequality holds strictly, as required.
Solution 2
Consider P,Q,R,S as in Solution 1, set p=i∈P∑ai,q=i∈Q∑ai,r=i∈R∑ai,s=i∈S∑ai, and let t+=(i,j)∈A,aiaj⩾0∑aiaj,t−=(i,j)∈A,aiaj⩽0∑aiaj. We know that p+q+r+s=0, and we need to prove that t++t−<0. Notice that t+⩽p2/2+pq+rs+s2/2 (with equality only if p=s=0), and t−⩽pr+ps+qs (with equality only if there do not exist i∈Q and j∈R with aj−ai>1). Therefore, t++t−⩽2p2+s2+pq+rs+pr+ps+qs=2(p+q+r+s)2−2(q+r)2=−2(q+r)2⩽0 If A is not empty and p=s=0, then there must exist i∈Q,j∈R with ∣ai−aj∣>1, and hence the earlier equality conditions cannot both occur.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement and solution reproduced as published; topic and difficulty added by this site.