9 Sequences and Series

9.8 Power Series

So far, our study of series has examined the question of “Is the sum of these infinite terms finite?,” i.e., “Does the series converge?” We now approach series from a different perspective: as a function. Given a value of x, we evaluate f(x) by finding the sum of a particular series that depends on x (assuming the series converges). We start this new approach to series with a definition.

Definition 9.8.1 Power Series

Let {an} be a sequence, let x be a variable, and let c be a real number.

  1. (a)

    The power series in x is the series

    n=0anxn=a0+a1x+a2x2+a3x3+
  2. (b)

    The power series in x centered at c is the series

    n=0an(x-c)n=a0+a1(x-c)+a2(x-c)2+a3(x-c)3+
Example 9.8.1 Examples of power series

Write out the first five terms of the following power series:

1. n=0xn    2. n=1(-1)n+1(x+1)nn    3. n=0(-1)n+1(x-π)2n(2n)!.

Solution

  1. (a)

    One of the conventions we adopt is that x0=1 regardless of the value of x. Therefore

    n=0xn=1+x+x2+x3+x4+

    This is a geometric series in x.

  2. (b)

    This series is centered at c=-1. Note how this series starts with n=1. We could rewrite this series starting at n=0 with the understanding that a0=0, and hence the first term is 0.

    n=1(-1)n+1(x+1)nn=(x+1)-(x+1)22+(x+1)33-(x+1)44+(x+1)55
  3. (c)

    This series is centered at c=π. Recall that 0!=1.

    n=0(-1)n+1(x-π)2n(2n)!=-1+(x-π)22-(x-π)424+(x-π)66!-(x-π)88!

We introduced power series as a type of function, where a value of x is given and the sum of a series is returned. Of course, not every series converges. For instance, in part 1 of Example 9.8.1, we recognized the series n=0xn as a geometric series in x. Theorem 9.2.1 states that this series converges only when |x|<1.

This raises the question: “For what values of x will a given power series converge?,” which leads us to a theorem and definition.

Theorem 9.8.1 Convergence of Power Series

Let a power series n=0an(x-c)n be given. Then one of the following is true:

  1. (a)

    The series converges only at x=c.

  2. (b)

    There is an R>0 such that the series converges for all x in
    (c-R,c+R) and diverges for all x<c-R and x>c+R.

  3. (c)

    The series converges for all x.

The value of R is important when understanding a power series, hence it is given a name in the following definition. Also, note that part 2 of Theorem 9.8.1 makes a statement about the interval (c-R,c+R), but the not the endpoints of that interval. A series may or may not converge at these endpoints.

Definition 9.8.2 Radius and Interval of Convergence


  1. (a)

    The number R given in Theorem 9.8.1 is the radius of convergence of a given series. When a series converges for only x=c, we say the radius of convergence is 0, i.e., R=0. When a series converges for all x, we say the series has an infinite radius of convergence, i.e., R=.

  2. (b)

    The interval of convergence is the set of all values of x for which the series converges.

To find the values of x for which a given series converges, we will use the convergence tests we studied previously (especially the Ratio Test). However, the tests all required that the terms of a series be positive. The following theorem gives us a work-around to this problem.

Theorem 9.8.2 The Radius of Convergence of a Series and Absolute Convergence

The series n=0an(x-c)n and n=0|an(x-c)n| have the same radius of convergence R.

Theorem 9.8.2 allows us to find the radius of convergence R of a series by applying the Ratio Test (or any applicable test) to the absolute value of the terms of the series. We practice this in the following example.

Example 9.8.2 Determining the radius and interval of convergence.

Find the radius and interval of convergence for each of the following series:

1. n=0xnn!  2. n=1(-1)n+1xnn  3. n=02n(x-3)n  4. n=0n!xn

