Maths Olympiad Prep

Track / Stage 10 / 7 of 32 #2579 of 2604

Problem 2579

Hardest shortlist tier
Algebra Difficulty 9.2 Prove it International Mathematical Olympiad · IMO

An integer n⩾3n \geqslant 3 is given. We call an nn-tuple of real numbers (x1,x2,…,xn)(x_{1}, x_{2}, \ldots, x_{n}) Shiny if for each permutation y1,y2,…,yny_{1}, y_{2}, \ldots, y_{n} of these numbers we have
∑i=1n−1yiyi+1=y1y2+y2y3+y3y4+⋯+yn−1yn⩾−1. \sum_{i=1}^{n-1} y_{i} y_{i+1} = y_{1} y_{2} + y_{2} y_{3} + y_{3} y_{4} + \cdots + y_{n-1} y_{n} \geqslant -1.
Find the largest constant K=K(n)K = K(n) such that
∑1⩽i<j⩽nxixj⩾K \sum_{1 \leqslant i < j \leqslant n} x_{i} x_{j} \geqslant K
holds for every Shiny nn-tuple (x1,x2,…,xn)(x_{1}, x_{2}, \ldots, x_{n}).

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solutions — 2

Solution 1

Answer: K=−(n−1)/2K = - (n-1)/2.

Solution 1. First of all, we show that we may not take a larger constant KK. Let tt be a positive number, and take x2=x3=⋯=tx_{2} = x_{3} = \cdots = t and x1=−1/(2t)x_{1} = -1/(2t). Then, every product xixjx_{i} x_{j} (i≠ji \neq j) is equal to either t2t^{2} or −1/2-1/2. Hence, for every permutation yiy_{i} of the xix_{i}, we have
y1y2+⋯+yn−1yn⩾(n−3)t2−1⩾−1. y_{1} y_{2} + \cdots + y_{n-1} y_{n} \geqslant (n-3) t^{2} - 1 \geqslant -1.
This justifies that the nn-tuple (x1,…,xn)(x_{1}, \ldots, x_{n}) is Shiny. Now, we have
∑i<jxixj=−n−12+(n−1)(n−2)2t2. \sum_{i<j} x_{i} x_{j} = -\frac{n-1}{2} + \frac{(n-1)(n-2)}{2} t^{2}.
Thus, as tt approaches 00 from above, ∑i<jxixj\sum_{i<j} x_{i} x_{j} gets arbitrarily close to −(n−1)/2-(n-1)/2. This shows that we may not take KK any larger than −(n−1)/2-(n-1)/2. It remains to show that ∑i<jxixj⩾−(n−1)/2\sum_{i<j} x_{i} x_{j} \geqslant -(n-1)/2 for any Shiny choice of the xix_{i}.

From now onward, assume that (x1,…,xn)(x_{1}, \ldots, x_{n}) is a Shiny nn-tuple. Let the ziz_{i} (1⩽i⩽n1 \leqslant i \leqslant n) be some permutation of the xix_{i} to be chosen later. The indices for ziz_{i} will always be taken modulo nn. We will first split up the sum ∑i<jxixj=∑i<jzizj\sum_{i<j} x_{i} x_{j} = \sum_{i<j} z_{i} z_{j} into ⌊(n−1)/2⌋\lfloor (n-1)/2 \rfloor expressions, each of the form y1y2+⋯+yn−1yny_{1} y_{2} + \cdots + y_{n-1} y_{n} for some permutation yiy_{i} of the ziz_{i}, and some leftover terms. More specifically, write
∑i<jzizj=∑q=0n−1∑i+j≡q (modn)i≠j (modn)zizj=∑p=1⌊n−12⌋∑i+j≡2p−1,2p (modn)i≠j (modn)zizj+L, \begin{equation*} \sum_{i<j} z_{i} z_{j} = \sum_{q=0}^{n-1} \sum_{\substack{i+j \equiv q \ (\bmod n) \\ i \neq j \ (\bmod n)}} z_{i} z_{j} = \sum_{p=1}^{\left\lfloor \frac{n-1}{2} \right\rfloor} \sum_{\substack{i+j \equiv 2p-1, 2p \ (\bmod n) \\ i \neq j \ (\bmod n)}} z_{i} z_{j} + L, \tag{1} \end{equation*}
where L=z1z−1+z2z−2+⋯+z(n−1)/2z−(n−1)/2L = z_{1} z_{-1} + z_{2} z_{-2} + \cdots + z_{(n-1)/2} z_{-(n-1)/2} if nn is odd, and L=z1z−1+z1z−2+z2z−2+⋯+z(n−2)/2z−n/2L = z_{1} z_{-1} + z_{1} z_{-2} + z_{2} z_{-2} + \cdots + z_{(n-2)/2} z_{-n/2} if nn is even. We note that for each p=1,2,…,⌊(n−1)/2⌋p = 1, 2, \ldots, \lfloor (n-1)/2 \rfloor, there is some permutation yiy_{i} of the ziz_{i} such that
∑i+j≡2p−1,2p (modn)i≠j (modn)zizj=∑k=1n−1ykyk+1, \sum_{\substack{i+j \equiv 2p-1, 2p \ (\bmod n) \\ i \neq j \ (\bmod n)}} z_{i} z_{j} = \sum_{k=1}^{n-1} y_{k} y_{k+1},
because we may choose y2i−1=zi+p−1y_{2i-1} = z_{i+p-1} for 1⩽i⩽(n+1)/21 \leqslant i \leqslant (n+1)/2 and y2i=zp−iy_{2i} = z_{p-i} for 1⩽i⩽n/21 \leqslant i \leqslant n/2.

