Homepage › Solution manuals › Walter Rudin › Principles of Mathematical Analysis › Exercise 8.20
Exercise 8.20
Exercise 20: The following simple computation yields a good approximation to Stirling’s formula. For define
if , and define
if . Draw the graphs of and . Note that if and that
Integrate over . Conclude that
for Thus
Answers
The second derivative of is , which is negative for , so is a “concave” function (i.e., is convex). The function is a continuous, piecewise-linear function whose values at the endpoints of the linear segments, for equal , hence by the concavity of . Also, is a continuous, piecewise-linear function which is equal to at and the slope of is equal to the derivative of at those points. That is, the linear segments of are tangent to at those points, and so , also by the concavity of the .
Integrating by parts, we have
. Hence
Adding to all sides, we get
And applying to all sides, we get