# Inequality of arithmetic and geometric means

﻿
Inequality of arithmetic and geometric means

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 "x"1, "x"2, . . ., "x""n" is the sum of the numbers divided by "n":

:$frac\left\{x_1 + x_2 + cdots + x_n\right\}\left\{n\right\}.$

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:

:$sqrt \left[n\right] \left\{x_1 cdot x_2 cdots x_n\right\}.$

If "x"1, "x"2, . . ., "x""n" > 0, this is equal to the exponential of the arithmetic mean of the natural logarithms of the numbers:

:$exp left\left( frac\left\{ln \left\{x_1\right\} + ln \left\{x_2\right\} + cdots + ln \left\{x_n\left\{n\right\} ight\right).$

The inequality

Restating the inequality using mathematical notation, we have that for any list of "n" nonnegative real numbers "x"1, "x"2, . . ., "x""n",

:$frac\left\{x_1 + x_2 + cdots + x_n\right\}\left\{n\right\} geq sqrt \left[n\right] \left\{x_1 cdot x_2 cdots x_n\right\},$

and that if and only if "x"1 = "x"2 = . . . = "x""n",

:$frac\left\{x_1 + x_2 + cdots + x_n\right\}\left\{n\right\} = sqrt \left[n\right] \left\{x_1 cdot x_2 cdots x_n\right\}.$

Generalizations

There is a similar inequality for the weighted arithmetic mean and weighted geometric mean. Specifically, let the nonnegative numbers "x"1, "x"2, . . ., "x""n" and the nonnegative weights "α"1, "α"2, . . ., "α""n" be given. Set $alpha = alpha_1 + alpha_2 + cdots + alpha_n$. If "α" > 0, then the inequality

:$frac\left\{alpha_1 x_1 + alpha_2 x_2 + cdots + alpha_n x_n\right\}\left\{alpha\right\} geq sqrt \left[alpha\right] \left\{x_1^\left\{alpha_1\right\} x_2^\left\{alpha_2\right\} cdots x_n^\left\{alpha_n$

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

If all "αk" = 1, this reduces to the above AM-GM inequality.

Other generalizations of the inequality of arithmetic and geometric means are given by Muirhead's inequality, MacLaurin's inequality, and the generalized mean inequality.

Example application

Consider the following function:

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

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:

:

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

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

Proof by induction

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"). It can also be proven using the rearrangement inequality. Considering length and required prerequisites, the proof by induction given below is probably the best recommendation for first reading.

With the arithmetic mean:$mu=frac\left\{ x_1 + cdots + x_n\right\}n$of the non-negative real numbers "x"1,...,"xn", the AM-GM statement is equivalent to:$mu^nge 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. Their arithmetic mean "μ" satisfies:$\left(n+1\right)mu= x_1 + cdots + x_n + x_\left\{n+1\right\}.,$If all numbers are equal to "μ", then we have equality in the AM-GM statement and we are done. Otherwise we may find one number that is greater than "μ" and one that is smaller than "μ", say "xn" > "μ" and "x""n"+1 < "μ". Then

:$\left(x_n-mu\right)\left(mu-x_\left\{n+1\right\}\right)>0,.qquad\left(*\right)$

Now consider the "n" numbers:$x_1, ldots, x_\left\{n-1\right\}, x_n\text{'}$ with $x_n\text{'}:=x_n+x_\left\{n+1\right\}-muge x_n-mu>0,,$

which are also non-negative. Since

:$nmu=x_1 + cdots + x_\left\{n-1\right\} + underbrace\left\{x_n+x_\left\{n+1\right\}-mu\right\}_\left\{=,x_n\text{'}\right\},$

"μ" is also the arithmetic mean of $x_1, ldots, x_\left\{n-1\right\}, x_n\text{'}$ and the induction hypothesis implies

:$mu^\left\{n+1\right\}=mu^ncdotmuge x_1x_2 cdots x_\left\{n-1\right\} x_n\text{'}mu.qquad\left(**\right)$

Due to (*) we know that

:$\left(underbrace\left\{x_n+x_\left\{n+1\right\}-mu\right\}_\left\{=,x_n\text{'}\right\}\right)mu-x_nx_\left\{n+1\right\}=\left(x_n-mu\right)\left(mu-x_\left\{n+1\right\}\right)>0,$

hence

:$x_n\text{'}mu>x_nx_\left\{n+1\right\},,qquad\left(\left\{*\right\}\left\{*\right\}\left\{*\right\}\right)$

in particular "μ" > 0. Therefore, if at least one of the numbers "x"1,...,"x""n"−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 (***). Therefore, substituting (***) into (**) gives in both cases

:$mu^\left\{n+1\right\}>x_1x_2 cdots x_\left\{n-1\right\} x_nx_\left\{n+1\right\},,$

which completes the proof.

Proof by Pólya

George Pólya provided the following proof, using the exponential function and the inequality "e""x" ≥ 1 + "x", which is valid for every real number "x". To verify this inequality, note that both sides as well as their first derivatives agree for "x" = 0 and that the exponential function is strictly convex, because its second derivative is positive for every real "x". For this reason, also the equality "e""x" = 1 + "x" only holds for "x" = 0.

Let μ be the arithmetic mean, and let ρ be the geometric mean of "x"1, ..., "x""n". If all "x"1, ..., "x""n" are equal, then &mu; = &rho;.

It remains to prove the strict inequality &mu; > &rho; if "x"1, ..., "x""n" ≥ 0 are not all equal. Then, in particular, they are not all zero, hence &mu; > 0.

If we substitute "x""i" /&mu; − 1 for "x" in the above inequality "e""x" ≥ 1 + "x" we get that

:$expBigl\left(\left\{x_i over mu\right\} - 1Bigr\right)ge \left\{x_i over mu\right\},$

for each "i" and strict inequality for those "i" with "x""i" ≠ &mu;. Since "x""i" /&mu; ≥ 0, we can multiply all these inequalities together, side by side, for "i" = 1, ..., "n", to obtain

:$prod_\left\{i=1\right\}^nexpBigl\left(\left\{x_i over mu\right\} - 1Bigr\right) > prod_\left\{i=1\right\}^n \left\{x_i over mu\right\},,$

where we get strict inequality because no factor on the left-hand side is zero and there was strict inequality for at least one "i". Using the functional equation of the exponential function, we get

:

Since &mu; is the arithmetic mean, the summation in the parentheses on the left of (*) can be reduced to

:$sum_\left\{i=1\right\}^n x_i = nmu,.$

Thus, the left-hand side of the inequality (*) is exp("n" − "n") = 1. Since &rho; is the geometric mean, the product on the right of (*) can be rewritten as

:$frac1\left\{mu^n\right\}prod_\left\{i=1\right\}^n x_i = \left\{ ho^n over mu^n\right\}.$

So (*) reduces to 1 > &rho;"n"/&mu;"n" and hence &mu; > &rho;.

Proof by Cauchy

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".

The case where all the terms are equal

If all the terms are equal:

:$x_1 = x_2 = cdots = x_n$

then their sum is "nx"1, so their arithmetic mean is "x"1; and their product is "x"1"n", so their geometric mean is "x"1; 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, "x"1 and "x"2, and since (by our assumption) not all terms are equal, we have:

:

as desired.

= The subcase where "n" = 2"k" =

Consider the case where "n" = 2"k", 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" = 2"k"−1, and we wish to show that it holds for "n" = 2"k". To do so, we proceed as follows:

:

where in the first inequality, the two sides are equal only if both of the following are true:

:$x_1 = x_2 = cdots = x_\left\{2^\left\{k-1$:$x_\left\{2^\left\{k-1\right\}+1\right\} = x_\left\{2^\left\{k-1\right\}+2\right\} = cdots = x_\left\{2^k\right\}$

(in which case the first arithmetic mean and first geometric mean are both equal to "x"1, 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 2"k" numbers are equal, it is not possible for both inequalities to be equalities, so we know that:

:$frac\left\{x_1 + x_2 + cdots + x_\left\{2^k\left\{2^k\right\} > sqrt \left[2^k\right] \left\{x_1 cdot x_2 cdots x_\left\{2^k$

as desired.

The subcase where "n" &lt; 2"k"

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, . . ., 2"k", . . . 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:

:$x_\left\{n+1\right\} = x_\left\{n+2\right\} = cdots = x_m = alpha.$

We then have:

:

so

:

as desired.

Proof of the generalized AM-GM inequality 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 "αk" = 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:

Since the natural logarithm is strictly increasing,:$frac\left\{alpha_1x_1+cdots+alpha_nx_n\right\}alpha>sqrt \left[alpha\right] \left\{x_1^\left\{alpha_1\right\} x_2^\left\{alpha_2\right\} cdots x_n^\left\{alpha_n.$

References

* Augustin-Louis Cauchy, [http://visualiseur.bnf.fr/Visualiseur?Destination=Gallica&O=NUMM-29058 "Cours d'analyse de l'École Royale Polytechnique, premier partie, Analyse algébrique,"] Paris, 1821. The proof of the inequality of arithmetic and geometric means can be found on pages 457ff.

Wikimedia Foundation. 2010.

### Look at other dictionaries:

• Geometric mean — The geometric mean, in mathematics, is a type of mean or average, which indicates the central tendency or typical value of a set of numbers. It is similar to the arithmetic mean, which is what most people think of with the word average, except… …   Wikipedia

• Inequality (mathematics) — Not to be confused with Inequation. Less than and Greater than redirect here. For the use of the < and > signs as punctuation, see Bracket. More than redirects here. For the UK insurance brand, see RSA Insurance Group. The feasible regions… …   Wikipedia

• Arithmetic mean — In mathematics and statistics, the arithmetic mean, often referred to as simply the mean or average when the context is clear, is a method to derive the central tendency of a sample space. The term arithmetic mean is preferred in mathematics and… …   Wikipedia

• Arithmetic-geometric mean — In mathematics, the arithmetic geometric mean (AGM) of two positive real numbers x and y is defined as follows:First compute the arithmetic mean of x and y and call it a 1. Next compute the geometric mean of x and y and call it g 1; this is the… …   Wikipedia

• Inequality — In mathematics, an inequality is a statement about the relative size or order of two objects, or about whether they are the same or not (See also: equality) *The notation a < b means that a is less than b . *The notation a > b means that a is… …   Wikipedia

• Ky Fan inequality — In mathematics, the Ky Fan inequality is an inequality involving the geometric mean and arithmetic mean of two sets of real numbers of the unit interval. The result was published on page 5 of the book Inequalities by Beckenbach and Bellman (1961) …   Wikipedia

• Muirhead's inequality — In mathematics, Muirhead s inequality, named after Robert Franklin Muirhead, also known as the bunching method, generalizes the inequality of arithmetic and geometric means. Contents 1 Preliminary definitions 1.1 The a mean 1.2 Doubly stochastic… …   Wikipedia

• Pythagorean means — The three classical Pythagorean means are the arithmetic mean ( A ), the geometric mean ( G ), and the harmonic mean ( H ). They are defined by:* A(x 1, ldots, x n) = frac{1}{n}(x 1 + cdots + x n) * G(x 1, ldots, x n) = sqrt [n] {x 1 cdots x n} * …   Wikipedia

• MacLaurin's inequality — In mathematics, MacLaurin s inequality, named after Colin Maclaurin, is a refinement of the inequality of arithmetic and geometric means. Let a 1, a 2, ..., a n be positive real numbers, and for k = 1, 2, ..., n define the averages S k as follows …   Wikipedia

• Nesbitt's inequality — In mathematics, Nesbitt s inequality is a special case of the Shapiro inequality. It states that for positive real numbers a, b and c we have: Contents 1 Proof 1.1 First proof …   Wikipedia