You are on page 1of 20

Advanced Engineering Mathematics

POWER SERIES AND POWER SERIES SOLUTIONS OF DIFFERENTIAL EQUATIONS

4.1. Sequences and Series

A sequence is a list of numbers

a , a , a , ⋯ , a

in a given order. Each of a , a , a and so on represents a number. These are the terms of the sequence.
An infinite sequence of numbers is a function whose domain is the set of positive integers. For example,
the function associated to the sequence

2, 4, 6, 8, 10, 12, ⋯ , 2n, ⋯

sends 1 to a = 2, 2 to a = 4 and so on. The general behavior of this sequence is described by the
formula

a = 2n

Sequences can be described by writing rules that specify their terms or by listing terms.

Convergence and Divergence of Sequences. Sometimes, the numbers in a sequence approach a single
value as the index n increases. This happens in the sequence

1 1 1 1
1, , , , ⋯ , , ⋯ 
2 3 4 n

whose terms approach zero as n gets large, and in the sequence

1 2 3 4 1
0, , , , , ⋯ ,1 − , ⋯ 
2 3 4 5 n
whose terms approach one. Such sequences are said to converge to that value. On the other hand,
sequences like

1, √2, √3, ⋯ , √n, ⋯ 

have terms that get larger than any number as n increases; such sequences are said to diverge. Still there
are sequences like

1, −1, 1, −1, ⋯ , −1 , ⋯ 

that terms oscillate between two values and does not converge to a single value. The sequence a 
converges to the number L if to every positive number ϵ there corresponds an integer N such that for all n,
n > N and |a − L| < ϵ , where L is the limit of the sequence a  . If no such L exists, then the
sequence is said to diverge.

Power Series and Power Series Solutions of Differential Equations Page 1


Advanced Engineering Mathematics

A series (or for this matter, an infinite series) is the sum of an infinite sequence of numbers

a + a + a + ⋯ + a + ⋯

The sum of the first n terms of the series

s = a + a + a + ⋯ + a

is an ordinary finite sum and is called the nth partial sum. As n gets larger, we expect the partial sums to
get closer and closer to a limiting value in the same sense that the terms of a sequence approach a limit.
For example, the series

1 1 1 1
1 + + + + +⋯
2 4 8 16

we form a sequence of partial sums as follows

s = 1

1 3
s = 1 + =
2 2
1 1 7
s = 1 + + =
2 4 4
1 1 1 15
s' = 1 + + + =
2 4 8 8

1 1 1 1 1
s = 1 + + + + ⋯ + ) = 2 − )
2 4 8 2 2
The partial sums form a sequence whose nth term is

1
s = 2 −
2)
This sequence of partial sums converges to 2, because

1
lim =0
→. 2)

   
Thus the sum of the sequence /1 +  + ' + 0 + 1 + ⋯ 2 is 2.In general, the series

a + a + a + ⋯ + a + ⋯

Power Series and Power Series Solutions of Differential Equations Page 2


Advanced Engineering Mathematics

has partial sums that form the terms of the sequences . If the latter sequence converges to a limit L,
then L is the sum of the series. If the sequence of the partial sums of the series does not converge, then
the series diverges.

Example 4.1
1. Find the sum of the geometric series a + ar + ar  + ar  + ⋯ + ar ) + ⋯ = ∑. 5 ar
)
.
Determine the necessary conditions for this series to converge and the value to which this series
converges.

2. Using the results above, determine the sum of a geometric series whose first term is 1/9 and a common
ratio 1/3.

)8 9
3. Using again the results of the first problem, determine the sum ∑.
5: '8
.

5  and ∑5 )


4. Find the sum of the series ∑.
 . 1

Answers:
;)<8 
1. The nth partial sum is s = )< , r ≠ 1. The series converges when |r| < 1 and this converges to
;
s = )<, otherwise, the series diverges.


2. s = 1

3. s = 4

4. ∑. = 1, ∑.
 1
5  5 ) = 3

The >th term test for divergence. The series


.

? n = 1 + 4 + 9 + ⋯ + n + ⋯
5

diverges because the partial sums grow beyond every number L. Thus we can observe that if the partial
sum s = ∑. 5 a converges, then a → 0. Thus, we can test if the series diverges based on the above
observation: that the partial sum s = ∑.
5 a diverges if lim→. a fails to exist or is different from
zero.

Power Series and Power Series Solutions of Differential Equations Page 3


Advanced Engineering Mathematics

Example 4.2
Determine the following series if it diverges using the nth term test for divergence.
1. ∑.
5 n


2. ∑.

5 

3. ∑.
5−1


