## Representing Functions as Power Series

### Learning Outcomes

• Use a power series to represent a function

Being able to represent a function by an “infinite polynomial” is a powerful tool. Polynomial functions are the easiest functions to analyze, since they only involve the basic arithmetic operations of addition, subtraction, multiplication, and division. If we can represent a complicated function by an infinite polynomial, we can use the polynomial representation to differentiate or integrate it. In addition, we can use a truncated version of the polynomial expression to approximate values of the function. So, the question is, when can we represent a function by a power series?

Consider again the geometric series

$1+x+{x}^{2}+{x}^{3}+\cdots =\displaystyle\sum _{n=0}^{\infty }{x}^{n}$.

Recall that the geometric series

$a+ar+a{r}^{2}+a{r}^{3}+\cdots$

converges if and only if $|r|<1$. In that case, it converges to $\frac{a}{1-r}$. Therefore, if $|x|<1$, the series in the example: Representing a Function with a Power Series converges to $\frac{1}{1-x}$ and we write

$1+x+{x}^{2}+{x}^{3}+\cdots =\frac{1}{1-x}\text{for}|x|<1$.

As a result, we are able to represent the function $f\left(x\right)=\frac{1}{1-x}$ by the power series

$1+x+{x}^{2}+{x}^{3}+\cdots \text{when}|x|<1$.

We now show graphically how this series provides a representation for the function $f\left(x\right)=\frac{1}{1-x}$ by comparing the graph of f with the graphs of several of the partial sums of this infinite series.

### Example: Graphing a Function and Partial Sums of its Power Series

Sketch a graph of $f\left(x\right)=\frac{1}{1-x}$ and the graphs of the corresponding partial sums ${S}_{N}\left(x\right)=\displaystyle\sum _{n=0}^{N}{x}^{n}$ for $N=2,4,6$ on the interval $\left(-1,1\right)$. Comment on the approximation ${S}_{N}$ as N increases.

### try it

Sketch a graph of $f\left(x\right)=\frac{1}{1-{x}^{2}}$ and the corresponding partial sums ${S}_{N}\left(x\right)=\displaystyle\sum _{n=0}^{N}{x}^{2n}$ for $N=2,4,6$ on the interval $\left(-1,1\right)$.

Next we consider functions involving an expression similar to the sum of a geometric series and show how to represent these functions using power series.

### Example: Representing a Function with a Power Series

Use a power series to represent each of the following functions $f$. Find the interval of convergence.

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

### try it

Represent the function $f\left(x\right)=\frac{{x}^{3}}{2-x}$ using a power series and find the interval of convergence.

Watch the following video to see the worked solution to the above Try It.

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.

In the remaining sections of this chapter, we will show ways of deriving power series representations for many other functions, and how we can make use of these representations to evaluate, differentiate, and integrate various functions.