Power Series and Functions

A power series is a type of series with terms involving a variable. More specifically, if the variable is x, then all the terms of the series involve powers of x. As a result, a power series can be thought of as an infinite polynomial. Power series are used to represent common functions and also to define new functions. In this section we define power series and show how to determine when a power series converges and when it diverges. We also show how to represent certain functions using power series.

Form of a Power Series

A series of the form

n=0cnxn=c0+c1x+c2x2+,

where x is a variable and the coefficients cn are constants, is known as a power series. The series

1+x+x2+=n=0xn

is an example of a power series. Since this series is a geometric series with ratio r=\|x\|,

we know that it converges if \|x\|<1

and diverges if \|x\|1.

Definition

A series of the form

n=0cnxn=c0+c1x+c2x2+

is a power series centered at x=0.

A series of the form

n=0cn(xa)n=c0+c1(xa)+c2(xa)2+

is a power series centered at x=a.

To make this definition precise, we stipulate that x0=1

and (xa)0=1

even when x=0

and x=a,

respectively.

The series

n=0xnn!=1+x+x22!+x33!+

and

n=0n!xn=1+x+2!x2+3!x3+

are both power series centered at x=0.

The series

n=0(x2)n(n+1)3n=1+x22·3+(x2)23·32+(x2)34·33+

is a power series centered at x=2.

Convergence of a Power Series

Since the terms in a power series involve a variable x, the series may converge for certain values of x and diverge for other values of x. For a power series centered at x=a,

the value of the series at x=a

is given by c0.

Therefore, a power series always converges at its center. Some power series converge only at that value of x. Most power series, however, converge for more than one value of x. In that case, the power series either converges for all real numbers x or converges for all x in a finite interval. For example, the geometric series n=0xn

converges for all x in the interval (−1,1),

but diverges for all x outside that interval. We now summarize these three possibilities for a general power series.

Convergence of a Power Series

Consider the power series n=0cn(xa)n.

The series satisfies exactly one of the following properties:

  1. The series converges at x=a

    and diverges for all

    xa.
  2. The series converges for all real numbers x.
  3. There exists a real number R>0

    such that the series converges if

    \|xa\|<R

    and diverges if

    \|xa\|>R.

    At the values x where

    \|xa\|=R,

    the series may converge or diverge.

Proof

Suppose that the power series is centered at a=0.

(For a series centered at a value of a other than zero, the result follows by letting y=xa

and considering the series n=1cnyn.)

We must first prove the following fact:

If there exists a real number d0

such that n=0cndn

converges, then the series n=0cnxn

converges absolutely for all x such that \|x\|<\|d\|.

Since n=0cndn

converges, the nth term cndn0

as n.

Therefore, there exists an integer N such that \|cndn\|1

for all nN.

Writing

\|cnxn\|=\|cndn\|\|xd\|n,

we conclude that, for all nN,

\|cnxn\|\|xd\|n.

The series

n=N\|xd\|n

is a geometric series that converges if \|xd\|<1.

Therefore, by the comparison test, we conclude that n=Ncnxn

also converges for \|x\|<\|d\|.

Since we can add a finite number of terms to a convergent series, we conclude that n=0cnxn

converges for \|x\|<\|d\|.

With this result, we can now prove the theorem. Consider the series

n=0anxn

and let S be the set of real numbers for which the series converges. Suppose that the set S={0}.

Then the series falls under case i. Suppose that the set S is the set of all real numbers. Then the series falls under case ii. Suppose that S{0}

and S is not the set of real numbers. Then there exists a real number x*0

such that the series does not converge. Thus, the series cannot converge for any x such that \|x\|>\|x*\|.

Therefore, the set S must be a bounded set, which means that it must have a smallest upper bound. (This fact follows from the Least Upper Bound Property for the real numbers, which is beyond the scope of this text and is covered in real analysis courses.) Call that smallest upper bound R. Since S{0},

the number R>0.

Therefore, the series converges for all x such that \|x\|<R,

and the series falls into case iii.

If a series n=0cn(xa)n

falls into case iii. of [link], then the series converges for all x such that \|xa\|<R

for some R>0,

and diverges for all x such that \|xa\|>R.

The series may converge or diverge at the values x where \|xa\|=R.

The set of values x for which the series n=0cn(xa)n