We show (1) graphically for n=6,7n=6,7 in the diagrams below. The edges of the graphs each represent a product zizjz_{i} z_{j}, and the dashed and dotted series of lines represents the sum of the edges, which is of the form y1y2+⋯+yn−1yny_{1} y_{2} + \cdots + y_{n-1} y_{n} for some permutation yiy_{i} of the ziz_{i} precisely when the series of lines is a Hamiltonian path. The filled edges represent the summands of LL.

Figure 1

Figure 2

Now, because the ziz_{i} are Shiny, we have that (1) yields the following bound:
∑i<jzizj⩾−⌊n−12⌋+L. \sum_{i<j} z_{i} z_{j} \geqslant -\left\lfloor \frac{n-1}{2} \right\rfloor + L.
It remains to show that, for each nn, there exists some permutation ziz_{i} of the xix_{i} such that L⩾0L \geqslant 0 when nn is odd, and L⩾−1/2L \geqslant -1/2 when nn is even. We now split into cases based on the parity of nn and provide constructions of the permutations ziz_{i}.

Since we have not made any assumptions yet about the xix_{i}, we may now assume without loss of generality that
x1⩽x2⩽⋯⩽xk⩽0⩽xk+1⩽⋯⩽xn. \begin{equation*} x_{1} \leqslant x_{2} \leqslant \cdots \leqslant x_{k} \leqslant 0 \leqslant x_{k+1} \leqslant \cdots \leqslant x_{n}. \tag{2} \end{equation*}

## Case 1: nn is odd.

Without loss of generality, assume that kk (from (2)) is even, because we may negate all the xix_{i} if kk is odd. We then have x1x2,x3x4,…,xn−2xn−1⩾0x_{1} x_{2}, x_{3} x_{4}, \ldots, x_{n-2} x_{n-1} \geqslant 0 because the factors are of the same sign. Let L=x1x2+x3x4+⋯+xn−2xn−1⩾0L = x_{1} x_{2} + x_{3} x_{4} + \cdots + x_{n-2} x_{n-1} \geqslant 0. We choose our ziz_{i} so that this definition of LL agrees with the sum of the leftover terms in (1). Relabel the xix_{i} as ziz_{i} such that
{z1,zn−1},{z2,zn−2},…,{z(n−1)/2,z(n+1)/2} \{z_{1}, z_{n-1}\}, \{z_{2}, z_{n-2}\}, \ldots, \{z_{(n-1)/2}, z_{(n+1)/2}\}
are some permutation of
{x1,x2},{x3,x4},…,{xn−2,xn−1}, \{x_{1}, x_{2}\}, \{x_{3}, x_{4}\}, \ldots, \{x_{n-2}, x_{n-1}\},
and zn=xnz_{n} = x_{n}. Then, we have L=z1zn−1+⋯+z(n−1)/2z(n+1)/2L = z_{1} z_{n-1} + \cdots + z_{(n-1)/2} z_{(n+1)/2}, as desired.

Case 2: nn is even.

Let L=x1x2+x2x3+⋯+xn−1xnL = x_{1} x_{2} + x_{2} x_{3} + \cdots + x_{n-1} x_{n}. Assume without loss of generality k≠1k \neq 1. Now, we have
2L=(x1x2+⋯+xn−1xn)+(x1x2+⋯+xn−1xn)⩾(x2x3+⋯+xn−1xn)+xkxk+1⩾x2x3+⋯+xn−1xn+xnx1⩾−1 \begin{gathered} 2L = (x_{1} x_{2} + \cdots + x_{n-1} x_{n}) + (x_{1} x_{2} + \cdots + x_{n-1} x_{n}) \geqslant (x_{2} x_{3} + \cdots + x_{n-1} x_{n}) + x_{k} x_{k+1} \\ \geqslant x_{2} x_{3} + \cdots + x_{n-1} x_{n} + x_{n} x_{1} \geqslant -1 \end{gathered}
where the first inequality holds because the only negative term in LL is xkxk+1x_{k} x_{k+1}, the second inequality holds because x1⩽xk⩽0⩽xk+1⩽xnx_{1} \leqslant x_{k} \leqslant 0 \leqslant x_{k+1} \leqslant x_{n}, and the third inequality holds because the xix_{i} are assumed to be Shiny. We thus have that L⩾−1/2L \geqslant -1/2. We now choose a suitable ziz_{i} such that the definition of LL matches the leftover terms in (1).

