Login
📚 Differential Equations for Engineers
Chapters ▾
⇩ Download ▾

7.1 Power Series

Many functions can be written in terms of a power series

k = 0 a k ( x x 0 ) k

If we assume that a solution of a differential equation is written as a power series, then perhaps we can use a method reminiscent of undetermined coefficients. That is, we will try to solve for the numbers ak. Before we can carry out this process, let us review some results and concepts about power series.

Definition

As we said, a power series is an expression such as

k = 0 a k ( x x 0 ) k = a 0 + a 1 ( x x 0 ) + a 2 ( x x 0 ) 2 + a 3 ( x x 0 ) 3 + ,

(7.1.1)

where a0,a1,a2,,ak, and x0 are constants. Let

S n ( x ) = k = 0 n a k ( x x 0 ) k = a 0 + a 1 ( x x 0 ) + a 2 ( x x 0 ) 2 + a 3 ( x x 0 ) 3 + + a n ( x x 0 ) n ,

denote the so-called partial sum. If for some x, the limit

lim n S n ( x ) = lim n k = 0 n a k ( x x 0 ) k

exists, then we say that the series (7.1.1) converges at x. Note that for x=x0, the series always converges to a0. When (7.1.1) converges at any other point xx0, we say that (7.1.1) is a convergent power series. In this case we write

k = 0 a k ( x x 0 ) k = lim n k = 0 n a k ( x x 0 ) k .

If the series does not converge for any point xx0, we say that the series is divergent.

Radius of Convergence

If a power series converges absolutely at some x1, then for all x such that |xx0||x1x0| (that is, x is closer than x1 to x0) we have |ak(xx0)k||ak(x1x0)k| for all k. As the numbers |ak(x1x0)k| sum to some finite limit, summing smaller positive numbers |ak(xx0)k| must also have a finite limit. Hence, the series must converge absolutely at x.

Diagram of power series convergence on a number line: the shaded band from x sub 0 minus rho to x sub 0 plus rho is labelled converges absolutely, diverges beyond each endpoint.
Figure 1: Convergence of a power series.

See Figure 1. In Example 1 the radius of convergence is ρ= as the series converges everywhere. In Example 2 the radius of convergence is ρ=1. We note that ρ=0 is another way of saying that the series is divergent. A useful test for convergence of a series is the ratio test. Suppose that

k = 0 c k

is a series such that the limit

L = lim n | c k + 1 c k |

exists. Then the series converges absolutely if L<1 and diverges if L>1.

Let us apply this test to the series (7.1.1). That is we let ck=ak(xx0)k in the test. Compute

L = lim n | c k + 1 c k | = lim n | a k + 1 ( x x 0 ) k + 1 a k ( x x 0 ) k | = lim n | a k + 1 a k | | x x 0 | .

Define A by

A = lim n | a k + 1 a k | .

Then if 1>L=A|xx0| the series (7.1.1) converges absolutely. If A=0, then the series always converges. If A>0, then the series converges absolutely if |xx0|<1A, and diverges if |xx0|>1A. That is, the radius of convergence is 1A.

A similar test is the root test. Suppose

L = lim k | c k | 3

exists. Then k=0ck converges absolutely if L<1 and diverges if L>1. We can use the same calculation as above to find A. Let us summarize.

The root or the ratio test does not always apply. That is the limit of |ak+1ak| or |ak|k might not exist. There exist more sophisticated ways of finding the radius of convergence, but those would be beyond the scope of this chapter. The two methods above cover many of the series that arise in practice. Often if the root test applies, so does the ratio test, and vice versa, though the limit might be easier to compute in one way than the other.

Analytic Functions

Functions represented by power series are called analytic functions. Not every function is analytic, although the majority of the functions you have seen in calculus are. An analytic function f(x) is equal to its Taylor seriesto the power 1 near a point x0. That is, for x near x0 we have

f ( x ) = k = 0 f ( k ) ( x 0 ) k ! ( x x 0 ) k ,

(7.1.2)

where f(k)(x0) denotes the kth derivative of f(x) at the point x0.

Plot of the sine curve with two Taylor approximations, x from minus 10 to 10. The green polynomial tracks the sine only to about x equals plus or minus 3 and the red to about plus or minus 4, then both run off the frame.
Figure 2: The sine function and its Taylor approximations around xo=0 of and degree.

For example, sine is an analytic function and its Taylor series around x0=0 is given by

sin ( x ) = n = 0 ( 1 ) n ( 2 n + 1 ) ! x 2 n + 1 .

In Figure 2 we plot sin(x) and the truncations of the series up to degree 5 and 9. You can see that the approximation is very good for x near 0, but gets worse for x further away from 0. This is what happens in general. To get a good approximation far away from x0 you need to take more and more terms of the Taylor series.

