The logarithm turns the product defining the factorial into . Since is increasing, each term bounds integrals on its adjacent unit intervals:
Summing from to proves the integral bounds for a logarithmic factorial:
For , both sides and the empty sum are zero. For , the rectangle diagram gives the same inequalities geometrically. These bounds establish the leading growth, while Stirling's formula gives finer corrections.
Figure 1.
Unit rectangles bound the logarithm of a factorial between two integrals
. Original example with . Left: each right-endpoint rectangle lies above on . Right: the same rectangle heights shifted to lie below . Both rectangle totals equal . Details.