Mathematical relationships
In mathematics , the QM-AM-GM-HM inequalities , also known as the mean inequality chain , state the relationship between the harmonic mean , geometric mean , arithmetic mean , and quadratic mean (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
0
<
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 0<{\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}}}.}
[ 1]
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.
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}}}.}
[ 2]
The n = 2 case
The semi-circle used to visualize the inequalities
When n = 2, the inequalities become
2
1
x
1
+
1
x
2
≤ ≤ -->
x
1
x
2
≤ ≤ -->
x
1
+
x
2
2
≤ ≤ -->
x
1
2
+
x
2
2
2
{\displaystyle {\frac {2}{{\frac {1}{x_{1}}}+{\frac {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,}
[ 3]
which can be visualized in a semi-circle whose diameter is [AB ] and center D .
Suppose AC = x 1 and BC = x 2 . Construct perpendiculars to [AB ] at D and C respectively. Join [CE ] and [DF ] and further construct a perpendicular [CG ] to [DF ] at G . Then the length of GF can be calculated to be the harmonic mean, CF to be the geometric mean, DE to be the arithmetic mean, and CE to be the quadratic mean. The inequalities then follow easily by the Pythagorean theorem .
Comparison of harmonic, geometric, arithmetic, quadratic and other mean values of two positive real numbers
x
1
{\displaystyle x_{1}}
and
x
2
{\displaystyle x_{2}}
Tests
To infer the correct order, the four expressions can be evaluated with two positive numbers.
For
x
1
=
10
{\displaystyle x_{1}=10}
and
x
2
=
40
{\displaystyle x_{2}=40}
in particular, this results in
16
<
20
<
25
<
5
34
{\displaystyle 16<20<25<5{\sqrt {34}}}
.
See also
References
^ Djukić, Dušan (2011). The IMO compendium: a collection of problems suggested for the International Mathematical Olympiads, 1959-2009 . Problem books in mathematics. International mathematical olympiad. New York: Springer. p. 7. ISBN 978-1-4419-9854-5 .
^ Sedrakyan, Hayk; Sedrakyan, Nairi (2018), Sedrakyan, Hayk; Sedrakyan, Nairi (eds.), "The HM-GM-AM-QM Inequalities" , Algebraic Inequalities , Problem Books in Mathematics, Cham: Springer International Publishing, p. 23, doi :10.1007/978-3-319-77836-5_3 , ISBN 978-3-319-77836-5 , retrieved 2023-11-26
^ Sedrakyan, Hayk; Sedrakyan, Nairi (2018), Sedrakyan, Hayk; Sedrakyan, Nairi (eds.), "The HM-GM-AM-QM Inequalities" , Algebraic Inequalities , Problem Books in Mathematics, Cham: Springer International Publishing, p. 21, doi :10.1007/978-3-319-77836-5_3 , ISBN 978-3-319-77836-5 , retrieved 2023-11-26
External links