









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Note: 1 or 1.5 lecture , §3.1 in [EP], §5.1 in [BD]
Many functions can be written in terms of a power series
k= 0
ak(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.
As we said, a power series is an expression such as
k= 0
ak(x − x 0 )
k = a 0 + a 1 (x − x 0 ) + a 2 (x − x 0 )
2
3
where a 0 , a 1 , a 2 ,... , ak,... and x 0 are constants. Let
S (^) n(x) =
∑^ n
k= 0
ak(x − x 0 )
k = a 0 + a 1 (x − x 0 ) + a 2 (x − x 0 )
2
3
n ,
denote the so-called partial sum. If for some x, the limit
lim n→∞
S (^) n(x) = lim n→∞
∑^ n
k= 0
ak(x − x 0 )
k
exists, then we say that the series (7.1) converges at x. Note that for x = x 0 , the series always
converges to a 0. When (7.1) converges at any other point x , x 0 , we say that (7.1) is a convergent
power series. In this case we write
k= 0
ak(x − x 0 )
k = lim n→∞
∑^ n
k= 0
ak(x − x 0 )
k .
If the series does not converge for any point x , x 0 , we say that the series is divergent.
Example 7.1.1: The series
∞ ∑
k= 0
k!
x
k = 1 + x +
x
2
x
3
is convergent for any x. Recall that k! = 1 · 2 · 3 · · · k is the factorial. By convention we define 0! = 1.
In fact, you may recall that this series converges to e
x .
We say that (7.1) converges absolutely at x whenever the limit
lim n→∞
n ∑
k= 0
|ak| |x − x 0 |
k
exists. That is, if the series
∞
k= 0
|ak| |x − x 0 |
k is convergent. Note that if (7.1) converges absolutely
at x, then it converges at x. However, the opposite is not true.
Example 7.1.2: The series
k= 1
k
x
k
converges absolutely at any x ∈ (− 1 , 1). It converges at x = −1, as
∞
k= 1
(−1)
k
k
converges (condition-
ally) by the alternating series test. But the power series does not converge absolutely at x = −1,
because
∞
k= 1
1
k
does not converge. The series diverges at x = 1.
If a series converges absolutely at some x 1 , then for all x such that |x − x 0 | ≤ |x 0 − x 1 | we have
that |ak(x − x 0 )
k | ≤ |ak(x 1 − x 0 )
k | for all k. As the numbers |ak(x 1 − x 0 )
k | sum to some finite limit,
summing smaller positive numbers |ak(x − x 0 )
k | must also have a finite limit. Therefore, the series
must converge absolutely at x. We have the following result.
Theorem 7.1.1. For a power series (7.1), there exists a number ρ (we allow ρ = ∞) called the
radius of convergence such that the series converges absolutely on the interval (x 0 − ρ, x 0 + ρ) and
diverges for x < x 0 − ρ and x > x 0 + ρ. We write ρ = ∞ if the series converges for all x.
Example 7.1.3: Suppose we have the series
k= 0
−k (x − 1)
k .
First we compute,
A = lim
k→∞
ak+ 1
ak
= lim
k→∞
−k− 1
−k
− 1 = 1 / 2.
Therefore the radius of convergence is 2, and the series converges absolutely on the interval (− 1 , 3).
The ratio test does not always apply. That is the limit of
ak+ 1
ak
∣ (^) might not exist. There exist more
sophisticated ways of finding the radius of convergence, but those would be beyond the scope of
this chapter.
Functions represented by 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 series
∗ near a point x 0. That is, for x near x 0 we
have
f (x) =
∞ ∑
k= 0
f
(k) (x 0 )
k!
(x − x 0 )
k , (7.2)
where f
(k) (x 0 ) denotes the k
th derivative of f (x) at the point x 0.
-10 -5 0 5 10
-10 -5 0 5 10
0
1
2
3
0
1
2
3
Figure 7.2: The sine function and its Taylor approximations around x 0 = 0 of 5
th and 9
th degree.
∗ Named after the English mathematician Sir Brook Taylor (1685 – 1731).
For example, sine is an analytic function and its Taylor series around x 0 = 0 is given by
sin(x) =
n= 0
n
(2n + 1)!
x
2 n+ 1 .
In Figure 7.2 on the facing page 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 larger x. This is
what will happen in general. To get good approximation far away from x 0 you will need to take
more and more terms of the Taylor 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(x − x 0 )
k is a convergent power series. Then for x in the radius of
convergence we have
d
dx
k= 0
ak(x − x 0 )
k
k= 1
kak(x − x 0 )
k− 1 .
Notice that the term corresponding to k = 0 disappeared as it was constant. The radius of conver-
gence of the differentiated series is the same as that of the original.
Example 7.1.4: Let us show that the exponential y = e
x solves y
′ = y. First write
y = e
k= 0
k!
x
k .
Now differentiate
y
k= 1
k
k!
x
k= 1
(k − 1)!
x
k− 1 .
For convenience we reindex the series by simply replacing k with k + 1. The series does not change,
what changes is simply how we write it. After reindexing the series starts at k = 0 again.
k= 1
(k − 1)!
x
k= 0
k!
x
k .
That was precisely the power series for e
x that we started with, so we showed that
d
dx
e
x = e
x .
Convergent power series can be added and multiplied together, and multiplied by constants
using the following rules. Firstly, we can add series by adding term by term,
k= 0
ak(x − x 0 )
k
k= 0
bk(x − x 0 )
k
k= 0
(ak + bk)(x − x 0 )
k .
First, write 1 + 2 x + x
2 = (1 + x)
1 − (−x)
. Now we compute
x
1 + 2 x + x
2
= x
1 − (−x)
= x
k= 0
k x
k
= x
k= 0
ck x
k
∞ ∑
k= 0
ck x
k+ 1 ,
where using the formula for product of product of series we obtain, c 0 = 1, c 1 = − 1 − 1 = −2,
c 2 = 1 + 1 + 1 = 3, etc.... Therefore
x
1 + 2 x + x
2
k= 1
k+ 1 kx
k = x − 2 x
2
3 − 4 x
4
The radius of convergence is at least 1. We use the ratio test
lim k→∞
ak+ 1
ak
= lim k→∞
k+ 2 (k + 1)
k+ 1 k
= lim k→∞
k + 1
k
So the radius of convergence is actually equal to 1.
Exercise 7.1.1: Is the power series
k= 0
e
k x
k convergent? If so, what is the radius of convergence?
Exercise 7.1.2: Is the power series
∞ ∑
k= 0
kx
k convergent? If so, what is the radius of convergence?
Exercise 7.1.3: Is the power series
∞ ∑
k= 0
k!x
k convergent? If so, what is the radius of convergence?
Exercise 7.1.4: Is the power series
k= 0
(2k)!
(x − 10)
k convergent? If so, what is the radius of
convergence?
Exercise 7.1.5: Determine the Taylor series for sin x around the point x 0 = π.
Exercise 7.1.6: Determine the Taylor series for ln x around the point x 0 = 1 , and find the radius of
convergence.
Exercise 7.1.7: Determine the Taylor series and its radius of convergence of
1 + x
around x 0 = 0.
Exercise 7.1.8: Determine the Taylor series and its radius of convergence of
x
4 − x
2
around x 0 = 0.
Hint: you will not be able to use the ratio test.
Exercise 7.1.9: Expand x
5
Exercise 7.1.10: Suppose that the ratio test applies to a series
∞ ∑
k= 0
ak x
k
. Show, using the ratio test,
that the radius of convergence of the differentiated series is the same as that of the original series.
We reindex the series (replace k with k + 2) to obtain
y
∞ ∑
k= 0
(k + 2) (k + 1) ak+ 2 x
k .
Now we plug y and y
′′ into the differential equation
0 = y
′′ − y =
k= 0
(k + 2) (k + 1) ak+ 2 x
k
k= 0
ak x
k
∞ ∑
k= 0
(k + 2) (k + 1) ak+ 2 x
k − ak x
k
∞ ∑
k= 0
(k + 2) (k + 1) ak+ 2 − ak
x
k .
As y
′′ − y is supposed to be equal to 0, we know that the coefficients of the resulting series must be
equal to 0. Therefore,
(k + 2) (k + 1) ak+ 2 − ak = 0 , or ak+ 2 =
ak
(k + 2)(k + 1)
The above equation is called a recurrence relation for the coefficients of the power series. It did
not matter what a 0 or a 1 was, they can be arbitrary. But once we pick a 0 and a 1 , then all other
coefficients are determined by the recurrence relation.
So let us see what the coefficients must be. First, a 0 and a 1 are arbitrary
a 2 =
a 0
, a 3 =
a 1
, a 4 =
a 2
a 0
, a 5 =
a 3
a 1
So we note that for even k, that is k = 2 n we get
ak = a 2 n =
a 0
(2n)!
and for odd k, that is k = 2 n + 1 we have
ak = a 2 n+ 1 =
a 1
(2n + 1)!
Let us write down the series
y =
k= 0
ak x
n= 0
a 0
(2n)!
x
2 n
a 1
(2n + 1)!
x
2 n+ 1
= a 0
n= 0
(2n)!
x
2 n
n= 0
(2n + 1)!
x
2 n+ 1 .
Now we recognize the two series as the hyperbolic sine and cosine. Therefore,
y = a 0 cosh x + a 1 sinh x.
Of course, in general we will not be able to recognize the series that appears, since usually there
will not be any elementary function that matches it. In that case we will be content with the series.
Example 7.2.2: Let us do a more complex example. Suppose we wish to solve Airy’s equation
† ,
that is
y
′′ − xy = 0 ,
near the point x 0 = 0. Note that x 0 = 0 is an ordinary point.
We try
y =
∞ ∑
k= 0
ak x
k .
We differentiate twice (as above) to obtain
y
k= 2
k (k − 1) ak x
k− 2 .
Now we plug into the equation
0 = y
′′ − xy =
k= 2
k (k − 1) ak x
k− 2
− x
k= 0
ak x
k
k= 2
k (k − 1) ak x
k− 2
k= 0
ak x
k+ 1
Now we reindex to make things easier to sum
0 = y
′′ − xy =
2 a 2 +
k= 1
(k + 2) (k + 1) ak+ 2 x
k
k= 1
ak− 1 x
k
= 2 a 2 +
k= 1
(k + 2) (k + 1) ak+ 2 − ak− 1
x
k .
Again y
′′ − xy is supposed to be 0 so first we notice that a 2 = 0 and also
(k + 2) (k + 1) ak+ 2 − ak− 1 = 0 , or ak+ 2 =
ak− 1
(k + 2)(k + 1)
Now we jump in steps of three. First we notice that since a 2 = 0 we must have that, a 5 = 0, a 8 = 0,
a 11 = 0, etc.... In general a 2 + 3 n = 0.
The constants a 0 and a 1 are arbitrary and we obtain
a 3 =
a 0
, a 4 =
a 1
, a 6 =
a 3
a 0
, a 7 =
a 4
a 1
† Named after the English mathematician Sir George Biddell Airy (1801 – 1892).
-5.0 -2.5 0.0 2.5 5.
-5.0 -2.5 0.0 2.5 5.
-5.
-2.
-5.
-2.
Figure 7.3: The two solutions y 1 and y 2 to Airy’s equation.
We differentiate (as above) to obtain
y
∞ ∑
k= 1
kak x
k− 1 ,
y
∞ ∑
k= 2
k (k − 1) ak x
k− 2 .
Now we plug into the equation
0 = y
′′ − 2 xy
′
k= 2
k (k − 1) ak x
k− 2
− 2 x
k= 1
kak x
k− 1
k= 0
ak x
k
k= 2
k (k − 1) ak x
k− 2
k= 1
2 kak x
k
k= 0
2 nak x
k
2 a 2 +
k= 1
(k + 2) (k + 1) ak+ 2 x
k
k= 1
2 kak x
k
2 na 0 +
k= 1
2 nak x
k
= 2 a 2 + 2 na 0 +
k= 1
(k + 2) (k + 1) ak+ 2 − 2 kak + 2 nak
x
k .
As y
′′ − 2 xy
′
(k + 2) (k + 1) ak+ 2 + (− 2 k + 2 n)ak = 0 , or ak+ 2 =
(2k − 2 n)
(k + 2)(k + 1)
ak.
This recurrence relation actually includes a 2 = −na 0 (which comes about from 2a 2 + 2 na 0 = 0).
Again a 0 and a 1 are arbitrary.
a 2 =
2 n
a 0 , a 3 =
2(1 − n)
a 1 ,
a 4 =
2(2 − n)
a 2 =
2 (2 − n)(−n)
a 0 ,
a 5 =
2(3 − n)
a 3 =
2 (3 − n)(1 − n)
a 1 ,...
Let us separate the even and odd coefficients. We find that
a 2 m =
m (−n)(2 − n) · · · (2m − 2 − n)
(2m)!
a 2 m+ 1 =
m (1 − n)(3 − n) · · · (2m − 1 − n)
(2m + 1)!
Let us write down the two series, one with the even powers and one with the odd.
y 1 (x) = 1 +
2(−n)
x
2
2 (−n)(2 − n)
x
4
3 (−n)(2 − n)(4 − n)
x
6
y 2 (x) = x +
2(1 − n)
x
3
2 (1 − n)(3 − n)
x
5
3 (1 − n)(3 − n)(5 − n)
x
7
We then write
y(x) = a 0 y 1 (x) + a 1 y 2 (x). (7.8)
We also notice that if n is a positive even integer, then y 1 (x) is a polynomial as all the coefficients
in the series beyond a certain degree are zero. If n is a positive odd integer, then y 2 (x) is a polynomial.
For example if n = 4, then
y 1 (x) = 1 +
x
2
2 (−4)(2 − 4)
x
4 = 1 − 4 x
2
x
4
. (7.9)
In the following exercises, when asked to solve an equation using power series methods, you should
find the first few terms of the series, and if possible find a general formula for the k
th coefficient.
Exercise 7.2.1: Use power series methods to solve y
′′
Exercise 7.2.2: Use power series methods to solve y
′′
Exercise 7.2.3: Use power series methods to solve y
′′ − xy = 0 at the point x 0 = 1.
Exercise 7.2.4: Use power series methods to solve y
′′
2 y = 0 at the point x 0 = 0.