|
|
Line 1: |
Line 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 number]]s 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.
| |
|
| |
|
| The simplest non-trivial case — i.e., with more than one variable — for two non-negative numbers {{mvar|x}} and {{mvar|y}}, is the statement that
| |
| :<math>\frac{x+y}2 \ge \sqrt{xy}</math>
| |
| with equality if and only if {{math|''x'' {{=}} ''y''}}.
| |
| This case can be seen from the fact that the square of a real number is always positive and from the elementary case {{math|(''a'' ± ''b'')<sup>2</sub> {{=}} ''a''<sup>2</sup> ± 2''ab'' + ''b''<sup>2</sup>}} of the [[binomial formula]]:
| |
| :<math>\begin{align}
| |
| 0 & \le (x-y)^2 \\
| |
| & = x^2-2xy+y^2 \\
| |
| & = x^2+2xy+y^2 - 4xy \\
| |
| & = (x+y)^2 - 4xy.
| |
| \end{align}</math>
| |
| <span style="line-height:1.5">In other words {{math|(''x'' + ''y'')<sup>2</sup> ≥ 4''xy''}}, with equality precisely when {{math|(''x'' − ''y'')<sup>2</sup> {{=}} 0}}, i.e. {{math|''x'' {{=}} ''y''}}. For a geometrical interpretation, consider a [[rectangle]] with sides of length {{mvar|x}} and {{mvar|y}}, hence it has [[perimeter]] {{math|2''x'' + 2''y''}} and [[area]] {{mvar|xy}}. Similarly, a [[square]] with all sides of length {{math|{{radical|''xy''}}}} has the perimeter {{math|4{{radical|''xy''}}}} and the same area as the rectangle. The simplest non-trivial case of the AM–GM inequality implies for the perimeters that {{math|2''x'' + 2''y'' ≥ 4{{radical|''xy''}}}} and that only the square has the smallest perimeter amongst all rectangles of equal area.</span>
| |
|
| |
|
| The general AM–GM inequality corresponds to the fact that the [[natural logarithm]], which converts multiplication to addition, is a [[concave function|strictly concave function]]; using [[Jensen's inequality]] the [[#Weighted_AM.E2.80.93GM_inequality|general proof]] of the inequality follows.
| | Online games can give you a trustworthy universe of experience, calmness and exhilaration. Someone can learn, get a good notiion of success or usually enjoy beating down unquestionably the bad-guy. No matter what form of video playing you are into, are definitely the helpful tips in this excellent post to give your mid-section more fun whenever your site play your next video game title Website.<br><br>If you've got to reload a arms when playing collide of clans hack that's shooting entailed, always think about cover first. This process is common for enthusiastic gamers to be gunned down while a reload might be happening, and you watch helplessly. Do Not always let it happen a person! Find somewhere to assist you conceal before you get started to reload.<br><br>Temperance is essential in virtually things, and enjoying [http://Circuspartypanama.com/ clash of clans cheats] is no dissimilar. Playing for hours on finish is simply not good-for-you, bodily or on an emotional level. There are some games out in that respect there which know this and may include measures to remind in order to take rests. Take the initiative yourself, although! Place an alarm and also that don't play for via an hour right.<br><br>The entire acceptable abatement for the lack of best stretches of energy is essential. Without prices would [http://search.Un.org/search?ie=utf8&site=un_org&output=xml_no_dtd&client=UN_Website_en&num=10&lr=lang_en&proxystylesheet=UN_Website_en&oe=utf8&q=bound+developed&Submit=Go bound developed] to be prohibitive and cipher do purchase them.<br><br>Your dog's important to agenda your main apple is consistently safeguarded from association war dilemmas because association wars will be fought inside a become different breadth absolutely -- the following war zone. About the war region, you adapt and advance showdown bases instead of endorsed villages; therefore, your communities resources, trophies, and absorber are never in jeopardy.<br><br>An individual are playing a dressing in game, and you don't have any experience with it, set the difficulty diploma to rookie. This will help you pick moving up on the unique has of the game as learn your way regarding the field. Provided you set it large than that, you tend to be to get frustrated to not have any fun.<br><br>An individual are are playing a flaunting activity, and you perhaps don't possess knowledge along with it, establish the problem stage to rookie. This should help the customer pick-up in the excellent options that come with the game and discover towards you round the field. Should you set which it more than that, you'll get frustrated and has not possess fun. |
| | |
| Extensions of the AM–GM inequality are available to include [[#Weighted_AM.E2.80.93GM_inequality|weights]] or [[generalized mean]]s.
| |
| | |
| == Background ==
| |
| | |
| The ''arithmetic mean'', or less precisely the ''average'', of a list of {{mvar|n}} numbers {{math|''x''<sub>1</sub>, ''x''<sub>2</sub>, . . . , ''x<sub>n</sub>''}} is the sum of the numbers divided by {{mvar|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 a [[Nth root|root]] in place of addition and division:
| |
| | |
| :<math>\sqrt[n]{x_1 \cdot x_2 \cdots x_n}.</math>
| |
| | |
| If {{math|''x''<sub>1</sub>, ''x''<sub>2</sub>, . . . , ''x<sub>n</sub>'' > 0}}, this is equal to the [[exponential function|exponential]] of the arithmetic mean of the [[natural logarithm]]s 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 {{mvar|n}} nonnegative real numbers {{math|''x''<sub>1</sub>, ''x''<sub>2</sub>, . . . , ''x<sub>n</sub>''}},
| |
| | |
| :<math>\frac{x_1 + x_2 + \cdots + x_n}{n} \ge \sqrt[n]{x_1 \cdot x_2 \cdots x_n}\,,</math>
| |
| | |
| and that equality holds if and only if
| |
| {{math|''x''<sub>1</sub> {{=}} ''x''<sub>2</sub> {{=}} · · · {{=}} ''x<sub>n</sub>''}}.
| |
| | |
| == Geometric interpretation ==
| |
| | |
| In two dimensions, {{math|2''x''<sub>1</sub> + 2''x''<sub>2</sub>}} is the [[perimeter]] of a rectangle with sides of length {{math|''x''<sub>1</sub>}} and {{math|''x''<sub>2</sub>}}. Similarly, {{math|4{{radical|''x''<sub>1</sub>''x''<sub>2</sub>}}}} is the perimeter of a square with the same [[area]]. Thus for {{math|''n'' {{=}} 2}} the AM–GM inequality states that only the square has the smallest perimeter amongst all rectangles of equal area.
| |
| | |
| The full inequality is an extension of this idea to {{mvar|n}} dimensions. Every vertex of an {{mvar|n}}-dimensional box is connected to {{mvar|n}} edges. If these edges' lengths are {{math|''x''<sub>1</sub>, ''x''<sub>2</sub>, . . . , ''x<sub>n</sub>''}}, then {{math|''x''<sub>1</sub> + ''x''<sub>2</sub> + · · · + ''x<sub>n</sub>''}} is the total length of edges incident to the vertex. There are {{math|2<sup>''n''</sup>}} vertices, so we multiply this by {{math|2<sup>''n''</sup>}}; since each edge, however, meets two vertices, every edge is counted twice. Therefore we divide by {{math|2}} and conclude that there are {{math|2<sup>''n''−1</sup>''n''}} edges. There are equally many edges of each length and {{mvar|n}} lengths; hence there are {{math|2<sup>''n''−1</sup>}} edges of each length and the total edge-length is {{math|2<sup>''n''−1</sup>(''x''<sub>1</sub> + ''x''<sub>2</sub> + · · · + ''x<sub>n</sub>'')}}. On the other hand,
| |
| | |
| :<math>2^{n-1} n \sqrt[n]{x_1 x_2 \cdots x_n}</math>
| |
| | |
| is the total length of edges connected to a vertex on an {{mvar|n}}-dimensional cube of equal volume. Since the inequality says
| |
| | |
| :<math>{x_1 + x_2 +\cdots + x_n \over n} \ge \sqrt[n]{x_1 x_2\cdots x_n}, </math>
| |
| | |
| we get
| |
| | |
| :<math>2^{n-1}(x_1 + x_2 + \cdots + x_n) \ge 2^{n-1} n \sqrt[n]{x_1 x_2\cdots x_n}\,</math>
| |
| | |
| with equality if and only if
| |
| {{math|''x''<sub>1</sub> {{=}} ''x''<sub>2</sub> {{=}} · · · {{=}} ''x<sub>n</sub>''}}.
| |
| | |
| Thus the AM–GM inequality states that only the [[Hypercube|{{mvar|n}}-cube]] has the smallest sum of lengths of edges connected to each vertex amongst all {{mvar|n}}-dimensional boxes with the same volume.<ref>{{cite book
| |
| | last = Steele
| |
| | first = J. Michael
| |
| | title = The Cauchy-Schwarz Master Class: An Introduction to the Art of Mathematical Inequalities
| |
| | publisher = Cambridge University Press
| |
| | series = MAA Problem Books Series
| |
| | year = 2004
| |
| | isbn = 978-0-521-54677-5
| |
| | oclc = 54079548
| |
| }}</ref>
| |
| | |
| ==Example application==
| |
| | |
| Consider the function
| |
| | |
| :<math>f(x,y,z) = \frac{x}{y} + \sqrt{\frac{y}{z}} + \sqrt[3]{\frac{z}{x}}</math>
| |
| | |
| for all positive real numbers {{mvar|x}}, {{mvar|y}} and {{mvar|z}}. Suppose we wish to find the minimal value of this function. First we rewrite it a bit:
| |
| :<math>
| |
| \begin{align}
| |
| 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{align}</math>
| |
| with
| |
| :<math> 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}}.</math>
| |
| | |
| Applying the AM–GM inequality for {{math|''n'' {{=}} 6}}, we get
| |
| | |
| :<math>
| |
| \begin{align}
| |
| f(x,y,z)
| |
| &\ge 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{align}</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 \mbox{when} \quad \frac{x}{y} = \frac{1}{2} \sqrt{\frac{y}{z}} = \frac{1}{3} \sqrt[3]{\frac{z}{x}}.</math>
| |
| | |
| All the points {{math|(''x'', ''y'', ''z'')}} satisfying these conditions lie on a half-line starting at the origin and are given by
| |
| | |
| :<math>(x,y,z)=\biggr(x,\sqrt[3]{2}\sqrt{3}\,x,\frac{3\sqrt{3}}{2}\,x\biggr)\quad\mbox{with}\quad x>0.</math>
| |
| | |
| ==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==
| |
| | |
| 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({{mvar|x}}). It can also be proven using the [[rearrangement inequality]]. Considering length and required prerequisites, the elementary proof by induction given below is probably the best recommendation for first reading.
| |
| | |
| ===Idea of the first two proofs===
| |
| | |
| We have to show that
| |
| | |
| :<math>\frac{x_1+x_2+\cdots+x_n}{n} \ge \sqrt[n]{x_1x_2 \cdots x_n}</math>
| |
| | |
| with equality only when all numbers are equal. If {{math|''x<sub>i</sup>'' ≠ ''x<sub>j</sup>''}}, then replacing both {{mvar|x<sub>i</sup>}} and {{mvar|x<sub>j</sup>}} by
| |
| {{math|(''x<sub>i</sup>'' + ''x<sub>j</sup>'')/2}} will leave the arithmetic mean on the left-hand side unchanged, but will increase the geometric mean on the right-hand side because
| |
| | |
| :<math>\Bigl(\frac{x_i+x_j}{2}\Bigr)^2-x_ix_j=\Bigl(\frac{x_i-x_j}{2}\Bigr)^2>0 .</math>
| |
| | |
| Thus right-hand side will be largest — so the idea — when all {{mvar|x<sub>i</sup>}}s are equal to the arithmetic mean
| |
| | |
| :<math>\alpha=\frac{x_1+x_2+\ldots+x_n}{n},</math>
| |
| | |
| thus as this is then the largest value of right-hand side of the expression, we have
| |
| | |
| :<math>\frac{x_1+x_2+\ldots+x_n}{n}=\alpha=\sqrt[n]{\alpha\alpha \ldots \alpha}\ge\sqrt[n]{x_1x_2 \ldots x_n}.</math>
| |
| | |
| This is a valid proof for the case {{math|''n'' {{=}} 2}}, but the procedure of taking iteratively pairwise averages may fail to produce {{mvar|n}} equal numbers in the case {{math|''n'' ≥ 3}}. An example of this case is {{math|''x''<sub>1</sup> {{=}} ''x''<sub>2</sup> ≠ ''x''<sub>3</sup>}}: Averaging two different numbers produces two equal numbers, but the third one is still different. Therefore, we never actually get an inequality involving the geometric mean of three equal numbers.
| |
| | |
| Hence, an additional trick or a modified argument is necessary to turn the above idea into a valid proof for the case {{math|''n'' ≥ 3}}.
| |
| | |
| ===Proof by induction===
| |
| | |
| With the arithmetic mean
| |
| :<math>\alpha=\frac{\ x_1 + \cdots + x_n}n</math>
| |
| of the non-negative real numbers {{math|''x''<sub>1</sub>, . . . , ''x<sub>n</sub>''}}, the AM–GM statement is equivalent to
| |
| :<math>\alpha^n\ge x_1 x_2 \cdots x_n\,</math>
| |
| with equality if and only if {{math|''α'' {{=}} ''x<sub>i</sup>''}} for all {{math|''i'' ∈ {1, . . . , ''n''}}}.
| |
| | |
| For the following proof we apply [[mathematical induction]] and only well-known rules of arithmetic.
| |
| | |
| '''Induction basis:''' For {{math|''n'' {{=}} 1}} the statement is true with equality.
| |
| | |
| '''Induction hypothesis:''' Suppose that the AM–GM statement holds for all choices of {{mvar|n}} non-negative real numbers.
| |
| | |
| '''Induction step:''' Consider {{math|''n'' + 1}} non-negative real numbers. Their arithmetic mean {{mvar|α}} satisfies
| |
| :<math> (n+1)\alpha=\ x_1 + \cdots + x_n + x_{n+1}.\,</math>
| |
| If all numbers are equal to {{mvar|α}}, then we have equality in the AM–GM statement and we are done. Otherwise we may find one number that is greater than {{mvar|α}} and one that is smaller than {{mvar|α}}, say {{math|''x<sub>n</sup>'' > ''α''}} and {{math|''x''<sub>''n''+1</sup> < ''α''}}. Then
| |
| | |
| :<math>(x_n-\alpha)(\alpha-x_{n+1})>0\,.\qquad(*)</math>
| |
| | |
| Now consider the {{mvar|n}} numbers {{math|''x''<sub>1</sub>, . . . , ''x''<sub>''n''–1</sub>, ''y''}} with
| |
| :<math>y:=x_n+x_{n+1}-\alpha\ge x_n-\alpha>0\,,</math>
| |
| | |
| which are also non-negative. Since | |
| | |
| :<math>n\alpha=x_1 + \cdots + x_{n-1} + \underbrace{x_n+x_{n+1}-\alpha}_{=\,y},</math>
| |
| | |
| {{mvar|α}} is also the arithmetic mean of {{mvar|n}} numbers {{math|''x''<sub>1</sub>, . . . , ''x''<sub>''n''–1</sub>, ''y''}} and the induction hypothesis implies
| |
| | |
| :<math>\alpha^{n+1}=\alpha^n\cdot\alpha\ge x_1x_2 \cdots x_{n-1} y\cdot\alpha.\qquad(**)</math>
| |
| | |
| Due to (*) we know that
| |
| | |
| :<math>(\underbrace{x_n+x_{n+1}-\alpha}_{=\,y})\alpha-x_nx_{n+1}=(x_n-\alpha)(\alpha-x_{n+1})>0,</math>
| |
| | |
| hence
| |
| | |
| :<math>y\alpha>x_nx_{n+1}\,,\qquad({*}{*}{*})</math>
| |
| | |
| in particular {{math|''α'' > 0}}. Therefore, if at least one of the numbers {{math|''x''<sub>1</sub>, . . . , ''x''<sub>''n''–1</sub>}} 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 get | |
| | |
| :<math>\alpha^{n+1}>x_1x_2 \cdots x_{n-1} x_nx_{n+1}\,,</math>
| |
| | |
| which completes the proof.
| |
| | |
| ===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 ''[[Augustin_Louis_Cauchy#Cours_d.27Analyse|Cours d'analyse]]''.<ref>Cauchy, Augustin-Louis (1821). [http://visualiseur.bnf.fr/Visualiseur?Destination=Gallica&O=NUMM-29058 ''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.</ref>
| |
| | |
| ==== 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 {{math|''nx''<sub>1</sub>}}, so their arithmetic mean is {{math|''x''<sub>1</sub>}}; and their product is {{math|''x''<sub>1</sub><sup>''n''</sup>}}, so their geometric mean is {{math|''x''<sub>1</sub>}}; 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 {{math|''n'' > 1}}.
| |
| | |
| This case is significantly more complex, and we divide it into subcases.
| |
| | |
| ===== The subcase where ''n'' <nowiki>=</nowiki> 2 =====
| |
| | |
| If {{math|''n'' {{=}} 2}}, then we have two terms, {{math|''x''<sub>1</sub>}} and {{math|''x''<sub>2</sub>}}, and since (by our assumption) not all terms are equal, we have:
| |
| | |
| :<math>\begin{align}
| |
| \Bigl(\frac{x_1+x_2}{2}\Bigr)^2-x_1x_2
| |
| &=\frac14(x_1^2+2x_1x_2+x_2^2)-x_1x_2\\ | |
| &=\frac14(x_1^2-2x_1x_2+x_2^2)\\ | |
| &=\Bigl(\frac{x_1-x_2}{2}\Bigr)^2>0, | |
| \end{align} </math>
| |
| | |
| hence
| |
| | |
| :<math>
| |
| \frac{x_1 + x_2}{2} > \sqrt{x_1 x_2}</math>
| |
| | |
| as desired.
| |
| | |
| ===== The subcase where ''n'' <nowiki>=</nowiki> 2<sup>''k''</sup> =====
| |
| | |
| Consider the case where {{math|''n'' {{=}} 2<sup>''k''</sup>}}, where {{mvar|k}} is a positive integer. We proceed by mathematical induction.
| |
| | |
| In the base case, {{math|''k'' {{=}} 1}}, so {{math|''n'' {{=}} 2}}. We have already shown that the inequality holds when {{math|''n'' {{=}} 2}}, so we are done.
| |
| | |
| Now, suppose that for a given {{math|''k'' > 1}}, we have already shown that the inequality holds for {{math|''n'' {{=}} 2<sup>''k''−1</sup>}}, and we wish to show that it holds for {{math|''n'' {{=}} 2<sup>''k''</sup>}}. To do so, we apply the inequality twice for {{math|2<sup>''k''-1</sup>}} numbers and once for {{math|2}} numbers to obtain:
| |
| | |
| :<math>
| |
| \begin{align}
| |
| \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]
| |
| & \ge \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]
| |
| & \ge \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{align}
| |
| </math>
| |
| | |
| where in the first inequality, the two sides are equal only if
| |
| | |
| :<math>x_1 = x_2 = \cdots = x_{2^{k-1}}</math>
| |
| | |
| and
| |
| | |
| :<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 {{math|''x''<sub>1</sub>}}, 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 {{math|2<sup>''k''</sup>}} numbers are equal, it is 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 x_2 \cdots x_{2^k}}</math>
| |
| | |
| as desired.
| |
| | |
| ===== The subcase where ''n'' < 2<sup>''k''</sup> =====
| |
| | |
| If {{mvar|n}} is not a natural power of {{math|2}}, then it is certainly ''less'' than some natural power of 2, since the sequence {{math|2, 4, 8, . . . , 2<sup>''k''</sup>, . . .}} is unbounded above. Therefore, without loss of generality, let {{mvar|m}} be some natural power of {{math|2}} that is greater than {{mvar|n}}.
| |
| | |
| So, if we have {{mvar|n}} terms, then let us denote their arithmetic mean by {{mvar|α}}, and expand our list of terms thus:
| |
| | |
| :<math>x_{n+1} = x_{n+2} = \cdots = x_m = \alpha.</math>
| |
| | |
| We then have:
| |
| | |
| : <math>
| |
| \begin{align}
| |
| \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]
| |
| & > \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{align}
| |
| </math>
| |
| | |
| so
| |
| | |
| :<math>\alpha^m > x_1 x_2 \cdots x_n \alpha^{m-n}</math>
| |
| | |
| and
| |
| | |
| :<math>\alpha > \sqrt[n]{x_1 x_2 \cdots x_n}</math>
| |
| | |
| as desired.
| |
| | |
| ===Proof by induction using basic calculus===
| |
| | |
| The following proof uses mathematical induction and some basic [[differential calculus]].
| |
| | |
| '''Induction basis''': For {{math|''n'' {{=}} 1}} the statement is true with equality.
| |
| | |
| '''Induction hypothesis''': Suppose that the AM–GM statement holds for all choices of {{mvar|n}} non-negative real numbers.
| |
| | |
| '''Induction step''': In order to prove the statement for {{math|''n'' + 1}} non-negative real numbers {{math|''x''<sub>1</sub>, . . . , ''x<sub>n</sub>'', ''x''<sub>''n''+1</sub>}}, we need to prove that
| |
| | |
| :<math>\frac{x_1 + \cdots + x_n + x_{n+1}}{n+1} - ({x_1 \cdots x_n x_{n+1}})^{\frac{1}{n+1}}\ge0</math>
| |
| | |
| with equality only if all the {{math|''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 {{math|''n'' + 1}} numbers are positive.
| |
| | |
| We consider the last number {{math|''x''<sub>''n''+1</sub>}} as a variable and define the function
| |
| :<math> f(t)=\frac{x_1 + \cdots + x_n + t}{n+1} - ({x_1 \cdots x_n t})^{\frac{1}{n+1}},\qquad t>0.</math>
| |
| | |
| Proving the induction step is equivalent to showing that {{math|''f''(''t'') ≥ 0}} for all {{math|''t'' > 0}}, with {{math|''f''(''t'') {{=}} 0}} only if {{math|''x''<sub>1</sub>, . . . , ''x<sub>n</sub>''}} and {{mvar|t}} are all equal. This can be done by analyzing the [[critical point (mathematics)|critical points]] of {{mvar|f}} using some basic calculus.
| |
| | |
| The first [[derivative]] of {{mvar|f}} is given by
| |
| | |
| :<math>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.</math>
| |
| | |
| A critical point {{math|''t''<sub>0</sub>}} has to satisfy {{math|''f′''(''t''<sub>0</sub>) {{=}} 0}}, which means
| |
| | |
| :<math>({x_1 \cdots x_n})^{\frac{1}{n+1}}t_0^{-\frac{n}{n+1}}=1.</math>
| |
| | |
| After a small rearrangement we get
| |
| :<math>t_0^{\frac{n}{n+1}}=({x_1 \cdots x_n})^{\frac{1}{n+1}},</math>
| |
| | |
| and finally
| |
| | |
| :<math>t_0=({x_1 \cdots x_n})^{\frac{1}n},</math>
| |
| | |
| which is the geometric mean of {{math|''x''<sub>1</sub>, . . . , ''x<sub>n</sub>''}}. This is the only critical point of {{mvar|f}}. Since {{math|''f′′''(''t'') > 0}} for all {{math|''t'' > 0}}, the function {{mvar|f}} is [[strictly convex function|strictly convex]] and has a strict [[global minimum]] at {{math|''t''<sub>0</sub>}}. Next we compute the value of the function at this global minimum:
| |
| | |
| :<math>
| |
| \begin{align}
| |
| 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)\ge0,
| |
| \end{align}.</math>
| |
| | |
| where the final inequality holds due to the induction hypothesis. The hypothesis also says that we can have equality only when {{math|''x''<sub>1</sub>, . . . , ''x<sub>n</sub>''}} are all equal. In this case, their geometric mean {{math|''t''<sub>0</sub>}} has the same value, Hence, unless {{math|''x''<sub>1</sub>, . . . , ''x<sub>n</sub>'', ''x''<sub>''n''+1</sub>}} are all equal, we have {{math|''f''(''x''<sub>''n''+1</sub>) > 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 {{math|'''R'''<sup>''n''</sup>}}.
| |
| | |
| ===Proof by Pólya using the exponential function===
| |
| | |
| [[George Pólya]] provided a proof similar to what follows. Let {{math|''f''(''x'') {{=}} e<sup>''x''–1</sup> – ''x''}} for all real {{mvar|x}}, with first [[derivative (mathematics)|derivative]] {{math|''f′''(''x'') {{=}} e<sup>''x''–1</sup> – 1}} and second derivative {{math|''f′′''(''x'') {{=}} e<sup>''x''–1</sup>}}. Observe that {{math|''f''(1) {{=}} 0}}, {{math|''f′''(1) {{=}} 0}} and {{math|''f′′''(''x'') > 0}} for all real {{mvar|x}}, hence {{mvar|f}} is strictly convex with the absolute minimum at {{math|''x'' {{=}} 1}}. Hence {{math|''x'' ≤ e<sup>''x''–1</sup>}} for all real {{mvar|x}} with equality only for {{math|''x'' {{=}} 1}}.
| |
| | |
| Consider a list of non-negative real numbers {{math|''x''<sub>1</sub>, ''x''<sub>2</sub>, . . . , ''x<sub>n</sub>''}}. If they are all zero, then the AM–GM inequality holds with equality. Hence we may assume in the following for their arithmetic mean {{math|''α'' > 0}}. By {{mvar|n}}-fold application of the above inequality, we obtain that
| |
| | |
| :<math>\begin{align}{ \frac{x_1}{\alpha} \frac{x_2}{\alpha} \cdots \frac{x_n}{\alpha} } &\le { 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{align}</math>
| |
| | |
| with equality if and only if {{math|''x<sub>i</sub>'' {{=}} ''α''}} for every {{math|''i'' ∈ <nowiki>{</nowiki>1, . . . , ''n''<nowiki>}</nowiki>}}. The argument of the exponential function can be simplified: | |
| | |
| :<math>\begin{align}
| |
| \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 \\
| |
| & = n - n \\
| |
| & = 0.
| |
| \end{align}</math>
| |
| | |
| Returning to {{math|(*)}},
| |
| | |
| :<math>\frac{x_1 x_2 \cdots x_n}{\alpha^n} \le e^0 = 1,</math>
| |
| | |
| which produces {{math|''x''<sub>1</sub> ''x''<sub>1</sub> · · · ''x<sub>n</sub>'' ≤ ''α<sup>n</sup>''}}, hence the result<ref>{{cite book | |
| | last1 = Arnold
| |
| | first1 = Denise
| |
| | last2 = Arnold
| |
| | first2 = Graham
| |
| | title = Four unit mathematics
| |
| | publisher = Hodder Arnold H&S
| |
| | year = 1993
| |
| | isbn = 978-0-340-54335-1
| |
| | oclc = 38328013
| |
| | page = 242
| |
| }}</ref>
| |
| :<math>\sqrt[n]{x_1 x_2 \cdots x_n} \le \alpha.</math>
| |
| | |
| ==Generalizations==
| |
| | |
| ===Weighted AM–GM inequality===
| |
| | |
| There is a similar inequality for the [[weighted arithmetic mean]] and [[weighted geometric mean]]. Specifically, let the nonnegative numbers
| |
| {{math|''x''<sub>1</sub>, ''x''<sub>2</sub>, . . . , ''x<sub>n</sub>''}} and the nonnegative weights {{math|''w''<sub>1</sub>, ''w''<sub>2</sub>, . . . , ''w<sub>n</sub>''}} be given. Set {{math|''w'' {{=}} ''w''<sub>1</sub> + ''w''<sub>2</sub> + · · · + ''w<sub>n</sub>''}}. If {{math|''w'' > 0}}, then the inequality
| |
| | |
| : <math>\frac{w_1 x_1 + w_2 x_2 + \cdots + w_n x_n}{w} \ge \sqrt[w]{x_1^{w_1} x_2^{w_2} \cdots x_n^{w_n}}</math>
| |
| | |
| holds with equality if and only if all the {{mvar|x<sub>k</sub>}} with {{math|''w<sub>k</sub>'' > 0}} are equal. Here the convention {{math|0<sup>0</sup> {{=}} 1}} is used.
| |
| | |
| If all {{math|''w<sub>k</sub>'' {{=}} 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 {{mvar|x<sub>k</sub>}} with weight {{math|''w<sub>k</sub>'' {{=}} 0}} has no influence on the inequality, we may assume in the following that all weights are positive. If all {{mvar|x<sub>k</sub>}} 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 {{mvar|x<sub>k</sub>}} 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 {{mvar|x<sub>k</sub>}} are positive.
| |
| | |
| Since the natural logarithm is [[concave function|strictly concave]], the finite form of Jensen's inequality and the [[functional equation]]s of the natural logarithm imply
| |
| :<math>\begin{align}
| |
| \ln\Bigl(\frac{w_1x_1+\cdots+w_nx_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{align}</math>
| |
| | |
| Since the natural logarithm is [[monotonic function|strictly increasing]],
| |
| :<math>
| |
| \frac{w_1x_1+\cdots+w_nx_n}w
| |
| >\sqrt[w]{x_1^{w_1} x_2^{w_2} \cdots x_n^{w_n}}.
| |
| </math>
| |
| | |
| ===Other generalizations===
| |
| Other generalizations of the inequality of arithmetic and geometric means include:
| |
| | |
| * [[Muirhead's inequality]],
| |
| * [[Maclaurin's inequality]],
| |
| * [[Generalized mean|Generalized mean inequality]].
| |
| | |
| ==See also==
| |
| *[[Ky Fan inequality]]
| |
| *[[Young's inequality]]
| |
| | |
| ==Notes==
| |
| {{reflist|group=note}}
| |
| | |
| ==References==
| |
| {{Reflist}}
| |
| | |
| ==External links==
| |
| * {{cite web|title=Introduction to Inequalities|url=http://www.mediafire.com/?1mw1tkgozzu |author=Arthur Lohwater|year=1982|publisher=Online e-book in PDF format}}
| |
| | |
| {{DEFAULTSORT:Inequality Of Arithmetic And Geometric Means}}
| |
| [[Category:Inequalities]]
| |
| [[Category:Means]]
| |
| [[Category:Articles containing proofs]]
| |