The partial sums of the above series converges monotonically to the function on the right. If you substitute in the in the integral, what do the Lebesgue's convergence theorems tell you about exchanging it with the integral? If that is permissible, you'll have a series with terms that are almost immediate integrals.