# Differentiating and Integrating Power Series

Power Series Representation By Integration – Calculus 2
Power Series Representation By Integration – Calculus 2

### Learning Outcomes

• Differentiate and integrate power series term-by-term

Consider a power series $\displaystyle\sum _{n=0}^{\infty }{c}_{n}{x}^{n}={c}_{0}+{c}_{1}x+{c}_{2}{x}^{2}+\cdots$ that converges on some interval I, and let $f$ be the function defined by this series. Here we address two questions about $f$.

• Is $f$ differentiable, and if so, how do we determine the derivative ${f}^{\prime }?$
• How do we evaluate the indefinite integral $\displaystyle\int f\left(x\right)dx?$

We know that, for a polynomial with a finite number of terms, we can evaluate the derivative by differentiating each term separately. Similarly, we can evaluate the indefinite integral by integrating each term separately. Recall the general expression of the power rules for derivatives and integrals of polynomials.

### Recall: Power rule for Derivatives and Integrals

1. $\frac{d}{dx} \left (x^n \right) = nx^{n-1}$
2. $\int{x^n\: dx} = \frac{1}{n+1} x^{n+1} + C \:(\text{for}\: n \ne -1$)

In this section we show that we can take advantage of the simplicity of integrating and differentiating polynomials to do the same thing for convergent power series. That is, if

converges on some interval I, then

and

Evaluating the derivative and indefinite integral in this way is called term-by-term differentiation of a power series and term-by-term integration of a power series, respectively. The ability to differentiate and integrate power series term-by-term also allows us to use known power series representations to find power series representations for other functions. For example, given the power series for $f\left(x\right)=\frac{1}{1-x}$, we can differentiate term-by-term to find the power series for ${f}^{\prime }\left(x\right)=\frac{1}{{\left(1-x\right)}^{2}}$. Similarly, using the power series for $g\left(x\right)=\frac{1}{1+x}$, we can integrate term-by-term to find the power series for $G\left(x\right)=\text{ln}\left(1+x\right)$, an antiderivative of g. We show how to do this in the next two examples. First, we state Term-by-Term Differentiation and Integration for Power Series, which provides the main result regarding differentiation and integration of power series.

### theorem: Term-by-Term Differentiation and Integration for Power Series

Suppose that the power series $\displaystyle\sum _{n=0}^{\infty }{c}_{n}{\left(x-a\right)}^{n}$ converges on the interval $\left(a-R,a+R\right)$ for some $R>0$. Let f be the function defined by the series

for $|x-a|<R$. Then f is differentiable on the interval $\left(a-R,a+R\right)$ and we can find ${f}^{\prime }$ by differentiating the series term-by-term:

for $|x-a|<R$. Also, to find $\displaystyle\int f\left(x\right)dx$, we can integrate the series term-by-term. The resulting series converges on $\left(a-R,a+R\right)$, and we have

for $|x-a|<R$.

The proof of this result is beyond the scope of the text and is omitted. Note that although Term-by-Term Differentiation and Integration for Power Series guarantees the same radius of convergence when a power series is differentiated or integrated term-by-term, it says nothing about what happens at the endpoints. It is possible that the differentiated and integrated power series have different behavior at the endpoints than does the original series. We see this behavior in the next examples.

### Example: Differentiating Power Series

1. Use the power series representation

for $|x|<1$ to find a power series representation for

on the interval $\left(-1,1\right)$. Determine whether the resulting series converges at the endpoints.

Use the result of part a. to evaluate the sum of the series $\displaystyle\sum _{n=0}^{\infty }\frac{n+1}{{4}^{n}}$.

1. Since $g\left(x\right)=\frac{1}{{\left(1-x\right)}^{2}}$ is the derivative of $f\left(x\right)=\frac{1}{1-x}$, we can find a power series representation for g by differentiating the power series for f term-by-term. The result is

for $|x|<1$. Term-by-Term Differentiation and Integration for Power Series does not guarantee anything about the behavior of this series at the endpoints. Testing the endpoints by using the divergence test, we find that the series diverges at both endpoints $x=\pm 1$. Note that this is the same result found in the previous example.

• From part a. we know that
1. From part a. we know that

Therefore,

Watch the following video to see the worked solution to Example: Differentiating Power Series.

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.2.4” here (opens in new window).

### try it

Differentiate the series $\frac{1}{{\left(1-x\right)}^{2}}=\displaystyle\sum _{n=0}^{\infty }\left(n+1\right){x}^{n}$ term-by-term to find a power series representation for $\frac{2}{{\left(1-x\right)}^{3}}$ on the interval $\left(-1,1\right)$.

Write out the first several terms and apply the power rule.

$\displaystyle\sum _{n=0}^{\infty }\left(n+2\right)\left(n+1\right){x}^{n}$

### Example: Integrating Power Series

For each of the following functions f, find a power series representation for f by integrating the power series for ${f}^{\prime }$ and find its interval of convergence.

