### Learning Objectives

- 6.2.1 Combine power series by addition or subtraction.
- 6.2.2 Create a new power series by multiplication by a power of the variable or a constant, or by substitution.
- 6.2.3 Multiply two power series together.
- 6.2.4 Differentiate and integrate power series term-by-term.

In the preceding section on power series and functions we showed how to represent certain functions using power series. In this section we discuss how power series can be combined, differentiated, or integrated to create new power series. This capability is particularly useful for a couple of reasons. First, it allows us to find power series representations for certain elementary functions, by writing those functions in terms of functions with known power series. For example, given the power series representation for $f\left(x\right)=\frac{1}{1-x},$ we can find a power series representation for ${f}^{\prime}\left(x\right)=\frac{1}{{\left(1-x\right)}^{2}}.$ Second, being able to create power series allows us to define new functions that cannot be written in terms of elementary functions. This capability is particularly useful for solving differential equations for which there is no solution in terms of elementary functions.

### Combining Power Series

If we have two power series with the same interval of convergence, we can add or subtract the two series to create a new power series, also with the same interval of convergence. Similarly, we can multiply a power series by a power of *x* or evaluate a power series at ${x}^{m}$ for a positive integer *m* to create a new power series. Being able to do this allows us to find power series representations for certain functions by using power series representations of other functions. For example, since we know the power series representation for $f\left(x\right)=\frac{1}{1-x},$ we can find power series representations for related functions, such as

In Combining Power Series we state results regarding addition or subtraction of power series, composition of a power series, and multiplication of a power series by a power of the variable. For simplicity, we state the theorem for power series centered at $x=0.$ Similar results hold for power series centered at $x=a.$

### Theorem 6.2

#### Combining Power Series

Suppose that the two power series $\sum _{n=0}^{\infty}{c}_{n}{x}^{n}$ and $\sum _{n=0}^{\infty}{d}_{n}{x}^{n}$ converge to the functions *f* and *g*, respectively, on a common interval *I*.

- The power series $\sum _{n=0}^{\infty}\left({c}_{n}{x}^{n}\pm {d}_{n}{x}^{n}\right)$ converges to $f\pm g$ on
*I*. - For any integer $m\ge 0$ and any real number
*b*, the power series $\sum _{n=0}^{\infty}b{x}^{m}{c}_{n}{x}^{n}$ converges to $b{x}^{m}f\left(x\right)$ on*I*. - For any integer $m\ge 0$ and any real number
*b*, the series $\sum _{n=0}^{\infty}{c}_{n}{\left(b{x}^{m}\right)}^{n}$ converges to $f\left(b{x}^{m}\right)$ for all*x*such that $b{x}^{m}$ is in*I*.

#### Proof

We prove i. in the case of the series $\sum _{n=0}^{\infty}\left({c}_{n}{x}^{n}+{d}_{n}{x}^{n}\right)}.$ Suppose that $\sum _{n=0}^{\infty}{c}_{n}{x}^{n}$ and $\sum _{n=0}^{\infty}{d}_{n}{x}^{n}$ converge to the functions *f* and *g*, respectively, on the interval *I*. Let *x* be a point in *I* and let ${S}_{N}\left(x\right)$ and ${T}_{N}\left(x\right)$ denote the *N*th partial sums of the series $\sum _{n=0}^{\infty}{c}_{n}{x}^{n}$ and $\sum _{n=0}^{\infty}{d}_{n}{x}^{n}},$ respectively. Then the sequence $\left\{{S}_{N}\left(x\right)\right\}$ converges to $f\left(x\right)$ and the sequence $\left\{{T}_{N}\left(x\right)\right\}$ converges to $g\left(x\right).$ Furthermore, the *N*th partial sum of $\sum _{n=0}^{\infty}\left({c}_{n}{x}^{n}+{d}_{n}{x}^{n}\right)$ is

Because

we conclude that the series $\sum _{n=0}^{\infty}\left({c}_{n}{x}^{n}+{d}_{n}{x}^{n}\right)$ converges to $f\left(x\right)+g\left(x\right).$

□

We examine products of power series in a later theorem. First, we show several applications of Combining Power Series and how to find the interval of convergence of a power series given the interval of convergence of a related power series.

### Example 6.4

#### Combining Power Series

Suppose that $\sum _{n=0}^{\infty}{a}_{n}{x}^{n}$ is a power series whose interval of convergence is $\left(\mathrm{-1},1\right),$ and suppose that $\sum _{n=0}^{\infty}{b}_{n}{x}^{n}$ is a power series whose interval of convergence is $\left(\mathrm{-2},2\right).$

- Find the interval of convergence of the series $\sum _{n=0}^{\infty}\left({a}_{n}{x}^{n}+{b}_{n}{x}^{n}\right)}.$
- Find the interval of convergence of the series $\sum _{n=0}^{\infty}{a}_{n}{3}^{n}{x}^{n}}.$

#### Solution

