Maths Olympiad Prep

Library / IMO Shortlist /131 of 365

IMO Shortlist, 2019

Algebra Difficulty 8.4 Shortlist Prove it IMO

Let n⩾2n \geqslant 2 be a positive integer and a1,a2,…,ana_{1}, a_{2}, \ldots, a_{n} be real numbers such that
a1+a2+⋯+an=0. a_{1}+a_{2}+\cdots+a_{n}=0 .
Define the set AA by
A={(i,j)∣1⩽i<j⩽n,∣ai−aj∣⩾1}. A=\left\{(i, j)\left|1 \leqslant i<j \leqslant n,\left|a_{i}-a_{j}\right| \geqslant 1\right\} .\right.
Prove that, if AA is not empty, then
∑(i,j)∈Aaiaj<0. \sum_{(i, j) \in A} a_{i} a_{j}<0 .

Solutions — 2

Solution 1

Define sets BB and CC by
B={(i,j)∣1⩽i,j⩽n,∣ai−aj∣⩾1},C={(i,j)∣1⩽i,j⩽n,∣ai−aj∣<1}. \begin{aligned} & B=\left\{(i, j)\left|1 \leqslant i, j \leqslant n,\left|a_{i}-a_{j}\right| \geqslant 1\right\},\right. \\ & C=\left\{(i, j)\left|1 \leqslant i, j \leqslant n,\left|a_{i}-a_{j}\right|<1\right\} .\right. \end{aligned}
We have
∑(i,j)∈Aaiaj=12∑(i,j)∈Baiaj∑(i,j)∈Baiaj=∑1⩽i,j⩽naiaj−∑(i,j)∉Baiaj=0−∑(i,j)∈Caiaj. \begin{aligned} \sum_{(i, j) \in A} a_{i} a_{j} & =\frac{1}{2} \sum_{(i, j) \in B} a_{i} a_{j} \\ \sum_{(i, j) \in B} a_{i} a_{j} & =\sum_{1 \leqslant i, j \leqslant n} a_{i} a_{j}-\sum_{(i, j) \notin B} a_{i} a_{j}=0-\sum_{(i, j) \in C} a_{i} a_{j} . \end{aligned}
So it suffices to show that if AA (and hence BB) are nonempty, then
∑(i,j)∈Caiaj>0. \sum_{(i, j) \in C} a_{i} a_{j}>0 .
Partition the indices into sets P,Q,RP, Q, R, and SS such that
P={i∣ai⩽−1}R={i∣0<ai<1}Q={i∣−1<ai⩽0}S={i∣1⩽ai}. \begin{array}{ll} P=\left\{i \mid a_{i} \leqslant-1\right\} & R=\left\{i \mid 0<a_{i}<1\right\} \\ Q=\left\{i \mid-1<a_{i} \leqslant 0\right\} & S=\left\{i \mid 1 \leqslant a_{i}\right\} . \end{array}
Then
∑(i,j)∈Caiaj⩾∑i∈P∪Sai2+∑i,j∈Q∪Raiaj=∑i∈P∪Sai2+(∑i∈Q∪Rai)2⩾0. \sum_{(i, j) \in C} a_{i} a_{j} \geqslant \sum_{i \in P \cup S} a_{i}^{2}+\sum_{i, j \in Q \cup R} a_{i} a_{j}=\sum_{i \in P \cup S} a_{i}^{2}+\left(\sum_{i \in Q \cup R} a_{i}\right)^{2} \geqslant 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\left|a_{i}-a_{j}\right|<1 whenever i,j∈Q∪Ri, j \in Q \cup R; the second inequality attains equality only if P=S=∅P=S=\varnothing. But then we would have A=∅A=\varnothing. So AA nonempty implies that the inequality holds strictly, as required.

Solution 2

Consider P,Q,R,SP, Q, R, S as in Solution 1, set
p=∑i∈Pai,q=∑i∈Qai,r=∑i∈Rai,s=∑i∈Sai, p=\sum_{i \in P} a_{i}, \quad q=\sum_{i \in Q} a_{i}, \quad r=\sum_{i \in R} a_{i}, \quad s=\sum_{i \in S} a_{i},
and let
t+=∑(i,j)∈A,aiaj⩾0aiaj,t−=∑(i,j)∈A,aiaj⩽0aiaj. t_{+}=\sum_{(i, j) \in A, a_{i} a_{j} \geqslant 0} a_{i} a_{j}, \quad t_{-}=\sum_{(i, j) \in A, a_{i} a_{j} \leqslant 0} a_{i} a_{j} .
We know that p+q+r+s=0p+q+r+s=0, and we need to prove that t++t−<0t_{+}+t_{-}<0.
Notice that t+⩽p2/2+pq+rs+s2/2t_{+} \leqslant p^{2} / 2+p q+r s+s^{2} / 2 (with equality only if p=s=0p=s=0), and t−⩽pr+ps+qst_{-} \leqslant p r+p s+q s (with equality only if there do not exist i∈Qi \in Q and j∈Rj \in R with aj−ai>1a_{j}-a_{i}>1). Therefore,
t++t−⩽p2+s22+pq+rs+pr+ps+qs=(p+q+r+s)22−(q+r)22=−(q+r)22⩽0 t_{+}+t_{-} \leqslant \frac{p^{2}+s^{2}}{2}+p q+r s+p r+p s+q s=\frac{(p+q+r+s)^{2}}{2}-\frac{(q+r)^{2}}{2}=-\frac{(q+r)^{2}}{2} \leqslant 0
If AA is not empty and p=s=0p=s=0, then there must exist i∈Q,j∈Ri \in Q, j \in R with ∣ai−aj∣>1\left|a_{i}-a_{j}\right|>1, and hence the earlier equality conditions cannot both occur.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.