Olympiad Maths Prep

Track / Stage 10 / 11 of 40 #1971 of 2000

Problem 1971

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

An integer n3n \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=1n1yiyi+1=y1y2+y2y3+y3y4++yn1yn1. \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
1i<jnxixjK \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, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solutions — 2

Solution 1

Answer: K=(n1)/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} (iji \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++yn1yn(n3)t211. 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=n12+(n1)(n2)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 (n1)/2-(n-1)/2. This shows that we may not take KK any larger than (n1)/2-(n-1)/2. It remains to show that i<jxixj(n1)/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} (1in1 \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 (n1)/2\lfloor (n-1)/2 \rfloor expressions, each of the form y1y2++yn1yny_{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=0n1i+jq (modn)ij (modn)zizj=p=1n12i+j2p1,2p (modn)ij (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=z1z1+z2z2++z(n1)/2z(n1)/2L = z_{1} z_{-1} + z_{2} z_{-2} + \cdots + z_{(n-1)/2} z_{-(n-1)/2} if nn is odd, and L=z1z1+z1z2+z2z2++z(n2)/2zn/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,,(n1)/2p = 1, 2, \ldots, \lfloor (n-1)/2 \rfloor, there is some permutation yiy_{i} of the ziz_{i} such that
i+j2p1,2p (modn)ij (modn)zizj=k=1n1ykyk+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 y2i1=zi+p1y_{2i-1} = z_{i+p-1} for 1i(n+1)/21 \leqslant i \leqslant (n+1)/2 and y2i=zpiy_{2i} = z_{p-i} for 1in/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++yn1yny_{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<jzizjn12+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 L0L \geqslant 0 when nn is odd, and L1/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
x1x2xk0xk+1xn. \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,,xn2xn10x_{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++xn2xn10L = 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,zn1},{z2,zn2},,{z(n1)/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},,{xn2,xn1}, \{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=z1zn1++z(n1)/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++xn1xnL = x_{1} x_{2} + x_{2} x_{3} + \cdots + x_{n-1} x_{n}. Assume without loss of generality k1k \neq 1. Now, we have
2L=(x1x2++xn1xn)+(x1x2++xn1xn)(x2x3++xn1xn)+xkxk+1x2x3++xn1xn+xnx11 \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 x1xk0xk+1xnx_{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 L1/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: x2i1=zix_{2i-1} = z_{-i}, x2i=zix_{2i} = z_{i} (again taking indices modulo nn). We have that
L=i+j0,1 (modn)ij (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(n1)/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 =nk\ell = n - k. Assume without loss of generality that kk \geqslant \ell. Also assume knk \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,jSxixj,M=iSjTxixj, and L=i<ji,jTxixj 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,L0K, L \geqslant 0 and M0M \leqslant 0. We aim to show that K+L+M(n1)/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=1n1xϕ(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
11k!!ϕf(ϕ)=2kM+2(k1)k(k1)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 kk\ell products in MM, of which 22\ell are selected for each ϕ\phi, and there are k(k1)/2k(k-1)/2 products in KK, of which k1k-\ell-1 are selected for each ϕ\phi. We now have
K+L+MK+L+(k2k1k1K)=k2+k1K+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 kn1k \leqslant n-1 and K,L0K, 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
11k!!ϕf(ϕ)=21kM -1 \leqslant \frac{1}{k! \ell!} \sum_{\phi} f(\phi) = \frac{2\ell-1}{k\ell} M
because there are kk\ell products in MM, of which 212\ell-1 are selected for each ϕ\phi. Now, we have that
K+L+MMn24(n1)n12, K + L + M \geqslant M \geqslant -\frac{n^{2}}{4(n-1)} \geqslant -\frac{n-1}{2},
where the last inequality holds because n4n \geqslant 4.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.