Solution

  1. (a)

    We apply the Ratio Test to the series n=0|xnn!|:

    limn|xn+1/(n+1)!||xn/n!| =limn|xn+1xnn!(n+1)!|
    =limn|xn+1|
    =0 for all x.

    The Ratio Test shows us that regardless of the choice of x, the series converges. Therefore the radius of convergence is R=, and the interval of convergence is (-,).

  2. (b)

    We apply the Ratio Test to the series n=1|(-1)n+1xnn|=n=1|xnn|:

    limn|xn+1/(n+1)||xn/n| =limn|xn+1xnnn+1|
    =limn|x|nn+1
    =|x|.

    The Ratio Test states a series converges if the limit of |an+1/an|=L<1. We found the limit above to be |x|; therefore, the power series converges when |x|<1, or when x is in (-1,1). Thus the radius of convergence is R=1. To determine the interval of convergence, we need to check the endpoints of (-1,1). When x=-1, we have the opposite of the Harmonic Series:

    n=1(-1)n+1(-1)nn =n=1(-1)2n+1n
    =n=1-1n
    =-.

    The series diverges when x=-1. When x=1, we have the series n=1(-1)n+1(1)nn, which is the Alternating Harmonic Series, which converges. Therefore the interval of convergence is (-1,1].

  3. (c)

    We apply the Ratio Test to the series n=0|2n(x-3)n|:

    limn|2n+1(x-3)n+1||2n(x-3)n| =limn|2n+12n(x-3)n+1(x-3)n|
    =limn|2(x-3)|.

    According to the Ratio Test, the series converges when |2(x-3)|<1|x-3|<1/2. The series is centered at 3, and x must be within 1/2 of 3 in order for the series to converge. Therefore the radius of convergence is R=1/2, and we know that the series converges absolutely for all x in (3-1/2,3+1/2)=(2.5,3.5).

    We check for convergence at the endpoints to find the interval of convergence. When x=2.5, we have:

    n=02n(2.5-3)n =n=02n(-1/2)n
    =n=0(-1)n,

    which diverges. A similar process shows that the series also diverges at x=3.5. Therefore the interval of convergence is (2.5,3.5).

  4. (d)

    We apply the Ratio Test to n=0|n!xn|:

    limn|(n+1)!xn+1||n!xn| =limn|(n+1)x|
    = for all x, except x=0.

    The Ratio Test shows that the series diverges for all x except x=0. Therefore the radius of convergence is R=0.

Power Series as Functions

We can use a power series to define a function:

f(x)=n=0anxn

where the domain of f is a subset of the interval of convergence of the power series. One can apply calculus techniques to such functions; in particular, we can find derivatives and antiderivatives.

Theorem 9.8.3 Derivatives and Indefinite Integrals of Power Series Functions

Let f(x)=n=0an(x-c)n be a function defined by a power series, with radius of convergence R.

  1. (a)

    f(x) is continuous and differentiable on (c-R,c+R).

  2. (b)

    f(x)=n=1ann(x-c)n-1, with radius of convergence R.

  3. (c)

    f(x)dx=C+n=0an(x-c)n+1n+1, with radius of convergence R.

A few notes about Theorem 9.8.3:

  1. (a)

    The theorem states that differentiation and integration do not change the radius of convergence. It does not state anything about the interval of convergence. They are not always the same.

  2. (b)

    Notice how the summation for f(x) starts with n=1. This is because the constant term a0 of f(x) goes to 0.

  3. (c)

    Differentiation and integration are simply calculated term-by-term using previous rules of integration and differentiation.

Example 9.8.3 Derivatives and indefinite integrals of power series

Let f(x)=n=0xn. Find the following along with their respective intervals of convergence.

1.f(x)  and  2.F(x)=f(x)dx

SolutionWe find the derivative and indefinite integral of f(x), following Theorem 9.8.3.

  1. (a)

    f(x)=1+x+x2+x3+x4+=n=0xnf(x)=0+1+2x+3x2+4x3+=n=1nxn-1

    In Example 9.8.1, we recognized that n=0xn is a geometric series in x. We know that such a geometric series converges when |x|<1; that is, the interval of convergence is (-1,1).

    To determine the interval of convergence of f(x), we consider the endpoints of (-1,1). When x=-1 we have

    f(-1)=n=1n(-1)n-1

    which diverges by the Test for Divergence and when x=1 we have

    f(1)=n=1n

    which also diverges by the Test for Divergence. Therefore, the interval of convergence of f(x) is (-1,1).

  2. (b)

    f(x)=1+x+x2+x3+=n=0xnF(x)=f(x)dx=C+x+x22+x33+x44+=C+n=0xn+1n+1=C+n=1xnn

    To find the interval of convergence of F(x), we again consider the endpoints of (-1,1). When x=-1 we have

    F(-1)=C+n=1(-1)nn

    The value of C is irrelevant; notice that the rest of the series is an Alternating Series that whose terms converge to 0. By the Alternating Series Test, this series converges. (In fact, we can recognize that the terms of the series after C are the opposite of the Alternating Harmonic Series. We can thus say that F(-1)=C-ln2.)

    F(1)=C+n=11n

    Notice that this summation is C+ the Harmonic Series, which diverges. Since F converges for x=-1 and diverges for x=1, the interval of convergence of F(x) is [-1,1).