Answers:
1. The series diverges because n → ∞.

→1

2. The series diverges because
3. The series diverges because lim→. −1 does not exist.

If the series ∑ a = A and ∑ b = B are convergent series, then

?a + b  = ? a + ? b = A + B (4.1a)

?a − b  = ? a − ? b = A − B (4.1b)

? ka = k ? a = kA (4.1c)

The integral test. The harmonic series


.
1 1 1 1
? = 1 + + + ⋯+ +⋯
n 2 3 n
5


is divergent, even though  → 0. Thus the nth term test for divergence fails in this case. The reason why it
diverges is because there is no upper bound for its partial sums.

Power Series and Power Series Solutions of Differential Equations Page 4


Advanced Engineering Mathematics

If we let the sequence as a . Suppose that a = fn, where f is a continuous, positive, decreasing
.
function of x for all x ≥ N (N is a positive integer. Then the series ∑.
5H a and the integral IH fx dx
both converge or both diverge.

Example 4.3
Test the following series for convergence using the integral test.
1. ∑.

5 

2. ∑.

5 K

Answers:
1. The series diverges.
2. The series converges.

The ratio test. Let ∑ a be a series with positive terms and suppose that
a
lim =p
→. a
(4.2)

then,

(a) the series converges if p < 1,

(b) the series diverges if p > 1 or p is infinite,

(c) the test is inconclusive if p = 1.

Example 4.4
Investigate the convergence of the following series, and if the series is convergent, find its sum.
8 9
1. ∑.
5: 8 

!
2. ∑.
5 !!

'8 !!
3. ∑.
5 !

Answers:

1. The series converges. s =  .
2. The series diverges.
3. The series diverges.

Power Series and Power Series Solutions of Differential Equations Page 5


Advanced Engineering Mathematics

The root test. Let ∑ a be a series with a ≥ 0 for n ≥ N and suppose that

lim 8Na = p
→.
(4.3)

then,

(a) the series converges if p < 1,

(b) the series diverges if p > 1 or p is infinite,

(c) the test is inconclusive if p = 1.

Example 4.5
Investigate the convergence of the following series using root test.
K
1. ∑.
5 8

8
2. ∑.
5 K


3. ∑.

5 OP

Answers:
1. The series converges.
2. The series diverges.
3. The series converges.

Alternating series, absolute and conditional convergence. A series in which the terms are alternately
positive and negative is an alternating series. For example, the alternating harmonic series

1 1 1 1 −1
1 − + − + − ⋯+ +⋯
2 3 4 5 n
is convergent, as well as the alternating geometric series

1 1 1 −1 4
−2 + 1 − + − + ⋯ + +⋯
2 4 8 2

with a common ratio r = −1/2. The series

1 − 2 + 3 − 4 + 5 − 6 + ⋯ + −1 n + ⋯

however, is divergent because the nth term does not approach zero. In general, the alternating series

Power Series and Power Series Solutions of Differential Equations Page 6


Advanced Engineering Mathematics
.

?−1 u = u − u + u − u' + ⋯ (4.3)


5

converges if all three of the following conditions are satisfied:

1. The u ’s are all positive;

2. u ≥ u for all n ≥ N, for some integer N; and

3. u → 0.

A series ∑ a converges absolutely (is absolutely convergent) if the corresponding series of absolute
values, ∑|a |, converges. In effect, a series that converge but does not converge absolutely converges
conditionally.

The absolute convergence test. If ∑|a | converges, then ∑ a converges, although the converse of this
statement is generally not true (take a look at the harmonic series).

Example 4.6
Investigate the convergence of the following series.
1. ∑.
5−1
 
K 

) 8RS
2. ∑.
5 T
for p > 0, p > 1, and 0 < p ≤ 1.

Answers:
1. The series converges absolutely.
2. For p > 0, the series converges. For p > 1, the series converges absolutely. For 0 < p ≤ 1, the
series converges conditionally.

Drill Problems 4.1


A. Which of the following sequences converges? Find the limit of each convergent sequence.
1. a = 2 + 0.1
)
2. a = 

W 
3. a = O1 + P

B. Find the sum of the following series.


4. ∑.

5 '8

Power Series and Power Series Solutions of Differential Equations Page 7


Advanced Engineering Mathematics

5. ∑.
'
5 ')'

C. Investigate the convergence or divergence of the following series.



6. ∑.

5: O P√

7. ∑.
X 
5 
8. ∑.

5 K 


9. ∑.

5 O1 − 
P


10. ∑.
 
5 O − K P

11. ∑.
! X 
5 !

12. ∑.
!
5 


13. ∑.
5−1