converges is known as the interval of convergence. Since the series diverges for all values x where \|xa\|>R,

the length of the interval is 2R, and therefore, the radius of the interval is R. The value R is called the radius of convergence. For example, since the series n=0xn

converges for all values x in the interval (−1,1)

and diverges for all values x such that \|x\|1,

the interval of convergence of this series is (−1,1).

Since the length of the interval is 2, the radius of convergence is 1.

Definition

Consider the power series n=0cn(xa)n.

The set of real numbers x where the series converges is the interval of convergence. If there exists a real number R>0

such that the series converges for \|xa\|<R

and diverges for \|xa\|>R,

then R is the radius of convergence. If the series converges only at x=a,

we say the radius of convergence is R=0.

If the series converges for all real numbers x, we say the radius of convergence is R=

([link]).

This figure has three number lines, each labeled with x. In the middle of each number line is a point labeled a. The first number line has “diverges” over all of the line to the left of a and “diverges” over the line to the right of a. At the point a itself, it is labeled as “converges”. The second number line has “converges” labeled for the entire line. The third number line has points labeled at a-R, a, and a+R. To the left of a-R, the number line is labeled “diverges”. Between a-R and a+R the number line is labeled “converges” and to the right of a+R the number line is labeled “diverges”.

To determine the interval of convergence for a power series, we typically apply the ratio test. In [link], we show the three different possibilities illustrated in [link].

Finding the Interval and Radius of Convergence

For each of the following series, find the interval and radius of convergence.

  1. n=0xnn!
  2. n=0n!xn
  3. n=0(x2)n(n+1)3n
  1. To check for convergence, apply the ratio test. We have
    ρ=limn\|xn+1(n+1)!xnn!\|=limn\|xn+1(n+1)!·n!xn\|=limn\|xn+1(n+1)·n!·n!xn\|=limn\|xn+1\|=\|x\|limn1n+1=0<1

    for all values of x. Therefore, the series converges for all real numbers x. The interval of convergence is

    (,)

    and the radius of convergence is

    R=.
  2. Apply the ratio test. For x0,

    we see that


    ρ=limn\|(n+1)!xn+1n!xn\|=limn\|(n+1)x\|=\|x\|limn(n+1)=.

    Therefore, the series diverges for all

    x0.

    Since the series is centered at

    x=0,

    it must converge there, so the series converges only for

    x0.

    The interval of convergence is the single value

    x=0

    and the radius of convergence is

    R=0.
  3. In order to apply the ratio test, consider
    ρ=limn\|(x2)n+1(n+2)3n+1(x2)n(n+1)3n\|=limn\|(x2)n+1(n+2)3n+1·(n+1)3n(x2)n\|=limn\|(x2)(n+1)3(n+2)\|=\|x2\|3.

    The ratio

    ρ<1

    if

    \|x2\|<3.

    Since

    \|x2\|<3

    implies that

    −3<x2<3,

    the series converges absolutely if

    −1<x<5.

    The ratio

    ρ>1

    if

    \|x2\|>3.

    Therefore, the series diverges if

    x<−1

    or

    x>5.

    The ratio test is inconclusive if

    ρ=1.

    The ratio

    ρ=1

    if and only if

    x=−1

    or

    x=5.

    We need to test these values of x separately. For

    x=−1,

    the series is given by


    n=0(−1)nn+1=112+1314+.

    Since this is the alternating harmonic series, it converges. Thus, the series converges at

    x=−1.

    For

    x=5,

    the series is given by


    n=01n+1=1+12+13+14+.

    This is the harmonic series, which is divergent. Therefore, the power series diverges at

    x=5.

    We conclude that the interval of convergence is

    [−1,5)

    and the radius of convergence is

    R=3.

Find the interval and radius of convergence for the series n=1xnn.

The interval of convergence is [−1,1).

The radius of convergence is R=1.

Hint

Apply the ratio test to check for absolute convergence.

Representing Functions as Power Series

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+x2+x3+=n=0xn.

Recall that the geometric series

a+ar+ar2+ar3+

converges if and only if \|r\|<1.

In that case, it converges to a1r.

Therefore, if \|x\|<1,

the series in [link] converges to 11x

and we write

1+x+x2+x3+=11xfor\|x\|<1.

