Maths WorkshopMaths problems with full solutions
Exercise 489Algebra › InequalitiesHigh schoolAdded 3 Nov 2026

The AM-GM inequality

#AM-GM#inequality#arithmetic and geometric means

Statement

Let a,b≥0a,b\ge0. Prove that
ab≤a+b2,\sqrt{ab}\le\frac{a+b}{2},
with equality if and only if a=ba=b.

Hint

Consider (a−b)2≥0(\sqrt{a}-\sqrt{b})^2\ge0.

Show solutionHide solution

Solution

Direct proof. For a,b≥0a,b\ge0,
(a−b)2=a−2ab+b≥0,(\sqrt{a}-\sqrt{b})^2=a-2\sqrt{ab}+b\ge0,
so 2ab≤a+b2\sqrt{ab}\le a+b, i.e. ab≤a+b2\sqrt{ab}\le\frac{a+b}{2}.

Equality case. (a−b)2=0(\sqrt{a}-\sqrt{b})^2=0 iff a=b\sqrt{a}=\sqrt{b}, i.e. a=ba=b.

Conclusion. The geometric mean is at most the arithmetic mean, with equality iff the numbers are equal.