# Inequality of arithmetic and geometric means

Proof without words of the inequality of arithmetic and geometric means:
PR is a diameter of a circle centred on O; its radius AO is the arithmetic mean of a and b. Using the geometric mean theorem, triangle PGR's altitude GQ is the geometric mean. For any ratio a:b, AO ≥ GQ.
Visual proof that (x + y)2 ≥ 4xy. Taking square roots and dividing by two gives the AM–GM inequality.[1]

In mathematics, the inequality of arithmetic and geometric means, or more briefly the AM–GM inequality, states that the arithmetic mean of a list of non-negative real numbers is greater than or equal to the geometric mean of the same list; and further, that the two means are equal if and only if every number in the list is the same (in which case they are both that number).

The simplest non-trivial case – i.e., with more than one variable – for two non-negative numbers x and y, is the statement that

${\displaystyle {\frac {x+y}{2}}\geq {\sqrt {xy}}}$

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

{\displaystyle {\begin{aligned}0&\leq (x-y)^{2}\\&=x^{2}-2xy+y^{2}\\&=x^{2}+2xy+y^{2}-4xy\\&=(x+y)^{2}-4xy.\end{aligned}}}

Hence (x + y)2 ≥ 4xy, with equality precisely when (xy)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, hence it has perimeter 2x + 2y and area xy. Similarly, a square with all sides of length xy has the perimeter 4xy and the same area as the rectangle. The simplest non-trivial case of the AM–GM inequality implies for the perimeters that 2x + 2y ≥ 4xy and that only the square has the smallest perimeter amongst all rectangles of equal area.

Extensions of the AM–GM inequality are available to include weights or 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:

${\displaystyle {\frac {x_{1}+x_{2}+\cdots +x_{n}}{n}}.}$

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:

${\displaystyle {\sqrt[{n}]{x_{1}\cdot x_{2}\cdots x_{n}}}.}$

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

${\displaystyle \exp \left({\frac {\ln {x_{1}}+\ln {x_{2}}+\cdots +\ln {x_{n}}}{n}}\right).}$

## The inequality

Restating the inequality using mathematical notation, we have that for any list of n nonnegative real numbers x1, x2, . . . , xn,

${\displaystyle {\frac {x_{1}+x_{2}+\cdots +x_{n}}{n}}\geq {\sqrt[{n}]{x_{1}\cdot x_{2}\cdots x_{n}}}\,,}$

and that equality holds if and only if x1 = x2 = · · · = xn.

## Geometric interpretation

In two dimensions, 2x1 + 2x2 is the perimeter of a rectangle with sides of length x1 and x2. Similarly, 4x1x2 is the perimeter of a square with the same area, x1x2, as that rectangle. Thus for n = 2 the AM–GM inequality states that a rectangle of a given area has the smallest perimeter if that rectangle is also a square.

The full inequality is an extension of this idea to n dimensions. Every vertex of an n-dimensional box is connected to n edges. If these edges' lengths are x1, x2, . . . , xn, then x1 + x2 + · · · + xn is the total length of edges incident to the vertex. There are 2n vertices, so we multiply this by 2n; since each edge, however, meets two vertices, every edge is counted twice. Therefore, we divide by 2 and conclude that there are 2n−1n edges. There are equally many edges of each length and n lengths; hence there are 2n−1 edges of each length and the total of all edge lengths is 2n−1(x1 + x2 + · · · + xn). On the other hand,

${\displaystyle 2^{n-1}(x_{1}+\ldots +x_{n})=2^{n-1}n{\sqrt[{n}]{x_{1}x_{2}\cdots x_{n}}}}$

is the total length of edges connected to a vertex on an n-dimensional cube of equal volume, since in this case x1=...=xn. Since the inequality says

${\displaystyle {x_{1}+x_{2}+\cdots +x_{n} \over n}\geq {\sqrt[{n}]{x_{1}x_{2}\cdots x_{n}}},}$

it can be restated by multiplying through by n2n–1 to obtain

${\displaystyle 2^{n-1}(x_{1}+x_{2}+\cdots +x_{n})\geq 2^{n-1}n{\sqrt[{n}]{x_{1}x_{2}\cdots x_{n}}}}$

with equality if and only if x1 = x2 = · · · = xn.

Thus the AM–GM inequality states that only the n-cube has the smallest sum of lengths of edges connected to each vertex amongst all n-dimensional boxes with the same volume.[2]

## Examples

### Example 1

If ${\displaystyle a,b,c>0}$, then the A.M.-G.M. tells us that

${\displaystyle (1+a)(1+b)(1+c)\geq 8{\sqrt {abc}}}$

### Example 2

A simple upper bound for ${\displaystyle n!}$ can be found. AM-GM tells us

${\displaystyle 1+2+\dots +n\geq n{\sqrt[{n}]{n!}}}$
${\displaystyle {\frac {n(n+1)}{2}}\geq n{\sqrt[{n}]{n!}}}$

