In one sentence
With many variables, thinking about all of them at once is too hard. Step-by-step adjustment says: freeze the other variables, move just two, and see which move makes the target better.
This is because and . As long as two numbers are “not close enough”, you can improve one more step; the state where no further adjustment is possible is the optimal one.
Predict first
positive integers add up to . What is the smallest possible sum of their squares?
, at . On the bars above, start from (sum of squares ): every step closer makes the sum of squares smaller.
Example: x₁ + x₂ + x₃ + x₄ = 20 (positive integers). Find the minimum of the sum of squares
Step 1 / 4- Move only two
Pick the largest, , and the smallest, , and move each one step toward the middle: , . The sum does not change.
Stop 1 · Proofs of the mean inequalities (Vol. 6)
Adjustment gives one of the most intuitive proofs of the mean inequality. The key is to make the process end after finitely many steps.
Example: positive numbers x₁, …, xₙ have sum nA. Then x₁x₂⋯xₙ ≤ Aⁿ
Step 1 / 4- If they are not all equal to A
Then the largest and the smallest .
Stop 2 · Extreme values: splitting a number for the largest product (Vol. 6)
When the number of terms is not fixed, an adjustment is not only “move two numbers closer”: you can also “split” or “merge”.
Example: write 20 as a sum of positive integers. What is the largest possible product?
Step 1 / 4- Merge any 1
: merging a into another number makes the product larger. So the optimum has no .
Stop 3 · Trigonometric inequalities (Vol. 3)
One problem, several solutions
In , prove that .
Step-by-step adjustment
: with fixed, the smaller is, the larger the sum. If the three angles are not all , then (after relabeling) . Replace by and : the sum of the angles does not change, and , so increases. Now one angle is and the other two add up to ; one more adjustment makes them all . So the maximum is reached by the equilateral triangle: .
CostUses only sum-to-product, and reaches the equilateral triangle in at most two steps.
Jensen's inequality
is concave on , so .
CostOne line, but you must first know that sin x is concave on (0, π).
Stop 4 · Ordering and swapping (Vol. 1)
“Take the best arrangement; if a swap could still improve it…”: adjustment and the extremal principle often appear together.
Example: a₁ ≤ a₂ ≤ ⋯ ≤ aₙ and b₁ ≤ ⋯ ≤ bₙ. Over all permutations of the b’s, when is Σ aᵢb_{σ(i)} largest?
Step 1 / 4- Take a largest one
There are only finitely many permutations, so some makes the sum largest.
Practice
positive integers add up to . What is the smallest possible sum of their squares?
positive integers add up to . What is the smallest possible sum of their squares?
Some positive integers (any number of them) add up to . What is the largest possible product?
Some positive integers add up to . When their product is as large as possible, it equals . Find .