Tutorials › Calculus II › Deriving the Lagrange Remainder Bound

Remainders and Error Estimates · Tutorial 850 of 998

Deriving the Lagrange Remainder Bound

Learn how repeated Rolle applications produce the exact Lagrange remainder and how that formula yields an explicit error bound.

Advanced 10 min read

What You'll Learn

  • Define the Taylor polynomial and its remainder at a center.
  • State the regularity conditions used in the Lagrange remainder theorem.
  • Prove the theorem by constructing an auxiliary function and applying Rolle’s theorem repeatedly.
  • Derive the absolute remainder bound from a uniform bound on the next derivative.
  • Apply the exact formula and bound in examples, including when the evaluation point lies left of the center.
  • Avoid sign errors when converting the exact remainder formula into an absolute error estimate.

From Approximation Error to a Derivative Bound

A Taylor polynomial replaces a function by a polynomial built from its derivatives at a chosen center. The difference between the function and that polynomial is the remainder, or approximation error. To know how accurate the approximation is, it helps to express that error using a derivative evaluated somewhere between the center and the point of interest.

The Lagrange form of Taylor’s theorem does exactly this. Its proof is a careful use of Rolle’s theorem: we construct a function with several vanishing derivatives at the center and a further zero at the evaluation point. Repeated applications of Rolle’s theorem force one higher derivative to vanish at an intermediate point.

Definition: Let \(n\) be a nonnegative integer, let \(a\) be a real number, and suppose \(f\) has derivatives through order \(n\) at \(a\). The Taylor polynomial of degree \(n\) centered at \(a\) is $$ T_n(t)=\sum_{k=0}^{n}\frac{f^{(k)}(a)}{k!}(t-a)^k. $$ At a point \(x\), the Taylor remainder is \(R_n(x)=f(x)-T_n(x)\). Thus \(f(x)=T_n(x)+R_n(x)\).

The polynomial matches the function’s value and derivatives through order \(n\) at the center. The theorem below explains how the next derivative controls the remainder at another point.

The Lagrange Remainder Theorem

Theorem: Let \(n\) be a nonnegative integer, and let \(a\) and \(x\) be points in an interval on which \(f\) is continuous and has continuous derivatives through order \(n+1\). If \(x\ne a\), then there exists a point \(c\) strictly between \(a\) and \(x\) such that $$ R_n(x)=\frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}. $$ In particular, if \(\lvert f^{(n+1)}(t)\rvert\le M\) throughout the interval between \(a\) and \(x\), then $$ \lvert R_n(x)\rvert\le \frac{M\lvert x-a\rvert^{n+1}}{(n+1)!}. $$

When \(x=a\), the remainder is zero directly from the definition, so the bound holds as well. The conditions in the theorem ensure that Rolle’s theorem can be applied repeatedly on the interval between the two points. If \(x<a\), we still work on the interval with endpoints \(x\) and \(a\); the point \(c\) lies between them, and the absolute value in the bound handles the reversed direction.

Why Repeated Rolle Applications Give the Formula

We prove the exact remainder formula first. The bound then follows by taking absolute values. Fix \(x\ne a\), and write \(R_n(x)=f(x)-T_n(x)\). Define the constant \(K=R_n(x)/(x-a)^{n+1}\), and introduce the auxiliary function \(G(t)=f(t)-T_n(t)-K(t-a)^{n+1}\).

