PrepGo

Lagrange Error Bound - AP Calculus BC Study Guide

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Learn with study guides reviewed by top AP teachers. This guide takes about 11 minutes to read.

The Core Idea: Lagrange Error Bound

When we use a Taylor polynomial, , to approximate the value of a function, , we are almost always introducing some amount of error. The approximation is useful only if we have a sense of how large this error might be. The core idea of the Lagrange error bound is to provide a "worst-case scenario" or an upper bound for the absolute value of this error. It doesn't tell us the exact error, but it guarantees that the true error is no larger than a specific, calculable value.

The error itself is defined as the absolute difference between the actual function value and the value given by the Taylor polynomial approximation, . The Lagrange error bound provides a formula that calculates a maximum possible value for this error. This is crucial for determining the accuracy of our Taylor polynomial approximation on a given interval.

Key Formulas

The topic is governed by two fundamental pieces of essential knowledge.

  1. The Definition of Error

    The error, sometimes denoted as the remainder , in using an n$th-degree Taylor polynomial $P_n(x) to approximate a function is the absolute difference between the two values.

  2. The Lagrange Error Bound Formula

    For an n$th-degree Taylor polynomial $P_n(x) for a function centered at , the error is bounded by the following inequality:

    Where:

    • is the degree of the Taylor polynomial.

    • is the center of the Taylor polynomial.

    • is the value at which the function is being approximated.

    • represents the maximum value of the (n+1)$th derivative of $f on the closed interval between and . The value is some number in that interval where this maximum occurs.

Understanding The Maximum Value of the Derivative

The most critical and often most challenging part of applying the Lagrange error bound formula is correctly identifying the term . This term does not mean you should plug or into the (n+1)$th derivative. Instead, $f^{(n+1)}(z) stands for the maximum absolute value that the (n+1)$th derivative can attain anywhere on the interval between the center $c and the point of approximation . For the purpose of the formula, we can define a value such that:

The formula is then typically written as:

To find , you must analyze the behavior of the (n+1)$th derivative function, $f^{(n+1)}(x), but only on the specific interval between and . For example, if you are approximating with a polynomial centered at , you must find the maximum value of on the interval . In many AP exam problems, this value is either given directly in the problem statement or can be easily determined from a known function like or .

Core Concepts & Rules

  • A Taylor polynomial is an approximation of a function . The difference between them is the error.

  • The error of an n$th-degree Taylor polynomial approximation is given by $Error = |f(x) - P_n(x)|.

  • The Lagrange error bound provides an upper limit, not the exact value, of the approximation error.

  • The formula for the bound requires the (n+1)$th derivative, one degree higher than the polynomial used for the approximation. - The key to the formula is finding $M, the maximum absolute value of the (n+1)$th derivative on the interval between the center of the approximation, $c, and the point of approximation, .

Step-by-Step Example 1: Finding the Bound

Problem: A third-degree Taylor polynomial, , centered at is used to approximate at . Find the Lagrange error bound for this approximation.

Solution:

Step 1: Identify all components.

  • The function is .

  • The degree of the polynomial is .

  • The center of the polynomial is .

  • The point of approximation is .

  • We need the Formula89 = 4$th derivative.

**Step 2: Find the (n+1)$th derivative.** - $f'(x) = -\sin(x)

Step 3: Find , the maximum value of on the interval between and .

  • The interval is .

  • We need to find the maximum value of on .

  • On the interval (which is in the first quadrant), is a positive and decreasing function. Its maximum value will occur at the left endpoint, .

  • on is .

  • Therefore, M=1.

Step 4: Substitute all values into the Lagrange error bound formula.

Step 5: Calculate the final bound.

The error in approximating with its third-degree Maclaurin polynomial is guaranteed to be less than or equal to approximately .

Step-by-Step Example 2: Exam-Style Application

Problem: Let be a function having derivatives of all orders for all real numbers. A fourth-degree Taylor polynomial for about is used to approximate . The fifth derivative of satisfies the inequality for all in the interval . Find the Lagrange error bound for the approximation of .

Solution:

Step 1: Identify all components from the problem statement.

  • The degree of the polynomial is .

  • The center of the polynomial is .

  • The point of approximation is .

  • The problem directly gives us the bound for the (n+1) = 5$th derivative. **Step 2: Find $M, the maximum value of on the interval.**

  • The interval is between and , which is .

  • The problem states that on this interval.

  • This means the maximum possible value for is 20.

  • Therefore, M=20.

Step 3: Substitute all values into the Lagrange error bound formula.

Step 4: Calculate the final bound.

The maximum possible error for this approximation is .

Using Your Calculator

The Lagrange error bound is an analytical tool, meaning its setup is not dependent on a calculator. You must determine the derivative, find the maximum value , and set up the inequality by hand.

A calculator is only useful for the final step: performing the arithmetic to find the numerical value of the bound.

For Example 2 above, after setting up the expression , you would use your calculator to compute the final decimal value:

  • The calculator would return .

Do not rely on the calculator to find or any derivatives. These steps must be done through analytical reasoning based on the information given in the problem.

AP Exam Quick Hit

Common Question Types

  • Given Maximum Value: The problem provides a function , the degree of the Taylor polynomial, the center , the point of approximation , and explicitly states an upper bound for the (n+1)$th derivative on the relevant interval (e.g.,|f^{(n+1)}(x)| \le K$). You are asked to find the Lagrange error bound. This is the most common type on the FRQ section.

  • Known Function: The problem gives a common function like , , or . You must first calculate the (n+1)$th derivative and then determine its maximum absolute value on the interval between $c and yourself before plugging into the formula.

  • Finding for a Given Accuracy: The problem asks for the minimum degree of a Taylor polynomial required to approximate a function value to within a certain tolerance (e.g., an error less than ). You must set up the Lagrange error bound inequality and find the smallest integer that satisfies it, often by testing values.

Common Mistakes

  • Off-by-One Error ( vs. ): Using the degree of the polynomial, , in the formula instead of . The formula always uses the Formula24!Formula23^{n+1}. - **Incorrectly Finding $M:** Using the value of the derivative at an endpoint, or , instead of finding the absolute maximum of over the entire interval between and .

  • Wrong Interval for : Searching for the maximum value of the derivative on an interval other than the one specified by the center and the point of approximation .

  • Ignoring Absolute Value: Forgetting to take the absolute value of the (n+1)$th derivative when finding its maximum, which can lead to an incorrect value for $M if the derivative is negative on the interval.