and so

${\displaystyle \left({\frac {n+1}{2}}\right)^{n}\geq n!}$

with equality at ${\displaystyle n=1}$.

Equivalently,

${\displaystyle (n+1)^{n}\geq 2^{n}n!}$

### Example 3

Consider the function

${\displaystyle f(x,y,z)={\frac {x}{y}}+{\sqrt {\frac {y}{z}}}+{\sqrt[{3}]{\frac {z}{x}}}}$

for all positive real numbers x, y and z. Suppose we wish to find the minimal value of this function. It can be rewritten as:

{\displaystyle {\begin{aligned}f(x,y,z)&=6\cdot {\frac {{\frac {x}{y}}+{\frac {1}{2}}{\sqrt {\frac {y}{z}}}+{\frac {1}{2}}{\sqrt {\frac {y}{z}}}+{\frac {1}{3}}{\sqrt[{3}]{\frac {z}{x}}}+{\frac {1}{3}}{\sqrt[{3}]{\frac {z}{x}}}+{\frac {1}{3}}{\sqrt[{3}]{\frac {z}{x}}}}{6}}\\&=6\cdot {\frac {x_{1}+x_{2}+x_{3}+x_{4}+x_{5}+x_{6}}{6}}\end{aligned}}}

with

${\displaystyle x_{1}={\frac {x}{y}},\qquad x_{2}=x_{3}={\frac {1}{2}}{\sqrt {\frac {y}{z}}},\qquad x_{4}=x_{5}=x_{6}={\frac {1}{3}}{\sqrt[{3}]{\frac {z}{x}}}.}$

Applying the AM–GM inequality for n = 6, we get

{\displaystyle {\begin{aligned}f(x,y,z)&\geq 6\cdot {\sqrt[{6}]{{\frac {x}{y}}\cdot {\frac {1}{2}}{\sqrt {\frac {y}{z}}}\cdot {\frac {1}{2}}{\sqrt {\frac {y}{z}}}\cdot {\frac {1}{3}}{\sqrt[{3}]{\frac {z}{x}}}\cdot {\frac {1}{3}}{\sqrt[{3}]{\frac {z}{x}}}\cdot {\frac {1}{3}}{\sqrt[{3}]{\frac {z}{x}}}}}\\&=6\cdot {\sqrt[{6}]{{\frac {1}{2\cdot 2\cdot 3\cdot 3\cdot 3}}{\frac {x}{y}}{\frac {y}{z}}{\frac {z}{x}}}}\\&=2^{2/3}\cdot 3^{1/2}.\end{aligned}}}

Further, we know that the two sides are equal exactly when all the terms of the mean are equal:

${\displaystyle f(x,y,z)=2^{2/3}\cdot 3^{1/2}\quad {\mbox{when}}\quad {\frac {x}{y}}={\frac {1}{2}}{\sqrt {\frac {y}{z}}}={\frac {1}{3}}{\sqrt[{3}]{\frac {z}{x}}}.}$

All the points (x, y, z) satisfying these conditions lie on a half-line starting at the origin and are given by

${\displaystyle (x,y,z)={\biggr (}t,{\sqrt[{3}]{2}}{\sqrt {3}}\,t,{\frac {3{\sqrt {3}}}{2}}\,t{\biggr )}\quad {\mbox{with}}\quad t>0.}$

## Practical applications

An important practical application in financial mathematics is to computing the rate of return: the annualized return, computed via the geometric mean, is less than the average annual return, computed by the arithmetic mean (or equal if all returns are equal). This is important in analyzing investments, as the average return overstates the cumulative effect.

## Proofs of the AM–GM inequality

### Proof using Jensen's inequality

Jensen's inequality states that the value of a concave function of an arithmetic mean is greater than or equal to the arithmetic mean of the function's values. Since the logarithm function is concave, we have

${\displaystyle \log \left({\frac {\sum _{i}x_{i}}{n}}\right)\geq \sum {\frac {1}{n}}\log x_{i}=\sum \left(\log x_{i}^{1/n}\right)=\log \left(\prod x_{i}^{1/n}\right).}$

Taking antilogs of the far left and far right sides, we have the AM–GM inequality.

### Proof by successive replacement of elements

We have to show that

${\displaystyle \alpha ={\frac {x_{1}+x_{2}+\cdots +x_{n}}{n}}\geq {\sqrt[{n}]{x_{1}x_{2}\cdots x_{n}}}=\beta }$

with equality only when all numbers are equal.

