AM-GM turns a fixed sum into a greatest product and a fixed product into a least sum. When the terms do not fit at once, split them so that their product, or their sum, becomes a constant and all parts can be equal. Always find the point of equality: a bound that no allowed numbers reach is not the answer.
about 25 min1 simulation1 practice question
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
find greatest products from a fixed sum and least sums from a fixed product;
split terms so that AM-GM gives a constant bound;
check the equality case, and handle constraints that rule it out.
Two rules from one inequality
From na1+⋯+an≥na1⋯an for positive numbers:
Fixed sum S: the product is at most (nS)n, reached when every number is nS.
Fixed product P: the sum is at least nnP, reached when every number is nP.
Calculus gives the same answers. AM-GM gets there in one line, and it also tells you that the answer is the best possible for any number of variables.
The splitting trick
Find the least value of f(x)=x2+x16 for x>0.
The product x2⋅x16=16x is not a constant, so plain AM-GM on two terms fails. Split x16 into two equal halves:
x2+x8+x8≥33x2⋅x8⋅x8=3364=12.
Now the product is 64, a constant. Equality needs x2=x8, that is x3=8 and x=2. Then f(2)=4+8=12. So the least value is 12.
How do we know to split into halves? The power of x must cancel. With x2 once and x1 twice, the powers are 2−1−1=0.
The graph of y = x squared + 16/x for x from 0.5 to 5, in blue. It falls steeply, reaches its lowest point at x = 2, where y = 12, and then rises. A dashed orange horizontal line at y = 12 is labelled AM-GM bound, and it touches the curve at that one point, marked with a red dot labelled (2, 12).
A box from a sheet
A square sheet of side 12 cm has a square of side x cm cut from each corner. The sides are folded up to make an open box of volume V=x(12−2x)2cm3.
Make the sum constant. The factors x, 12−2x, 12−2x have a sum that depends on x. Use 4x instead: 4x+(12−2x)+(12−2x)=24.
Use AM-GM.4V=4x(12−2x)(12−2x)≤(324)3=512, so V≤128cm3.
Equality.4x=12−2x gives x=2 cm, and V=2×64=128cm3.
When equality is out of reach
Find the least value of g(x)=x+x4 for x≥3.
AM-GM gives g(x)≥4, with equality at x=2. But x=2 is not allowed. On x≥3 the function only rises (the difference g(y)−g(x)=(y−x)(1−xy4) is positive for y>x≥3). So the least value is g(3)=3+34=313.
Constraints with several letters
Positive a,b,c satisfy abc=1. Show that (1+a)(1+b)(1+c)≥8.
Each factor obeys 1+a≥2a. Multiply the three: (1+a)(1+b)(1+c)≥8abc=8. Equality at a=b=c=1. Multiplying inequalities like this is safe because every side is positive.
Practise with new numbers
Try it in Python
The program searches a fine grid of x values for the least value of x2+x16, and compares it with the AM-GM answer.
Common mistakes
A bound that depends on x.x2+x16≥216x is true, but the right side is not a number. It gives no least value.
Skipping the equality check. Always solve for the point where the parts are equal and make sure it is allowed.
Multiplying inequalities with negative sides. Only multiply when every side is positive.
Forgetting to undo a scaling. In the box, AM-GM bounds 4V, not V.
Remember these
Fixed sum gives a greatest product; fixed product gives a least sum.
Split terms so the powers cancel and all parts can be equal.
If the equality point is not allowed, look at the ends of the allowed range.
Scale a factor (like 4x) to make the sum constant.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find the least value of 9x+x1 for x>0.
Find the least value of x3+x3 for x>0.
Three positive numbers have sum 15. What is their greatest product?
Find the least value of x+x1 for x≥4.
A rectangle has area 49cm2. What is the least possible perimeter?
References
Engel, Problem-Solving Strategies, Chapter 7, on inequalities and the AM-GM method.
Steele, The Cauchy-Schwarz Master Class, Chapter 2.
Enroll free in The AM-GM-HM Inequality and Power Means
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.