Approximation Error
& Bounds
Learn how to quantify the error when a partial sum, Taylor polynomial, or numerical method stands in for an exact value: and how to bound that error with certainty.
What Is Approximation Error?
Whenever we replace an infinite process (an infinite series, an integral, a limit) with a finite calculation, the result is only an approximation. The difference between the true value and the approximation is the error.
Our goal is never just to compute an approximation: it is to guarantee how close that approximation is. That guarantee is an error bound.
Visualizing the Remainder
Why Do Bounds Matter?
Without a bound, an approximation is just a guess. With a bound, it becomes a rigorous result.
The Alternating Series Error Bound
In words: the absolute error is at most the first omitted term. This is remarkably simple and is the most common error bound on the AP exam.
The Lagrange Error Bound
The constant \( M \) is a bound on the \((n+1)\)-th derivative on the interval between the center and the evaluation point. Finding \( M \) is the critical step.
Lagrange Bound Visualized
The dashed green curve is the Taylor polynomial. The solid blue curve is the true function. The red gap at any point \( x \) is the error, \(|R_n(x)|\), which is guaranteed to be less than the Lagrange bound.
Alternating vs Lagrange
| Alternating Series Bound | Lagrange Error Bound | |
|---|---|---|
| Applies to | Alternating series only | Any Taylor polynomial |
| Formula | \(|R_n| \leq b_{n+1}\) | \(|R_n| \leq \frac{M}{(n+1)!}|x-c|^{n+1}\) |
| What you need | First omitted term | Max of \(|f^{(n+1)}|\) on interval |
| Tightness | Usually tighter | Often a loose overestimate |
| Use when | Series alternates in sign | General Taylor error questions |
The Integral Test Remainder
This gives a two-sided bound on the remainder for positive-term series. It is especially useful for \(p\)-series and series like \(\sum \frac{1}{k^2}\).
How to Apply Error Bounds
Example 1: Alternating Series
Approximate \(\displaystyle\sum_{k=1}^{\infty}\frac{(-1)^{k+1}}{k}\) to within 0.1 of the true value.
Example 2: Lagrange for \( e^x \)
Use the 3rd-degree Taylor polynomial for \( e^x \) at \( c = 0 \) to approximate \( e^{0.5} \). Bound the error.
Example 3: How Many Terms for \( \sin(1) \)?
Using the Maclaurin series for \(\sin x\), how many terms are needed so that the partial sum approximates \(\sin(1)\) with error less than \(10^{-6}\)?
Numerical Integration Error Bounds
Common Mistakes
Summary of Error Bounds
| Method | Bound Formula | Key Requirement |
|---|---|---|
| Alternating Series | \(|R_n| \leq b_{n+1}\) | Decreasing \(b_k \to 0\) |
| Lagrange (Taylor) | \(\frac{M}{(n+1)!}|x-c|^{n+1}\) | Bound on \(|f^{(n+1)}|\) |
| Integral Test | \(\int_{n}^{\infty}f(x)\,dx\) | Positive, decreasing \(f\) |
| Trapezoidal | \(\frac{(b-a)^3}{12n^2}\max|f''|\) | Bound on \(|f''|\) |
| Simpson's | \(\frac{(b-a)^5}{180n^4}\max|f^{(4)}|\) | Bound on \(|f^{(4)}|\) |
Question 1 of 5
The series \(\displaystyle\sum_{k=1}^{\infty}\frac{(-1)^{k+1}}{k^2}\) is approximated by its first 4 terms. What is the maximum possible error?
Question 2 of 5
When using the Lagrange error bound for the Taylor polynomial of \(\cos x\) at \(c = 0\), which of the following is always a valid choice for \(M\)?
Question 3 of 5
For the Trapezoidal Rule with \(n\) subintervals, the error bound is proportional to \(\frac{1}{n^2}\). If you triple \(n\), the error bound is reduced by a factor of:
Question 4 of 5
Using the 2nd-degree Maclaurin polynomial \(P_2(x) = 1 + x + \frac{x^2}{2}\) for \(e^x\), the Lagrange error bound at \(x = 1\) with \(M = e\) is:
Question 5 of 5
The integral test remainder bounds tell us that for \(\displaystyle\sum_{k=1}^{\infty}\frac{1}{k^3}\), with \(n = 5\):
\(\displaystyle\int_{6}^{\infty}\frac{1}{x^3}\,dx \leq R_5 \leq \int_{5}^{\infty}\frac{1}{x^3}\,dx\)
Computing: \(\displaystyle\int_{a}^{\infty}\frac{1}{x^3}\,dx = \frac{1}{2a^2}\)
Which interval contains \( R_5 \)?