As a result, we are able to represent the function f(x)=11x

by the power series

1+x+x2+x3+when\|x\|<1.

We now show graphically how this series provides a representation for the function f(x)=11x

by comparing the graph of f with the graphs of several of the partial sums of this infinite series.

Graphing a Function and Partial Sums of its Power Series

Sketch a graph of f(x)=11x

and the graphs of the corresponding partial sums SN(x)=n=0Nxn

for N=2,4,6

on the interval (−1,1).

Comment on the approximation SN

as N increases.

From the graph in [link] you see that as N increases, SN

becomes a better approximation for f(x)=11x

for x in the interval (−1,1).

This figure is the graph of y = 1/(1-x), which is an increasing curve with vertical asymptote at 1. Also on this graph are three partial sums of the function, S sub 6, S sub 4, and S sub 2. These curves, in order, gradually become flatter.

Sketch a graph of f(x)=11x2

and the corresponding partial sums SN(x)=n=0Nx2n

for N=2,4,6

on the interval (−1,1).


This figure is the graph of y = 1/(1-x^2), which is a curve concave up, symmetrical about the y axis. Also on this graph are three partial sums of the function, S sub 6, S sub 4, and S sub 2. These curves, in order, gradually become flatter.

Hint
SN(x)=1+x2++x2N=1x2(N+1)1x2

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.

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(x)=11+x3
  2. f(x)=x24x2
  1. You should recognize this function f as the sum of a geometric series, because
    11+x3=11(x3).

    Using the fact that, for

    \|r\|<1,a1r

    is the sum of the geometric series


    n=0arn=a+ar+ar2+,

    we see that, for

    \|x3\|<1,
    11+x3=11(x3)=n=0(x3)n=1x3+x6x9+.

    Since this series converges if and only if

    \|x3\|<1,

    the interval of convergence is

    (−1,1),

    and we have


    11+x3=1x3+x6x9+for\|x\|<1.
  2. This function is not in the exact form of a sum of a geometric series. However, with a little algebraic manipulation, we can relate f to a geometric series. By factoring 4 out of the two terms in the denominator, we obtain
    x24x2=x24(1x24)=x24(1(x2)2).

    Therefore, we have


    x24x2=x24(1(x2)2)=x241(x2)2=n=0x24(x2)2n.

    The series converges as long as

    \|(x2)2\|<1

    (note that when

    \|(x2)2\|=1

    the series does not converge). Solving this inequality, we conclude that the interval of convergence is

    (−2,2)

    and


    x24x2=n=0x2n+24n+1=x24+x442+x643+

    for

    \|x\|<2.

Represent the function f(x)=x32x

using a power series and find the interval of convergence.

n=0xn+32n+1

with interval of convergence (−2,2)

Hint

Rewrite f in the form f(x)=g(x)1h(x)

for some functions g and h.

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.

Key Concepts

Key Equations


n=0cnxn=c0+c1x+c2x2+
n=0cn(xa)n=c0+c1(xa)+c2(xa)2+

In the following exercises, state whether each statement is true, or give an example to show that it is false.

If n=1anxn

converges, then anxn0

as n.

True. If a series converges then its terms tend to zero.

n=1anxn

converges at x=0

for any real numbers an.

Given any sequence an,

there is always some R>0,

possibly very small, such that n=1anxn

converges on (R,R).

False. It would imply that anxn0

for \|x\|<R.

If an=nn,

then anxn=(nx)n

does not tend to zero for any x0.

If n=1anxn

has radius of convergence R>0

and if \|bn\|\|an\|

for all n, then the radius of convergence of n=1bnxn

is greater than or equal to R.

Suppose that n=0an(x3)n

converges at x=6.

At which of the following points must the series also converge? Use the fact that if an(xc)n

converges at x, then it converges at any point closer to c than x.

  1. x=1
  2. x=2
  3. x=3
  4. x=0
  5. x=5.99
  6. x=0.000001

It must converge on (0,6]

and hence at: a. x=1;

b. x=2;

c. x=3;

d. x=0;

e. x=5.99;

and f. x=0.000001.

Suppose that n=0an(x+1)n

converges at x=−2.

At which of the following points must the series also converge? Use the fact that if an(xc)n

