Taylor Series - Error Bounds
The Lagrange error bound of a Taylor polynomial gives the worst-case scenario for the difference between the estimated value of the function as provided by the Taylor polynomial and the actual value of the function. This error bound is the maximum value of the term of the Taylor expansion, where is an upper bound of the derivative for
Contents
Derivation
The degree Taylor polynomial at is
Since the Taylor approximation becomes more accurate as more terms are included, the polynomial must be more accurate than
Since the difference between and is just that last term, the error of can be no larger than that term. In other words, the error is
Since and are constant in this formula, terms depending only on those constants and are unaffected by the operator and can be pulled outside:
The largest value obtainable by could not possibly exceed the maximum value of that derivative between and Call the value that provides that maximum value and the error becomes
Finding M
Let be an upper bound on the derivative of for the interval between and such that
for all
The upper bound of the derivative on the interval will usually occur at or If given a defined interval on which to find the error, test the endpoints of the interval.
What is the upper bound of the third derivative of on the interval
The third derivative of is which oscillates between -1 and 1. So and
What is the supremum of the fourth derivative of on the interval for
Calculating Error Bounds
In order to compute the error bound, follow these steps:
- Step 1: Compute the derivative of
- Step 2: Find the upper bound on for
- Step 3: Compute
Find the error bound of the Maclaurin polynomial for
The Maclaurin series is just a Taylor series centered at Follow the prescribed steps.
Step 1: Compute the derivative of
Since is being investigated, so write down the derivative ofStep 2: Find the upper bound on for
The Maclaurin series is centered on and implies SoStep 3: Compute