Lably
Skip to content

AM–GM inequality

Arithmetic mean is greater than or equal to geometric mean

  • 17 min read
  • 7 chapters
  • 1 lab on Lably

Learn it on Lably

The simplest non-trivial case is for two non-negative numbers x and y, that is,

x+y2≥xy

with equality if and only if x = y. This follows from the fact that the square of a real number is always non-negative (greater than or equal to zero) and from the identity (a ± b)2 = a2 ± 2ab + b2:

0≤(x−y)2=x2−2xy+y2=x2+2xy+y2−4xy=(x+y)2−4xy.


Hence (x + y)2 ≥ 4xy, with equality when (x − y)2 = 0, i.e. x = y. The AM–GM inequality then follows from taking the positive square root of both sides and then dividing both sides by 2.

For a geometrical interpretation, consider a rectangle with sides of length x and y; it has perimeter 2x + 2y and area xy. Similarly, a square with all sides of length √xy has the perimeter 4√xy and the same area as the rectangle. The simplest non-trivial case of the AM–GM inequality implies for the perimeters that 2x + 2y ≥ 4√xy and that only the square has the smallest perimeter amongst all rectangles of equal area.

The simplest case is implicit in Euclid's Elements, Book V, Proposition 25.

Extensions of the AM–GM inequality treat weighted means and generalized means.

Background

The arithmetic mean, or less precisely the average, of a list of n numbers x1, x2, . . . , xn is the sum of the numbers divided by n:

x1+x2+⋯+xnn.

The geometric mean is similar, except that it is only defined for a list of nonnegative real numbers, and uses multiplication and a root in place of addition and division:

x1⋅x2⋯xnn.

If x1, x2, . . . , xn > 0, this is equal to the exponential of the arithmetic mean of the natural logarithms of the numbers:

exp⁡(ln⁡x1+ln⁡x2+⋯+ln⁡xnn).

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Topics in mathematics