converges at x, then it converges at any point closer to c than x.

  1. x=2
  2. x=−1
  3. x=−3
  4. x=0
  5. x=0.99
  6. x=0.000001

In the following exercises, suppose that \|an+1an\|1

as n.

Find the radius of convergence for each series.

n=0an2nxn
\|an+12n+1xn+1an2nxn\|=2\|x\|\|an+1an\|2\|x\|

so R=12

n=0anxn2n
n=0anπnxnen
\|an+1(πe)n+1xn+1an(πe)nxn\|=π\|x\|e\|an+1an\|π\|x\|e

so R=eπ

n=0an(−1)nxn10n
n=0an(−1)nx2n
\|an+1(−1)n+1x2n+2an(−1)nx2n\|=\|x2\|\|an+1an\|\|x2\|

so R=1

n=0an(−4)nx2n

In the following exercises, find the radius of convergence R and interval of convergence for anxn

with the given coefficients an.

n=1(2x)nn
an=2nn

so an+1xan2x.

so R=12.

When x=12

the series is harmonic and diverges. When x=12

the series is alternating harmonic and converges. The interval of convergence is I=[12,12).

n=1(−1)nxnn
n=1nxn2n
an=n2n

so an+1xanx2

so R=2.

When x=±2

the series diverges by the divergence test. The interval of convergence is I=(−2,2).

n=1nxnen
n=1n2xn2n
an=n22n

so R=2.

When x=±2

the series diverges by the divergence test. The interval of convergence is I=(−2,2).

k=1kexkek
k=1πkxkkπ
ak=πkkπ

so R=1π.

When x=±1π

the series is an absolutely convergent p-series. The interval of convergence is I=[1π,1π].

n=1xnn!
n=110nxnn!
an=10nn!,an+1xan=10xn+10<1

so the series converges for all x by the ratio test and I=(,).

n=1(−1)nxnln(2n)

In the following exercises, find the radius of convergence of each series.

k=1(k!)2xk(2k)!
ak=(k!)2(2k)!

so ak+1ak=(k+1)2(2k+2)(2k+1)14

so R=4

n=1(2n)!xnn2n
k=1k!1·3·5(2k1)xk
ak=k!1·3·5(2k1)

so ak+1ak=k+12k+112

so R=2

k=12·4·62k(2k)!xk
n=1xn(2nn)

where (nk)=n!k!(nk)!

an=1(2nn)

so an+1an=((n+1)!)2(2n+2)!2n!(n!)2=(n+1)2(2n+2)(2n+1)14

so R=4

n=1sin2nxn

In the following exercises, use the ratio test to determine the radius of convergence of each series.

n=1(n!)3(3n)!xn
an+1an=(n+1)3(3n+3)(3n+2)(3n+1)127

so R=27

n=123n(n!)3(3n)!xn
n=1n!nnxn
an=n!nn

so an+1an=(n+1)!n!nn(n+1)n+1=(nn+1)n1e

so R=e

n=1(2n)!n2nxn

In the following exercises, given that 11x=n=0xn

with convergence in (−1,1),

find the power series for each function with the given center a, and identify its interval of convergence.

f(x)=1x;a=1

(Hint: 1x=11(1x))

f(x)=n=0(1x)n

on I=(0,2)

f(x)=11x2;a=0
f(x)=x1x2;a=0
n=0x2n+1

on I=(−1,1)

f(x)=11+x2;a=0
f(x)=x21+x2;a=0
n=0(−1)nx2n+2

on I=(−1,1)

f(x)=12x;a=1
f(x)=112x;a=0.
n=02nxn

on (12,12)

f(x)=114x2;a=0
f(x)=x214x2;a=0
n=04nx2n+2

on (12,12)

f(x)=x254x+x2;a=2

Use the next exercise to find the radius of convergence of the given series in the subsequent exercises.

Explain why, if \|an\|1/nr>0,

then \|anxn\|1/n\|x\|r<1

whenever \|x\|<1r

and, therefore, the radius of convergence of n=1anxn

is R=1r.

\|anxn\|1/n=\|an\|1/n\|x\|\|x\|r

as n

and \|x\|r<1

when \|x\|<1r.

Therefore, n=1anxn

converges when \|x\|<1r

by the nth root test.

n=1xnnn
k=1(k12k+3)kxk
ak=(k12k+3)k

