AP Calculus BC only · Unit 10 · Topic 10.12

    10.12 Lagrange Error Bound

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    The Lagrange error bound limits how far a Taylor polynomial PnP_n about aa can be from ff: ∣f(x)−Pn(x)∣≤M(n+1)!∣x−a∣n+1|f(x) - P_n(x)| \le \frac{M}{(n + 1)!}|x - a|^{n+1}, where MM is at least the largest value of ∣f(n+1)∣|f^{(n+1)}| between aa and xx. It works for any Taylor polynomial, alternating or not.

    What you need to know

    • State the Lagrange error bound.
    • Choose a valid M from information about the next derivative.
    • Compute the bound for a given approximation.
    • Turn the bound into an interval that must contain the true value.

    The bound

    ∣f(x)−Pn(x)∣≤M(n+1)! ∣x−a∣n+1M≥max⁡∣f(n+1)(z)∣ for z between a and x\begin{gathered} |f(x) - P_n(x)| \le \frac{M}{(n + 1)!}\,|x - a|^{n+1} \\ M \ge \max |f^{(n+1)}(z)| \text{ for } z \text{ between } a \text{ and } x \end{gathered}

    It looks like the next term of the Taylor polynomial, with the unknown derivative value replaced by the largest it could be. That is a good way to remember it: the error is roughly the first term you left out, and the bound makes that precise.

    Example. Approximate e0.5e^{0.5} with P2(x)=1+x+x22P_2(x) = 1 + x + \frac{x^2}{2}: P2(0.5)=1.625P_2(0.5) = 1.625. The third derivative of exe^x is exe^x, which on [0,0.5][0, 0.5] is at most e0.5<2e^{0.5} < 2. So take M=2M = 2: the error is at most 23!(0.5)3=124≈0.0417\frac{2}{3!}(0.5)^3 = \frac{1}{24} \approx 0.0417. The true value is 1.64871.6487, about 0.024 away.

    Choosing M

    MM only has to be an upper bound for ∣f(n+1)∣|f^{(n+1)}| on the interval between the centre and xx; it does not have to be the exact maximum. For sines and cosines, every derivative is between −1-1 and 1, so M=1M = 1 always works. For exe^x on [0,b][0, b], any number at least ebe^b works; a convenient round number like 2 or 3 is fine.

    On the exam, MM is often handed to you: 'the fourth derivative of ff satisfies ∣f(4)(x)∣≤6|f^{(4)}(x)| \le 6 for 1≤x≤1.51 \le x \le 1.5'. Then the error in using P3P_3 about x=1x = 1 to approximate f(1.2)f(1.2) is at most 64!(0.2)4=0.0004\frac{6}{4!}(0.2)^4 = 0.0004.

    From bound to interval

    If P3(0.5)=1.8P_3(0.5) = 1.8 and the error is at most 0.031250.03125, then f(0.5)f(0.5) lies in [1.8−0.03125, 1.8+0.03125]=[1.76875, 1.83125][1.8 - 0.03125,\ 1.8 + 0.03125] = [1.76875,\ 1.83125]. Questions sometimes ask whether f(0.5)f(0.5) could equal a given number, such as 1.85; since 1.85 is outside the interval, it cannot.

    With sin⁡(0.2)≈P3(0.2)=0.2−0.0086≈0.198667\sin(0.2) \approx P_3(0.2) = 0.2 - \frac{0.008}{6} \approx 0.198667, M=1M = 1 gives an error of at most (0.2)44!≈0.0000667\frac{(0.2)^4}{4!} \approx 0.0000667. The true value is 0.1986690.198669, well inside the bound.

    On the exam

    A Lagrange error bound part appears in many BC Taylor series questions. Earn the points by writing the general form, substituting MM, n+1n + 1 and ∣x−a∣|x - a|, and giving the numerical bound. Then answer the question actually asked, which is often whether the approximation is accurate to some number of decimal places.

    If the Taylor series at that xx alternates with decreasing terms, the alternating series error bound (topic 10.10) is an alternative and often simpler. When the question says 'Lagrange', use Lagrange.

    Key terms

    Lagrange error bound
    M(n+1)!∣x−a∣n+1\frac{M}{(n + 1)!}|x - a|^{n+1}, a maximum possible error for PnP_n.
    M
    An upper bound for |f⁽ⁿ⁺¹⁾| on the interval between a and x.
    Remainder
    f(x) − Pₙ(x), the actual error.
    Error interval
    [Pₙ(x) − bound, Pₙ(x) + bound], which must contain f(x).

    Common mistakes

    • Using the nth derivative for M.

      M bounds the (n + 1)th derivative.

    • Using n! instead of (n + 1)!.

      The bound has (n + 1)! and the (n + 1)th power.

    • Taking M from a single point only.

      M must cover the whole interval between a and x.

    How this topic is tested

    • Write the general form before substituting.
    • Say where M comes from.
    • Turn the bound into an interval when asked if a value is possible.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 4 · Communication and Notation

      Which expression bounds the error of PnP_n about aa?

    2. Question 2 · MP 1 · Implementing Mathematical Processes

      Using P2P_2 for exe^x about 0 at x=0.5x = 0.5 with M=2M = 2, the error bound is about

    3. Question 3 · MP 1 · Implementing Mathematical Processes

      Bound the error of P3(0.2)≈sin⁡(0.2)P_3(0.2) \approx \sin(0.2) using M=1M = 1.

    4. Question 4 · MP 1 · Implementing Mathematical Processes

      ∣f(4)(x)∣≤6|f^{(4)}(x)| \le 6 on [1,1.5][1, 1.5]. Bound the error of P3P_3 about 1 at x=1.2x = 1.2.

    5. Question 5 · MP 3 · Justification

      For P3P_3 about aa, what must MM bound?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 4 points

    The third-degree Maclaurin polynomial for ff gives P3(0.5)=1.8P_3(0.5) = 1.8, and ∣f(4)(x)∣≤12|f^{(4)}(x)| \le 12 for 0≤x≤0.50 \le x \le 0.5.

    1. (a) Write the Lagrange error bound for ∣f(0.5)−P3(0.5)∣|f(0.5) - P_3(0.5)|.
    2. (b) Evaluate the bound.
    3. (c) Find an interval that must contain f(0.5)f(0.5).
    4. (d) Explain why the bound uses the fourth derivative.

    Connected topics

    Frequently asked questions

    Must M be the exact maximum?

    No, any upper bound works; a larger M just gives a looser bound.

    When should I use the alternating bound instead?

    When the series at that x alternates with decreasing terms and the question allows either.

    Is the actual error always smaller?

    Yes, the bound is a guarantee, not an estimate.

    How this shows up on the exam42 multiple-choice and 6 free-response questions, with and without a calculator. See how the BC exam is laid out.

    Free Unit 10 cheat sheet

    Every topic in Unit 10: Infinite Sequences and Series on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Calculus BC practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Calculus BC practice examsUnit 10 is one of 10 units on the exam. Two timed exams in the 2027 format (42 MCQ + 6 FRQ, with calculator and no-calculator parts), worked explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 10: Infinite Sequences and Series

    1. 10.1 Defining Convergent and Divergent Infinite Series
    2. 10.2 Working with Geometric Series
    3. 10.3 The nth Term Test for Divergence
    4. 10.4 Integral Test for Convergence
    5. 10.5 Harmonic Series and p-Series
    6. 10.6 Comparison Tests for Convergence
    7. 10.7 Alternating Series Test for Convergence
    8. 10.8 Ratio Test for Convergence
    9. 10.9 Determining Absolute or Conditional Convergence
    10. 10.10 Alternating Series Error Bound
    11. 10.11 Finding Taylor Polynomial Approximations of Functions
    12. 10.12 Lagrange Error Bound
    13. 10.13 Radius and Interval of Convergence of Power Series
    14. 10.14 Finding Taylor or Maclaurin Series for a Function
    15. 10.15 Representing Functions as Power Series

    Other units in AP Calculus BC

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.