WorkbenchThe solid curve is f(x)=x+1+5−2x; the dashed curve is the upper bound from Cauchy. Drag λ. Does the dashed curve always touch the solid one? When does it become horizontal?
Loading figure…
What this move does
For any positive numbers λ1,…,λn, apply the Cauchy inequality to λiai and λibi:
(∑aibi)2≤(∑λiai2)(∑λibi2),
with equality if and only if λiai and bi are proportional. The λi are “weights” we put in ourselves. They do not change whether the inequality is true, but they change what the right side looks like and where equality holds.
In the expression to be estimated, split each term into two factors and insert an undetermined λ.
Choose λ so that one factor on the right does not depend on the variable (or is exactly the given condition).
Check that the equality condition can then be met inside the domain. If it can, the bound is the extreme value.
Predict first
−1≤x≤25. What is the maximum of f(x)=x+1+5−2x?
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.
Using (1,1) and (x+1,5−2x) directly gives f2≤2(6−x). The right side still contains x; at x=−1 it is 14, but there f(−1)=7, so the bound is not reached. 14 is wrong.
Insert a parameter: f(x)=21⋅2x+2+1⋅5−2x, so
f(x)2≤(21+1)[(2x+2)+(5−2x)]=23×7=221,
and x cancels. Equality needs 1/22x+2=15−2x, i.e. 4x+4=5−2x, x=61, which is inside the domain. The maximum is 221=242≈3.24.
Work through one
Example: find the maximum of f(x) = √(x+1) + √(5−2x)
Step 1 / 4
Loading figure…
No parameter: λ = 1
Applying Cauchy directly gives f(x)2≤2(6−x). The dashed curve is the square root of the right side. It lies above f everywhere and touches f at x=34, but it slopes down to the right and reaches 14 at the left endpoint.
f(x)2≤(1+1)[(x+1)+(5−2x)]=2(6−x)
Insert λ
Make x cancel
The touching point is the highest point
In general, for f(x)=Ax+h+Bc−kx take λ=k: f(x)2≤(kA2+B2)(kh+c). The job of the parameter is to balance the two expressions under the square roots by their coefficients of x.
When it fails
Break it
Counterexample lab: remove one condition
Conclusion: the upper bound from Cauchy is the maximum← still true?
λ=2: the upper bound is the constant 10.5≈3.240, touching f at its highest point.
Loading figure…
λ=2.5: the inequality still holds. The dashed curve is still above f and still touches it (at x∗=−335). But it tilts up to the right, and its largest value on the domain is 3.5, more than the true maximum.
Loading figure…
A bound like this is not wrong, just useless: it says “f is at most 3.5”, but there is no point where f actually equals 3.5. To find an extreme value, the bound has to be a constant and also be reached.
Practice
Exercise 1Basic
0≤x≤1. Find the maximum of f(x)=x+3−3x.
Hint · direction
If you pair with (1,1) directly, does x cancel?
Hint · method
Write it as 31⋅3x+1⋅3−3x, so that the coefficients of x under the two square roots are opposite.
Hint · first step
f(x)2≤(31+1)(3x+3−3x)=34×3=4.
Full solution
So f(x)≤2. Equality needs 1/33x=3−3x, i.e. 9x=3−3x, x=41, and then 21+23=2. The maximum is 2.
Exercise 2Basic
Real numbers x,y satisfy x+y=1. Find the minimum of x2+2y2.
Hint · direction
You know x+y; the sum of squares you want to estimate carries weights 1 and 2.
Hint · method
λ1=1, λ2=2: (x+y)2≤(x2+2y2)(1+21).
Hint · first step
1≤23(x2+2y2), so x2+2y2≥32.
Full solution
Equality needs λiai∝bi: 1⋅x:2y=1:1, i.e. x=2y; with x+y=1 this gives x=32, y=31, and 94+92=32. The minimum is 32.
Exercise 3Advanced
Positive numbers a,b,c satisfy a+2b+3c=6. Find the maximum of (a+b+c)2.
Hint · direction
In the condition, b and c carry coefficients 2 and 3; in the expression to estimate they do not. The parameters have to supply them.
Hint · method
b=21⋅2b, c=31⋅3c.
Hint · first step
(a+b+c)2≤(1+21+31)(a+2b+3c)=611×6.
Full solution
So it is at most 11. Equality needs a:22b:33c=1:1:1, i.e. a=4b=9c. Substituting into the condition gives 611a=6, so a=1136, b=119, c=114, and then a+b+c=116+3+2=11. The maximum is 11.
Exercise 4Challenge
−21≤x≤4. For which x does f(x)=2x+1+24−x reach its maximum?
Hint · direction
First balance the coefficients of x in the two expressions under the square roots.
Hint · method
Write it as λ1λ(2x+1)+24−x and choose λ with 2λ−1=0.
Hint · first step
λ=21: f(x)2≤(2+4)(x+21+4−x)=6×29=27.
Full solution
So f(x)≤33. Equality needs 2x+1/2=24−x, i.e. 4x+2=8−2x, x=1. Check: f(1)=3+23=33. The maximum is reached at x=1.
Cauchy with Parameters ← → step · F full screen · Esc exit