If not all numbers are equal, then there exist ${\displaystyle x_{i},x_{j}}$ such that ${\displaystyle x_{i}<\alpha . Replacing xi by ${\displaystyle \alpha }$ and xj by ${\displaystyle (x_{i}+x_{j}-\alpha )}$ will leave the arithmetic mean of the numbers unchanged, but will increase the geometric mean because

${\displaystyle \alpha (x_{j}+x_{i}-\alpha )-x_{i}x_{j}=(\alpha -x_{i})(x_{j}-\alpha )>0}$

If the numbers are still not equal, we continue replacing numbers as above. After at most ${\displaystyle (n-1)}$ such replacement steps all the numbers will have been replaced with ${\displaystyle \alpha }$ while the geometric mean strictly increases at each step. After the last step, the geometric mean will be ${\displaystyle {\sqrt[{n}]{\alpha \alpha \cdots \alpha }}=\alpha }$, proving the inequality.

It may be noted that the replacement strategy works just as well from the right hand side. If any of the numbers is 0 then so will the geometric mean thus proving the inequality trivially. Therefore we may suppose that all the numbers are positive. If they are not all equal, then there exist ${\displaystyle x_{i},x_{j}}$ such that ${\displaystyle 0. Replacing ${\displaystyle x_{i}}$ by ${\displaystyle \beta }$ and ${\displaystyle x_{j}}$ by ${\displaystyle {\frac {x_{i}x_{j}}{\beta }}}$leaves the geometric mean unchanged but strictly decreases the arithmetic mean since

${\displaystyle x_{i}+x_{j}-\beta -{\frac {x_{i}x_{j}}{\beta }}={\frac {(\beta -x_{i})(x_{j}-\beta )}{\beta }}>0}$. The proof then follows along similar lines as in the earlier replacement.

### Induction Proofs

#### Proof by induction #1

Of the non-negative real numbers x1, . . . , xn, the AM–GM statement is equivalent to

${\displaystyle \alpha ^{n}\geq x_{1}x_{2}\cdots x_{n}}$

with equality if and only if α = xi for all i ∈ {1, . . . , n}.

For the following proof we apply mathematical induction and only well-known rules of arithmetic.

Induction basis: For n = 1 the statement is true with equality.

Induction hypothesis: Suppose that the AM–GM statement holds for all choices of n non-negative real numbers.

Induction step: Consider n + 1 non-negative real numbers x1, . . . , xn+1, . Their arithmetic mean α satisfies

${\displaystyle (n+1)\alpha =\ x_{1}+\cdots +x_{n}+x_{n+1}.}$

If all the xi are equal to α, then we have equality in the AM–GM statement and we are done. In the case where some are not equal to α, there must exist one number that is greater than the arithmetic mean α, and one that is smaller than α. Without loss of generality, we can reorder our xi in order to place these two particular elements at the end: xn > α and xn+1 < α. Then

${\displaystyle x_{n}-\alpha >0\qquad \alpha -x_{n+1}>0}$
${\displaystyle \implies (x_{n}-\alpha )(\alpha -x_{n+1})>0\,.\qquad (*)}$

Now define y with

${\displaystyle y:=x_{n}+x_{n+1}-\alpha \geq x_{n}-\alpha >0\,,}$

and consider the n numbers x1, . . . , xn–1, y which are all non-negative. Since

${\displaystyle (n+1)\alpha =x_{1}+\cdots +x_{n-1}+x_{n}+x_{n+1}}$
${\displaystyle n\alpha =x_{1}+\cdots +x_{n-1}+\underbrace {x_{n}+x_{n+1}-\alpha } _{=\,y},}$

Thus, α is also the arithmetic mean of n numbers x1, . . . , xn–1, y and the induction hypothesis implies

${\displaystyle \alpha ^{n+1}=\alpha ^{n}\cdot \alpha \geq x_{1}x_{2}\cdots x_{n-1}y\cdot \alpha .\qquad (**)}$

Due to (*) we know that

${\displaystyle (\underbrace {x_{n}+x_{n+1}-\alpha } _{=\,y})\alpha -x_{n}x_{n+1}=(x_{n}-\alpha )(\alpha -x_{n+1})>0,}$

hence

${\displaystyle y\alpha >x_{n}x_{n+1}\,,\qquad ({*}{*}{*})}$

in particular α > 0. Therefore, if at least one of the numbers x1, . . . , xn–1 is zero, then we already have strict inequality in (**). Otherwise the right-hand side of (**) is positive and strict inequality is obtained by using the estimate (***) to get a lower bound of the right-hand side of (**). Thus, in both cases we can substitute (***) into (**) to get

${\displaystyle \alpha ^{n+1}>x_{1}x_{2}\cdots x_{n-1}x_{n}x_{n+1}\,,}$

which completes the proof.

#### Proof by induction #2

First of all we shall prove that for real numbers x1 < 1 and x2 > 1 there follows

${\displaystyle x_{1}+x_{2}>x_{1}x_{2}+1.}$

Indeed, multiplying both sides of the inequality x2 > 1 by 1 – x1, gives

${\displaystyle x_{2}-x_{1}x_{2}>1-x_{1},}$

whence the required inequality is obtained immediately.

Now, we are going to prove that for positive real numbers x1, . . . , xn satisfying x1 . . . xn = 1, there holds

${\displaystyle x_{1}+\cdots +x_{n}\geq n.}$

The equality holds only if x1 = ... = xn = 1.

Induction basis: For n = 2 the statement is true because of the above property.

Induction hypothesis: Suppose that the statement is true for all natural numbers up to n – 1.

Induction step: Consider natural number n, i.e. for positive real numbers x1, . . . , xn, there holds x1 . . . xn = 1. There exists at least one xk < 1, so there must be at least one xj > 1. Without loss of generality, we let k =n – 1 and j = n.

Further, the equality x1 . . . xn = 1 we shall write in the form of (x1 . . . xn–2) (xn–1 xn) = 1. Then, the induction hypothesis implies

${\displaystyle (x_{1}+\cdots +x_{n-2})+(x_{n-1}x_{n})>n-1.}$

However, taking into account the induction basis, we have

{\displaystyle {\begin{aligned}x_{1}+\cdots +x_{n-2}+x_{n-1}+x_{n}&=(x_{1}+\cdots +x_{n-2})+(x_{n-1}+x_{n})\\&>(x_{1}+\cdots +x_{n-2})+x_{n-1}x_{n}+1\\&>n,\end{aligned}}}

which completes the proof.

For positive real numbers a1, . . . , an, let's denote

${\displaystyle x_{1}={\frac {a_{1}}{\sqrt[{n}]{a_{1}\cdots a_{n}}}},...,x_{n}={\frac {a_{n}}{\sqrt[{n}]{a_{1}\cdots a_{n}}}}.}$

The numbers x1, . . . , xn satisfy the condition x1 . . . xn = 1. So we have

${\displaystyle {\frac {a_{1}}{\sqrt[{n}]{a_{1}\cdots a_{n}}}}+\cdots +{\frac {a_{n}}{\sqrt[{n}]{a_{1}\cdots a_{n}}}}\geq n,}$

whence we obtain

${\displaystyle {\frac {a_{1}+\cdots +a_{n}}{n}}\geq {\sqrt[{n}]{a_{1}\cdots a_{n}}},}$

with the equality holding only for a1 = ... = an.

### Proof by Cauchy using forward–backward induction

The following proof by cases relies directly on well-known rules of arithmetic but employs the rarely used technique of forward-backward-induction. It is essentially from Augustin Louis Cauchy and can be found in his Cours d'analyse.[3]

#### The case where all the terms are equal

If all the terms are equal:

${\displaystyle x_{1}=x_{2}=\cdots =x_{n},}$

then their sum is nx1, so their arithmetic mean is x1; and their product is x1n, so their geometric mean is x1; therefore, the arithmetic mean and geometric mean are equal, as desired.

#### The case where not all the terms are equal

It remains to show that if not all the terms are equal, then the arithmetic mean is greater than the geometric mean. Clearly, this is only possible when n > 1.

This case is significantly more complex, and we divide it into subcases.

##### The subcase where n = 2

If n = 2, then we have two terms, x1 and x2, and since (by our assumption) not all terms are equal, we have:

{\displaystyle {\begin{aligned}{\Bigl (}{\frac {x_{1}+x_{2}}{2}}{\Bigr )}^{2}-x_{1}x_{2}&={\frac {1}{4}}(x_{1}^{2}+2x_{1}x_{2}+x_{2}^{2})-x_{1}x_{2}\\&={\frac {1}{4}}(x_{1}^{2}-2x_{1}x_{2}+x_{2}^{2})\\&={\Bigl (}{\frac {x_{1}-x_{2}}{2}}{\Bigr )}^{2}>0,\end{aligned}}}

hence

${\displaystyle {\frac {x_{1}+x_{2}}{2}}\geq {\sqrt {x_{1}x_{2}}}}$

as desired.

##### The subcase where n = 2k

Consider the case where n = 2k, where k is a positive integer. We proceed by mathematical induction.

In the base case, k = 1, so n = 2. We have already shown that the inequality holds when n = 2, so we are done.

Now, suppose that for a given k > 1, we have already shown that the inequality holds for n = 2k−1, and we wish to show that it holds for n = 2k. To do so, we apply the inequality twice for 2k-1 numbers and once for 2 numbers to obtain:

{\displaystyle {\begin{aligned}{\frac {x_{1}+x_{2}+\cdots +x_{2^{k}}}{2^{k}}}&{}={\frac {{\frac {x_{1}+x_{2}+\cdots +x_{2^{k-1}}}{2^{k-1}}}+{\frac {x_{2^{k-1}+1}+x_{2^{k-1}+2}+\cdots +x_{2^{k}}}{2^{k-1}}}}{2}}\\[7pt]&\geq {\frac {{\sqrt[{2^{k-1}}]{x_{1}x_{2}\cdots x_{2^{k-1}}}}+{\sqrt[{2^{k-1}}]{x_{2^{k-1}+1}x_{2^{k-1}+2}\cdots x_{2^{k}}}}}{2}}\\[7pt]&\geq {\sqrt {{\sqrt[{2^{k-1}}]{x_{1}x_{2}\cdots x_{2^{k-1}}}}{\sqrt[{2^{k-1}}]{x_{2^{k-1}+1}x_{2^{k-1}+2}\cdots x_{2^{k}}}}}}\\[7pt]&={\sqrt[{2^{k}}]{x_{1}x_{2}\cdots x_{2^{k}}}}\end{aligned}}}

where in the first inequality, the two sides are equal only if

${\displaystyle x_{1}=x_{2}=\cdots =x_{2^{k-1}}}$

and

${\displaystyle x_{2^{k-1}+1}=x_{2^{k-1}+2}=\cdots =x_{2^{k}}}$

(in which case the first arithmetic mean and first geometric mean are both equal to x1, and similarly with the second arithmetic mean and second geometric mean); and in the second inequality, the two sides are only equal if the two geometric means are equal. Since not all 2k numbers are equal, it is not possible for both inequalities to be equalities, so we know that:

${\displaystyle {\frac {x_{1}+x_{2}+\cdots +x_{2^{k}}}{2^{k}}}\geq {\sqrt[{2^{k}}]{x_{1}x_{2}\cdots x_{2^{k}}}}}$

as desired.

##### The subcase where n < 2k

If n is not a natural power of 2, then it is certainly less than some natural power of 2, since the sequence 2, 4, 8, . . . , 2k, . . . is unbounded above. Therefore, without loss of generality, let m be some natural power of 2 that is greater than n.

So, if we have n terms, then let us denote their arithmetic mean by α, and expand our list of terms thus:

${\displaystyle x_{n+1}=x_{n+2}=\cdots =x_{m}=\alpha .}$

We then have:

{\displaystyle {\begin{aligned}\alpha &={\frac {x_{1}+x_{2}+\cdots +x_{n}}{n}}\\[6pt]&={\frac {{\frac {m}{n}}\left(x_{1}+x_{2}+\cdots +x_{n}\right)}{m}}\\[6pt]&={\frac {x_{1}+x_{2}+\cdots +x_{n}+{\frac {(m-n)}{n}}\left(x_{1}+x_{2}+\cdots +x_{n}\right)}{m}}\\[6pt]&={\frac {x_{1}+x_{2}+\cdots +x_{n}+\left(m-n\right)\alpha }{m}}\\[6pt]&={\frac {x_{1}+x_{2}+\cdots +x_{n}+x_{n+1}+\cdots +x_{m}}{m}}\\[6pt]&\geq {\sqrt[{m}]{x_{1}x_{2}\cdots x_{n}x_{n+1}\cdots x_{m}}}\\[6pt]&={\sqrt[{m}]{x_{1}x_{2}\cdots x_{n}\alpha ^{m-n}}}\,,\end{aligned}}}

so

${\displaystyle \alpha ^{m}\geq x_{1}x_{2}\cdots x_{n}\alpha ^{m-n}}$

and

${\displaystyle \alpha \geq {\sqrt[{n}]{x_{1}x_{2}\cdots x_{n}}}}$

as desired.

### Proof by induction using basic calculus

The following proof uses mathematical induction and some basic differential calculus.

Induction basis: For n = 1 the statement is true with equality.

Induction hypothesis: Suppose that the AM–GM statement holds for all choices of n non-negative real numbers.

Induction step: In order to prove the statement for n + 1 non-negative real numbers x1, . . . , xn, xn+1, we need to prove that

${\displaystyle {\frac {x_{1}+\cdots +x_{n}+x_{n+1}}{n+1}}-({x_{1}\cdots x_{n}x_{n+1}})^{\frac {1}{n+1}}\geq 0}$

with equality only if all the n + 1 numbers are equal.

If all numbers are zero, the inequality holds with equality. If some but not all numbers are zero, we have strict inequality. Therefore, we may assume in the following, that all n + 1 numbers are positive.

We consider the last number xn+1 as a variable and define the function

${\displaystyle f(t)={\frac {x_{1}+\cdots +x_{n}+t}{n+1}}-({x_{1}\cdots x_{n}t})^{\frac {1}{n+1}},\qquad t>0.}$

Proving the induction step is equivalent to showing that f(t) ≥ 0 for all t > 0, with f(t) = 0 only if x1, . . . , xn and t are all equal. This can be done by analyzing the critical points of f using some basic calculus.

The first derivative of f is given by

${\displaystyle f'(t)={\frac {1}{n+1}}-{\frac {1}{n+1}}({x_{1}\cdots x_{n}})^{\frac {1}{n+1}}t^{-{\frac {n}{n+1}}},\qquad t>0.}$

A critical point t0 has to satisfy f′(t0) = 0, which means

${\displaystyle ({x_{1}\cdots x_{n}})^{\frac {1}{n+1}}t_{0}^{-{\frac {n}{n+1}}}=1.}$

After a small rearrangement we get

${\displaystyle t_{0}^{\frac {n}{n+1}}=({x_{1}\cdots x_{n}})^{\frac {1}{n+1}},}$

and finally

${\displaystyle t_{0}=({x_{1}\cdots x_{n}})^{\frac {1}{n}},}$

which is the geometric mean of x1, . . . , xn. This is the only critical point of f. Since f′′(t) > 0 for all t > 0, the function f is strictly convex and has a strict global minimum at t0. Next we compute the value of the function at this global minimum:

{\displaystyle {\begin{aligned}f(t_{0})&={\frac {x_{1}+\cdots +x_{n}+({x_{1}\cdots x_{n}})^{1/n}}{n+1}}-({x_{1}\cdots x_{n}})^{\frac {1}{n+1}}({x_{1}\cdots x_{n}})^{\frac {1}{n(n+1)}}\\&={\frac {x_{1}+\cdots +x_{n}}{n+1}}+{\frac {1}{n+1}}({x_{1}\cdots x_{n}})^{\frac {1}{n}}-({x_{1}\cdots x_{n}})^{\frac {1}{n}}\\&={\frac {x_{1}+\cdots +x_{n}}{n+1}}-{\frac {n}{n+1}}({x_{1}\cdots x_{n}})^{\frac {1}{n}}\\&={\frac {n}{n+1}}{\Bigl (}{\frac {x_{1}+\cdots +x_{n}}{n}}-({x_{1}\cdots x_{n}})^{\frac {1}{n}}{\Bigr )}\\&\geq 0,\end{aligned}}}

where the final inequality holds due to the induction hypothesis. The hypothesis also says that we can have equality only when x1, . . . , xn are all equal. In this case, their geometric mean  t0 has the same value, Hence, unless x1, . . . , xn, xn+1 are all equal, we have f(xn+1) > 0. This completes the proof.

This technique can be used in the same manner to prove the generalized AM–GM inequality and Cauchy–Schwarz inequality in Euclidean space Rn.

### Proof by Pólya using the exponential function

George Pólya provided a proof similar to what follows. Let f(x) = ex–1x for all real x, with first derivative f′(x) = ex–1 – 1 and second derivative f′′(x) = ex–1. Observe that f(1) = 0, f′(1) = 0 and f′′(x) > 0 for all real x, hence f is strictly convex with the absolute minimum at x = 1. Hence x ≤ ex–1 for all real x with equality only for x = 1.

Consider a list of non-negative real numbers x1, x2, . . . , xn. If they are all zero, then the AM–GM inequality holds with equality. Hence we may assume in the following for their arithmetic mean α > 0. By n-fold application of the above inequality, we obtain that

{\displaystyle {\begin{aligned}{{\frac {x_{1}}{\alpha }}{\frac {x_{2}}{\alpha }}\cdots {\frac {x_{n}}{\alpha }}}&\leq {e^{{\frac {x_{1}}{\alpha }}-1}e^{{\frac {x_{2}}{\alpha }}-1}\cdots e^{{\frac {x_{n}}{\alpha }}-1}}\\&=\exp {\Bigl (}{\frac {x_{1}}{\alpha }}-1+{\frac {x_{2}}{\alpha }}-1+\cdots +{\frac {x_{n}}{\alpha }}-1{\Bigr )},\qquad (*)\end{aligned}}}

with equality if and only if xi = α for every i ∈ {1, . . . , n}. The argument of the exponential function can be simplified:

{\displaystyle {\begin{aligned}{\frac {x_{1}}{\alpha }}-1+{\frac {x_{2}}{\alpha }}-1+\cdots +{\frac {x_{n}}{\alpha }}-1&={\frac {x_{1}+x_{2}+\cdots +x_{n}}{\alpha }}-n\\&={\frac {n\alpha }{\alpha }}-n\\&=0.\end{aligned}}}

Returning to (*),

${\displaystyle {\frac {x_{1}x_{2}\cdots x_{n}}{\alpha ^{n}}}\leq e^{0}=1,}$

which produces x1 x2 · · · xnαn, hence the result[4]

${\displaystyle {\sqrt[{n}]{x_{1}x_{2}\cdots x_{n}}}\leq \alpha .}$

### Proof by Lagrangian Multipliers

If any of the ${\displaystyle x_{i}}$ are ${\displaystyle 0}$, then there is nothing to prove. So we may assume all the ${\displaystyle x_{i}}$ are strictly positive.

Because the arithmetic and geometric means are homogeneous of degree 1, without loss of generality assume that ${\displaystyle \prod _{i=1}^{n}x_{i}=1}$. Set ${\displaystyle G(x_{1},x_{2},\ldots ,x_{n})=\prod _{i=1}^{n}x_{i}}$, and ${\displaystyle F(x_{1},x_{2},\ldots ,x_{n})={\frac {1}{n}}\sum _{i=1}^{n}x_{i}}$. The inequality will be proved (together with the equality case) if we can show that the minimum of ${\displaystyle F(x_{1},x_{2},...,x_{n}),}$ subject to the constraint ${\displaystyle G(x_{1},x_{2},\ldots ,x_{n})=1,}$ is equal to ${\displaystyle 1}$, and the minimum is only achieved when ${\displaystyle x_{1}=x_{2}=\cdots =x_{n}=1}$. Let us first show that the constrained minimization problem has a global minimum.

Set ${\displaystyle K=\{(x_{1},x_{2},\ldots ,x_{n})\colon 0\leq x_{1},x_{2},\ldots ,x_{n}\leq n\}}$. Since the intersection ${\displaystyle K\cap \{G=1\}}$ is compact, the extreme value theorem guarantees that the minimum of ${\displaystyle F(x_{1},x_{2},...,x_{n})}$ subject to the constraints ${\displaystyle G(x_{1},x_{2},\ldots ,x_{n})=1}$ and ${\displaystyle (x_{1},x_{2},\ldots ,x_{n})\in K}$ is attained at some point inside ${\displaystyle K}$. On the other hand, observe that if any of the ${\displaystyle x_{i}>n}$, then ${\displaystyle F(x_{1},x_{2},\ldots ,x_{n})>1}$, while ${\displaystyle F(1,1,\ldots ,1)=1}$, and ${\displaystyle (1,1,\ldots ,1)\in K\cap \{G=1\}}$. This means that the minimum inside ${\displaystyle K\cap \{G=1\}}$ is in fact a global minimum, since the value of ${\displaystyle F}$ at any point inside ${\displaystyle K\cap \{G=1\}}$ is certainly no smaller than the minimum, and the value of ${\displaystyle F}$ at any point ${\displaystyle (y_{1},y_{2},\ldots ,y_{n})}$ not inside ${\displaystyle K}$ is strictly bigger than the value at ${\displaystyle (1,1,\ldots ,1)}$, which is no smaller than the minimum.

The method of Lagrange multipliers says that the global minimum is attained at a point ${\displaystyle (x_{1},x_{2},\ldots ,x_{n})}$ where the gradient of ${\displaystyle F(x_{1},x_{2},\ldots ,x_{n})}$ is ${\displaystyle \lambda }$ times the gradient of ${\displaystyle G(x_{1},x_{2},\ldots ,x_{n})}$, for some ${\displaystyle \lambda }$. We will show that the only point at which this happens is when ${\displaystyle x_{1}=x_{2}=\cdots =x_{n}=1}$ and ${\displaystyle F(x_{1},x_{2},...,x_{n})=1.}$

Compute ${\displaystyle {\frac {\partial F}{\partial x_{i}}}={\frac {1}{n}}}$ and

${\displaystyle {\frac {\partial G}{\partial x_{i}}}=\prod _{j\neq i}x_{j}={\frac {G(x_{1},x_{2},\ldots ,x_{n})}{x_{i}}}={\frac {1}{x_{i}}}}$

along the constraint. Setting the gradients proportional to one another therefore gives for each ${\displaystyle i}$ that ${\displaystyle {\frac {1}{n}}={\frac {\lambda }{x_{i}}},}$ and so ${\displaystyle n\lambda =x_{i}.}$ Since the left-hand side does not depend on ${\displaystyle i}$, it follows that ${\displaystyle x_{1}=x_{2}=\cdots =x_{n}}$, and since ${\displaystyle G(x_{1},x_{2},\ldots ,x_{n})=1}$, it follows that ${\displaystyle x_{1}=x_{2}=\cdots =x_{n}=1}$ and ${\displaystyle F(x_{1},x_{2},\ldots ,x_{n})=1}$, as desired.

## Generalizations

### Weighted AM–GM inequality

There is a similar inequality for the weighted arithmetic mean and weighted geometric mean. Specifically, let the nonnegative numbers x1, x2, . . . , xn and the nonnegative weights w1, w2, . . . , wn be given. Set w = w1 + w2 + · · · + wn. If w > 0, then the inequality

${\displaystyle {\frac {w_{1}x_{1}+w_{2}x_{2}+\cdots +w_{n}x_{n}}{w}}\geq {\sqrt[{w}]{x_{1}^{w_{1}}x_{2}^{w_{2}}\cdots x_{n}^{w_{n}}}}}$

holds with equality if and only if all the xk with wk > 0 are equal. Here the convention 00 = 1 is used.

If all wk = 1, this reduces to the above inequality of arithmetic and geometric means.

### Proof using Jensen's inequality

Using the finite form of Jensen's inequality for the natural logarithm, we can prove the inequality between the weighted arithmetic mean and the weighted geometric mean stated above.

Since an xk with weight wk = 0 has no influence on the inequality, we may assume in the following that all weights are positive. If all xk are equal, then equality holds. Therefore, it remains to prove strict inequality if they are not all equal, which we will assume in the following, too. If at least one xk is zero (but not all), then the weighted geometric mean is zero, while the weighted arithmetic mean is positive, hence strict inequality holds. Therefore, we may assume also that all xk are positive.

Since the natural logarithm is strictly concave, the finite form of Jensen's inequality and the functional equations of the natural logarithm imply

{\displaystyle {\begin{aligned}\ln {\Bigl (}{\frac {w_{1}x_{1}+\cdots +w_{n}x_{n}}{w}}{\Bigr )}&>{\frac {w_{1}}{w}}\ln x_{1}+\cdots +{\frac {w_{n}}{w}}\ln x_{n}\\&=\ln {\sqrt[{w}]{x_{1}^{w_{1}}x_{2}^{w_{2}}\cdots x_{n}^{w_{n}}}}.\end{aligned}}}

Since the natural logarithm is strictly increasing,

${\displaystyle {\frac {w_{1}x_{1}+\cdots +w_{n}x_{n}}{w}}>{\sqrt[{w}]{x_{1}^{w_{1}}x_{2}^{w_{2}}\cdots x_{n}^{w_{n}}}}.}$

### Matrix Arithmetic Geometric Mean Inequality

Most matrix generalizations of the arithmetic geometric mean inequality apply on the level of unitarily invariant norms, owing to the fact that even if the matrices ${\displaystyle A}$ and ${\displaystyle B}$ are positive semi-definite the matrix ${\displaystyle AB}$ may not be positive semi-definite and hence may not have a canonical square root. In [5] Bhatia and Kittaneh proved that for any unitarily invariant norm ${\displaystyle |||\cdot |||}$ and positive semi-definite matrices ${\displaystyle A}$ and ${\displaystyle B}$ it is the case that

${\displaystyle |||AB|||\leq {\frac {1}{2}}|||A^{2}+B^{2}|||}$

Later, in [6] the same authors proved the stronger inequality that

${\displaystyle |||AB|||\leq {\frac {1}{4}}|||(A+B)^{2}|||}$

Finally, it is known for dimension ${\displaystyle n=2}$ that the following strongest possible matrix generalization of the arithmetic-geometric mean inequality holds, and it is conjectured to hold for all ${\displaystyle n}$

${\displaystyle |||(AB)^{\frac {1}{2}}|||\leq {\frac {1}{2}}|||A+B|||}$

This conjectured inequality was shown by Stephen Drury in 2012. Indeed, he proved

${\displaystyle {\sqrt {\sigma _{j}(AB)}}\leq {\frac {1}{2}}\lambda _{j}(A+B),\ j=1,\ldots ,n.}$

S.W. Drury, On a question of Bhatia and Kittaneh, Linear Algebra Appl. 437 (2012) 1955–1960.

### Other generalizations

Geometric proof without words that max (a,b) > root mean square (RMS) or quadratic mean (QM) > arithmetic mean (AM) > geometric mean (GM) > harmonic mean (HM) > min (a,b) of two distinct positive numbers a and b [7]

Other generalizations of the inequality of arithmetic and geometric means include:

## References

1. ^ Hoffman, D. G. (1981), "Packing problems and inequalities", in Klarner, David A. (ed.), The Mathematical Gardner, Springer, pp. 212–225, doi:10.1007/978-1-4684-6686-7_19
2. ^ Steele, J. Michael (2004). The Cauchy-Schwarz Master Class: An Introduction to the Art of Mathematical Inequalities. MAA Problem Books Series. Cambridge University Press. ISBN 978-0-521-54677-5. OCLC 54079548.
3. ^ Cauchy, Augustin-Louis (1821). Cours d'analyse de l'École Royale Polytechnique, première partie, Analyse algébrique, Paris. The proof of the inequality of arithmetic and geometric means can be found on pages 457ff.
4. ^ Arnold, Denise; Arnold, Graham (1993). Four unit mathematics. Hodder Arnold H&S. p. 242. ISBN 978-0-340-54335-1. OCLC 38328013.
5. ^ divy patel, Rajendra; Kittaneh, Fuad (1990). "On the singular values of products of operators". SIAM Journal on Matrix Analysis and Applications. 11 (2): 272–277. doi:10.1137/0611018.
6. ^ Bhatia, Rajendra; Kittaneh, Fuad (2000). "Notes on matrix arithmetic-geometric mean inequalities". Linear Algebra and Its Applications. 308 (1–3): 203–211. doi:10.1016/S0024-3795(00)00048-3.
7. ^ If AC = a and BC = b. OC = AM of a and b, and radius r = QO = OG.
Using Pythagoras' theorem, QC² = QO² + OC² ∴ QC = √QO² + OC² = QM.
Using Pythagoras' theorem, OC² = OG² + GC² ∴ GC = √OC² − OG² = GM.
Using similar triangles, HC/GC = GC/OC ∴ HC = GC²/OC = HM.
8. ^ cf. Iordanescu, R.; Nichita, F.F.; Pasarescu, O. Unification Theories: Means and Generalized Euler Formulas. Axioms 2020, 9, 144.