At \(t=x\), the choice of \(K\) gives \(G(x)=0\). At \(t=a\), both \(f(t)-T_n(t)\) and its derivatives through order \(n\) vanish. This follows by differentiating the Taylor polynomial: for each \(k\) from \(0\) through \(n\), \(T_n^{(k)}(a)=f^{(k)}(a)\). The term \((t-a)^{n+1}\) and its derivatives through order \(n\) also vanish at \(a\). Consequently, \(G(a)=G'(a)=\cdots=G^{(n)}(a)=0\).

1
Start with two zeros.
\(G(a)=G(x)=0\), so Rolle’s theorem gives an interior point \(u_1\) with \(G'(u_1)=0\).
2
Use the zero derivatives at the center.
Since \(G'(a)=0\) as well, Rolle’s theorem applied to \(G'\) between \(a\) and \(u_1\) gives a point \(u_2\) between them with \(G''(u_2)=0\).
3
Continue the process.
At each stage, \(G^{(j)}(a)=0\) and the point found at the preceding stage is a zero of \(G^{(j)}\). Rolle’s theorem therefore gives a new interior zero of \(G^{(j+1)}\).
4
Reach the next derivative.
After \(n+1\) applications, there is a point \(c\) strictly between \(a\) and \(x\) such that \(G^{(n+1)}(c)=0\).

This iteration is valid because each derivative used is continuous on the relevant closed subinterval and differentiable in its interior. Now differentiate the definition of \(G\) \(n+1\) times. The Taylor polynomial has degree \(n\), so its \((n+1)\)st derivative is zero. The \((n+1)\)st derivative of \(K(t-a)^{n+1}\) is \(K(n+1)!\). Hence \(G^{(n+1)}(c)=f^{(n+1)}(c)-K(n+1)!=0\), which implies \(K=f^{(n+1)}(c)/(n+1)!\). Substituting the definition of \(K\) proves the exact formula.

To obtain the error bound, take absolute values in that formula. Since \(c\) lies between \(a\) and \(x\), the assumed derivative bound applies at \(c\): \(\lvert f^{(n+1)}(c)\rvert\le M\). Therefore \(\lvert R_n(x)\rvert\le M\lvert x-a\rvert^{n+1}/(n+1)!\), as claimed.

Worked Examples

Worked Example: A Cubic Expanded to Degree One

Let \(f(t)=t^3\), center the Taylor polynomial at \(a=2\), and evaluate it at \(x=1\), using \(n=1\). First, \(f(2)=8\) and \(f'(t)=3t^2\), so \(f'(2)=12\). Thus \(T_1(t)=8+12(t-2)\), and \(T_1(1)=8+12(-1)=-4\). Since \(f(1)=1\), the remainder is \(R_1(1)=1-(-4)=5\).

Here \(f''(t)=6t\). On \([1,2]\), \(\lvert f''(t)\rvert\le12\), so \(M=12\) gives \(\lvert R_1(1)\rvert\le12\lvert1-2\rvert^2/2!=6\). The computed error satisfies \(5\le6\).

The exact formula requires \(5=f''(c)(1-2)^2/2!=6c/2=3c\), so \(c=5/3\). This lies strictly between \(1\) and \(2\). Substitution checks the formula: \(f''(5/3)(-1)^2/2!=10/2=5\), matching the remainder.

Worked Example: A Reciprocal Function at One-Half

Let \(f(t)=1/(1+t)\), \(a=0\), \(x=1/2\), and \(n=2\). The derivatives at the center are \(f(0)=1\), \(f'(0)=-1\), and \(f''(0)=2\). Therefore \(T_2(t)=1-t+t^2\), and \(T_2(1/2)=1-1/2+1/4=3/4\). The exact function value is \(f(1/2)=2/3\), so \(R_2(1/2)=2/3-3/4=8/12-9/12=-1/12\).

The third derivative is \(f'''(t)=-6/(1+t)^4\), so \(\lvert f'''(t)\rvert\le6\) on \([0,1/2]\). Taking \(M=6\), the bound is \(6(1/2)^3/3!=6(1/8)/6=1/8\). Indeed, \(\lvert-1/12\rvert=1/12\le1/8\).

The exact formula also identifies a point giving this error: \(-1/12=[-6/(1+c)^4](1/2)^3/6=-1/[8(1+c)^4]\). Thus \((1+c)^4=3/2\), or \(c=(3/2)^{1/4}-1\). Since \(1<3/2<(3/2)^4\), it follows that \(0<c<1/2\). Substituting this value makes the exact remainder formula equal to \(-1/12\), as required.

Worked Example: A Fourth-Degree Polynomial Expanded to Degree Two

Let \(f(t)=t^4\), \(a=0\), \(x=1\), and \(n=2\). The values \(f(0)\), \(f'(0)\), and \(f''(0)\) are all zero, so \(T_2(t)=0\). Hence \(R_2(1)=f(1)-T_2(1)=1\).

Here \(f'''(t)=24t\), whose absolute value is at most \(24\) on \([0,1]\). The bound is \(24\lvert1-0\rvert^3/3!=24/6=4\), and the error satisfies \(1\le4\).

The exact formula gives \(1=f'''(c)/6=24c/6=4c\), so \(c=1/4\), which lies between \(0\) and \(1\). Checking, \(f'''(1/4)(1)^3/3!=6/6=1\), equal to the computed remainder.

Reading the Bound Correctly

The estimate has two separate ingredients: a bound \(M\) for the absolute value of the \((n+1)\)st derivative over the interval, and the factor \(\lvert x-a\rvert^{n+1}/(n+1)!\). The derivative bound controls how rapidly the function can depart from its degree-\(n\) approximation; the distance factor shows how the error depends on how far the evaluation point is from the center.

The exact formula and the inequality have different roles. The exact formula says that the error equals the next derivative at some intermediate point times the distance factor. The inequality replaces that unknown derivative value with a uniform bound \(M\). It need not be an equality: the actual derivative at the intermediate point may be much smaller than \(M\).

Common pitfall: Do not drop the absolute value on \(x-a\) when bounding the remainder. For \(f(t)=t^2\), \(n=0\), \(a=2\), and \(x=1\), the constant Taylor polynomial is \(T_0(t)=4\), so \(R_0(1)=1-4=-3\). Since \(\lvert f'(t)\rvert=\lvert2t\rvert\le4\) on \([1,2]\), the correct bound is \(\lvert R_0(1)\rvert\le4\lvert1-2\rvert=4\). Writing \(4(1-2)=-4\) as an upper bound would incorrectly assert that the nonnegative quantity \(3\) is at most \(-4\). The exact formula checks the sign: for \(c=3/2\), \(f'(c)(1-2)=3(-1)=-3\).

Why the Result Is Useful

The theorem turns a local polynomial approximation into a quantitative statement about its error. Once a suitable \(M\) is known on the interval, the remainder bound tells us how far the function’s value can be from the Taylor polynomial’s value. The factorial in the denominator can make the bound small as the degree increases, while the power of the distance makes the choice of center important.

The theorem does not say that every Taylor series converges to its function, nor does it require an infinite series: it concerns a finite Taylor polynomial and its remainder under the stated differentiability conditions. Its proof rests on a finite chain of Rolle applications, and its estimate follows directly from the exact remainder formula.

Check Your Understanding

Answer these questions using the theorem and its proof.

  1. For the exact Lagrange remainder formula, where must the point \(c\) lie?
  2. Why does the auxiliary function \(G\) have its first \(n+1\) derivative values, from order zero through order \(n\), equal to zero at \(a\)?
  3. If \(\lvert f^{(n+1)}(t)\rvert\le M\) between \(a\) and \(x\), what expression bounds \(\lvert R_n(x)\rvert\)?
  4. Why is the absolute value \(\lvert x-a\rvert^{n+1}\) needed when stating the bound?
  5. In the reciprocal-function example, what are the computed remainder and the Lagrange bound?

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon