Problem 5
Let be an injective function from into itself. Prove that for any we have .
Step 2 of 4: Sort the values increasingly
In plain words
Descending weights prefer small numbers first.
Detailed analysis
The weights decrease with . The rearrangement inequality says pairing the smallest values with the largest weights minimizes the sum, so sorting increasingly can only decrease it.