- Since the interval $\left(\mathrm{-1},1\right)$ is a common interval of convergence of the series $\sum _{n=0}^{\infty}{a}_{n}{x}^{n}$ and $\sum _{n=0}^{\infty}{b}_{n}{x}^{n}},$ the interval of convergence of the series $\sum _{n=0}^{\infty}\left({a}_{n}{x}^{n}+{b}_{n}{x}^{n}\right)$ is $\left(\mathrm{-1},1\right).$
- Since $\sum _{n=0}^{\infty}{a}_{n}{x}^{n}$ is a power series centered at zero with radius of convergence 1, it converges for all
*x*in the interval $\left(\mathrm{-1},1\right).$ By Combining Power Series, the series

$$\sum _{n=0}^{\infty}{a}_{n}{3}^{n}{x}^{n}}={\displaystyle \sum _{n=0}^{\infty}{a}_{n}{\left(3x\right)}^{n}$$

converges if 3*x*is in the interval $\left(\mathrm{-1},1\right).$ Therefore, the series converges for all*x*in the interval $\left(-\frac{1}{3},\frac{1}{3}\right).$

### Checkpoint 6.4

Suppose that $\sum _{n=0}^{\infty}{a}_{n}{x}^{n}$ has an interval of convergence of $\left(\mathrm{-1},1\right).$ Find the interval of convergence of $\sum _{n=0}^{\infty}{a}_{n}{\left(\frac{x}{2}\right)}^{n}}.$

In the next example, we show how to use Combining Power Series and the power series for a function *f* to construct power series for functions related to *f*. Specifically, we consider functions related to the function $f\left(x\right)=\frac{1}{1-x}$ and we use the fact that

for $\left|x\right|<1.$

### Example 6.5

#### Constructing Power Series from Known Power Series

Use the power series representation for $f\left(x\right)=\frac{1}{1-x}$ combined with Combining Power Series to construct a power series for each of the following functions. Find the interval of convergence of the power series.

- $f\left(x\right)=\frac{3x}{1+{x}^{2}}$
- $f\left(x\right)=\frac{1}{\left(x-1\right)\left(x-3\right)}$

#### Solution

- First write $f\left(x\right)$ as

$$f\left(x\right)=3x\left(\frac{1}{1-\left(\text{\u2212}{x}^{2}\right)}\right).$$

Using the power series representation for $f\left(x\right)=\frac{1}{1-x}$ and parts ii. and iii. of Combining Power Series, we find that a power series representation for*f*is given by

$$\sum _{n=0}^{\infty}3x{\left(\text{\u2212}{x}^{2}\right)}^{n}}={\displaystyle \sum _{n=0}^{\infty}3{\left(\mathrm{-1}\right)}^{n}{x}^{2n+1}}.$$

Since the interval of convergence of the series for $\frac{1}{1-x}$ is $\left(\mathrm{-1},1\right),$ the interval of convergence for this new series is the set of real numbers*x*such that $\left|{x}^{2}\right|<1.$ Therefore, the interval of convergence is $\left(\mathrm{-1},1\right).$ - To find the power series representation, use partial fractions to write $f\left(x\right)=\frac{1}{\left(x-1\right)\left(x-3\right)}$ as the sum of two fractions. We have

$$\begin{array}{cc}\hfill \frac{1}{\left(x-1\right)\left(x-3\right)}& =\frac{\text{\u2212}1\text{/}2}{x-1}+\frac{1\text{/}2}{x-3}\hfill \\ & =\frac{1\text{/}2}{1-x}-\frac{1\text{/}2}{3-x}\hfill \\ & =\frac{1\text{/}2}{1-x}-\frac{1\text{/}6}{1-\frac{x}{3}}.\hfill \end{array}$$

First, using part ii. of Combining Power Series, we obtain

$$\frac{1\text{/}2}{1-x}={\displaystyle \sum _{n=0}^{\infty}\frac{1}{2}{x}^{n}}\phantom{\rule{0.2em}{0ex}}\text{for}\phantom{\rule{0.2em}{0ex}}\left|x\right|<1.$$

Then, using parts ii. and iii. of Combining Power Series, we have

$$\frac{1\text{/}6}{1-x\text{/}3}={\displaystyle \sum _{n=0}^{\infty}\frac{1}{6}{\left(\frac{x}{3}\right)}^{n}}\phantom{\rule{0.2em}{0ex}}\text{for}\phantom{\rule{0.2em}{0ex}}\left|x\right|<3.$$

Since we are combining these two power series, the interval of convergence of the difference must be the smaller of these two intervals. Using this fact and part i. of Combining Power Series, we have

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

where the interval of convergence is $\left(\mathrm{-1},1\right).$

### Checkpoint 6.5

Use the series for $f\left(x\right)=\frac{1}{1-x}$ on $\left|x\right|<1$ to construct a series for $\frac{1}{\left(1-x\right)\left(x-2\right)}.$ Determine the interval of convergence.

In Example 6.5, we showed how to find power series for certain functions. In Example 6.6 we show how to do the opposite: given a power series, determine which function it represents.

