Sophomore’s dream
The integral
| (1) |
may be expanded to a rapidly converging series as follows.
Changing the integrand to a power of and using the power series![]()
expansion of theexponential function


![]()
gives us
| (2) |
Here the series is uniformly convergent on and may beintegrated termwise:
| (3) |
The last equation of the parent entry (http://planetmath.org/ExampleOfDifferentiationUnderIntegralSign)then gives in the case from (3) the result
| (4) |
i.e.,
| (5) |
Cf. the function![]()
(http://planetmath.org/FunctionXX).
Since the series (5) satisfies the conditions ofLeibniz’ theorem for alternating series![]()
(http://planetmath.org/LeibnizEstimateForAlternatingSeries),one may easily estimate the error made when a partial sum of (5) is used for the exact value of the integral. If one for example takes for the sum of nine firstterms, the first omitted term is ; thus theerror is negative and its absolute value
![]()
less than .