Function graph showing y = sin(x), y = sin(a) + cos(a)*(x-a) - sin(a)*(x-a)^2/2 - cos(a)*(x-a)^3/6 + sin(a)*(x-a)^4/24 + cos(a)*(x-a)^5/120 and y = sin(a) + cos(a)*(x-a) - sin(a)*(x-a)^2/2 - cos(a)*(x-a)^3/6 + sin(a)*(x-a)^4/24 + cos(a)*(x-a)^5/120 - sin(a)*(x-a)^6/720 - cos(a)*(x-a)^7/5040 + sin(a)*(x-a)^8/40320 + cos(a)*(x-a)^9/362880. Adjustable parameter: Expansion point x0 (a) = 0. Viewing window: x from -8.44 to 8.44, y from -5.22 to 5.22.
The book's sine picture with the expansion point set free: sin x in blue, its degree-5 Taylor polynomial in red and its degree-9 in green, both taken about x₀ = a. It opens at a = 0, the book's own picture; drag a along the sine curve and watch the sharp accuracy window slide with it — degree 9 always reaching further than degree 5, both failing at a distance, and the failure region moving rigidly with the centre.

Manipulating Power Series

One of the main properties of power series that we will use is that we can differentiate them term by term. That is, suppose that ak(xx0)k is a convergent power series. Then for x in the radius of convergence we have

d d x [ k = 0 a k ( x x 0 ) k ] = k = 1 k a k ( x x 0 ) k 1 .

Notice that the term corresponding to k=0 disappeared as it was constant. The radius of convergence of the differentiated series is the same as that of the original.

Convergent power series can be added and multiplied together, and multiplied by constants using the following rules. First, we can add series by adding term by term,

( k = 0 a k ( x x 0 ) k ) + ( k = 0 b k ( x x 0 ) k ) = k = 0 ( a k + b k ) ( x x 0 ) k .

We can multiply by constants,

α ( k = 0 a k ( x x 0 ) k ) = k = 0 α a k ( x x 0 ) k .

We can also multiply series together,

( k = 0 a k ( x x 0 ) k ) ( k = 0 b k ( x x 0 ) k ) = k = 0 c k ( x x 0 ) k ,

where ck=a0bk+a1bk1++akb0. The radius of convergence of the sum or the product is at least the minimum of the radii of convergence of the two series involved.

Power Series for Rational Functions

Polynomials are simply finite power series. That is, a polynomial is a power series where the ak are zero for all k large enough. We can always expand a polynomial as a power series about any point x0 by writing the polynomial as a polynomial in (xx0). For example, let us write 2x23x+4 as a power series around x0=1:

2 x 2 3 x + 4 = 3 + ( x 1 ) + 2 ( x 1 ) 2 .

In other words a0=3, a1=1, a2=2, and all other ak=0. To do this, we know that ak=0 for all k3 as the polynomial is of degree 2.

We write a0+a1(x1)+a2(x1)2, we expand, and we solve for a0, a1, and a2. We could have also differentiated at x=1and used the Taylor series formula (7.1.2).

Let us look at rational functions, that is, ratios of polynomials. An important fact is that a series for a function only defines the function on an interval even if the function is defined elsewhere. For example, for 1<x<1 we have

1 1 x = k = 0 x k = 1 + x + x 2 +

This series is called the geometric series. The ratio test tells us that the radius of convergence is 1. The series diverges for x1 and x1, even though 11x is defined for all x=1.

Function graph showing y = 1/(1-x) and y = (1-x^(n+1))/(1-x). Adjustable parameter: Highest power kept (n) = 4. Viewing window: x from -4.87 to 4.87, y from -3.01 to 3.01.
1/(1 − x) in blue, the partial sum Sₙ = 1 + x + ⋯ + xⁿ in red. Drag n: the red curve locks onto the blue one across (−1, 1) and nowhere else — exactly the radius of convergence 1 this section derives. Past x = 1 the partial sum climbs off the top of the frame while 1/(1 − x) runs calmly along the lower right, still perfectly well defined. Left of x = −1 the partial sum flies apart, and watch its direction: it flips from up to down at every single step of n, because the terms alternate. At x = −1 itself it neither converges nor blows up — it just hops 1, 0, 1, 0, never settling on the value 1/2 the function has there.

We can use the geometric series together with rules for addition and multiplication of power series to expand rational functions around a point, as long as the denominator is not zero at x0. Note that as for polynomials, we could equivalently use the Taylor series expansion (7.1.2).

Footnotes

[1] Named after the English mathematician Sir Brook Taylor (1685–1731).

Adapted from Differential Equations for Engineers by Jiří Lebl (Oklahoma State University), hosted on LibreTexts (math.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0.