Identric mean
Template:Use dmy dates Template:Refimprove The identric mean of two positive real numbers x, y is defined as:[1]
It can be derived from the mean value theorem by considering the secant of the graph of the function . It can be generalized to more variables according by the mean value theorem for divided differences. The identric mean is a special case of the Stolarsky mean.
AM-IM-GM inequality
Recall that . Since the integrand is strictly concave, using two variations of the Riemann integral to approximate it (with only one summand),
1. the trapezoidal rule gives a lower bound, since all secant lines interpolating two points on the curve lie beneath it.
2. the midpoint rule gives an upper bound, since its tangent lines intersect it only at the point they're drawn from, and lie above it elsewhere.
These give the inequalities
By setting $y=1$ and using this as the ratio between successive terms, the IM-GM inequality states that is strictly increasing while the AM-IM states that is strictly decreasing; together with their limits at being , this establishes that the former variant of Stirling's approximation is a lower bound on while the latter (which appeared first in James Stirling's notes) is an upper bound.[2]