### Example 6.6

#### Finding the Function Represented by a Given Power Series

Consider the power series $\sum _{n=0}^{\infty}{2}^{n}{x}^{n}}.$ Find the function *f* represented by this series. Determine the interval of convergence of the series.

#### Solution

Writing the given series as

we can recognize this series as the power series for

Since this is a geometric series, the series converges if and only if $\left|2x\right|<1.$ Therefore, the interval of convergence is $\left(-\frac{1}{2},\frac{1}{2}\right).$

### Checkpoint 6.6

Find the function represented by the power series $\sum _{n=0}^{\infty}\frac{1}{{3}^{n}}{x}^{n}}.$ Determine its interval of convergence.

Recall the questions posed in the chapter opener about which is the better way of receiving payouts from lottery winnings. We now revisit those questions and show how to use series to compare values of payments over time with a lump sum payment today. We will compute how much future payments are worth in terms of today’s dollars, assuming we have the ability to invest winnings and earn interest. The value of future payments in terms of today’s dollars is known as the *present value* of those payments.

### Example 6.7

#### Chapter Opener: Present Value of Future Winnings

Suppose you win the lottery and are given the following three options: (1) Receive 20 million dollars today; (2) receive 1.5 million dollars per year over the next 20 years; or (3) receive 1 million dollars per year indefinitely (being passed on to your heirs). Which is the best deal, assuming that the annual interest rate is 5%? We answer this by working through the following sequence of questions.

- How much is the 1.5 million dollars received annually over the course of 20 years worth in terms of today’s dollars, assuming an annual interest rate of 5%?
- Use the answer to part a. to find a general formula for the present value of payments of
*C*dollars received each year over the next*n*years, assuming an average annual interest rate*r*. - Find a formula for the present value if annual payments of
*C*dollars continue indefinitely, assuming an average annual interest rate*r*. - Use the answer to part c. to determine the present value of 1 million dollars paid annually indefinitely.
- Use your answers to parts a. and d. to determine which of the three options is best.

#### Solution

- Consider the payment of 1.5 million dollars made at the end of the first year. If you were able to receive that payment today instead of one year from now, you could invest that money and earn 5% interest. Therefore, the present value of that money
*P*_{1}satisfies ${P}_{1}\left(1+0.05\right)=1.5\phantom{\rule{0.2em}{0ex}}\text{million dollars}.$ We conclude that

$${P}_{1}=\frac{1.5}{1.05}=\text{\$}1.429\phantom{\rule{0.2em}{0ex}}\text{million dollars}\text{.}$$

Similarly, consider the payment of 1.5 million dollars made at the end of the second year. If you were able to receive that payment today, you could invest that money for two years, earning 5% interest, compounded annually. Therefore, the present value of that money*P*_{2}satisfies ${P}_{2}{\left(1+0.05\right)}^{2}=1.5\phantom{\rule{0.2em}{0ex}}\text{million dollars}.$ We conclude that

$${P}_{2}=\frac{1.5}{{\left(1.05\right)}^{2}}=\text{\$}1.361\phantom{\rule{0.2em}{0ex}}\text{million dollars}\text{.}$$

The value of the future payments today is the sum of the present values ${P}_{1},{P}_{2},\text{\u2026},{P}_{20}$ of each of those annual payments. The present value*P*satisfies_{k}

$${P}_{k}=\frac{1.5}{{\left(1.05\right)}^{k}}.$$

Therefore,

$$\begin{array}{cc}\hfill P& =\frac{1.5}{1.05}+\frac{1.5}{{\left(1.05\right)}^{2}}+\text{\cdots}+\frac{1.5}{{\left(1.05\right)}^{20}}\hfill \\ & =\text{\$}18.693\phantom{\rule{0.2em}{0ex}}\text{million dollars}\text{.}\hfill \end{array}$$ - Using the result from part a. we see that the present value
*P*of*C*dollars paid annually over the course of*n*years, assuming an annual interest rate*r*, is given by

$$P=\frac{C}{1+r}+\frac{C}{{\left(1+r\right)}^{2}}+\text{\cdots}+\frac{C}{{\left(1+r\right)}^{n}}\phantom{\rule{0.2em}{0ex}}\text{dollars}\text{.}$$ - Using the result from part b. we see that the present value of an annuity that continues indefinitely is given by the infinite series

$$P={\displaystyle \sum _{n=0}^{\infty}\frac{C}{{\left(1+r\right)}^{n+1}}}.$$

We can view the present value as a power series in*r*, which converges as long as $\left|\frac{1}{1+r}\right|<1.$ Since $r>0,$ this series converges. Rewriting the series as

$$P=\frac{C}{\left(1+r\right)}{\displaystyle \sum _{n=0}^{\infty}{\left(\frac{1}{1+r}\right)}^{n}},$$

we recognize this series as the power series for

