Fiveable

♾️AP Calculus AB/BC Unit 10 Review

QR code for AP Calculus AB/BC practice questions

10.12 Lagrange Error Bound

10.12 Lagrange Error Bound

Written by the Fiveable Content Team • Last updated June 2026
Verified for the 2027 exam
Verified for the 2027 examWritten by the Fiveable Content Team • Last updated June 2026
♾️AP Calculus AB/BC
Unit & Topic Study Guides

AP Cram Sessions 2021

Pep mascot

The Lagrange error bound tells you the largest possible error when you use a Taylor or Maclaurin polynomial to approximate a function. You find it by computing the next term after your polynomial, using the maximum value of the next derivative on the interval between your center and your input. For AP Calculus BC, identify the next derivative and justify the maximum value you use.

What Is the Lagrange Error Bound?

The Lagrange error bound gives a maximum possible error for a Taylor polynomial approximation. If Pn(x)P_n(x) is centered at x=ax=a, then the error satisfies Rn(x)Mxan+1(n+1)!|R_n(x)| \leq \frac{M|x-a|^{n+1}}{(n+1)!}, where MM is the maximum value of f(n+1)|f^{(n+1)}| on the interval between aa and xx.

For AP Calculus BC, the key is choosing the correct next derivative and justifying MM. A degree nn polynomial uses the (n+1)(n+1)th derivative in the bound, not the derivative that made the last included term.

Why This Matters for the AP Calculus Exam

This is a BC only topic, so AB students can skip it. On the BC exam, error bounds show up when you need to justify how accurate a Taylor polynomial approximation is. You may be asked to set up the remainder term, plug in the maximum derivative value, and show the error stays below a target value. Clear setup and correct notation matter for showing your reasoning on free response work.

Two tools appear in this part of the course:

  • The Lagrange error bound, which works for any Taylor polynomial.
  • The alternating series error bound, which sometimes applies when the Taylor series alternates.

Key Takeaways

  • The remainder is the difference between the true function and your polynomial: Rn(x)=f(x)Pn(x)R_n(x) = f(x) - P_n(x).
  • The Lagrange form of the remainder is Rn(x)=f(n+1)(c)(n+1)!(xa)n+1R_n(x) = \dfrac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}, where cc is some value between aa and xx.
  • To bound the error, replace f(n+1)(c)f^{(n+1)}(c) with MM, the maximum of f(n+1)\left|f^{(n+1)}\right| on the interval from aa to xx, giving Rn(x)Mxan+1(n+1)!|R_n(x)| \le \dfrac{M|x-a|^{n+1}}{(n+1)!}.
  • The error bound uses the (n+1)(n+1)th derivative, one degree past your polynomial.
  • When the Taylor series alternates and meets the conditions, the error is at most the size of the first omitted term.
  • You can choose nn large enough to force the error below a required value.

Review: Taylor Polynomials

A Taylor polynomial approximates a function using a polynomial built from the function's derivatives at a center point aa. Here is the general form:

f(x)=f(a)+f(a)(xa)+f(a)2!(xa)2+f(a)3!(xa)3+...+f(n)(a)n!(xa)nf(x)=f(a)+f'(a)(x-a)+\frac{f''(a)}{2!}(x-a)^2+\frac{f'''(a)}{3!}(x-a)^3+...+\frac{f^{(n)}(a)}{n!}(x-a)^n

A few common series centered at 0 (Maclaurin series) are worth memorizing, but any Taylor series can be built by taking derivatives of the function at the center.

To review building these polynomials, check out 10.11 Finding Taylor Polynomial Approximations of Functions.

Lagrange Error Bound

Think of a Taylor polynomial as an approximation. The true function equals your polynomial plus a remainder:

f(x)=Pn(x)+Rn(x)f(x)=P_n(x)+R_n(x) Rn(x)=f(x)Pn(x)R_n(x)=f(x)-P_n(x)

Using Taylor's theorem, the remainder has this form:

Rn(x)=f(n+1)(c)(n+1)!(xa)n+1R_n(x) = \dfrac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}

In plain terms, the remainder looks like the next term after your polynomial, the one of degree n+1n+1. The catch is that you do not know the exact cc. To get a usable bound, you replace f(n+1)(c)f^{(n+1)}(c) with MM, the largest value f(n+1)\left|f^{(n+1)}\right| can take on the interval between aa and xx. That gives:

Rn(x)Mxan+1(n+1)!|R_n(x)| \le \dfrac{M|x-a|^{n+1}}{(n+1)!}

Example 1: Lagrange Error Bound

Using the 3rd degree Maclaurin polynomial of exe^x to approximate 1e\frac{1}{e}, find the Lagrange error bound.

First write the 3rd degree Maclaurin polynomial of exe^x:

P3(x)=1+x+x22!+x33!P_3(x)= 1+x+\frac{x^2}{2!}+\frac{x^3}{3!}

Since 1e=e1\frac{1}{e} = e^{-1}, plug in x=1x = -1:

P3(1)=11+1216=130.33333333333P_3(-1)=1-1+\frac{1}{2}-\frac{1}{6}=\frac{1}{3}≈0.33333333333

Now find the error bound using the (n+1)=4(n+1) = 4th term:

R3(1)=f(4)(z)(1)44!R_3(-1)=\frac{f^{(4)}(z)(-1)^4}{4!}

To bound f(4)(z)f^{(4)}(z), find the maximum of the 4th derivative on the interval [1,0][-1,0]. The 4th derivative of exe^x is exe^x, which is largest at x=0x = 0, giving a value of 1. So set M=1M = 1:

R3(1)=1240.04166666666R_3(-1)=\frac{1}{24}≈0.04166666666

The true error is at most about 0.04170.0417.

How to Use This on the AP Calculus Exam

Free Response

A common task gives you a table of derivative values or tells you a derivative is bounded on an interval, then asks you to show the error of a Taylor polynomial is below some target. Your job is to set up the remainder term, choose the right maximum derivative value, and compute.

Problem Solving

  • Identify your polynomial degree nn. The error bound uses the (n+1)(n+1)th derivative.
  • Find MM, the maximum of f(n+1)\left|f^{(n+1)}\right| on the interval between the center aa and the input xx. Use monotonicity to pick the endpoint that gives the largest value.
  • Plug into Mxan+1(n+1)!\dfrac{M|x-a|^{n+1}}{(n+1)!} and compare to the required error.

Practice AP FRQ 2008 #3

This is Question 3 from the 2008 AP Calculus BC examination administered by College Board. All credit to College Board.

xxh(x)h(x)h(x)h'(x)h(x)h''(x)h(x)h'''(x)h4(x)h^4(x)
1111113030424299991818
2280801281284883\frac{488}{3}4483\frac{448}{3}5849\frac{584}{9}
333173177532\frac{753}{2}13834\frac{1383}{4}348316\frac{3483}{16}112516\frac{1125}{16}

Let hh be a function having derivatives of all orders for x>0x>0. Selected values of hh and its first four derivatives are shown in the table above. The function hh and these four derivatives are increasing on the interval 1x31≤x≤3.

b) Write the third-degree Taylor polynomial for hh about x=2x=2 and use it to approximate h(1.9)h(1.9).

Build the polynomial using the values at x=2x = 2:

P3(x)=80+128(x2)+488(x2)26+448(x2)318P_3(x)=80+128(x-2)+\frac{488(x-2)^2}{6}+\frac{448(x-2)^3}{18} P3(1.9)=80+128(0.1)+488(0.1)26+448(0.1)318=67.988P_3(1.9)=80+128(-0.1)+\frac{488(-0.1)^2}{6}+\frac{448(-0.1)^3}{18}=67.988

c) Use the Lagrange error bound to show that the third-degree Taylor polynomial for hh about x=2x=2 approximates h(1.9)h(1.9) with error less than 3×1043 \times 10^{-4}.

Because the fourth derivative is increasing on 1x31≤x≤3, its maximum on that interval is 5849\frac{584}{9}, the value at x=3x = 3. Use that as MM:

R3(1.9)=584(0.1)494!=2.7×104<3×104R_3(1.9)=\frac{584(-0.1)^4}{9 \cdot 4!}=2.7 \times 10^{-4}<3 \times 10^{-4}

The error stays below the target.

Common Misconceptions

  • The error bound is an upper limit, not the exact error. The true error is at most the bound, not equal to it.
  • Use the (n+1)(n+1)th derivative, not the nnth. A degree 3 polynomial uses the 4th derivative in its error bound.
  • MM is the maximum of the absolute value of the next derivative on the interval, not just its value at the center. If the derivative is increasing, the maximum is at the higher endpoint.
  • The interval for finding MM runs between the center aa and the input xx, not the full radius of convergence.
  • The alternating series error bound only applies when the series actually alternates and meets its conditions. It does not replace the Lagrange bound in every case.
  • Do not forget the factorial (n+1)!(n+1)! in the denominator. Leaving it out gives a much larger, wrong bound.

Vocabulary

The following words are mentioned explicitly in the College Board Course and Exam Description for this topic.

Term

Definition

alternating series error bound

A method for estimating the maximum error between a partial sum and the actual sum of a convergent alternating series, equal to the absolute value of the first omitted term.

error bound

A maximum value that represents how far a Taylor polynomial approximation can deviate from the actual function value.

Lagrange error bound

A formula that provides the maximum possible error when using a Taylor polynomial to approximate a function value.

Taylor polynomial approximation

A polynomial function used to approximate the value of a function near a specific point.

Frequently Asked Questions

What is the Lagrange error bound?

The Lagrange error bound gives a maximum possible error when a Taylor polynomial approximates a function. It uses the next derivative after the polynomial degree and the distance from the center to the input.

What formula is used for the Lagrange error bound?

For a degree n Taylor polynomial centered at a, the error satisfies absolute value of R_n of x is at most M times absolute value of x minus a to the n plus 1, divided by n plus 1 factorial. M is the maximum of the absolute value of the n plus 1 derivative on the interval.

How do you choose M in the Lagrange error bound?

Choose M as the maximum value of the absolute value of the next derivative on the interval between the center and the input. If the derivative is increasing or decreasing, use that behavior to justify the endpoint that gives the maximum.

Which derivative does the Lagrange error bound use?

A degree n Taylor polynomial uses the n plus 1 derivative for the Lagrange error bound. For example, a third-degree Taylor polynomial uses the fourth derivative.

When can the alternating series error bound replace Lagrange error?

The alternating series error bound can sometimes bound Taylor polynomial error when the Taylor series alternates and meets the alternating series test conditions. Otherwise, use the Lagrange error bound.

How is the Lagrange error bound tested on AP Calculus BC?

AP Calculus BC may ask you to show that an approximation error is less than a target value. Set up the bound, justify M, substitute the distance from the center, and compare the result to the required error.

Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly→ and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot

2,589 studying →