O:P

14. ∑.
5−1


ln O1 + P

15. ∑.
5 n e
 )

4.2. Power Series

A power series about x = 0 is a series of the form


.

? c x  = c: + c x + c x  + ⋯ + c x  + ⋯ (4.4)
5:

A power series about x = a is a series of the form


.

? c x − a = c: + c x − a + c x − a + ⋯ + c x − a + ⋯ (4.5)


5:

in which the center a and the coefficients c: , c , c , ⋯ , c , ⋯ are constants. For 4.4, taking all the
coefficients to be 1 gives the geometric power series

Power Series and Power Series Solutions of Differential Equations Page 8


Advanced Engineering Mathematics
.

? x = 1 + x + x + ⋯ + x + ⋯
5:

This series converges to )[ for |x| < 1. We express this fact by writing


1
= 1 + x + x + ⋯ + x + ⋯
1−x (4.6)

for −1 < x < 1. Up to now, we have used the equation 4.6 as a formula for the sum of the series on the
right. At this point, we wish to emphasize the fact that the polynomial on the right P x approximates the
function on the left.

Figure 4.1. Approximation of the function 1/(1-x) by the polynomial

The power series

1 1 1 
1 − x − 2 + x − 2 + ⋯ + ]− ^ x − 2 + ⋯

2 4 2

matches equation 4.5 with a = 2 , c: = 1 , c = −1/2 , c = 1/4 , ⋯ , c = −1/2 . This is a


[)
geometric series with first term 1 and ratio r = − 
. The series converges for 0 < x < 4. The sum is

Power Series and Power Series Solutions of Differential Equations Page 9


Advanced Engineering Mathematics

2 1 1 1 
= 1 − x − 2 + x − 2 + ⋯ + ]− ^ x − 2 + ⋯

x 2 4 2 (4.7)

Figure 4.2. Approximation of the function 2/x by a polynomial

Convergence of power series. If the power series


.

? a x  = a: + a x + a x  + ⋯ + a x  + ⋯ (4.8)
5:

converges for x = c ≠ 0, then it converges absolutely for all x with |x| < c. If the series diverges for
x = d, then it diverges for all x with |x| > d.

Radius of convergence of power series. The convergence of the series ∑ c x − a is described by
one of the following three possibilities:

1. There is a positive number R such that the series diverges for x with |x − a| > R but converges
absolutely for x with |x − a| < R. The series may or may not converge at either of the endpoints x = a −
R and x = a + R.

2. The series converges absolutely for every x (R = ∞).

3. The series converges at x = a and diverges elsewhere (R = 0).

The number R is called the radius of convergence of the power series and the interval of radius R centered
at x = a is called the interval of convergence. The interval of convergence may be open, closed, or half-
open, depending on the particular series.

Power Series and Power Series Solutions of Differential Equations Page 10


Advanced Engineering Mathematics

How to test a power series for convergence.

1. Use the ratio test (or the nth root test) to find the interval where the series converges absolutely.
Ordinarily, this is an open interval |x − a| < R or a − R < x < a + R.

2. If the interval of absolute convergence is finite, test for convergence at each end point. Use comparison
test, integral test, or the alternating series test.

3. If the interval of absolute convergence is a − R < x < a + R, the series diverges for |x − a| > R (it
does not even converge conditionally), because the nth term does not approach zero for those values of x.

Example 4.7
For what values of x do the following power series converge?
8
1. ∑.
5−1
) [


[K8RS
2. ∑.
5−1
)
)

[8
3. ∑.
5: !

4. ∑.
5: n! x


Answers:
1. −1 < x ≤ 1

2. −1 ≤ x ≤ 1

3. All x

4. All x except x = 0

Term-by-term differentiation. If ∑ c x − a converges for a − R < x < a + R for some R > 0, it
defines a function f
.

fx = ? c x − a
(4.9a)
5:

Such a function f has derivatives of all orders inside the interval of convergence. We can obtain the
derivatives by differentiating the original series term-by-term.
.

f′x = ? nc x − a)


(4.9b)
5:

Power Series and Power Series Solutions of Differential Equations Page 11


Advanced Engineering Mathematics
.

f′′x = ? nn − 1c x − a)


(4.9c)
5:

and so on. Each of these derived series converges at every interior point of the interval of convergence of
the original series.

Example 4.8
Obtain the first and second derivative of the function
.
1
fx = = 1 + x + x + x + ⋯ + x + ⋯ = ? x
1−x
5:

for −1 < x < 1.

Answers:
.
1
f x =
a
= 1 + 2x + 3x  + 4x  + ⋯ + nx ) + ⋯ = ? nx )
1 − x
5