$$f\left(r\right)=\frac{1}{1-\left(\frac{1}{1+r}\right)}=\frac{1}{\left(\frac{r}{1+r}\right)}=\frac{1+r}{r}.$$

We conclude that the present value of this annuity is

$$P=\frac{C}{1+r}\xb7\frac{1+r}{r}=\frac{C}{r}.$$ - From the result to part c. we conclude that the present value
*P*of $C=1\phantom{\rule{0.2em}{0ex}}\text{million dollars}$ paid out every year indefinitely, assuming an annual interest rate $r=0.05,$ is given by

$$P=\frac{1}{0.05}=20\phantom{\rule{0.2em}{0ex}}\text{million dollars}\text{.}$$ - From part a. we see that receiving $1.5 million dollars over the course of 20 years is worth $18.693 million dollars in today’s dollars. From part d. we see that receiving $1 million dollars per year indefinitely is worth $20 million dollars in today’s dollars. Therefore, either receiving a lump-sum payment of $20 million dollars today or receiving $1 million dollars indefinitely have the same present value.

### Multiplication of Power Series

We can also create new power series by multiplying power series. Being able to multiply two power series provides another way of finding power series representations for functions.

The way we multiply them is similar to how we multiply polynomials. For example, suppose we want to multiply

and

It appears that the product should satisfy

In Multiplying Power Series, we state the main result regarding multiplying power series, showing that if $\sum _{n=0}^{\infty}{c}_{n}{x}^{n}$ and $\sum _{n=0}^{\infty}{d}_{n}{x}^{n}$ converge on a common interval *I*, then we can multiply the series in this way, and the resulting series also converges on the interval *I*.

### Theorem 6.3

#### Multiplying Power Series

Suppose that the power series $\sum _{n=0}^{\infty}{c}_{n}{x}^{n}$ and $\sum _{n=0}^{\infty}{d}_{n}{x}^{n}$ converge to *f* and *g*, respectively, on a common interval *I*. Let

Then

and

The series $\sum _{n=0}^{\infty}{e}_{n}}{x}^{n$ is known as the Cauchy product of the series $\sum _{n=0}^{\infty}{c}_{n}{x}^{n}$ and $\sum _{n=0}^{\infty}{d}_{n}{x}^{n}}.$

We omit the proof of this theorem, as it is beyond the level of this text and is typically covered in a more advanced course. We now provide an example of this theorem by finding the power series representation for

using the power series representations for

### Example 6.8

#### Multiplying Power Series

Multiply the power series representation

for $\left|x\right|<1$ with the power series representation

for $\left|x\right|<1$ to construct a power series for $f\left(x\right)=\frac{1}{\left(1-x\right)\left(1-{x}^{2}\right)}$ on the interval $\left(\mathrm{-1},1\right).$

#### Solution

We need to multiply

Writing out the first several terms, we see that the product is given by

Since the series for $y=\frac{1}{1-x}$ and $y=\frac{1}{1-{x}^{2}}$ both converge on the interval $\left(\mathrm{-1},1\right),$ the series for the product also converges on the interval $\left(\mathrm{-1},1\right).$

### Checkpoint 6.7

Multiply the series $\frac{1}{1-x}={\displaystyle \sum _{n=0}^{\infty}{x}^{n}}$ by itself to construct a series for $\frac{1}{\left(1-x\right)\left(1-x\right)}.$

### Differentiating and Integrating Power Series

Consider a power series $\sum _{n=0}^{\infty}{c}_{n}{x}^{n}}={c}_{0}+{c}_{1}x+{c}_{2}{x}^{2}+\text{\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 $\int f\left(x\right)\phantom{\rule{0.1em}{0ex}}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. Here we show that we can do the same thing for convergent power series. That is, if

converges on some interval *I*, then

and

converges on *I*

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}\phantom{\rule{0.1em}{0ex}}\left(1+x\right),$ an antiderivative of *g*. We show how to do this in Example 6.9 and Example 6.10. 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 6.4

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

Suppose that the power series $\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 $\left|x-a\right|<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 $\left|x-a\right|<R.$ Also, to find $\int f\left(x\right)\phantom{\rule{0.1em}{0ex}}dx},$ we can integrate the series term-by-term. The resulting series converges on $\left(a-R,a+R\right),$ and we have

for $\left|x-a\right|<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 6.9

#### Differentiating Power Series

- Use the power series representation

$$\begin{array}{cc}\hfill f\left(x\right)& =\frac{1}{1-x}\hfill \\ & ={\displaystyle \sum _{n=0}^{\infty}{x}^{n}}\hfill \\ & =1+x+{x}^{2}+{x}^{3}+\text{\cdots}\hfill \end{array}$$

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

$$g\left(x\right)=\frac{1}{{\left(1-x\right)}^{2}}$$