The previous example showed how to take the derivative and indefinite integral of a power series without motivation for why we care about such operations. We may care for the sheer mathematical enjoyment “that we can”, which is motivation enough for many. However, we would be remiss to not recognize that we can learn a great deal from taking derivatives and indefinite integrals.

Recall that f(x)=n=0xn in Example 9.8.3 is a geometric series. According to Theorem 9.2.1, this series converges to 1/(1-x) when |x|<1. Thus we can say

f(x)=n=0xn=11-x, on (-1,1). (9.8.1)

Integrating the power series, (as done in Example 9.8.3,) we find

F(x)=C1+n=0xn+1n+1, (9.8.2)

while integrating the function f(x)=1/(1-x) gives

F(x)=-ln|1-x|+C2. (9.8.3)

Equating Equations (9.8.2) and (9.8.3), we have

F(x)=C1+n=0xn+1n+1=-ln|1-x|+C2.

Letting x=0, we have F(0)=C1=C2. This implies that we can drop the constants and conclude

n=0xn+1n+1=-ln|1-x|.

We established in Example 9.8.3 that the series n=0xn+1n+1 converges at x=-1; substituting x=-1 on both sides of the above equality gives

-1+12-13+14-15+=-ln2.

On the left we have the opposite of the Alternating Harmonic Series; on the right, we have -ln2. We conclude that

1-12+13-14+=ln2.

In Example 9.5.1 of Section 9.5 we said the Alternating Harmonic Series converges to ln2, but did not show why this was the case. The work above shows how we conclude that the Alternating Harmonic Series Converges to ln2.

We use this type of analysis in the next example.

Example 9.8.4 Analyzing power series functions

Let f(x)=n=0xnn!. Find f(x) and f(x)dx, and use these to analyze the behavior of f(x).

SolutionWe start by making two notes: first, in Example 9.8.2, we found the interval of convergence of this power series is (-,). Second, we will find it useful later to have a few terms of the series written out:

n=0xnn!=1+x+x22+x36+x424+ (9.8.4)

We now find the derivative:

f(x) =n=1nxn-1n!
=n=1xn-1(n-1)!=1+x+x22!+.
Since the series starts at n=1 and each term refers to (n-1), we can re-index the series starting with n=0:
=n=0xnn!
=f(x).

We found the derivative of f(x) is f(x). The only functions for which this is true are of the form y=cex for some constant c. As f(0)=1 (see Equation (9.8.4)), c must be 1. Therefore we conclude that

f(x)=n=0xnn!=ex

for all x.

We can also find f(x)dx:

f(x)dx =C+n=0xn+1n!(n+1)
=C+n=0xn+1(n+1)!

We write out a few terms of this last series:

C+n=0xn+1(n+1)!=C+x+x22+x36+x424+

The integral of f(x) differs from f(x) only by a constant, again indicating that f(x)=ex.

Example 9.8.4 and the work following Example 9.8.3 established relationships between a power series function and “regular” functions that we have dealt with in the past. In general, given a power series function, it is difficult (if not impossible) to express the function in terms of elementary functions. We chose examples where things worked out nicely.

Representations of Functions with Power Series

It can be difficult to recognize an elementary function by its power series expansion. It is far easier to start with a known function, expressed in terms of elementary functions, and represent it as a power series function. One may wonder why we would bother doing so, as the latter function probably seems more complicated.

Let’s start off with a series we already know how to do, although when we first ran across this series we didn’t think of it as a power series nor did we acknowledge that it represented a function. Recall that the geometric series is

n=0arn=a1-r  provided |r|<1.

We also know that if |r|1 the series diverges. Now, if we take a=1 and r=x this becomes,

n=0xn=11-x  provided |x|<1 (9.8.5)

Turning this around we can see that we can represent the function

f(x)=11-x (9.8.6)

with the power series

n=0xn  provided |x|<1. (9.8.7)

This provision is important. We can clearly plug any number other than x=1 into the function, however, we will only get a convergent power series if |x|<1. This means the equality in Equation (9.8.5) will only hold if |x|<1. For any other value of x the equality won’t hold. Note as well that we can also use this to acknowledge that the radius of convergence of this power series is R=1 and the interval of convergence is |x|<1.

This idea of convergence is important here. We will be representing many functions as power series and it will be important to recognize that the representations will often only be valid for a range of x’s and that there may be values of x that we can plug into the function that we can’t plug into the power series representation.

In this section we are going to concentrate on representing functions with power series where the function can be related back to a geometric series. In this way we will hopefully become familiar with some of the kinds of manipulations that we will sometimes need when working with power series. We will see in Section 9.10 that this strategy is useful for integrating functions that don’t have elementary antiderivatives.

