Lagrange Remainder — Definition, Formula & Examples
The Lagrange Remainder is the error term that tells you the maximum possible difference between a function and its Taylor polynomial approximation of degree . It provides a concrete upper bound so you can guarantee how accurate your polynomial approximation actually is.
If is a function with continuous derivatives through order on an interval containing and , then the remainder , where is the th-degree Taylor polynomial centered at , can be expressed as for some between and . This is also known as Taylor's theorem with the Lagrange form of the remainder.
Key Formula
Where:
- = The remainder (error) between f(x) and the nth-degree Taylor polynomial
- = The (n+1)th derivative of f evaluated at some unknown c between a and x
- = An upper bound for |f^{(n+1)}(t)| on the interval between a and x
- = The center of the Taylor expansion
- = The degree of the Taylor polynomial
- = The point at which you are approximating f
How It Works
You use the Lagrange Remainder to determine how many terms of a Taylor series you need to achieve a desired accuracy. Since the exact value of is unknown, you find the maximum of for between and , then plug that into the formula to get an upper bound on . If this upper bound is smaller than your error tolerance, you know the th-degree Taylor polynomial is accurate enough. This technique turns a vague approximation into a rigorous guarantee.
Worked Example
Problem: Find an upper bound for the error when approximating using the 3rd-degree Taylor polynomial for centered at .
Step 1: Write the Lagrange Remainder formula with , , and .
Step 2: Find , the maximum of on . Since , every derivative is . On , the maximum occurs at , so . We can use the safe overestimate .
Step 3: Substitute into the bound and compute.
Answer: The error in approximating with the 3rd-degree Taylor polynomial is at most approximately . (The actual error is about , confirming the bound works.)
Another Example
Problem: How many terms of the Maclaurin series for are needed to approximate with error less than ?
Step 1: All derivatives of satisfy , so for any .
Step 2: Find the smallest such that . Test values: (too large), (still too large), (small enough).
Step 3: Since when , we need . The 6th-degree Taylor polynomial (which has terms up to for sine, since the coefficient is zero) suffices.
Answer: Three nonzero terms of the Maclaurin series (up to ) approximate with error less than .
Why It Matters
In Calculus II and III courses, the Lagrange Remainder is the standard tool for proving that a Taylor series converges to a specific function and for certifying numerical accuracy. Engineers and scientists use it when replacing complicated functions with polynomial approximations in computational algorithms, ensuring the approximation error stays within design tolerances. It also appears in numerical analysis when analyzing the accuracy of interpolation and quadrature methods.
Common Mistakes
Mistake: Using instead of in the remainder formula.
Correction: The Lagrange Remainder involves the th derivative, one order higher than the degree of the Taylor polynomial. The polynomial already accounts for derivatives through order .
Mistake: Choosing as the value of at the center rather than its maximum on the entire interval.
Correction: You must bound over all between and . Taking the value only at may underestimate the true maximum, making your error bound invalid.
