Olympiad Maths Prep

Track / Stage 6 / 72 of 400 #1072 of 2000

Problem 1072

National olympiad, first round
Algebra Difficulty 6.1 Prove it

9. 7. On the table: there are two piles of coins with equal total weight, the number of coins in the first pile is nn, the number of coins in the second pile is m,S=min{n,m}m, S=\min \{n, m\}. For any natural number kk not greater than SS, in the order of coin weight from largest to smallest, the sum of the weights of the first kk heaviest coins in the first pile is not greater than the sum of the weights of the first kk heaviest coins in the second pile. Prove: for any positive number xx, if the weight of each coin in both piles that is not less than xx is calculated as xx, then, the sum of the weights of the coins in the first pile calculated this way is not less than the sum of the weights of the coins in the second pile.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

9. 7. Let the weights of the first pile of nn coins be represented as x1x2xnx_{1} \geqslant x_{2} \geqslant \cdots \geqslant x_{n}, and the weights of the second pile of mm coins be represented as y1y2ymy_{1} \geqslant y_{2} \geqslant \cdots \geqslant y_{m}.
Also, let x1xsxxs+1xnx_{1} \geqslant \cdots \geqslant x_{s} \geqslant x \geqslant x_{s+1} \geqslant \cdots \geqslant x_{n},
y1yixyt+1ym. y_{1} \geqslant \cdots \geqslant y_{i} \geqslant x \geqslant y_{t+1} \geqslant \cdots \geqslant y_{m} .
(If there are no coins not lighter than xx, the conclusion is obviously true.) Thus, what needs to be proven is:
xs+xs+1++xnxt+yt+1++ym x s+x_{s+1}+\cdots+x_{n} \geqslant x t+y_{t+1}+\cdots+y_{m} \text {. }

Let x1+x2++xn=y1+y2++ym=Ax_{1}+x_{2}+\cdots+x_{n}=y_{1}+y_{2}+\cdots+y_{m}=A,
i.e., to prove xs+[A(x1++x)]x s+\left[A-\left(x_{1}+\cdots+x_{*}\right)\right]
xt+[A(y1++yt)], \geqslant x t+\left[A-\left(y_{1}+\cdots+y_{t}\right)\right],

i.e., to prove x1++xs+x(ts)y1++ytx_{1}+\cdots+x_{s}+x(t-s) \leqslant y_{1}+\cdots+y_{t}.
We will prove this inequality in two cases:
If tst \geqslant s, then
x1++xs+x(ts)=(x1++xs)+(2++x)(y1++ys)+(ys+1++yt). \begin{array}{l} x_{1}+\cdots+x_{s}+x(t-s) \\ =\left(x_{1}+\cdots+x_{s}\right)+(2+\cdots+x) \\ \leqslant\left(y_{1}+\cdots+y_{s}\right)+\left(y_{s+1}+\cdots+y_{t}\right) . \end{array}
(Because x1++x2y1++ysx_{1}+\cdots+x_{2} \leqslant y_{1}+\cdots+y_{s} can be derived from the given, and ys+1x,,ytxy_{s+1} \geqslant x, \cdots, y_{t} \geqslant x.)

If t<st<s, then x1++xs+x(ts)y1++ytx_{1}+\cdots+x_{s}+x(t-s) \leqslant y_{1}+\cdots+y_{t} is equivalent to
x1++xsy1++yt+(x++x(ts)). x_{1}+\cdots+x_{s} \leqslant y_{1}+\cdots+y_{t}+(\underbrace{x+\cdots+x}_{(t-s) \uparrow}) .

This inequality can be derived from the following:
x1++xsy1++ys=(y1++yt)+(yt+1++ys), \begin{aligned} x_{1}+\cdots+x_{s} & \leqslant y_{1}+\cdots+y_{s} \\ & =\left(y_{1}+\cdots+y_{t}\right)+\left(y_{t+1}+\cdots+y_{s}\right), \end{aligned}

and yt+1x,,ysxy_{t+1} \leqslant x, \cdots, y_{s} \leqslant x.

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