Maths Olympiad Prep

Library / Taiwan IMO Selection Camp /358 of 359

Taiwan IMO Selection Camp, 2018

Algebra Difficulty 7.6 National Olympiad, round 2 Prove it Taiwan

Given a positive integer n≥3n \ge 3. We call a real nn-tuple (x1,x2,⋯ ,xn)(x_1, x_2, \cdots, x_n) shiny if for every permutation y1,y2,⋯ ,yny_1, y_2, \cdots, y_n of x1,x2,⋯ ,xnx_1, x_2, \cdots, x_n, it satisfies
∑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 \ge -1.
Find the largest number K=K(n)K = K(n) such that for every shiny nn-tuple (x1,x2,⋯ ,xn)(x_1, x_2, \cdots, x_n),
∑1≤i<j≤nxixj≥K \sum_{1 \le i < j \le n} x_i x_j \ge K

Solutions — 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=⋯=t and x1=−12t. x_2 = x_3 = \cdots = t \text{ and } x_1 = -\frac{1}{2t}.
Then, every product xixjx_i x_j (i≠ji \ne 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 \ge (n-3)t^2 - 1 \ge -1.
This justifies that the nn-tuple (x1,⋯ ,xn)(x_1, \cdots, 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.

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 in to [(n−1)/2][(n-1)/2] 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=qi≠j(modn)∑(mod n)(mod n)zizj=∑p=1[(n−1)]/2∑i+j=2p−1,2p(modn)i≠j(modn)∑(mod n)(mod n)zizj+L,(1) \sum_{i<j} z_i z_j = \sum_{q=0}^{n-1} \sum_{\substack{i+j=q \\ i \neq j \pmod{n}}} \sum_{\substack{(\text{mod } n) \\ (\text{mod } n)}} z_i z_j = \sum_{p=1}^{[(n-1)]/2} \sum_{\substack{i+j=2p-1,2p \pmod{n} \\ i \neq j \pmod{n}}} \sum_{\substack{(\text{mod } n) \\ (\text{mod } n)}} z_i z_j + L, \quad (1)
where
L=z1z−1+z2z−2+⋯z(n−1)/2z−(n−1)/2 if n is odd, L = z_1 z_{-1} + z_2 z_{-2} + \cdots z_{(n-1)/2} z_{-(n-1)/2} \text{ if } n \text{ is odd,}
and
L=z1z−1+z2z−2+⋯z(n−2)/2z−n/2 if n is even. L = z_1 z_{-1} + z_2 z_{-2} + \cdots z_{(n-2)/2} z_{-n/2} \text{ if } n \text{ is even.}
We note that for each p=1,2,…,[(n−1)/2]p = 1, 2, \dots, [(n-1)/2], 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 \pmod{n} \\ i \neq j \pmod{n}}} z_i z_j = \sum_{k=1}^{n-1} y_k y_{k+1},
because we may choose
y2i−1=zi+p−1 for 1≤i≤(n+1)/2 y_{2i-1} = z_{i+p-1} \text{ for } 1 \le i \le (n+1)/2
and
y2i=zp−i for 1≤i≤n/2. y_{2i} = z_{p-i} \text{ for } 1 \le i \le n/2.
We show Eq. (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 in a Hamiltonian path. The filled edges represent the summands of LL.

∑i<jzizj≥−[n−12]+L. \sum_{i<j} z_i z_j \geq -\left[\frac{n-1}{2}\right] + L.
It remains to show that, for each nn, there exists some permutation ziz_i of the xix_i such that L≥0L \ge 0 when nn is odd, and L≥−1/2L \ge -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.(2) x_1 \le x_2 \le \dots \le x_k \le 0 \le x_{k+1} \le \dots \le x_n. \quad (2)
Case 1: nn is odd.
Without loss of generality, assume that kk (from Eq. (2)) is even, because we may negate all the xix_i if kk is odd. We then have
x1x2,x3x4,…,xn−2xn−1≥0 x_1 x_2, x_3 x_4, \dots, x_{n-2} x_{n-1} \ge 0
because the factors are of the same sign. Let
L=x1x2+x3x4+⋯+xn−2xn−1≥0. L = x_1 x_2 + x_3 x_4 + \dots + x_{n-2} x_{n-1} \ge 0.

We choose our ziz_i so that this definition of LL agrees with the sum of the leftover terms in Eq. (1). Relable 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}\}, \dots, \{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\}, \dots \{x_{n-2}, x_{n-1}\},
and zn=xnz_n = x_n. Then, we have
L=z1zn−1+⋯+z(n−1)/2z(n+1)/2, as desired. L = z_1 z_{n-1} + \dots + z_{(n-1)/2} z_{(n+1)/2}, \text{ as desired.}
Case 2: n is even.
Let L=x1x2+x2x3+⋯+xn−1xnL = x_1x_2 + x_2x_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{align*} 2L &= (x_1x_2 + \cdots + x_{n-1}x_n) + (x_1x_2 + \cdots x_{n-1}x_n) \\ &\geq (x_2x_3 + \cdots x_{n-1}x_n) + x_kx_{k+1} \\ &\geq x_2x_3 + \cdots x_{n-1}x_n + x_nx_1 \geq -1, \end{align*}
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 \le x_k \le 0 \le x_{k+1} \le x_n, and the third inequality holds because the xix_i are assumed to be Shiny. We thus have that L≥−1/2L \ge -1/2. We now choose a suitable ziz_i such that the definition of LL matches the leftover terms in Eq. (1).
Relables 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 \pmod{n} \\ i \neq j \pmod{n}}} z_i z_j,

