Exercise 1019Algebra › InequalitiesL1Added 3 Nov 2026
The rearrangement inequality
#rearrangement#inequality#sequences
Statement
Let and be two increasing sequences of real numbers. Show that
for any permutation .
Hint
Use the identity type, or prove by exchange argument: swapping two out-of-order elements increases the sum.
Show solutionHide solution
Solution
Exchange argument. Suppose is not the identity. Then there exist with , i.e. the pairing is "inverted". Consider swapping the values assigned to and :
The difference is
since and (because and is increasing).
Iteration. Repeatedly swapping out-of-order pairs strictly increases the sum until it reaches the pairing . Hence the maximum is attained at the identity, and
Remark. Similarly, the minimum is attained by the "oppositely ordered" pairing .