Lesson 6.11 · Infinite Sequences and Series
The Lagrange error bound
A Taylor polynomial gives an approximation, but an approximation is only useful if you know how far off it might be. The Lagrange error bound gives a guaranteed upper limit on the error, using only a bound on the next derivative. It works for any Taylor polynomial, not just alternating ones.
The remainder
When you approximate by its th-degree Taylor polynomial centered at , the error is the remainder
You usually can't compute exactly (if you could, you wouldn't need the approximation). But you can bound it.
Where the bound comes from
Look at the pattern in the Taylor polynomial: the term after would be . Lagrange showed that the remainder is exactly this next term, except with the derivative evaluated at some unknown point between and rather than at :
You don't know , but if you know the largest that can be on the interval, you can replace by that maximum.
Lagrange error bound
If for every between and , then
Read the formula as "next term, with the derivative replaced by its maximum." Three ingredients: (the max of the st derivative), the factorial , and the distance from the center raised to the power.
Finding M
must bound on the whole interval between the center and the point , not just at the endpoints you happen to plug in.
- For and , every derivative is a sine or cosine, so always works.
- For on , the derivative is increasing, so . Since the goal is to avoid using the value you're approximating, a convenient overestimate is often used, like or .
- For other functions, find where is largest on the interval; for a monotonic derivative, that's at an endpoint.
- On the AP exam, is often given to you: " for all in the interval."
Common mistake
The most common mistakes are using the wrong derivative and the wrong factorial. For , the bound uses the st derivative and . For a third-degree polynomial, that's the fourth derivative and . Also, the answer is a bound on the error, so write "", not "error ."
Worked examples
Worked example: Sine near zero
The polynomial is used to approximate . Use the Lagrange error bound to bound the error.
Solution. Here , , . The fourth derivative of is , and , so take :
(The actual error is about , well within the bound.)
Worked example: A given derivative bound
The function has derivatives of all orders, and for . The third-degree Taylor polynomial for about is used to approximate . Show that the error is less than .
Solution. With , and :
Worked example: Estimating e
The Maclaurin polynomial is used to approximate . Using , find the smallest for which the Lagrange error bound is less than .
Solution. Every derivative of is , and on it is at most . So
We need . Since and , the smallest choice is , so .
Worked example: Finding M yourself
The second-degree Taylor polynomial for about is . Bound the error when is used to approximate .
Solution. We need the third derivative: . On this is decreasing, so its maximum is at : . Then
Tip
When a Taylor series is alternating (like the ones for and at a positive ), the alternating series error bound is often simpler and tighter. The Lagrange bound is the tool to use when the series isn't alternating, or when the question says "Lagrange."
Practice
The polynomial approximates . Use the Lagrange error bound with to bound . Round to four decimal places.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The polynomial is used to approximate . Using as a bound for the third derivative on , find the Lagrange error bound.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A function satisfies for . The third-degree Taylor polynomial for about is used to approximate . Find the Lagrange error bound.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The Maclaurin polynomial for is used to approximate . Using , what is the smallest for which the Lagrange error bound is less than ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The second-degree Taylor polynomial for about is used to approximate . Find the Lagrange error bound, using the maximum of on . Round to five decimal places.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Let be the fourth-degree Taylor polynomial for about . Given that for all , which is the Lagrange error bound for ?
The table gives values of the derivatives of at , and for .
The third-degree Maclaurin polynomial for is used to approximate . Which statement is true?