on the interval $\left(\mathrm{-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 $\sum _{n=0}^{\infty}\frac{n+1}{{4}^{n}}}.$

#### Solution

- 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

$$\begin{array}{cc}\hfill g\left(x\right)& =\frac{1}{{\left(1-x\right)}^{2}}\hfill \\ & =\frac{d}{dx}\left(\frac{1}{1-x}\right)\hfill \\ & ={\displaystyle \sum _{n=0}^{\infty}\frac{d}{dx}\left({x}^{n}\right)}\hfill \\ & =\frac{d}{dx}\left(1+x+{x}^{2}+{x}^{3}+\text{\cdots}\right)\hfill \\ & =0+1+2x+3{x}^{2}+4{x}^{3}+\text{\cdots}\hfill \\ & ={\displaystyle \sum _{n=0}^{\infty}\left(n+1\right){x}^{n}}\hfill \end{array}$$

for $\left|x\right|<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=\text{\xb1}1.$ Note that this is the same result found in Example 6.8. - From part a. we know that

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

Therefore,

$$\begin{array}{cc}\hfill {\displaystyle \sum _{n=0}^{\infty}\frac{n+1}{{4}^{n}}}& ={\displaystyle \sum _{n=0}^{\infty}\left(n+1\right){\left(\frac{1}{4}\right)}^{n}}\hfill \\ & =\frac{1}{{\left(1-\frac{1}{4}\right)}^{2}}\hfill \\ & =\frac{1}{{\left(\frac{3}{4}\right)}^{2}}\hfill \\ & =\frac{16}{9}.\hfill \end{array}$$

### Checkpoint 6.8

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(\mathrm{-1},1\right).$

### Example 6.10

#### 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.

- $f\left(x\right)=\text{ln}\phantom{\rule{0.1em}{0ex}}\left(1+x\right)$
- $f\left(x\right)={\text{tan}}^{\mathrm{-1}}x$

#### Solution

- For $f\left(x\right)=\text{ln}\phantom{\rule{0.1em}{0ex}}\left(1+x\right),$ the derivative is ${f}^{\prime}\left(x\right)=\frac{1}{1+x}.$ We know that

$$\begin{array}{cc}\hfill \frac{1}{1+x}& =\frac{1}{1-\left(\text{\u2212}x\right)}\hfill \\ & ={\displaystyle \sum _{n=0}^{\infty}{\left(\text{\u2212}x\right)}^{n}}\hfill \\ & =1-x+{x}^{2}-{x}^{3}+\text{\cdots}\hfill \end{array}$$

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

$$\begin{array}{cc}\hfill {\displaystyle \int {f}^{\prime}\left(x\right)\phantom{\rule{0.1em}{0ex}}dx}& ={\displaystyle \int \left(1-x+{x}^{2}-{x}^{3}+\text{\cdots}\right)\phantom{\rule{0.1em}{0ex}}dx}\hfill \\ & =C+x-\frac{{x}^{2}}{2}+\frac{{x}^{3}}{3}-\frac{{x}^{4}}{4}+\text{\cdots}\hfill \end{array}$$

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

$$\begin{array}{cc}\hfill \text{ln}\phantom{\rule{0.1em}{0ex}}\left(1+x\right)& =x-\frac{{x}^{2}}{2}+\frac{{x}^{3}}{3}-\frac{{x}^{4}}{4}+\text{\cdots}\hfill \\ & ={\displaystyle \sum _{n=1}^{\infty}{\left(\mathrm{-1}\right)}^{n+1}\frac{{x}^{n}}{n}}\hfill \end{array}$$

for $\left|x\right|<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=\mathrm{-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}\phantom{\rule{0.1em}{0ex}}\left(2\right).$ In fact, the series does converge to $\text{ln}\phantom{\rule{0.1em}{0ex}}\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(\mathrm{-1},1\right].$ - The derivative of $f\left(x\right)={\text{tan}}^{\mathrm{-1}}x$ is ${f}^{\prime}\left(x\right)=\frac{1}{1+{x}^{2}}.$ We know that

$$\begin{array}{cc}\hfill \frac{1}{1+{x}^{2}}& =\frac{1}{1-\left(\text{\u2212}{x}^{2}\right)}\hfill \\ & ={\displaystyle \sum _{n=0}^{\infty}{\left(\text{\u2212}{x}^{2}\right)}^{n}}\hfill \\ & =1-{x}^{2}+{x}^{4}-{x}^{6}+\text{\cdots}\hfill \end{array}$$

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

$$\begin{array}{cc}\hfill {\displaystyle \int {f}^{\prime}\left(x\right)\phantom{\rule{0.1em}{0ex}}dx}& ={\displaystyle \int \left(1-{x}^{2}+{x}^{4}-{x}^{6}+\text{\cdots}\right)\phantom{\rule{0.1em}{0ex}}dx}\hfill \\ & =C+x-\frac{{x}^{3}}{3}+\frac{{x}^{5}}{5}-\frac{{x}^{7}}{7}+\text{\cdots}\hfill \end{array}$$

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

$$\begin{array}{cc}\hfill {\text{tan}}^{\mathrm{-1}}x& =x-\frac{{x}^{3}}{3}+\frac{{x}^{5}}{5}-\frac{{x}^{7}}{7}+\text{\cdots}\hfill \\ & ={\displaystyle \sum _{n=0}^{\infty}{\left(\mathrm{-1}\right)}^{n}\frac{{x}^{2n+1}}{2n+1}}\hfill \end{array}$$

for $\left|x\right|<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=\mathrm{-1}.$ As discussed in part a., using Abel’s theorem, it can be shown that the series actually converges to ${\text{tan}}^{\mathrm{-1}}\left(1\right)$ and ${\text{tan}}^{\mathrm{-1}}\left(\mathrm{-1}\right)$ at $x=1$ and $x=\mathrm{-1},$ respectively. Thus, the interval of convergence is $\left[\mathrm{-1},1\right].$

### Checkpoint 6.9

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

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 *c _{n}* should equal

*d*for $n\ge 0.$ We now state this result formally in Uniqueness of Power Series.

_{n}### Theorem 6.5

#### Uniqueness of Power Series

Let $\sum _{n=0}^{\infty}{c}_{n}{\left(x-a\right)}^{n}$ and $\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\text{\u2033}\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.$

□

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.

### Section 6.2 Exercises

If $f\left(x\right)={\displaystyle \sum _{n=0}^{\infty}\frac{{x}^{n}}{n\text{!}}}$ and $g\left(x\right)={\displaystyle \sum _{n=0}^{\infty}{\left(\mathrm{-1}\right)}^{n}\frac{{x}^{n}}{n\text{!}}},$ find the power series of $\frac{1}{2}\left(f\left(x\right)+g\left(x\right)\right)$ and of $\frac{1}{2}\left(f\left(x\right)-g\left(x\right)\right).$

If $C\left(x\right)={\displaystyle \sum _{n=0}^{\infty}\frac{{x}^{2n}}{\left(2n\right)\text{!}}}$ and $S\left(x\right)={\displaystyle \sum _{n=0}^{\infty}\frac{{x}^{2n+1}}{\left(2n+1\right)\text{!}}},$ find the power series of $C\left(x\right)+S\left(x\right)$ and of $C\left(x\right)-S\left(x\right).$

In the following exercises, use partial fractions to find the power series of each function.

$\frac{3}{\left(x+2\right)\left(x-1\right)}$

$\frac{30}{\left({x}^{2}+1\right)\left({x}^{2}-9\right)}$

In the following exercises, express each series as a rational function.

$\sum _{n=1}^{\infty}\frac{1}{{x}^{2n}}$

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

The following exercises explore applications of annuities.

Calculate the present values *P* of an annuity in which $10,000 is to be paid out annually for a period of 20 years, assuming interest rates of $r=0.03,r=0.05,$ and $r=0.07.$

Calculate the present values *P* of annuities in which $9,000 is to be paid out annually perpetually, assuming interest rates of $r=0.03,r=0.05$ and $r=0.07.$

Calculate the annual payouts *C* to be given for 20 years on annuities having present value $100,000 assuming respective interest rates of $r=0.03,r=0.05,$ and $r=0.07.$

Calculate the annual payouts *C* to be given perpetually on annuities having present value $100,000 assuming respective interest rates of $r=0.03,r=0.05,$ and $r=0.07.$

Suppose that an annuity has a present value $P=1\phantom{\rule{0.2em}{0ex}}\text{million dollars}.$ What interest rate *r* would allow for perpetual annual payouts of $50,000?

Suppose that an annuity has a present value $P=10\phantom{\rule{0.2em}{0ex}}\text{million dollars}\text{.}$ What interest rate *r* would allow for perpetual annual payouts of $100,000?

In the following exercises, express the sum of each power series in terms of geometric series, and then express the sum as a rational function.

$x+{x}^{2}-{x}^{3}+{x}^{4}+{x}^{5}-{x}^{6}+\text{\cdots}$ (*Hint:* Group powers *x*^{3k}, ${x}^{3k-1},$ and ${x}^{3k-2}.)$

$x+{x}^{2}-{x}^{3}-{x}^{4}+{x}^{5}+{x}^{6}-{x}^{7}-{x}^{8}+\text{\cdots}$ (*Hint:* Group powers *x*^{4k}, ${x}^{4k-1},$ etc.)

$x-{x}^{2}-{x}^{3}+{x}^{4}-{x}^{5}-{x}^{6}+{x}^{7}-\text{\cdots}$ (*Hint:* Group powers *x*^{3k}, ${x}^{3k-1},$ and ${x}^{3k-2}.)$

$\frac{x}{2}+\frac{{x}^{2}}{4}-\frac{{x}^{3}}{8}+\frac{{x}^{4}}{16}+\frac{{x}^{5}}{32}-\frac{{x}^{6}}{64}+\text{\cdots}$ (*Hint:* Group powers ${\left(\frac{x}{2}\right)}^{3k},{\left(\frac{x}{2}\right)}^{3k-1},$ and ${\left(\frac{x}{2}\right)}^{3k-2}.)$

In the following exercises, find the power series of $f\left(x\right)g\left(x\right)$ given *f* and *g* as defined.

$f\left(x\right)=2{\displaystyle \sum _{n=0}^{\infty}{x}^{n}},g\left(x\right)={\displaystyle \sum _{n=0}^{\infty}n{x}^{n}}$

$f\left(x\right)={\displaystyle \sum _{n=1}^{\infty}{x}^{n}},g\left(x\right)={\displaystyle \sum _{n=1}^{\infty}\frac{1}{n}{x}^{n}}.$ Express the coefficients of $f\left(x\right)g\left(x\right)$ in terms of ${H}_{n}={\displaystyle \sum _{k=1}^{n}\frac{1}{k}}.$

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

$f\left(x\right)=g\left(x\right)={\displaystyle \sum _{n=1}^{\infty}n{x}^{n}}$

In the following exercises, differentiate the given series expansion of *f* term-by-term to obtain the corresponding series expansion for the derivative of *f*.

$f\left(x\right)=\frac{1}{1+x}={\displaystyle \sum _{n=0}^{\infty}{\left(\mathrm{-1}\right)}^{n}{x}^{n}}$

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

In the following exercises, integrate the given series expansion of $f$ term-by-term from zero to *x* to obtain the corresponding series expansion for the indefinite integral of $f.$

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

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

In the following exercises, evaluate each infinite series by identifying it as the value of a derivative or integral of geometric series.

Evaluate $\sum _{n=1}^{\infty}\frac{n}{{2}^{n}}$ as ${f}^{\prime}\left(\frac{1}{2}\right)$ where $f\left(x\right)={\displaystyle \sum _{n=0}^{\infty}{x}^{n}}.$

Evaluate $\sum _{n=1}^{\infty}\frac{n}{{3}^{n}}$ as ${f}^{\prime}\left(\frac{1}{3}\right)$ where $f\left(x\right)={\displaystyle \sum _{n=0}^{\infty}{x}^{n}}.$

Evaluate $\sum _{n=2}^{\infty}\frac{n\left(n-1\right)}{{2}^{n}}$ as $f\text{\u2033}\left(\frac{1}{2}\right)$ where $f\left(x\right)={\displaystyle \sum _{n=0}^{\infty}{x}^{n}}.$

Evaluate $\sum _{n=0}^{\infty}\frac{{\left(\mathrm{-1}\right)}^{n}}{2n+1}$ as ${\int}_{0}^{1}f\left(t\right)\phantom{\rule{0.1em}{0ex}}dt$ where $f\left(x\right)={\displaystyle \sum _{n=0}^{\infty}{\left(\mathrm{-1}\right)}^{n}{x}^{2n}}=\frac{1}{1+{x}^{2}}.$

In the following exercises, given that $\frac{1}{1-x}={\displaystyle \sum _{n=0}^{\infty}{x}^{n}},$ use term-by-term differentiation or integration to find power series for each function centered at the given point.

$f\left(x\right)=\text{ln}\phantom{\rule{0.1em}{0ex}}x$ centered at $x=1$ (*Hint:* $x=1-\left(1-x\right))$

$\text{ln}\phantom{\rule{0.1em}{0ex}}\left(1-x\right)$ at $x=0$

$f\left(x\right)=\frac{2x}{{\left(1-{x}^{2}\right)}^{2}}$ at $x=0$

$f\left(x\right)=\text{ln}\phantom{\rule{0.1em}{0ex}}\left(1+{x}^{2}\right)$ at $x=0$

$f\left(x\right)={\displaystyle {\int}_{0}^{x}\text{ln}\phantom{\rule{0.1em}{0ex}}tdt}$ where $\text{ln}\phantom{\rule{0.1em}{0ex}}\left(x\right)={\displaystyle \sum _{n=1}^{\infty}{\left(\mathrm{-1}\right)}^{n-1}\frac{{\left(x-1\right)}^{n}}{n}}$

**[T]** Evaluate the power series expansion $\text{ln}\phantom{\rule{0.1em}{0ex}}\left(1+x\right)={\displaystyle \sum _{n=1}^{\infty}{\left(\mathrm{-1}\right)}^{n-1}\frac{{x}^{n}}{n}}$ at $x=1$ to show that $\text{ln}\phantom{\rule{0.1em}{0ex}}\left(2\right)$ is the sum of the alternating harmonic series. Use the alternating series test to determine how many terms of the sum are needed to estimate $\text{ln}\phantom{\rule{0.1em}{0ex}}\left(2\right)$ accurate to within 0.001, and find such an approximation.

**[T]** Subtract the infinite series of $\text{ln}\phantom{\rule{0.1em}{0ex}}\left(1-x\right)$ from $\text{ln}\phantom{\rule{0.1em}{0ex}}\left(1+x\right)$ to get a power series for $\text{ln}\phantom{\rule{0.1em}{0ex}}\left(\frac{1+x}{1-x}\right).$ Evaluate at $x=\frac{1}{3}.$ What is the smallest *N* such that the *N*th partial sum of this series approximates $\text{ln}\phantom{\rule{0.1em}{0ex}}\left(2\right)$ with an error less than 0.001?

In the following exercises, using a substitution if indicated, express each series in terms of elementary functions and find the radius of convergence of the sum.

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

$\sum _{k=1}^{\infty}{\left(1+{x}^{2}\right)}^{\text{\u2212}k}$ using $y=\frac{1}{1+{x}^{2}}$

Show that, up to powers *x*^{3} and *y*^{3}, $E\left(x\right)={\displaystyle \sum _{n=0}^{\infty}\frac{{x}^{n}}{n\text{!}}}$ satisfies $E\left(x+y\right)=E\left(x\right)E\left(y\right).$

Differentiate the series $E\left(x\right)={\displaystyle \sum _{n=0}^{\infty}\frac{{x}^{n}}{n\text{!}}}$ term-by-term to show that $E(x)$ is equal to its derivative.

Show that if $f\left(x\right)={\displaystyle \sum _{n=0}^{\infty}{a}_{n}{x}^{n}}$ is a sum of even powers, that is, ${a}_{n}=0$ if *n* is odd, then $F={\displaystyle {\int}_{0}^{x}f\left(t\right)\phantom{\rule{0.1em}{0ex}}dt}$ is a sum of odd powers, while if *f* is a sum of odd powers, then *F* is a sum of even powers.

**[T]** Suppose that the coefficients *a _{n}* of the series $\sum _{n=0}^{\infty}{a}_{n}{x}^{n}$ are defined by the recurrence relation ${a}_{n}=\frac{{a}_{n-1}}{n}+\frac{{a}_{n-2}}{n\left(n-1\right)}.$ For ${a}_{0}=0$ and ${a}_{1}=1,$ compute and plot the sums ${S}_{N}={\displaystyle \sum _{n=0}^{N}{a}_{n}{x}^{n}}$ for $N=2,3,4,5$ on $\left[\mathrm{-1},1\right].$

**[T]** Suppose that the coefficients *a _{n}* of the series $\sum _{n=0}^{\infty}{a}_{n}{x}^{n}$ are defined by the recurrence relation ${a}_{n}=\frac{{a}_{n-1}}{\sqrt{n}}-\frac{{a}_{n-2}}{\sqrt{n\left(n-1\right)}}.$ For ${a}_{0}=1$ and ${a}_{1}=0,$ compute and plot the sums ${S}_{N}={\displaystyle \sum _{n=0}^{N}{a}_{n}{x}^{n}}$ for $N=2,3,4,5$ on $\left[\mathrm{-1},1\right].$

**[T]** Given the power series expansion $\text{ln}\phantom{\rule{0.1em}{0ex}}\left(1+x\right)={\displaystyle \sum _{n=1}^{\infty}{\left(\mathrm{-1}\right)}^{n-1}\frac{{x}^{n}}{n}},$ determine how many terms *N* of the sum evaluated at $x=\mathrm{-1}\text{/}2$ are needed to approximate $\text{ln}\phantom{\rule{0.1em}{0ex}}\left(2\right)$ accurate to within 1/1000. Evaluate the corresponding partial sum $\sum _{n=1}^{N}{\left(\mathrm{-1}\right)}^{n-1}\frac{{x}^{n}}{n}}.$

