MathLabs

Problem 3

Let x1,x2,…,xn x_1,x_2,\ldots,x_n be real numbers satisfying ∣x1+x2+⋯+xn∣=1|x_1+x_2+\cdots+x_n|=1 and ∣xi∣≤(n+1)/2|x_i|\le(n+1)/2 for every i i . Show that there is a permutation y1,…,yn y_1,\ldots,y_n of the xi x_i such that ∣y1+2y2+⋯+nyn∣≤(n+1)/2|y_1+2y_2+\cdots+ny_n|\le(n+1)/2.
Step 4 of 4: Cross the interval
In plain words

Cross the interval

∣W∣≤(n+1)/2|W|\le(n+1)/2
Detailed analysis

Reverse an ordering by adjacent swaps. Along this finite path, if no weighted sum lay in the target interval, a jump from below to above would have size strictly greater than n+1 n+1, contradicting the previous bound. The ordering at the crossing is the required permutation.