Taylor and Maclaurin Series: Learn It 4

Convergence of Taylor Series

We now discuss issues of convergence for Taylor series. We begin by showing how to find a Taylor series for a function, and how to find its interval of convergence.

Find the Taylor series for [latex]f\left(x\right)=\frac{1}{x}[/latex] at [latex]x=1[/latex]. Determine the interval of convergence.

Watch the following video to see the worked solution to the example above.

For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.

You can view the transcript for this segmented clip of “6.3 Taylor and Maclaurin Series” here (opens in new window).

We know that the Taylor series found in this example converges on the interval [latex]\left(0,2\right)[/latex], but how do we know it actually converges to [latex]f?[/latex] Let’s explore this by rewriting our function:

[latex]f\left(x\right)=\frac{1}{x}=\frac{1}{1-\left(1-x\right)}[/latex].

This representation shows that [latex]f[/latex] can be expressed as the geometric series [latex]\displaystyle\sum_{n=0}^{\infty}(1-x)^n[/latex]. Since geometric series converge to [latex]\frac{1}{x}[/latex] when [latex]|1-x| < 1[/latex], we’ve confirmed that our Taylor series does indeed converge to [latex]f(x) = \frac{1}{x}[/latex] on [latex]\left(0,2\right)[/latex].

Now for the broader question: If a Taylor series for a function [latex]f[/latex] converges on some interval, how do we know it converges to [latex]f[/latex] itself?

To answer this, remember that a series converges to a value if and only if its sequence of partial sums converges to that value. For a Taylor series centered at [latex]a[/latex], the [latex]n[/latex]th partial sum is the [latex]n[/latex]th Taylor polynomial [latex]p_n[/latex].

Therefore, the Taylor series converges to [latex]f[/latex] when:

[latex]\underset{n\to \infty }{\text{lim}}{p}_{n}\left(x\right)=f\left(x\right)[/latex].

Since the remainder [latex]{R}_{n}\left(x\right)=f\left(x\right)-{p}_{n}\left(x\right)[/latex], the Taylor series converges to [latex]f[/latex] if and only if

[latex]\underset{n\to \infty }{\text{lim}}{R}_{n}\left(x\right)=0[/latex].

We now state this theorem formally.

theorem: convergence of Taylor series

Suppose that [latex]f[/latex] has derivatives of all orders on an interval [latex]I[/latex] containing [latex]a[/latex]. Then the Taylor series

[latex]\displaystyle\sum _{n=0}^{\infty }\frac{{f}^{\left(n\right)}\left(a\right)}{n\text{!}}{\left(x-a\right)}^{n}[/latex]

 

converges to [latex]f\left(x\right)[/latex] for all [latex]x[/latex] in [latex]I[/latex] if and only if

[latex]\underset{n\to\infty}\lim {R}_{n}\left(x\right)=0[/latex]

 

for all [latex]x[/latex] in [latex]I[/latex].

With this theorem, we can prove that a Taylor series for [latex]f[/latex] at [latex]a[/latex] converges to [latex]f[/latex] if we can prove that the remainder [latex]{R}_{n}\left(x\right)\to 0[/latex]. To prove that [latex]{R}_{n}\left(x\right)\to 0[/latex], we typically use the bound from Taylor’s theorem:

[latex]|{R}_{n}\left(x\right)|\le \frac{M}{\left(n+1\right)\text{!}}{|x-a|}^{n+1}[/latex]
where [latex]M[/latex] is an upper bound for the [latex](n+1)[/latex]th derivative on the interval.

In our next example, we’ll find the Maclaurin series for [latex]e^x[/latex] and [latex]\sin x[/latex], then prove these series converge to their respective functions for all real numbers by showing [latex]R_n(x) \to 0[/latex].

For each of the following functions, find the Maclaurin series and its interval of convergence. Use Taylor’s Theorem with Remainder to prove that the Maclaurin series for [latex]f[/latex] converges to [latex]f[/latex] on that interval.

  1. [latex]e^{x}[/latex]
  2. [latex]\sin{x}[/latex]

Watch the following video to see the worked solution to the example above.

For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.

You can view the transcript for this segmented clip of “6.3 Taylor and Maclaurin Series” here (opens in new window).