Example 9.8.5 Finding a Power Series

Find a power series representation for g(x)=11+x3 and determine its interval of convergence.

SolutionWe want to relate this function back to Equation (9.8.6). This is actually easier than it might look. Recall that the x in Equation (9.8.6) is simply a variable and can represent anything. So, a quick rewrite of g(x) gives,

g(x)=11-(-x3)

and so the -x3 holds the same place as the x in Equation (9.8.6). Therefore, all we need to do is replace the x in Equation (9.8.7) and we’ve got a power series representation for g(x).

g(x)=n=0(-x3)n  provided |-x3|<1

Notice that we replaced both the x in the power series and in the interval of convergence. All we need to do now is a little simplification.

g(x)=n=0(-1)nx3n  provided |x|<1

So, in this case the interval of convergence is the same as the original power series. This usually won’t happen. More often than not the new interval of convergence will be different from the original interval of convergence.

Example 9.8.6 Finding a Power Series

Find a power series representation for h(x)=2x21+x3 and determine its interval of convergence.

SolutionThis function is similar to the previous function, however the numerator is different. Since Equation (9.8.6) doesn’t have an x in the numerator it appears that we can’t relate this function back to that. However, now that we’ve worked the first example this one is actually very simple since we can use the result of the answer from that example. To see how to do this let’s first rewrite the function a little.

h(x)=2x211+x3.

Now, from the first example we’ve already got a power series for the second term so let’s use that to write the function as,

h(x)=2x2n=0(-1)nx3n  provided |x|<1

Notice that the presence of x’s outside of the series will NOT affect its convergence and so the interval of convergence remains the same. The last step is to bring the coefficient into the series and we’ll be done. When we do this, make sure to combine the x’s as well. We typically only want a single x in a power series.

h(x)=n=02(-1)nx3n+2  provided |x|<1.

As we saw in the previous example we can often use previous results to help us out. This is an important idea to remember as it can often greatly simplify our work.

Example 9.8.7 Finding a Power Series

Find a power series representation for f(x)=x5-x and determine its interval of convergence.

SolutionSo again, we have an x in the numerator. As with the last example factor x out and we have f(x)=x15-x. If we had a power series representation for g(x)=15-x we could get a power series representation for f(x). We need the number in the denominator to be a one so we rewrite the denominator.

g(x)=1511-x5

Now all we need to do to get a power series representation is to replace the x in Equation (9.8.7) with x5. Doing this gives

g(x)=15n=0(x5)n  provided |x5|<1.

Now simplify the series.

g(x) =15n=0xn5n
=n=0xn5n+1

The interval of convergence for this series is

|x5|<1    15|x|<1    |x|<5

We now have a power series representation for g(x) but we need to find a power series representation for the original function. All we need to do for this is to multiply the power series representative for g(x) by x and we’ll have it.

f(x) =x15-x
=xn=0xn5n+1
=n=0xn+15n+1

The interval of convergence doesn’t change and so it will be |x|<5.

Example 9.8.8 Re-indexing a Power Series

Find a power series representation for f(x)=1+x1-x.

SolutionWe can start by writing this as

f(x)=(1+x)n=0xn.

The problem with this representation is that the 1+x makes this not a power series — we only want a single occurrence of x. The proceed, we’ll split this into two sums

f(x)=n=0xn+xn=0xn=n=0xn+n=0xn+1.

Because the second sum uses n+1, we can re-index it to get a sum involving xn, which is our power series

f(x)=n=0xn+xn=0xn=n=0xn+n=1xn=1+2n=1xn.

We now consider several examples where differentiation and integration of power series from Theorem 9.8.3 are used to write the power series for a function.

Example 9.8.9 Differentiating a Power Series

Find a power series representation for g(x)=1(1-x)2 and determine its radius of convergence.

SolutionWe know that

1(1-x)2=ddx(11-x).

Since we have a power series representation for 11-x, we can differentiate that power series to get a power series representation for g(x).

g(x) =1(1-x)2
=ddx(11-x)
=ddx(n=0xn)
=n=1nxn-1

Since the original power series had a radius of convergence of R=1 the derivative, and hence g(x), will also have a radius of convergence of R=1.

Example 9.8.10 Integrating a Power Series

Find a power series representation for h(x)=ln(5-x) and determine its radius of convergence.

SolutionIn this case we need the fact that

15-xdx=-ln(5-x).

Recall that we found a power series representation for 15-x in Example 9.8.7. We now have

