Maths Olympiad Prep

Track / Stage 7 / 64 of 300 #1464 of 1964

Problem 1464

National Olympiad second round; IMO P1/P4
Algebra Difficulty 7.1 Prove it

Let nn and kk be positive integers. Prove that for a1,…,an∈[1,2k]a_{1}, \ldots, a_{n} \in\left[1,2^{k}\right] one has
∑i=1naia12+…+ai2⩽4kn \sum_{i=1}^{n} \frac{a_{i}}{\sqrt{a_{1}^{2}+\ldots+a_{i}^{2}}} \leqslant 4 \sqrt{k n}
(Iran)

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

Partition the set of indices {1,2,…,n}\{1,2, \ldots, n\} into disjoint subsets M1,M2,…,MkM_{1}, M_{2}, \ldots, M_{k} so that aℓ∈[2j−1,2j]a_{\ell} \in\left[2^{j-1}, 2^{j}\right] for ℓ∈Mj\ell \in M_{j}. Then, if ∣Mj∣=:pj\left|M_{j}\right|=: p_{j}, we have
∑ℓ∈Mjaℓa12+…+aℓ2⩽∑i=1pj2j2j−1i=2∑i=1pj1i \sum_{\ell \in M_{j}} \frac{a_{\ell}}{\sqrt{a_{1}^{2}+\ldots+a_{\ell}^{2}}} \leqslant \sum_{i=1}^{p_{j}} \frac{2^{j}}{2^{j-1} \sqrt{i}}=2 \sum_{i=1}^{p_{j}} \frac{1}{\sqrt{i}}
where we used that aℓ⩽2ja_{\ell} \leqslant 2^{j} and in the denominator every index from MjM_{j} contributes at least (2j−1)2\left(2^{j-1}\right)^{2}. Now, using i−i−1=1i+i−1⩾12i\sqrt{i}-\sqrt{i-1}=\frac{1}{\sqrt{i}+\sqrt{i-1}} \geqslant \frac{1}{2 \sqrt{i}}, we deduce that
∑ℓ∈Mjaℓa12+…+aℓ2⩽2∑i=1pj1i⩽2∑i=1pj2(i−i−1)=4pj \sum_{\ell \in M_{j}} \frac{a_{\ell}}{\sqrt{a_{1}^{2}+\ldots+a_{\ell}^{2}}} \leqslant 2 \sum_{i=1}^{p_{j}} \frac{1}{\sqrt{i}} \leqslant 2 \sum_{i=1}^{p_{j}} 2(\sqrt{i}-\sqrt{i-1})=4 \sqrt{p_{j}}
Therefore, summing over j=1,…,kj=1, \ldots, k and using the QM-AM inequality, we obtain
∑ℓ=1naℓa12+…+aℓ2⩽4∑j=1k∣Mj∣⩽4k∑j=1k∣Mj∣=4kn \sum_{\ell=1}^{n} \frac{a_{\ell}}{\sqrt{a_{1}^{2}+\ldots+a_{\ell}^{2}}} \leqslant 4 \sum_{j=1}^{k} \sqrt{\left|M_{j}\right|} \leqslant 4 \sqrt{k \sum_{j=1}^{k}\left|M_{j}\right|}=4 \sqrt{k n}
Comment. Consider the function f(a1,…,an)=∑i=1naia12+…+ai2f\left(a_{1}, \ldots, a_{n}\right)=\sum_{i=1}^{n} \frac{a_{i}}{\sqrt{a_{1}^{2}+\ldots+a_{i}^{2}}}. One can see that rearranging the variables in increasing order can only increase the value of f(a1,…,an)f\left(a_{1}, \ldots, a_{n}\right). Indeed, if aj>aj+1a_{j}>a_{j+1} for some index jj then we have
f(a1,…,aj−1,aj+1,aj,aj+2,…,an)−f(a1,…,an)=aS+bS2−a2−bS−aS2−b2 f\left(a_{1}, \ldots, a_{j-1}, a_{j+1}, a_{j}, a_{j+2}, \ldots, a_{n}\right)-f\left(a_{1}, \ldots, a_{n}\right)=\frac{a}{S}+\frac{b}{\sqrt{S^{2}-a^{2}}}-\frac{b}{S}-\frac{a}{\sqrt{S^{2}-b^{2}}}
where a=aj,b=aj+1a=a_{j}, b=a_{j+1}, and S=a12+…+aj+12S=\sqrt{a_{1}^{2}+\ldots+a_{j+1}^{2}}. The positivity of the last expression above follows from
bS2−a2−bS=a2bSS2−a2⋅(S+S2−a2)>ab2SS2−b2⋅(S+S2−b2)=aS2−b2−aS. \frac{b}{\sqrt{S^{2}-a^{2}}}-\frac{b}{S}=\frac{a^{2} b}{S \sqrt{S^{2}-a^{2}} \cdot\left(S+\sqrt{S^{2}-a^{2}}\right)}>\frac{a b^{2}}{S \sqrt{S^{2}-b^{2}} \cdot\left(S+\sqrt{S^{2}-b^{2}}\right)}=\frac{a}{\sqrt{S^{2}-b^{2}}}-\frac{a}{S} .
Comment. If k<nk<n, the example am:=2k(m−1)/na_{m}:=2^{k(m-1) / n} shows that the problem statement is sharp up to a multiplicative constant. For k⩾nk \geqslant n the trivial upper bound nn becomes sharp up to a multiplicative constant.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.