Maths Olympiad Prep

Track / Stage 7 / 56 of 300 #1456 of 1964

Problem 1456

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++ai24kn \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.

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[2j1,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
Mjaa12++a2i=1pj2j2j1i=2i=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 a2ja_{\ell} \leqslant 2^{j} and in the denominator every index from MjM_{j} contributes at least (2j1)2\left(2^{j-1}\right)^{2}. Now, using ii1=1i+i112i\sqrt{i}-\sqrt{i-1}=\frac{1}{\sqrt{i}+\sqrt{i-1}} \geqslant \frac{1}{2 \sqrt{i}}, we deduce that
Mjaa12++a22i=1pj1i2i=1pj2(ii1)=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
=1naa12++a24j=1kMj4kj=1kMj=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,,aj1,aj+1,aj,aj+2,,an)f(a1,,an)=aS+bS2a2bSaS2b2 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
bS2a2bS=a2bSS2a2(S+S2a2)>ab2SS2b2(S+S2b2)=aS2b2aS. \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(m1)/na_{m}:=2^{k(m-1) / n} shows that the problem statement is sharp up to a multiplicative constant. For knk \geqslant n the trivial upper bound nn becomes sharp up to a multiplicative constant.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.