ln(5-x) =-15-xdx
=-n=0xn5n+1dx  where |x|<5
=C-n=0xn+1(n+1)5n+1  where |x|<5

We can find the constant of integration, C, by substituting in a value of x. A good choice is x=0 as the series is usually easy to evaluate there.

ln(5-0) =C-n=00n+1(n+1)5n+1
ln(5-0) =C

So, the final answer is,

ln(5-x)=ln(5)-n=0xn+1(n+1)5n+1,

and the radius of convergence is 5. Notice that x=-5 allows for convergence so the interval of convergence is [-5,5).

Exercises 9.8

 

Terms and Concepts

  1. 1.

    We adopt the convention that x0=xxxxxx, regardless of the value of x.

  2. 2.

    What is the difference between the radius of convergence and the interval of convergence?

  3. 3.

    If the radius of convergence of n=0anxn is 5, what is the radius of convergence of n=1nanxn-1?

  4. 4.

    If the radius of convergence of n=0anxn is 5, what is the radius of convergence of n=0(-1)nanxn?

Problems

In Exercises 5–8., write out the sum of the first 5 terms of the given power series.

  1. 5.

    n=02nxn

  2. 6.

    n=11n2xn

  3. 7.

    n=01n!xn

  4. 8.

    n=0(-1)n(2n)!x2n

In Exercises 9–28., a power series is given.

  1. (a)

    Find the radius of convergence.

  2. (b)

    Find the interval of convergence.

  1. 9.

    n=0(-1)n+1n!xn

  2. 10.

    n=0nxn

  3. 11.

    n=1(-1)n(x-3)nn

  4. 12.

    n=0(x+4)nn!

  5. 13.

    n=0xn2n

  6. 14.

    n=0(-1)n(x-5)n10n

  7. 15.

    n=05n(x-1)n

  8. 16.

    n=0(-2)nxn

  9. 17.

    n=0nxn

  10. 18.

    n=0n3nxn

  11. 19.

    n=03nn!(x-5)n

  12. 20.

    n=0(-1)nn!(x-10)n

  13. 21.

    n=1xnn2

  14. 22.

    n=1(x+2)nn3

  15. 23.

    n=0n!(x10)n

  16. 24.

    n=0n2(x+44)n

  17. 25.

    n=1(3x-2)nn3n

  18. 26.

    n=1xn5nn5

  19. 27.

    n=2xn(lnn)n

  20. 28.

    n=1(-1)nx2n+1(2n+1)!

In Exercises 29–32., write the following functions as a series and give the radius of convergence.

  1. 29.

    f(x)=x1-8x

  2. 30.

    f(x)=61+7x4

  3. 31.

    f(x)=x33-x2

  4. 32.

    f(x)=3x25-2x3

In Exercises 33–44., a function f(x)=n=0anxn is given.

  1. (a)

    Give a power series for f(x) and its interval of convergence.

  2. (b)

    Give a power series for f(x)dx and its interval of convergence.

  1. 33.

    n=0nxn

  2. 34.

    n=1xnn

  3. 35.

    n=0(x2)n

  4. 36.

    n=0(-3x)n

  5. 37.

    n=0(-1)nx2n(2n)!

  6. 38.

    n=0(-1)nxnn!

  7. 39.

    n=0nxn

  8. 40.

    n=1xnn

  9. 41.

    n=0(x2)n

  10. 42.

    n=0(-3x)n

  11. 43.

    n=0(-1)nx2n(2n)!

  12. 44.

    n=0(-1)nxnn!

  1. 45.
    (a) Use differentiation to find a power series representation for f(x)=1(1+x)2. What is the radius of convergence? (b) Use part (a) to find a power series for f(x)=1(1+x)3. (c) Use part (b) to find a power series for f(x)=x2(1+x)3.
  2. 46.
    Suppose that n=0cnxn converges for x=-3 and diverges when x=7. What can you say about the convergence or divergence of the following series? (a) n=0cn (b) n=0cn9n (c) n=0cn(-2)n (d) n=0(-1)ncn8n

In Exercises 47–53., find a power series representation for the function and determine the radius of convergence.

  1. 47.

    f(x)=ln(3-x)

  2. 48.

    f(x)=x(1+9x)2

  3. 49.

    f(x)=ln(1+x1-x)

  4. 50.

    f(x)=tan-1x

  5. 51.

    f(x)=x2tan-1(x3)

  6. 52.

    f(x)=1+x(1-x)2

  7. 53.

    f(x)=(x2-x)3

Omni CMS