AM-GM inequality

For two positive numbers aa and bb, the sum divided by 2, a+b2\frac{a+b}{2}, is the arithmetic mean, and the square root of the product, ab\sqrt{ab}, is the geometric mean. The arithmetic mean is always greater than or equal to the geometric mean. The two are equal only when a=ba=b.

Chalcack concept card · Reviewed by the Chalcack team ·

Split a diameter into a and b: the radius is (a+b)/2, the vertical segment at the split point is √ab, and the radius is always at least as long.

Formulas

  • a+b2≥ab(a>0, b>0)\frac{a+b}{2} \geq \sqrt{ab} \quad (a > 0,\ b > 0)
  • a+b≥2aba + b \geq 2\sqrt{ab} (equality when a=ba = b)

When to use it

Use it when the product of two positive numbers is fixed and you need the smallest possible sum, or when the sum is fixed and you need the largest possible product.

Worked example

For x>0x > 0, find the minimum value of x+4xx + \frac{4}{x}. (1) The product of the two terms is x×4x=4x \times \frac{4}{x} = 4. (2) So x+4x≥24=4x + \frac{4}{x} \geq 2\sqrt{4} = 4. (3) Equality holds when x=4xx = \frac{4}{x}, that is x=2x = 2, so the minimum value is 4.

Common mistake

A common mistake is using it without checking that both numbers are positive. You also need to check that an xx value giving equality actually exists; only then is that bound the true minimum.

Related concepts

All 181 math concepts