In mathematics, the QM–AM–GM–HM inequalities, also known as the mean inequality chain, state the relationship between the harmonic mean (HM), geometric mean (GM), arithmetic mean (AM), and quadratic mean (QM; also known as root mean square). Suppose that x 1 , x 2 , … , x n {\displaystyle x_{1},x_{2},\ldots ,x_{n}} are positive real numbers. Then
n 1 x 1 + 1 x 2 + ⋯ + 1 x n ≤ x 1 x 2 ⋯ x n n ≤ x 1 + x 2 + ⋯ + x n n ≤ x 1 2 + x 2 2 + ⋯ + x n 2 n . {\displaystyle {\frac {n}{{\frac {1}{x_{1}}}+{\frac {1}{x_{2}}}+\cdots +{\frac {1}{x_{n}}}}}\leq {\sqrt[{n}]{x_{1}x_{2}\cdots x_{n}}}\leq {\frac {x_{1}+x_{2}+\cdots +x_{n}}{n}}\leq {\sqrt {\frac {x_{1}^{2}+x_{2}^{2}+\cdots +x_{n}^{2}}{n}}}.}
In other words, HM ≤ GM ≤ AM ≤ QM. These inequalities often appear in mathematical competitions and have applications in many fields of science.
Proof There are three inequalities between means to prove. There are various methods to prove the inequalities, including mathematical induction, the Cauchy–Schwarz inequality, Lagrange multipliers, and Jensen's inequality. For several proofs that GM ≤ AM, see Inequality of arithmetic and geometric means.
AM–QM inequality From the Cauchy–Schwarz inequality on real numbers, setting one vector to (1, 1, ...):
( ∑ i = 1 n x i ⋅ 1 ) 2 ≤ ( ∑ i = 1 n x i 2 ) ( ∑ i = 1 n 1 2 ) = n ∑ i = 1 n x i 2 , {\displaystyle \left(\sum _{i=1}^{n}x_{i}\cdot 1\right)^{\!2}\leq \left(\sum _{i=1}^{n}x_{i}^{2}\right)\left(\sum _{i=1}^{n}1^{2}\right)=n\,\sum _{i=1}^{n}x_{i}^{2},} hence ( ∑ i = 1 n x i n ) 2 ≤ ∑ i = 1 n x i 2 n {\displaystyle \left({\frac {\sum _{i=1}^{n}x_{i}}{n}}\right)^{\!2}\leq {\frac {\sum _{i=1}^{n}x_{i}^{2}}{n}}} . For positive x i {\displaystyle x_{i}} the square root of this gives the inequality.
AM–GM inequality
HM–GM inequality The reciprocal of the harmonic mean is the arithmetic mean of the reciprocals 1 / x 1 , … , 1 / x n {\displaystyle 1/x_{1},\dots ,1/x_{n}} , and it exceeds 1 / x 1 … x n n {\displaystyle 1/{\sqrt[{n}]{x_{1}\dots x_{n}}}} by the AM-GM inequality. x i > 0 {\displaystyle x_{i}>0} implies the inequality:
n 1 x 1 + ⋯ + 1 x n ≤ x 1 … x n n . {\displaystyle {\frac {n}{{\frac {1}{x_{1}}}+\dots +{\frac {1}{x_{n}}}}}\leq {\sqrt[{n}]{x_{1}\dots x_{n}}}.}
The n = 2 case
When n = 2, the inequalities become
2 x 1 x 2 x 1 + x 2 ≤ x 1 x 2 ≤ x 1 + x 2 2 ≤ x 1 2 + x 2 2 2 {\displaystyle {\frac {2x_{1}x_{2}}{x_{1}+x_{2}}}\leq {\sqrt {x_{1}x_{2}}}\leq {\frac {x_{1}+x_{2}}{2}}\leq {\sqrt {\frac {x_{1}^{2}+x_{2}^{2}}{2}}}} for all x 1 , x 2 > 0 , {\displaystyle x_{1},x_{2}>0,} which can be visualized in a semi-circle whose diameter is x1+x2. Suppose C is a point on [AB] and let AC = x1 and BC = x2. Find the midpoint of [AB] as D and use as the center for the semi-circle from A to B. Construct perpendiculars to [AB] at D and C respectively, intersecting the circle at E and F respectively. Join [CE] and [DF] and further construct a perpendicular [CG] to [DF] at G. The length of DE is the arithmetic mean by the virtue of being the ray of the circle. CE can be calculated to be the quadratic mean from the Pythagorean theorem, CF to be the geometric mean from a combination of Thales's theorem (establishing that △ABF is a right triangle) and Geometric mean theorem, GF to be the harmonic mean from the similarity of triangle △CGF and △DCF (whose edge [DF]'s length can be calculated using the Pythagorean theorem and the two other known edges).
See also Inequalities among pythagorean means Generalized mean inequality
References
External links The HM-GM-AM-QM Inequalities Archived 2022-08-14 at the Wayback Machine Useful inequalities cheat sheet entry "means" on the right of page 1
