Maths Olympiad Prep

Track / Stage 6 / 282 of 400 #1762 of 2444

Problem 1762

National Olympiad, first round
Algebra Difficulty 6.5 Prove it The 26th Korean Mathematical Olympiad Final Round · South Korea

Given a positive integer n2n \ge 2, define the set TT by
T={(i,j):1i<jn and ij}. T = \{ (i, j) : 1 \le i < j \le n \text{ and } i \ne j \}.
For nonnegative real numbers x1,x2,,xnx_1, x_2, \dots, x_n satisfying x1+x2++xn=1x_1 + x_2 + \dots + x_n = 1, find the maximum (as a function of nn) of
(i,j)Txixj. \sum_{(i,j) \in T} x_i x_j.

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 solution

Let M(n)M(n) be the maximum of (i,j)Txixj\sum_{(i,j) \in T} x_i x_j. We will show that
M(n)=log2n2(log2n+1). M(n) = \frac{\lfloor \log_2 n \rfloor}{2(\lfloor \log_2 n \rfloor + 1)}.
For k=log2nk = \lfloor \log_2 n \rfloor, set x20=x21==x2k=1k+1x_{20} = x_{21} = \dots = x_{2k} = \frac{1}{k+1}, and xi=0x_i = 0 otherwise. Then we have (i,j)Txixj=(k+12)1(k+1)2=k2(k+1)\sum_{(i,j) \in T} x_i x_j = \binom{k+1}{2} \frac{1}{(k+1)^2} = \frac{k}{2(k+1)}, thus
M(n)log2n2(log2n+1). M(n) \ge \frac{\lfloor \log_2 n \rfloor}{2(\lfloor \log_2 n \rfloor + 1)}.
Consider an element (x1,x2,,xn)(x_1, x_2, \dots, x_n) which yields M(n)M(n) and the number of ii's such that xi=0x_i = 0 is maximal. In this case, if xa,xb0x_a, x_b \ne 0 and a<ba < b, then we have (a,b)T(a, b) \in T. Suppose (a,b)T(a, b) \notin T, then by setting xa=xaϵx'_a = x_a - \epsilon, xb=xb+ϵx'_b = x_b + \epsilon, and xi=xix'_i = x_i (ia,bi \ne a, b), the equation x1+x2++xn=1x'_1 + x'_2 + \dots + x'_n = 1 still holds and the value (i,j)Txixj\sum_{(i,j) \in T} x'_i x'_j becomes a linear function of ϵ\epsilon. Thus for ϵ=xa\epsilon = x'_a or ϵ=xb\epsilon = -x'_b, (i,j)Txixj(i,j)Txixj\sum_{(i,j) \in T} x'_i x'_j \ge \sum_{(i,j) \in T} x_i x_j, which contradicts the maximality of the number of ii's satisfying xi=0x_i = 0.
Therefore if C:={i:xi>0}C := \{i : x_i > 0\}, then i,jCi, j \in C and i<ji < j implies (i,j)T(i, j) \in T. Thus if C={i1,i2,,ik}C = \{i_1, i_2, \dots, i_k\} and i1<i2<<iki_1 < i_2 < \dots < i_k, then due to ij2ij1i_j \ge 2i_{j-1} we have

n>it2t1i12t1n > i_t \ge 2^{t-1}i_1 \ge 2^{t-1}. This means that t1log2nt-1 \le \log_2 n, or equivalently, Ck+1|C| \le k+1. Applying the Cauchy-Schwarz inequality yields
(i,j)Txixj=12((iCxi)2iCxi2)12(11C(iCxi)2)12(11k+1). \sum_{(i,j) \in T} x_i x_j = \frac{1}{2} \left( \left( \sum_{i \in C} x_i \right)^2 - \sum_{i \in C} x_i^2 \right) \le \frac{1}{2} \left( 1 - \frac{1}{|C|} \left( \sum_{i \in C} x_i \right)^2 \right) \le \frac{1}{2} \left( 1 - \frac{1}{k+1} \right).
In particular we have
M(n)log2n2(log2n+1), M(n) \le \frac{\lfloor \log_2 n \rfloor}{2(\lfloor \log_2 n \rfloor + 1)},
which completes the proof. \square

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