Section 7.2 Lagrange’s Form of the Remainder
Joseph-Louis Lagrange provided an alternate form for the remainder in Taylor series in his 1797 work Théorie des functions analytiques. Lagrange’s form of the remainder is as follows.
Theorem 7.2.1.
Lagrange’s Form of the Remainder
Suppose \(f\) is a function such that \(f^{(n+1)}(t)\) is continuous on an interval containing \(a\) and \(x\text{.}\) Then
\begin{equation*}
f(x)-\left(\sum_{j=0}^n\frac{f^{(j)}(a)}{j!}(x-a)^j\right)=\frac{f^{\, (n+1)}(c)}{(n+1)!}(x-a)^{n+1}
\end{equation*}
where \(c\) is some number between \(a\) and \(x\text{.}\)
Proof.
Note first that the result is true when \(x=a\) as both sides reduce to 0 (in that case \(c=x=a\text{.}\)) We will prove the case where \(a\lt x\text{;}\) the case \(x\lt a\) will be an exercise.
And the result follows.
Problem 7.2.2.
Hint.
Use the same argument on this integral. It will work out in the end. Really! You just need to keep track of all of the negatives.
Also, a word of caution about this: Lagrange’s form of the remainder is \(\frac{f^{\,(n+1)}(c)}{(n+1)!}\) \((x-a)^{n+1}\text{,}\) where \(c\) is some number between \(a\) and \(x\text{.}\) The proof does not indicate what this \(c\) might be and, in fact, this \(c\) changes as \(n\) changes. All we know is that this \(c\) lies between \(a\) and \(x\text{.}\) To illustrate this issue and its potential dangers, consider the following problem where we have a chance to compute the value of \(c\) for the function \(f(x)=\frac{1}{1+x}\text{.}\)
Problem 7.2.3.
(a)
Use the fact that \(\frac{1-(-x)^{n+1}}{1+x}=1-x+x^2-x^3+\cdots+(-x)^n\) to compute the remainder \(\frac{1}{1+x}-\left(1-x+x^2-x^3+\cdots+(-x)^n\right)\text{.}\) Specifically, compute this remainder when \(x=1\) and conclude that the Taylor series does not converge to \(\frac{1}{1+x}\) when \(x=1\text{.}\)
(b)
Compare the remainder in part a with the Lagrange form of the remainder to determine what \(c\) is when \(x=1\text{.}\)
(c)
Even though there are potential dangers in misusing the Lagrange form of the remainder, it is a useful form. For example, armed with the Lagrange form of the remainder, we can prove the following theorem.
Theorem 7.2.4.
The binomial series
\begin{equation*}
1+\frac{1}{2}x+\frac{\frac{1}{2}\left(\frac{1}{2}-1\right)}{2!}x^2+\frac{\frac{1}{2}\left(\frac{1}{2}-1\right)\left(\frac{1}{2}-2\right)}{3!}x^3+\cdots
\end{equation*}
converges to \(\sqrt{1+x}\) for \(x\in[0,1]\text{.}\)
Proof.
Problem 7.2.5.
Show that if \(-\frac{1}{2}\leq x\leq c\leq 0\text{,}\) then \(|\frac{x}{1+c}|\leq 1\) and modify the above proof to show that the binomial series converges to \(\sqrt{1+x}\) for \(x\in\left[-\frac{1}{2},0\right]\text{.}\)
Substituting \(x=1\) into this provided the convergent series \(1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+\cdots\text{.}\) We made the claim that this, in fact, converges to \(\ln 2\text{,}\) but that this was not obvious. The Lagrange form of the remainder gives us the machinery to prove this.
Problem 7.2.6.
(a)
Compute the Lagrange form of the remainder for the Maclaurin series for \(\ln\left(1+x\right)\text{.}\)
(b)
Show that when \(x=1\text{,}\) the Lagrange form of the remainder converges to \(0\) and so the equation \(\ln 2=1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+\cdots\) is actually correct.