Integration by Taylor Polynomials
Approximate the Function, Then Integrate Term by Term
The workflow
For a function with a useful Taylor series, choose a center a, retain a polynomial Pn(x), integrate Pn exactly over the requested interval, and then assess the discarded remainder. Integration is linear, so a polynomial can be integrated one term at a time.
Center and scale matter
An expansion centered near the interval usually converges faster because powers of x minus a stay small. For example, the Maclaurin series for exp(x) is 1 + x + x2/2! + x3/3! + ... . Integrating a finite truncation gives an approximation; it does not turn the infinite series into an equality.
Bound the error deliberately
For an alternating series whose term magnitudes decrease to zero on the interval, the first omitted term bounds the pointwise error.
For a definite integral, an upper bound for the pointwise error can be integrated or multiplied by an interval length. State whether a bound is for the integrand or for the integral.
An integral-error bound carries the units of the integrand multiplied by the units of the integration variable; if x is dimensionless, the bound may have the same units as the integrand.
A student wants to approximate the integral from 1.9 to 2.1 of ln(x) dx using a Taylor polynomial. Which center is most sensible before truncating?
On 0 less than or equal to x less than or equal to 0.3, use arctan(x) approximately equal to x - x3/3. The first omitted alternating-series term is x5/5. Which expression results from integrating this term over [0, 0.3] to bound the integral error?