Solution 2

We present another proof that
∑i<jxixj≥−n−12for any Shiny n-tuple {x1,…,xn}. \sum_{i<j} x_i x_j \geq -\frac{n-1}{2} \quad \text{for any Shiny n-tuple } \{x_1, \dots, x_n\}.
Assume an ordering of the xix_i as in Eq. (2), and let ℓ=n−k\ell = n-k. Assume without loss of generality that k≥ℓk \ge \ell. Also assume k≠nk \ne 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, \dots, k\} and T={k+1,…,n}T = \{k+1, \dots, n\}. Define the following sums:
K=∑i<ji,j∈Sxixj,M=∑i∈Sj∈Txixj,andL=∑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 \ge 0 and M≤0M \le 0. We aim to show that
K+L+M≥−n−12. K + L + M \geq -\frac{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, \dots, n\} \to \{1, 2, \dots, n\} such that ϕ−1(T)={2,4,…,2ℓ}\phi^{-1}(T) = \{2, 4, \dots, 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) \ge -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 \le \frac{1}{k!\ell!} \sum_{\phi} f(\phi) = \frac{2\ell}{k\ell} M + \frac{2(k-\ell-1)}{k(k-1)} K,

K+L+M≥K+L+(−k2−k−ℓ−1k−1K)=−k2+ℓk−1K+L. K + L + M \geq 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 \leq n-1 and K,L≥0K, L \geq 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, \dots, n\} \to \{1, 2, \dots, n\} such that ϕ−1(T)={2,4,…,2ℓ}\phi^{-1}(T) = \{2, 4, \dots, 2\ell\}, and defining ff the same way. Analogously to Case 1, we have
−1≤1k!ℓ!∑ϕf(ϕ)=2ℓ−1kℓM, -1 \leq \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ℓ−1)(2\ell - 1) are selected for each ϕ\phi. Now, we have that
K+L+M≥M≥−n24(n−1)≥−n−12, K + L + M \geq M \geq -\frac{n^2}{4(n-1)} \geq -\frac{n-1}{2},
where the last inequality holds because n≥4n \geq 4.

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 translated into English from zh; metadata (topic, difficulty) added by this project.