so (ak)1/k12<1

so R=2

k=1(2k21k2+3)kxk
n=1an=(n1/n1)nxn
an=(n1/n1)n

so (an)1/n0

so R=

Suppose that p(x)=n=0anxn

such that an=0

if n is even. Explain why p(x)=p(x).

Suppose that p(x)=n=0anxn

such that an=0

if n is odd. Explain why p(x)=p(x).

We can rewrite p(x)=n=0a2n+1x2n+1

and p(x)=p(x)

since x2n+1=(x)2n+1.

Suppose that p(x)=n=0anxn

converges on (−1,1].

Find the interval of convergence of p(Ax).

Suppose that p(x)=n=0anxn

converges on (−1,1].

Find the interval of convergence of p(2x1).

If x[0,1],

then y=2x1[−1,1]

so p(2x1)=p(y)=n=0anyn

converges.

In the following exercises, suppose that p(x)=n=0anxn

satisfies limnan+1an=1

where an0

for each n. State whether each series converges on the full interval (−1,1),

or if there is not enough information to draw a conclusion. Use the comparison test when appropriate.

n=0anx2n
n=0a2nx2n

Converges on (−1,1)

by the ratio test

n=0a2nxn(Hint:x=±x2)
n=0an2xn2

(Hint: Let bk=ak

if k=n2

for some n, otherwise bk=0.)

Consider the series bkxk

where bk=ak

if k=n2

and bk=0

otherwise. Then bkak

and so the series converges on (−1,1)

by the comparison test.

Suppose that p(x)

is a polynomial of degree N. Find the radius and interval of convergence of n=1p(n)xn.

[T] Plot the graphs of 11x

and of the partial sums SN=n=0Nxn

for n=10,20,30

on the interval [−0.99,0.99].

Comment on the approximation of 11x

by SN

near x=−1

and near x=1

as N increases.


This figure is the graph of y = 1/(1-x), which is an increasing curve with vertical asymptote at 1.


The approximation is more accurate near x=−1.

The partial sums follow 11x

more closely as N increases but are never accurate near x=1

since the series diverges there.

[T] Plot the graphs of ln(1x)

and of the partial sums SN=n=1Nxnn

for n=10,50,100

on the interval [−0.99,0.99].

Comment on the behavior of the sums near x=−1

and near x=1

as N increases.

[T] Plot the graphs of the partial sums Sn=n=1Nxnn2

for n=10,50,100

on the interval [−0.99,0.99].

Comment on the behavior of the sums near x=−1

and near x=1

as N increases.


This figure is the graph of y = -ln(1-x) which is an increasing curve passing through the origin.


The approximation appears to stabilize quickly near both x=±1.

[T] Plot the graphs of the partial sums SN=n=1Nsinnxn

for n=10,50,100

on the interval [−0.99,0.99].

Comment on the behavior of the sums near x=−1

and near x=1

as N increases.

[T] Plot the graphs of the partial sums SN=n=0N(−1)nx2n+1(2n+1)!

for n=3,5,10

on the interval [−2π,2π].

Comment on how these plots approximate sinx

as N increases.


This figure is the graph of the partial sums of (-1)^n times x^(2n+1) divided by (2n+1)! For n=3,5,10. The curves approximate the sine curve close to the origin and then separate as the curves move away from the origin.


The polynomial curves have roots close to those of sinx

up to their degree and then the polynomials diverge from sinx.

[T] Plot the graphs of the partial sums SN=n=0N(−1)nx2n(2n)!

for n=3,5,10

on the interval [−2π,2π].

Comment on how these plots approximate cosx

as N increases.

Glossary

interval of convergence
the set of real numbers x for which a power series converges
power series
a series of the form n=0cnxn

is a power series centered at

x=0;

a series of the form

n=0cn(xa)n

is a power series centered at

x=a
radius of convergence
if there exists a real number R>0

such that a power series centered at

x=a

converges for

\|xa\|<R

and diverges for

\|xa\|>R,

then R is the radius of convergence; if the power series only converges at

x=a,

the radius of convergence is

R=0;

if the power series converges for all real numbers x, the radius of convergence is

R=

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

You can also download for free at http://cnx.org/contents/9a1df55a-b167-4736-b5ad-15d996704270@5.1

Attribution: