The AM-GM Inequality
Why This Matters
The arithmetic-geometric mean inequality is the most-used inequality in olympiad mathematics. Its statement:
For non-negative reals , with equality if and only if .
Every olympiad student should know AM-GM cold: the statement, the equality condition, at least one proof, and recognition cues. The technique applies whenever a problem mixes additive and multiplicative structure, which is most non-trivial inequalities you will encounter.
Recognize AM-GM when:
- You have a sum bounded above and want a product bound below (or the reverse).
- The expression has an obvious "balance point" where all variables are equal (equality conditions are a hint).
- A problem asks for the maximum of a product subject to a fixed sum (or minimum of a sum subject to a fixed product); AM-GM gives the bound and the equality condition gives the optimum.
- The problem has homogeneous structure: scale all variables by and the inequality scales predictably.
The two-variable case is elementary: it rearranges to . The general case for variables is more delicate. Three common proofs cover most situations.
The Inequality
AM-GM Inequality
Statement
, with equality iff .
Intuition
"Spreading" mass equally maximizes a product subject to a fixed sum. If two of the differ, replace them with their average; the sum is unchanged but the product strictly increases (since when ). Iterating this smoothing converges to the all-equal configuration, which has product where is the common value, equal to the AM. So the AM is the supremum of the GM under fixed sum.
Proof Sketch
Cauchy's forward-backward induction (1821). The proof uses reverse induction, a rare and elegant technique.
Forward step (powers of 2). The case is elementary: . From to : applying the case to the two arithmetic means and gives By induction the inequality holds for every that is a power of 2.
Backward step. Suppose AM-GM holds for variables; we show it holds for . Given , set (the AM of the others). Apply AM-GM at to : The left side equals (by construction). Solving for gives , i.e., the AM-GM inequality at .
Combining: forward induction covers all powers of 2, and backward induction descends to fill in the gaps. Every is covered.
Equality: each step preserves equality iff all the values are equal. Trace through to verify.
Why It Matters
Cauchy's forward-backward induction is one of the most beautiful proof structures in elementary mathematics. The proof exploits a structural feature of (every integer is at most a power of 2 and at least 1) to extend a binary inequality to all . The shape recurs in some generalized inequality proofs and in measure-theoretic arguments where you "double up" then descend.
Other proofs of AM-GM:
- Smoothing. Repeatedly replace pairs with their averages; show the product strictly increases until all equal.
- Jensen on . Apply Jensen's inequality to the concave function : , exponentiate.
- Lagrange multipliers (for the optimization-flavored version). Maximize subject to ; the critical point has all equal.
Failure Mode
The hypothesis "" is essential. With negative values the geometric mean is not well-defined for even (negative under a ), and for odd the inequality can fail. Counterexample: , , . Then AM , GM , equality holds; but try , , : AM , GM , and the comparison is sign-dependent.
In practice, every clean olympiad use of AM-GM either has positive variables or has a substitution that makes them positive. If you find yourself negating to apply AM-GM to a "negative" quantity, restructure first.
Worked Example: Maximize a Product
Maximize a product with fixed sum
Problem. Find the maximum of given with .
Solution. AM-GM with : Equality holds iff . So the maximum is 64, attained at .
This is the canonical AM-GM application: a sum is fixed, you want a product bound. The bound is automatic; the equality condition tells you the optimum is at the symmetric point.
Worked Example: A Three-Term Inequality
A three-term cyclic inequality
Problem. Show that for positive reals ,
Solution. Apply AM-GM to two terms at a time:
Summing the three: .
Subtracting from both sides: . ✓
Equality requires , , , i.e., .
This is the pairing technique: introduce a clever companion term, apply two-variable AM-GM, sum.
The Recognition Process
When facing an inequality, ask:
- Are the variables non-negative? AM-GM needs this. Often the problem hypothesis ensures it; sometimes you need a substitution.
- Is the expression homogeneous? Homogeneous inequalities normalize cleanly (set or ), which often turns AM-GM into a one-line argument.
- What is the equality case? A symmetric expression typically has equality at . If so, AM-GM is a strong candidate. If equality is at a non-symmetric point, AM-GM may not be the right tool.
- What pairs cleanly? Sometimes you apply AM-GM to a subset of the terms, with a clever "companion" added to make the GM simplify.
- Could weighted AM-GM help? for . Use this when the equality case is asymmetric.
Common Mistakes
Forgetting positivity
AM-GM requires . If the problem allows negative values, you cannot apply AM-GM directly. Often a substitution ( or ) makes everything positive; sometimes the positivity hypothesis is hidden in the problem statement and requires careful reading.
Equality conditions
The equality condition is every equal, not just two of them. When chaining two applications of AM-GM, the joint equality requires all relevant variables equal across both applications. Many competition writeups lose marks here.
Weighted vs unweighted
The unweighted form has equal weight on each term. The weighted form for , allows different weights. Confusing the two leads to wrong bounds. If your problem has natural asymmetric weights (e.g., multiple copies of a variable), weighted AM-GM is the correct form.
Direction of the inequality
AM ≥ GM. Beginners sometimes write GM ≥ AM by reflex, especially when applying the two-variable case to deduce . The inequality is wrong in that direction. The geometric mean of distinct values is smaller than their arithmetic mean.
Not all symmetric inequalities yield to AM-GM
A symmetric inequality with equality at is a hint that AM-GM might work, but it is not a guarantee. Some symmetric inequalities require Schur, SOS, Jensen, or rearrangement. AM-GM is the right tool when the structure mixes sums and products of the variables, not just symmetric combinations.
Exercises
Problem
Show that for all positive reals and , , with equality iff .
Problem
For positive reals with , show that .
Problem
Show that for positive reals with ,
Cross-Network Links
- ProofsPath: cauchy-schwarz-inequality is the bilinear cousin; power-mean-inequality is the family AM-GM lives in (AM and GM are the and power means); jensen-for-convex-functions generalizes to any concave function (AM-GM is Jensen on ); rearrangement-inequality handles cases where AM-GM does not.
- TheoremPath: common-probability-distributions uses AM-GM in the proof of entropy bounds and concentration inequalities; maximum-likelihood-estimation uses AM-GM in some asymptotic-efficiency arguments.
References
See structured references block. Primary entry points:
Hardy-Littlewood-Polya Inequalities Ch 2 for the canonical
treatment with multiple proofs; Steele Cauchy-Schwarz Master
Class Ch 2 for olympiad-flavored applications; Engel
Problem-Solving Strategies Ch 7 for the contest perspective.