Two of the most powerful and widely-used inequalities in mathematics are the AM-GM inequality and the Cauchy-Schwarz inequality. They appear everywhere — from olympiad problems to optimization, from probability to physics.
Arithmetic Mean and Geometric Mean
📐Definition — AM and GM
For positive real numbers a and b:
The arithmetic mean (AM) is 2a+b.
The geometric mean (GM) is ab.
⚡Theorem — AM-GM Inequality
For all positive reals a,b:
2a+b≥ab
with equality if and only if a=b.
Proof.
(a−b)2≥0a−2ab+b≥02a+b≥ab□
Geometric Interpretation
Consider a semicircle with diameter a+b. Place the diameter along the x-axis, with the dividing point at distance a from the left endpoint. The altitude from this point to the semicircle has length ab (the geometric mean), while the radius equals 2a+b (the arithmetic mean). Since a radius is always at least as long as any altitude within the semicircle, AM ≥ GM.
ℹNote — n-Variable Generalization
For positive reals a1,a2,…,an:
na1+a2+⋯+an≥na1a2⋯an
with equality iff all ai are equal. (Stated without proof.)
Applications of AM-GM
✎Example — Minimizing a Sum
For positive x, find the minimum value of x+x1.
Solution. By AM-GM:
x+x1≥2x⋅x1=21=2
Equality holds when x=x1, i.e., x=1. The minimum value is 2.
✎Example — Maximizing a Product
If a+b=10 with a,b>0, find the maximum value of ab.
Solution. By AM-GM:
ab≤2a+b=210=5
Squaring: ab≤25. Equality holds when a=b=5. The maximum value is 25.
Cauchy-Schwarz Inequality
⚡Theorem — Cauchy-Schwarz Inequality
For all real numbers a1,a2,b1,b2:
(a1b1+a2b2)2≤(a12+a22)(b12+b22)
with equality if and only if b1a1=b2a2 (the vectors (a1,a2) and (b1,b2) are proportional).