WorkbenchFind the maximum of x2+y2+z2xy+2yz. Drag t. Every position gives a true upper bound. Where is the bound smallest, and actually reached?
Loading figure…
What this move does
The two-term mean inequality can carry a positive parameter λ:
2ab≤λa2+λ1b2(λ>0),with equality if and only if b=λa.
It holds for everyλ (it is just (λa−λb)2≥0). The parameter does not change whether it is true; it only changes where equality happens. So:
Split the expression into a few parts and bound each with a parametrized mean inequality. The bound you get holds for every value of the parameter.
Add up the steps and write down the final bound (it depends on the parameter).
Solve an equation to choose the parameter so that the equality conditions of all the steps are compatible (typically: several coefficients are equal). Only then is the bound the extreme value.
Predict first
For 2ab≤λa2+λ1b2 to reach equality when b=3a, what should λ be?
Choose an answer first; then you can see the result.
✓You predicted it!✗Not what you expected — which is exactly why it is worth a pause.
The equality condition is b=λa, so λ=3. Check: 3a2+31⋅9a2=6a2=2⋅a⋅3a ✓.
The parameter is like a dial: turn it, and the point of equality moves with it. Our job is to turn it to the position the problem needs.
Work through one
Example: the maximum of (xy + 2yz)/(x² + y² + z²)
Step 1 / 6
Loading figure…
Why split y²?
xy has to be bounded by x2 and y2, and yz by y2 and z2: y2 is shared by both. Give it to them in the ratio t:(1−t).
x2+y2+z2=(x2+ty2)+((1−t)y2+z2)
AM–GM on each group
Enlarge to a common coefficient
Turned too far
Make the three coefficients equal
Equality is reached
Replace the 2 in the problem by a general q, and the same computation gives t=1+q21 and the maximum 21+q2. Drag q in the workbench at the top to check.
Practice
Exercise 1Basic
For 2ab≤λa2+λ1b2 to reach equality when b=2a, what is λ?
Hint · direction
What is the equality condition of this inequality?
Hint · method
It is equivalent to (λa−λb)2≥0, with equality if and only if b=λa.
Hint · first step
Substitute b=2a into b=λa.
Full solution
λ=2. Check: 2a2+21⋅4a2=4a2=2a⋅2a ✓.
Exercise 2Advanced
Let x,y,z be real numbers, not all 0. Let M be the maximum of x2+y2+z2xy+yz. Find M2.
Hint · direction
As in the example, y2 has to be split in two. This time the problem is symmetric in x and z. What do you guess t is?
Hint · method
x2+21y2≥2xy and 21y2+z2≥2yz.
Hint · first step
Adding: x2+y2+z2≥2(xy+yz).
Full solution
M=21=22, with equality at x=z=2y (for example x=z=1, y=2). So M2=21.
Exercise 3Advanced
Positive numbers x,y satisfy x+y=1. Find the minimum of x2+2y2.
Hint · direction
Use parametrized inequalities such as x2+m2≥2mx and 2(y2+n2)≥4ny, with m,n still to be chosen.
Hint · method
The two equalities hold at x=m and y=n. For the right side to become a multiple of x+y you need 2m=4n; you also need m+n=1.
Hint · first step
Solving gives m=32, n=31. So x2+2y2≥34x+34y−94−92.
Full solution
The right side is 34−32=32. Equality at x=32, y=31, which satisfies x+y=1; substituting gives 94+92=32 ✓. The minimum is 32.
Exercise 4Challenge
Let x,y,z,w be real numbers, not all 0. Find the maximum of x2+y2+z2+w2xy+yz+zw.
Hint · direction
y2 and z2 are each shared by two places. By symmetry, the two ends should be split the same way.
Hint · method
Use x2+αy2≥2αxy, (1−α)y2+(1−α)z2≥2(1−α)yz and αz2+w2≥2αzw. You want the coefficients 2α and 2(1−α) in the three places to be equal.
Hint · first step
α=1−α. With s=α: s2+s−1=0, so s=25−1.
Full solution
Adding the three: x2+y2+z2+w2≥2s(xy+yz+zw), so the ratio is ≤2s1=5−11=41+5≈0.809. Equality can be reached: x=w=1, y=z=s1=21+5 (then x2=αy2, y=z, w2=αz2). The maximum is 41+5.
The wrong step: xy≤2x2+y2 and 2yz≤y2+z2; adding, xy+2yz≤21x2+23y2+z2≤23(x2+y2+z2), so the maximum is 23.
What went wrong? Think first, then open
DiagnosisEvery step is true, but equality cannot be reached. The first two steps need x=y=z, and the last step enlarges 21x2 and z2 to 23x2 and 23z2, so equality there needs x=z=0, and then y is 0 as well. The true maximum is 25≈1.118.
✓
The right step: Split y2 in an unknown ratio t:(1−t), and choose t so that the three square terms get equal coefficients: t=51.
“Wherever the coefficients are unbalanced, that is where the slack hides”
AM–GM with Parameters ← → step · F full screen · Esc exit