Maths Olympiad Prep

Library / /351 of 520

Algebra Difficulty 7.0 National olympiad, round 2 Prove it

Example 9 (Rearrangement Inequality) Let there be two ordered arrays: a1a2ana_{1} \leqslant a_{2} \leqslant \cdots \leqslant a_{n} and b1b_{1} \leqslant b2bnb_{2} \leqslant \cdots \leqslant b_{n}. Prove:
a1b1+a2b2++anbn( ordered sum )a1bj1+a2bj2++anbjn( disordered sum )a1bn+a2bn1++anb1( reverse sum ),\begin{aligned} & a_{1} b_{1}+a_{2} b_{2}+\cdots+a_{n} b_{n}(\text { ordered sum }) \\ \geqslant & a_{1} b_{j_{1}}+a_{2} b_{j_{2}}+\cdots+a_{n} b_{j_{n}}(\text { disordered sum }) \\ \geqslant & a_{1} b_{n}+a_{2} b_{n-1}+\cdots+a_{n} b_{1}(\text { reverse sum }), \end{aligned}

where j1,j2,,jnj_{1}, j_{2}, \cdots, j_{n} is any permutation of 1,2,,n1,2, \cdots, n.

Solution

Prove that
si=b1+b2++bisi=bj1+bj2++bji(i=1,2,,n)sisi(i=1,2,,n1)sn=sn\begin{array}{c} s_{i}=b_{1}+b_{2}+\cdots+b_{i} \\ s_{i}^{\prime}=b_{j_{1}}+b_{j_{2}}+\cdots+b_{j_{i}}(i=1,2, \cdots, n) \\ s_{i} \leqslant s_{i}^{\prime}(i=1,2, \cdots, n-1) \\ s_{n}=s_{n}^{\prime} \end{array}

From the given conditions, it is easy to see

Also, since aiai+10a_{i}-a_{i+1} \leqslant 0, it follows that si(aiai+1)si(aiai+1)s_{i}\left(a_{i}-a_{i+1}\right) \geqslant s_{i}^{\prime}\left(a_{i}-a_{i+1}\right).

Therefore,
i=1naibi=i=1n1si(aiai+1)+ansni=1n1si(aiai+1)+ansn=i=1naibji\begin{aligned} \sum_{i=1}^{n} a_{i} b_{i} & =\sum_{i=1}^{n-1} s_{i}\left(a_{i}-a_{i+1}\right)+a_{n} s_{n} \\ & \geqslant \sum_{i=1}^{n-1} s_{i}^{\prime}\left(a_{i}-a_{i+1}\right)+a_{n} s_{n}^{\prime} \\ & =\sum_{i=1}^{n} a_{i} b_{j_{i}} \end{aligned}

This is the left-hand inequality. Similarly, the right-hand inequality can be proven.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

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