Algebra 2 · Grades 11, 12

The AM–GM Inequality: Optimizing Without Calculus

Quick answer

The arithmetic mean of two nonnegative numbers is at least their geometric mean: (a + b)/2 ≥ √(ab), with equality exactly when a = b. The proof is one line, since (√a − √b)² ≥ 0. The inequality solves optimization problems without calculus: x + 9/x ≥ 2√9 = 6 for x > 0, with the minimum at x = 3, and of all rectangles with a given perimeter, the square has the largest area. The same idea extends to three or more numbers.

What you'll learn

  • State and prove the AM–GM inequality for two numbers
  • Know when equality holds
  • Find minimum values of sums like x + k/x
  • Find maximum products and areas with a fixed sum

Two kinds of average

For nonnegative numbers aa and bb, the arithmetic mean is a+b2\tfrac{a + b}{2} and the geometric mean is ab\sqrt{ab}. The AM–GM inequality says

a+b2≥ab\frac{a + b}{2} \ge \sqrt{ab}

with equality only when a=ba = b. Doubling both sides gives the form used most: a+b≥2aba + b \ge 2\sqrt{ab}.

Two consequences:

  • If the product abab is fixed, the sum a+ba + b is smallest when a=ba = b.
  • If the sum a+ba + b is fixed, the product abab is largest when a=ba = b.
y = x + 9/x has its lowest point at (3, 6) The graph of y = x + 9/x for x > 0. It falls to a lowest point at (3, 6), where x equals 9/x, then rises. The horizontal line y = 6 touches the curve only there. 24681051015xy (3, 6)
  • y = x + 9/x
  • y = 6
y = x + 9/x has its lowest point at (3, 6)

Why the arithmetic mean always wins

A square is never negative, so (a−b)2≥0\left(\sqrt{a} - \sqrt{b}\right)^2 \ge 0. Expanding gives a−2ab+b≥0a - 2\sqrt{ab} + b \ge 0, which is a+b≥2aba + b \ge 2\sqrt{ab}. The square is zero exactly when a=b\sqrt{a} = \sqrt{b}, so equality holds only for a=ba = b. That equality case is what pins down where a minimum or maximum occurs.

Worked examples

Common mistakes

Practice problems

  1. Find the arithmetic mean of 44 and 99.

    Answer

    6.56.5

    Full solution

    4+92\tfrac{4 + 9}{2}.

  2. Find the geometric mean of 44 and 99.

    Answer

    66

    Full solution

    36\sqrt{36}.

  3. Find the minimum of x+16xx + \tfrac{16}{x} for x>0x > 0.

    Answer

    88

    Full solution

    216=82\sqrt{16} = 8, at x=4x = 4.

  4. Find the minimum of 4x+1x4x + \tfrac{1}{x} for x>0x > 0.

    Answer

    44

    Full solution

    24x⋅1x=242\sqrt{4x \cdot \tfrac{1}{x}} = 2\sqrt{4}, at x=12x = \tfrac{1}{2}.

  5. Two positive numbers add to 1414. Find their largest product.

    Answer

    4949

    Full solution

    7⋅77 \cdot 7.

  6. A rectangle has perimeter 3636 cm. Find its largest possible area, in cm².

    Answer

    8181

    Full solution

    The sides add to 1818, so the best is a 99 by 99 square.

  7. For x>0x > 0, find the value of xx that makes x+25xx + \tfrac{25}{x} smallest.

    Answer

    55

    Full solution

    Equality needs x=25xx = \tfrac{25}{x}.

  8. A student says the minimum of x+1xx + \tfrac{1}{x} for x>0x > 0 is 00. Find the minimum.

    Answer

    22

    Full solution

    x+1x≥21=2x + \tfrac{1}{x} \ge 2\sqrt{1} = 2, at x=1x = 1.

Frequently asked questions

What does the AM–GM inequality say?

For a, b ≥ 0, (a + b)/2 ≥ √(ab). The average of two numbers is at least the square root of their product.

When are the two means equal?

Only when a = b.

What is the minimum of x + 1/x for x > 0?

2, at x = 1. AM–GM gives x + 1/x ≥ 2√(x · 1/x) = 2.

Does it work for more than two numbers?

Yes: (a + b + c)/3 ≥ ∛(abc) for nonnegative a, b, c, and similarly for n numbers.

What to learn next