Relabel the xix_{i} with ziz_{i} in the following manner: x2i−1=z−ix_{2i-1} = z_{-i}, x2i=zix_{2i} = z_{i} (again taking indices modulo nn). We have that
L=∑i+j≡0,−1 (modn)i≠j (modn)zizj L = \sum_{\substack{i+j \equiv 0, -1 \ (\bmod n) \\ i \neq j \ (\bmod n)}} z_{i} z_{j}
as desired.

Solution 2

We present another proof that ∑i<jxixj⩾−(n−1)/2\sum_{i<j} x_{i} x_{j} \geqslant - (n-1)/2 for any Shiny nn-tuple (x1,…,xn)(x_{1}, \ldots, x_{n}). Assume an ordering of the xix_{i} as in (2), and let ℓ=n−k\ell = n - k. Assume without loss of generality that k⩾ℓk \geqslant \ell. Also assume k≠nk \neq n, (as otherwise, all of the xix_{i} are nonpositive, and so the inequality is trivial). Define the sets of indices S={1,2,…,k}S = \{1, 2, \ldots, k\} and T={k+1,…,n}T = \{k+1, \ldots, n\}. Define the following sums:
K=∑i<ji,j∈Sxixj,M=∑i∈Sj∈Txixj, and L=∑i<ji,j∈Txixj K = \sum_{\substack{i<j \\ i, j \in S}} x_{i} x_{j}, \quad M = \sum_{\substack{i \in S \\ j \in T}} x_{i} x_{j}, \quad \text{ and } \quad L = \sum_{\substack{i<j \\ i, j \in T}} x_{i} x_{j}
By definition, K,L⩾0K, L \geqslant 0 and M⩽0M \leqslant 0. We aim to show that K+L+M⩾−(n−1)/2K + L + M \geqslant - (n-1)/2.

We split into cases based on whether k=ℓk = \ell or k>ℓk > \ell.

## Case 1: k>ℓk > \ell.

Consider all permutations ϕ:{1,2,…,n}→{1,2,…,n}\phi: \{1, 2, \ldots, n\} \to \{1, 2, \ldots, n\} such that ϕ−1(T)={2,4,…,2ℓ}\phi^{-1}(T) = \{2, 4, \ldots, 2\ell\}. Note that there are k!ℓ!k! \ell! such permutations ϕ\phi. Define
f(ϕ)=∑i=1n−1xϕ(i)xϕ(i+1) f(\phi) = \sum_{i=1}^{n-1} x_{\phi(i)} x_{\phi(i+1)}
We know that f(ϕ)⩾−1f(\phi) \geqslant -1 for every permutation ϕ\phi with the above property. Averaging f(ϕ)f(\phi) over all ϕ\phi gives
−1⩽1k!ℓ!∑ϕf(ϕ)=2ℓkℓM+2(k−ℓ−1)k(k−1)K, -1 \leqslant \frac{1}{k! \ell!} \sum_{\phi} f(\phi) = \frac{2\ell}{k\ell} M + \frac{2(k-\ell-1)}{k(k-1)} K,
where the equality holds because there are kℓk\ell products in MM, of which 2ℓ2\ell are selected for each ϕ\phi, and there are k(k−1)/2k(k-1)/2 products in KK, of which k−ℓ−1k-\ell-1 are selected for each ϕ\phi. We now have
K+L+M⩾K+L+(−k2−k−ℓ−1k−1K)=−k2+ℓk−1K+L. K + L + M \geqslant K + L + \left(-\frac{k}{2} - \frac{k-\ell-1}{k-1} K\right) = -\frac{k}{2} + \frac{\ell}{k-1} K + L.
Since k⩽n−1k \leqslant n-1 and K,L⩾0K, L \geqslant 0, we get the desired inequality.

Case 2: k=ℓ=n/2k = \ell = n/2.

We do a similar approach, considering all ϕ:{1,2,…,n}→{1,2,…,n}\phi: \{1, 2, \ldots, n\} \to \{1, 2, \ldots, n\} such that ϕ−1(T)={2,4,…,2ℓ}\phi^{-1}(T) = \{2, 4, \ldots, 2\ell\}, and defining ff the same way. Analogously to Case 1, we have
−1⩽1k!ℓ!∑ϕf(ϕ)=2ℓ−1kℓM -1 \leqslant \frac{1}{k! \ell!} \sum_{\phi} f(\phi) = \frac{2\ell-1}{k\ell} M
because there are kℓk\ell products in MM, of which 2ℓ−12\ell-1 are selected for each ϕ\phi. Now, we have that
K+L+M⩾M⩾−n24(n−1)⩾−n−12, K + L + M \geqslant M \geqslant -\frac{n^{2}}{4(n-1)} \geqslant -\frac{n-1}{2},
where the last inequality holds because n⩾4n \geqslant 4.

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