.
aa 
2
f x = = 2 + 6x + 12x  + ⋯ + nn − 1x ) + ⋯ = ? nn − 1x )
1 − x
5

all for −1 < x < 1.

Term-by-term integration. Suppose that


.

fx = ? c x − a
(4.9a)
5:

converges for a − R < x < a + R (R > 0), Then


.
x − a
b fxdx = ? c
n+1 (4.10)
5:

with
.
x − a
? c
n+1
5:

converging also for a − R < x < a + R (R > 0).

Power Series and Power Series Solutions of Differential Equations Page 12


Advanced Engineering Mathematics

Example 4.9
Investigate the following series
1.
x x9
fx = x − + − ⋯
5 5

for −1 ≤ x ≤ 1.

2.
ft = 1 − t + t  − t  + ⋯

for −1 < t < 1.

Answer:
1. Using term-by-term differentiation and integration of the resulting series, we find that

x x9
fx = x − + − ⋯ = tan) x
5 5

for −1 < x < 1.

2. Using term-by-term integration, we can generate the series for ln1 + x as

x x x'
ln1 + x = x − + − +⋯
2 3 4

for −1 < x < 1.

Multiplication of power series. If Ax = ∑.


5: a x and Bx = ∑5: b x converges absolutely for
 . 

|x| < R and




c = a: b + a b) + a b) + ⋯ + a) b + a b: = ? ad b)d


d5:

5: c x converges absolutely to AxBx for |x| < R:


then the series ∑. 

. . .

e? a x  f e?
b x f
= ? c x  (4.11)
5: 5: 5:

Power Series and Power Series Solutions of Differential Equations Page 13


Advanced Engineering Mathematics

Drill Problems 4.2


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

1. ∑.
5:x + 5


2. ∑.
5:−1 4x + 1
 

[)8
3. ∑.
5 