1. $f\left(x\right)=\text{ln}\left(1+x\right)$
2. $f\left(x\right)={\tan}^{-1}x$
1. For $f\left(x\right)=\text{ln}\left(1+x\right)$, the derivative is ${f}^{\prime }\left(x\right)=\frac{1}{1+x}$. We know that

for $|x|<1$. To find a power series for $f\left(x\right)=\text{ln}\left(1+x\right)$, we integrate the series term-by-term.

Since $f\left(x\right)=\text{ln}\left(1+x\right)$ is an antiderivative of $\frac{1}{1+x}$, it remains to solve for the constant C. Since $\text{ln}\left(1+0\right)=0$, we have $C=0$. Therefore, a power series representation for $f\left(x\right)=\text{ln}\left(1+x\right)$ is

for $|x|<1$. Term-by-Term Differentiation and Integration for Power Series does not guarantee anything about the behavior of this power series at the endpoints. However, checking the endpoints, we find that at $x=1$ the series is the alternating harmonic series, which converges. Also, at $x=-1$, the series is the harmonic series, which diverges. It is important to note that, even though this series converges at $x=1$, Term-by-Term Differentiation and Integration for Power Series does not guarantee that the series actually converges to $\text{ln}\left(2\right)$. In fact, the series does converge to $\text{ln}\left(2\right)$, but showing this fact requires more advanced techniques. (Abel’s theorem, covered in more advanced texts, deals with this more technical point.) The interval of convergence is $\left(-1,1\right]$.

• The derivative of $f\left(x\right)={\tan}^{-1}x$ is ${f}^{\prime }\left(x\right)=\frac{1}{1+{x}^{2}}$. We know that

for $|x|<1$. To find a power series for $f\left(x\right)={\tan}^{-1}x$, we integrate this series term-by-term.

Since ${\tan}^{-1}\left(0\right)=0$, we have $C=0$. Therefore, a power series representation for $f\left(x\right)={\tan}^{-1}x$ is

for $|x|<1$. Again, Term-by-Term Differentiation and Integration for Power Series does not guarantee anything about the convergence of this series at the endpoints. However, checking the endpoints and using the alternating series test, we find that the series converges at $x=1$ and $x=-1$. As discussed in part a., using Abel’s theorem, it can be shown that the series actually converges to ${\tan}^{-1}\left(1\right)$ and ${\tan}^{-1}\left(-1\right)$ at $x=1$ and $x=-1$, respectively. Thus, the interval of convergence is $\left[-1,1\right]$.

Watch the following video to see the worked solution to Example: Integrating Power Series.

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 “6.2.4” here (opens in new window).

### try it

Integrate the power series $\text{ln}\left(1+x\right)=\displaystyle\sum _{n=1}^{\infty }{\left(-1\right)}^{n+1}\frac{{x}^{n}}{n}$ term-by-term to evaluate $\displaystyle\int \text{ln}\left(1+x\right)dx$.

Use the fact that $\frac{{x}^{n+1}}{\left(n+1\right)n}$ is an antiderivative of $\frac{{x}^{n}}{n}$.

$\displaystyle\sum _{n=2}^{\infty }\frac{{\left(-1\right)}^{n}{x}^{n}}{n\left(n – 1\right)}$

Up to this point, we have shown several techniques for finding power series representations for functions. However, how do we know that these power series are unique? That is, given a function f and a power series for f at a, is it possible that there is a different power series for f at a that we could have found if we had used a different technique? The answer to this question is no. This fact should not seem surprising if we think of power series as polynomials with an infinite number of terms. Intuitively, if

for all values x in some open interval I about zero, then the coefficients cn should equal dn for $n\ge 0$. We now state this result formally in Uniqueness of Power Series.

### theorem: Uniqueness of Power Series

Let $\displaystyle\sum _{n=0}^{\infty }{c}_{n}{\left(x-a\right)}^{n}$ and $\displaystyle\sum _{n=0}^{\infty }{d}_{n}{\left(x-a\right)}^{n}$ be two convergent power series such that

for all x in an open interval containing a. Then ${c}_{n}={d}_{n}$ for all $n\ge 0$.

#### Proof

Let

Then $f\left(a\right)={c}_{0}={d}_{0}$. By Term-by-Term Differentiation and Integration for Power Series, we can differentiate both series term-by-term. Therefore,

and thus, ${f}^{\prime }\left(a\right)={c}_{1}={d}_{1}$. Similarly,

implies that $f^{\prime\prime} \left(a\right)=2{c}_{2}=2{d}_{2}$, and therefore, ${c}_{2}={d}_{2}$. More generally, for any integer $n\ge 0,{f}^{\left(n\right)}\left(a\right)=n\text{!}{c}_{n}=n\text{!}{d}_{n}$, and consequently, ${c}_{n}={d}_{n}$ for all $n\ge 0$.

$_\blacksquare$

### Try It

In this section we have shown how to find power series representations for certain functions using various algebraic operations, differentiation, or integration. At this point, however, we are still limited as to the functions for which we can find power series representations. Next, we show how to find power series representations for many more functions by introducing Taylor series.

You are watching: Differentiating and Integrating Power Series. Info created by THVinhTuy selection and synthesis along with other related topics.

Rate this post