MathorynMathematical Formula Database

Algebra

AM–GM Inequality

The inequality of arithmetic and geometric means states that for non-negative numbers aa and bb the arithmetic mean is at least the geometric mean, with equality exactly when a=ba=b. It is used in optimisation and proofs.

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

Variables

a, ba,\ b
non-negative real numbers
a+b2\frac{a+b}{2}
arithmetic mean
ab\sqrt{ab}
geometric mean

Example

Compare the means of 44 and 99.

  1. Arithmetic mean: 4+92=6.5\frac{4+9}{2}=6.5.
  2. Geometric mean: 36=6\sqrt{36}=6.

Answer: 6.5≥66.5\ge 6, as the inequality predicts.

Related formulas