The exponential series gives . Since on , the Weierstrass M-test proves uniform absolute convergence, using the summable bounds . Therefore one can integrate the series term by term over this finite interval. Using part i,
This is the alternating identity in sophomore's dream. The same estimate also proves absolute convergence of the integrated series; no cancellation is needed to justify the interchange.
Put . Then
where the second substitution is and the final integral is the given gamma function value. The formula also holds for , with value .
For , the exponential function expansion gives
Every term is nonnegative. By the monotone convergence theorem, integration can be interchanged with summation, and hence
This identity is one form of Sophomore's dream.
Expand . The absolute values of all terms have total integral
The series converges, for instance because for . Part (b) applied to the absolute values, followed by subtraction of positive and negative parts, therefore justifies termwise integration. It gives the other Sophomore's dream identity:
Equivalently, the partial sums are dominated by , so the dominated convergence theorem gives the same justification.