[8
4. ∑.
5: 

) 8 [8
5. ∑.
5 

B. For the following series, find the series’ interval of convergence and within this interval, the sum of the
series as a function of x.

[)K8
6. ∑.
5 '

[K8
7. ∑.
5: g8


8. ∑.
√[
5: O  − 1P

9. ∑.
5:ln x



[K
10. ∑.
5: O 
P

4.3. Taylor and Maclaurin Series

This section shows how functions that are infinitely differentiable generate power series called Taylor
series. This is when we think that a function fx has derivatives of all orders on an interval I can be
expressed as a power series on that interval.

If we have
.

fx = ? c x − a = c: + c x − a + c x − a + ⋯ + c x − a + ⋯


(4.9)
5:

Term-by-term differentiation gives

f a x = c + 2c x − a + 3c x − a + ⋯ + nc x − a) + ⋯

Power Series and Power Series Solutions of Differential Equations Page 14


Advanced Engineering Mathematics

f aa x = 1 ∙ 2c + 2 ∙ 3c x − a + 3 ∙ 4c x − a + ⋯ + n ∙ n − 1c x − a) + ⋯

f aaa x = 1 ∙ 2 ∙ 3c + 2 ∙ 3 ∙ 4c' x − a + 3 ∙ 4 ∙ 5c9 x − a + ⋯ + n ∙ n − 1 ∙ n − 2c x − a) + ⋯

with the nth derivative of, for all n being

f  x = n! c + a sum of terms with x − a as factor

Since these equations all hold at x = a, we have

f a a = c

f aa a = 1 ∙ 2c

f aaa a = 1 ∙ 2 ∙ 3c

f  a = n! c

With this, a general formula for the nth term of the coefficients of the power series can be deduced, that is

f  a
c =
n!
(4.12)

If the function fx has a series representation, then it must be


.
f d a f aa a f  a
fx = ? x − ad = fa + f a ax − a + x − a + ⋯ + x − a + ⋯
k! 2! n!
(4.13)
d5:

which is the Taylor series expansion of fx about x = a. When a = 0, the series becomes
.
f d 0 d f aa 0  f  0 
fx = ? x = f0 + f a 0x + x + ⋯+ x +⋯
k! 2! n!
(4.14)
d5:

which is the Maclaurin series expansion of fx.

The right hand side of equations 4.13 and 4.14 are called the Taylor (Maclaurin) polynomials of order n of
the function fx.

f aa a f  a


P x = fa + f a ax − a + x − a + ⋯ + x − a
2! n!
(4.15)

Power Series and Power Series Solutions of Differential Equations Page 15


Advanced Engineering Mathematics

f aa 0  f  0 


P x = f0 + f a 0x + x + ⋯+ x
2! n!
(4.16)

These polynomials provided a linear approximation of the function fx in the neighborhood of a (or 0)

Example 4.10
1. Find the Taylor series generated by fx = [ at a = 2. Where, if anywhere, does the series converge to



[
.

2. Find the Taylor series expansion, and the Taylor polynomials generated by fx = e[ at x = 0.

3. Find the Taylor series and Taylor polynomials generated by fx = cos x at x = 0.

Answer:
[) [)K [) 8
1. fx = − K + m − ⋯ + −1 8nS + ⋯. The series converges for 0 < x < 4.

   

[o
2. The Taylor series expansion of fx is fx = ∑.
d5: d! . The Taylor polynomials generated by the
function is
x x
P x = 1 + x + + ⋯
2 n!

Figure 3. Plot of approximation for exp(x)

Power Series and Power Series Solutions of Differential Equations Page 16


Advanced Engineering Mathematics

) o [Ko
3. The Taylor series generated by function f at x = 0 is ∑.
d5: d!
. The 2nth order (as well as the
2n + 1th order) polynomial of cos x is then
x x' x 
P x = P x = 1 − + − ⋯ + −1
2! 4! 2n!

Figure 4. Taylor polynomial approximation of cos(x)

Drill Problems 4.3


A. Find the Maclaurin series (Taylor series at x = 0) of the following functions
1. fx = e)[

2. fx = e[/

3. fx = [


4. fx = )[


5. sin 3x

6. cosh x

7. sinh x

8. x ' − 2x  − 5x + 4

9. x + 1
[
10. sin 

Power Series and Power Series Solutions of Differential Equations Page 17


Advanced Engineering Mathematics

B. Find the Taylor series generated by the following functions at x = a


11. fx = x  − 2x + 4, a = 2

12. fx = 2x  + 2x  + 3x − 8, a = 1

13. fx = x ' + x  + 1, a = −2

14. fx = 3x 9 − x ' + 2x  + x  − 2, a = −1

15. fx =

[K
,a=1

16. fx = )[, a = 0


[

17. fx = e[ , a = 2

18. fx = 2[ , a = 1

C. Find the first and second order Taylor polynomial approximation of the following functions at x = 0.
19. fx = lncos x

20. fx = epq [

4.4 Power Series Solution of Differential Equations: Solutions Near an Ordinary Point

For a linear differential equation

b: xy  + b xy ) + ⋯ + b xy = Rx (4.17)

the point x = x: is called an ordinary point of 4.17 if b: x:  ≠ 0. A singular point of the linear equation is
any point x = x for which b: x  = 0. Any point that is not a singular point is an ordinary point.

The differential equation

1 − x  y aa − 6xy a − 4y = 0

has x = 1 and x = −1 as its only singular points in the finite complex plane. The equation

y aa + 2xy a + y = 0

has no singular points in the finite plane. The equation

xy aa + y a + xy = 0

has the origin, x = 0, as the only singular point in the finite plane.

Power Series and Power Series Solutions of Differential Equations Page 18


Advanced Engineering Mathematics

The solution of linear equations with constant coefficients can be accomplished by methods developed
earlier. For linear, ordinary differential equations with variable coefficients, and of order greater than one,
probably the most generally effective method of attack is that based upon the use of power series.

In solving differential equations near an ordinary point, we assume a solution of a power series of the form
.

y = ? c x  (4.18)
5:

and substitute this to the given differential equation. The task then is to find the general term of the series
c . The method described is demonstrated in the following examples.

Example 4.11
1. Solve the equation y aa + 4y = 0 near the ordinary point x = 0.

2. Solve the equation 1 − x  y aa − 6xy a − 4y = 0 near the ordinary point x = 0.

Answers:

1. y = c: cos 2x +  c sin 2x.

s sS u[)[m v
2. y = )[tK K + )[K K

Drill Problems 4.4


Find the general solution of the following differential equations near the origin.
1. y aa + 3xy a + 3y = 0

2. 1 − 4x  y aa + 8y = 0

3. 1 + x  y aa + 10xy a + 20y = 0

4. x  − 9y aa + 3xy a − 3y = 0

5. x  + 4y aa + 6xy a + 4y = 0

6. y aa + x  y = 0

7. 1 + 2x  y aa + 3xy a − 3y = 0

8. y aa + xy a + 3y = x 

9. y aa + 3xy a + 7y = 0

Power Series and Power Series Solutions of Differential Equations Page 19


Advanced Engineering Mathematics

10. x  + 4y aa + xy a − 9y = 0

Power Series and Power Series Solutions of Differential Equations Page 20

You might also like