**[T]** Given the power series expansion ${\text{tan}}^{\mathrm{-1}}\left(x\right)={\displaystyle \sum _{k=0}^{\infty}{\left(\mathrm{-1}\right)}^{k}\frac{{x}^{2k+1}}{2k+1}},$ use the alternating series test to determine how many terms *N* of the sum evaluated at $x=1$ are needed to approximate ${\text{tan}}^{\mathrm{-1}}\left(1\right)=\frac{\pi}{4}$ accurate to within 1/1000. Evaluate the corresponding partial sum $\sum _{k=0}^{N}{\left(\mathrm{-1}\right)}^{k}\frac{{x}^{2k+1}}{2k+1}}.$

**[T]** Recall that ${\text{tan}}^{\mathrm{-1}}\left(\frac{1}{\sqrt{3}}\right)=\frac{\pi}{6}.$ Assuming an exact value of $\left(\frac{1}{\sqrt{3}}\right),$ estimate $\frac{\pi}{6}$ by evaluating partial sums ${S}_{N}\left(\frac{1}{\sqrt{3}}\right)$ of the power series expansion ${\text{tan}}^{\mathrm{-1}}\left(x\right)={\displaystyle \sum _{k=0}^{\infty}{\left(\mathrm{-1}\right)}^{k}\frac{{x}^{2k+1}}{2k+1}}$ at $x=\frac{1}{\sqrt{3}}.$ What is the smallest number *N* such that $6{S}_{N}\left(\frac{1}{\sqrt{3}}\right)$ approximates *π* accurately to within 0.001? How many terms are needed for accuracy to within 0.00001?