Educerie · AP · Calculus AB and BC
Unit 10 Infinite Sequences and Series · 10.12 Lagrange Error Bound
BC only. This topic is on the AP Calculus BC exam and not on AB.
Big ideas: LIM (Limits). A Taylor polynomial is only an approximation. The Lagrange error bound puts a number on how far off it can be, using a bound on the next derivative.
The question this unit answers: When does an endless sum settle on a number, and how do we tell, and how do we use it to approximate?
Where it is examined: Section I multiple choice: the Lagrange bound for a given polynomial and point, or the degree needed for a given accuracy. Section II free response (series question 6, and question 5 in some years): "use the Lagrange error bound to show that the approximation is within 0.01 of the actual value", with a justification of the bound used for the next derivative.
AP Calculus AB and BC 10.12
Lagrange Error Bound
When does an endless sum settle on a number, and how do we tell, and how do we use it to approximate?
What you will learn
- Understand the Lagrange bound as the next Taylor term with the derivative replaced by its worst case.
- Know that M bounds |f^(n+1)| on the whole interval.
- Understand when the alternating series bound is allowed.
You must be able to
- Find M with a reason.
- Compute the bound with matching n + 1 powers and factorial.
- Find the least degree for a tolerance.
- Turn the bound into an interval for the function value.
- Explain why using the value at one end is wrong.
1The bound
Lagrange error bound. Let be the Taylor polynomial of degree for about . If for all between and , then
The bound has the shape of the next Taylor term, , with the derivative replaced by its worst case on the interval.
Three parts need care.
- The derivative is , one order higher than the polynomial's degree.
- is a bound on its size (absolute value) over the interval between and . Any valid upper bound works. A smaller gives a sharper bound, but a larger one is still correct.
- The factor is , with the same exponent .
The bound says "at most". It is a ceiling, as in 10.10.
2Finding
comes from the th derivative on the interval from to . Ways to find it:
- A known bound. and for all .
- An increasing derivative. If is increasing, its maximum is at the right end. For on , , so is valid.
- A decreasing derivative. If decreases, its maximum is at the left end. For on , the maximum is at , giving .
- Given in the question. Many questions say " for all in the interval". Use it.
When a question asks you to justify , say why: " is increasing on this interval, so its maximum is at ", or "".
3Worked example:
Approximate with about , so .
The next derivative is . On , , so . Then
The actual error is , within the bound.
Figure 1 shows the idea for another function: the error for a Maclaurin polynomial, and the bound that sits above it.
For with , the next derivative is , so and the bound is . The true error is always under the bound curve: it is 0.0026 at against a bound of 0.021, and 0.584 at against a bound of 1.333. The bound is safe, but not tight.
4Worked example:
Approximate with about (from 10.11), so .
The next derivative is , so . On this is largest at , where it equals 6. So and
Since , the true value lies between and . The actual error is about 0.00035.
5Worked example: how many terms?
How large must be so that approximates with an error less than 0.0001? Use , as before.
The bound is . Try values.
| Bound | |
|---|---|
| 3 | 0.00521 |
| 4 | 0.000521 |
| 5 | 0.0000434 |
At the bound is below 0.0001, and at it is not. So is the smallest degree that is guaranteed to work.
6When the alternating series bound is easier
For some Taylor series the terms alternate and decrease at the point of interest. Then the alternating series error bound (10.10) says the error is at most the first omitted term, and no derivative bound is needed. The CED lists this as an allowed method for Taylor approximations in some situations.
Example: with the Maclaurin polynomial , which is both degree 3 and degree 4 (the term is 0).
The series for is alternating with decreasing terms, and the first omitted term is . So the error is at most 0.00026. The Lagrange bound with , , gives the same number: . The actual error is about 0.000259.
Use the alternating bound only when you can show the series alternates, the terms decrease and the series is the right Taylor series at that . When in doubt, use the Lagrange bound; it always applies.
7Using a given bound
Example (invented): has Taylor polynomial about , and for all in . The error in using is at most
So lies within 0.03125 of .
Practice questions
30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.