01 / 20

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.

Calculus 2

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

S
\(S_1\)
\(S_2\)
\(S_3\)
\(S_4\)
\(S_5\)
\(S_6\)
\(S_7\)
\(R_3\)
n (number of terms) Value

Why Do Bounds Matter?

Confidence
A bound tells you the worst-case error: not just that it is "small" but exactly how small.
Efficiency
Bounds let you decide how many terms you actually need before computing them.
Proof
Error bounds appear in formal proofs of convergence and in AP exam free-response justifications.

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

\(|R_n(x)|\)
\(f(x)\)
\(P_n(x)\)
\(x\)
\(c\)
x-value Value

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

1
Identify the type. Is it an alternating series? A Taylor polynomial? A positive-term series?
2
Choose the right bound. Alternating → first omitted term. Taylor → Lagrange. Positive → integral test remainder.
3
Set up the inequality. Write \(|R_n| \leq \text{bound} < \text{desired accuracy}\).
4
Solve for \( n \). Find the smallest \( n \) that makes the bound less than the required tolerance.
5
State your conclusion. "Using \( n \) terms guarantees accuracy within ..."

Example 1: Alternating Series

Approximate \(\displaystyle\sum_{k=1}^{\infty}\frac{(-1)^{k+1}}{k}\) to within 0.1 of the true value.

1
Identify: This is the alternating harmonic series. Terms \( b_k = \frac{1}{k} \) are decreasing and approach 0.
2
Bound: \(|R_n| \leq b_{n+1} = \frac{1}{n+1}\).
3
Solve: We need \(\frac{1}{n+1} < 0.1\), which means \(n+1 > 10\), so \(n > 9\). The smallest integer \(n\) is 10.
4
Conclusion: Using the first 10 terms guarantees accuracy within 0.1.

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.

1
Polynomial: \( P_3(x) = 1 + x + \frac{x^2}{2} + \frac{x^3}{6}\). At \( x = 0.5 \): \( P_3(0.5) = 1.6458\overline{3}\).
2
Find \( M \): All derivatives of \( e^x \) are \( e^x \). On \([0, 0.5]\), \(|f^{(4)}(t)| = e^t\) is maximized at \(t=0.5\). The max value is \(e^{0.5} < 2\). We can take \( M = 2 \).
3
Bound: \(|R_3(0.5)| \leq \frac{2}{4!}(0.5)^4 = \frac{2}{24}\cdot\frac{1}{16} = \frac{1}{192} \approx 0.0052\).

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}\)?

1
Series: \(\sin x = \sum_{k=0}^{\infty}\frac{(-1)^k x^{2k+1}}{(2k+1)!}\). This is alternating with \( b_k = \frac{1}{(2k+1)!} \) at \(x=1\).
2
Bound: \(|R_n| \leq b_{n+1} = \frac{1}{(2(n+1)+1)!} = \frac{1}{(2n+3)!}\).
3
Test values: We need \(\frac{1}{(2n+3)!} < 10^{-6}\). For \(n=3\), the bound is \(\frac{1}{9!} \approx 2.8 \times 10^{-6}\). Not enough. For \(n=4\), the bound is \(\frac{1}{11!} \approx 2.5 \times 10^{-8}\). That works!
4
Conclusion: We need terms through \(\frac{x^{9}}{9!}\), so \(n = 4\) (i.e., 5 terms: \(k = 0, 1, 2, 3, 4\)).

Numerical Integration Error Bounds

Trapezoidal Rule
$$|E_T| \leq \frac{(b-a)^3}{12n^2}\max|f''(x)|$$
Simpson's Rule
$$|E_S| \leq \frac{(b-a)^5}{180n^4}\max|f^{(4)}(x)|$$

Common Mistakes

✕ Wrong Bound Type
Using the alternating series bound on a non-alternating series. Check signs first.
✕ Wrong \( M \)
Choosing \( M \) as the derivative at the center instead of the maximum on the whole interval.
✕ Off-by-One
Confusing \( n \) (degree of polynomial) with the number of terms. The \( n \)-th degree has \( n+1 \) terms.
✕ Forgetting \( (n+1)! \)
Writing \(\frac{M|x-c|^{n+1}}{n!}\) instead of \(\frac{M|x-c|^{n+1}}{(n+1)!}\) in the Lagrange bound.

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\):

Which interval contains \( R_5 \)?