|
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.
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:
- <math>\frac{x_1 + x_2 + \cdots + x_n}{n}.<math>
The geometric mean is similar, except that it is only defined for a list of nonnegative real numbers, and uses multiplication and involution in place of addition and multiplication:
- <math>\sqrt[n]{x_1 \cdot x_2 \cdots x_n}.<math>
This is equivalent to the antilogarithm of the arithmetic mean of the list of logarithms of the numbers:
- <math>\exp \left( \frac{\ln {x_1} + \ln {x_2} + \cdots + \ln {x_n}}{n} \right).<math>
The inequality
Restating the inequality using mathematical notation, we have that for any list of n nonnegative real numbers x1, x2, . . ., xn,
- <math>\frac{x_1 + x_2 + \cdots + x_n}{n} \geq \sqrt[n]{x_1 \cdot x_2 \cdots x_n}<math>,
and that if and only if x1 = x2 = . . . = xn,
- <math>\frac{x_1 + x_2 + \cdots + x_n}{n} = \sqrt[n]{x_1 \cdot x_2 \cdots x_n}<math>.
Proof
There are several ways to prove the AM-GM inequality; for example, it can be inferred from Jensen's inequality, using the concave function ln(x).[1] (http://mcraefamily.com/MathHelp/BasicNumberIneqAMGMArithmeticMeanGeometricMeanJensens.htm) It can also be proven using the rearrangement inequality.
The following proof by cases, which was inspired by the explanation given at http://nrich.maths.org/askedNRICH/edited/1433.html, relies directly on well-known rules of arithmetic:
The case where all the terms are equal
If all the terms are equal:
- <math>x_1 = x_2 = \cdots = x_n<math>
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:
| <math>x_1\,\;<math> | <math>\ne x_2\,\;<math>
|
| <math>x_1 - x_2\,\;<math> | <math>\ne 0\,\;<math>
|
| <math>\left( x_1 - x_2 \right) ^2\,\;<math> | <math>> 0\,\;<math>
|
| <math>x_1^2 - 2 x_1 x_2 + x_2^2\,\;<math> | <math>> 0\,\;<math>
|
| <math>x_1^2 + 2 x_1 x_2 + x_2^2\,\;<math> | <math>> 4 x_1 x_2\,\;<math>
|
| <math>\left( x_1 + x_2 \right) ^2\,\;<math> | <math>> 4 x_1 x_2\,\;<math>
|
| <math>\left( \frac{x_1 + x_2}{2} \right)^2\,\;<math> | <math>> x_1 x_2\,\;<math>
|
| <math>\frac{x_1 + x_2}{2}\,\;<math> | <math>> \sqrt{x_1 x_2}\,\;<math>
|
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 where 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 proceed as follows:
| <math>\frac{x_1 + x_2 + \cdots + x_{2^k}}{2^k}<math>
| <math>=\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}<math>
|
| |
|
| | <math>\ge \frac{\sqrt[2^{k-1}]{x_1 \cdot x_2 \cdots x_{2^{k-1}}} + \sqrt[2^{k-1}]{x_{2^{k-1} + 1} \cdot x_{2^{k-1} + 2} \cdots x_{2^k}}}{2}<math>
|
| |
|
| | <math>\ge \sqrt{\sqrt[2^{k-1}]{x_1 \cdot x_2 \cdots x_{2^{k-1}}} \cdot \sqrt[2^{k-1}]{x_{2^{k-1} + 1} \cdot x_{2^{k-1} + 2} \cdots x_{2^k}}}<math>
|
| |
|
| | <math>= \sqrt[2^k]{x_1 \cdot x_2 \cdots x_{2^k}}<math>
|
where in the first inequality, the two sides are only equal if both of the following are true:
- <math>x_1 = x_2 = \cdots = x_{2^{k-1}}<math>
- <math>x_{2^{k-1}+1} = x_{2^{k-1}+2} = \cdots = x_{2^k}<math>
(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's not possible for both inequalities to be equalities, so we know that:
- <math>\frac{x_1 + x_2 + \cdots + x_{2^k}}{2^k} > \sqrt[2^k]{x_1 \cdot x_2 \cdots x_{2^k}}<math>
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:
- <math>x_{n+1} = x_{n+2} = \cdots = x_m = \alpha.<math>
We then have:
| <math>\alpha\,\;<math>
| <math>= \frac{x_1 + x_2 + \cdots + x_n}{n}<math>
|
| |
|
| | <math>= \frac{\frac{m}{n} \left( x_1 + x_2 + \cdots + x_n \right)}{m}<math>
|
| |
|
| | <math>= \frac{x_1 + x_2 + \cdots + x_n + \frac{m-n}{n} \left( x_1 + x_2 + \cdots + x_n \right)}{m}<math>
|
| |
|
| | <math>= \frac{x_1 + x_2 + \cdots + x_n + \left( m-n \right) \alpha}{m}<math>
|
| |
|
| | <math>= \frac{x_1 + x_2 + \cdots + x_n + x_{n+1} + \cdots + x_m}{m}<math>
|
| |
|
| | <math>> \sqrt[m]{x_1 \cdot x_2 \cdots x_n \cdot x_{n+1} \cdots x_m}<math>
|
| |
|
| | <math>= \sqrt[m]{x_1 \cdot x_2 \cdots x_n \cdot \alpha^{m-n}}<math>
|
| so
|
| <math>\alpha^m\,\;<math>
| <math>> x_1 \cdot x_2 \cdots x_n \cdot \alpha^{m-n}<math>
|
| <math>\alpha^n\,\;<math>
| <math>> x_1 \cdot x_2 \cdots x_n<math>
|
| <math>\alpha\,\;<math>
| <math>> \sqrt[n]{x_1 \cdot x_2 \cdots x_n}<math>
|
as desired.
Example application
Consider the following function:
- <math>f(x,y,z) = \frac{x}{y} + \sqrt{\frac{y}{z}} + \sqrt[3]{\frac{z}{x}}<math>
for x, y, and z all positive real numbers. Suppose we wish to find the minimum value of this function. Rewriting a bit, and applying the AM-GM inequality, we have:
| <math>f(x,y,z)\,\;<math> | <math>= \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}}<math>
|
| |
|
| | <math>= 6 \times \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}<math>
|
| |
|
| | <math>\ge 6 \times \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}} }<math>
|
| |
|
| | <math>= 6 \times \sqrt[6]{ \frac{1}{2 \cdot 2 \cdot 3 \cdot 3 \cdot 3} \frac{x}{y} \frac{y}{z} \frac{z}{x} }<math>
|
| |
|
| | <math>= 6 \times \sqrt[6]{\frac{1}{2 \cdot 2 \cdot 3 \cdot 3 \cdot 3}}<math>
|
| |
|
| | <math>= 2 \cdot 3 \cdot 2^{-1/3} \cdot 3^{-1/2}<math>
|
| |
|
| | <math>= 2^{2/3} \cdot 3^{1/2}<math>
|
Further, we know that the two sides are equal exactly when all the terms of the mean are equal:
- <math>f(x,y,z) = 2^{2/3} \cdot 3^{1/2} \quad when \quad \frac{x}{y} = \frac{1}{2} \sqrt{\frac{y}{z}} = \frac{1}{3} \sqrt[3]{\frac{z}{x}}.<math>
Generalization
This inequality is a special case of Muirhead's inequality.
|