Lagrange
Error Bound
Quantify the maximum error when a Taylor polynomial approximates a function: bound the remainder with one clean inequality.
What Is a Taylor Polynomial?
A Taylor polynomial of degree \( n \) centered at \( x = c \) approximates a function \( f(x) \) using its derivatives at \( c \):
This polynomial matches \( f \) and its first \( n \) derivatives exactly at \( x = c \). Away from \( c \), there is an error: the difference \( f(x) - P_n(x) \).
The Remainder \( R_n(x) \)
The remainder (or error) is the gap between the true function and the polynomial approximation:
We usually cannot compute \( R_n(x) \) exactly because we do not know \( f(x) \) precisely (otherwise we would not need the approximation). Instead, we bound its absolute value.
Visualizing the Error
The Lagrange Error Bound
Why Does the Bound Work?
Taylor's Theorem with remainder says there exists some \( z \) between \( c \) and \( x \) such that:
We do not know \( z \) exactly: it could be anywhere on the interval. So we take the worst case: replace \( |f^{(n+1)}(z)| \) with its maximum \( M \) on that interval. This turns an exact (but unknown) equality into a known inequality.
Error Bound vs. Actual Error
| Lagrange Error Bound | Actual Error | |
|---|---|---|
| Formula | \( \frac{M}{(n+1)!}|x-c|^{n+1} \) | \( |f(x) - P_n(x)| \) |
| Requires knowing \( f(x) \)? | No | Yes |
| Exact or over-estimate? | Over-estimate (upper bound) | Exact |
| When used | Guaranteeing accuracy | Checking after the fact |
How to Apply the Bound
Example 1: Bounding Error for \( e^x \)
Use the 3rd-degree Taylor polynomial for \( e^x \) centered at \( c = 0 \) to approximate \( e^{0.5} \). Bound the error.
Example 2: \( \sin x \) Approximation
Use the 5th-degree Maclaurin polynomial for \( \sin x \) to approximate \( \sin(0.1) \). Bound the error.
Example 3: Finding the Minimum Degree
What is the least degree \( n \) of a Maclaurin polynomial for \( \cos x \) so that the error at \( x = 1 \) is less than \( 0.001 \)?
Error Shrinks with Higher Degree
Special Case: Alternating Series Estimation
When a Taylor series is alternating (signs alternate) and the terms decrease in absolute value, the Alternating Series Estimation Theorem (ASET) provides a different bound:
This is often tighter than the Lagrange bound. But the Lagrange bound applies to all Taylor series, not just alternating ones.
Lagrange vs. ASET
| Lagrange Bound | ASET Bound | |
|---|---|---|
| Applies to | Any Taylor polynomial | Alternating series only |
| Requires | Max of \( |f^{(n+1)}| \) | Decreasing terms |
| Bound quality | Often over-estimates | Usually tighter |
| AP exam use | Most common | When series alternates |
Common Mistakes
Quick Reference Summary
Question 1 of 5
When applying the Lagrange Error Bound with a 4th-degree Taylor polynomial, which derivative do you need to bound?
Question 2 of 5
For \( f(x) = \sin x \) with a 3rd-degree Maclaurin polynomial approximating \( \sin(0.2) \), what is \( M \)?
Question 3 of 5
The 2nd-degree Taylor polynomial for \( e^x \) centered at \( 0 \) is used to approximate \( e^{0.3} \). Using \( M = e^{0.3} < 1.35 \), what is the Lagrange error bound?
Question 4 of 5
What is the least degree \( n \) of a Maclaurin polynomial for \( e^x \) so the error at \( x = 1 \) is less than \( 0.001 \)? (Use \( M = e < 3 \).)
Question 5 of 5
Which of the following will decrease the Lagrange error bound?