EE203 Chapter 2 Solve ODE Using Power Series
EE203 Chapter 2 Solve ODE Using Power Series
ENGINEERS II (EE203)
SCHOOL OF ENGINEERING
UCSI UNIVERSITY
Outline
1. Introduction
2. Review of Power Series
3. Theory of Power Series Method
4. Existence of Power Series Solutions
5. Power Series Solutions of ODE
6. Operations on Power Series
1. Introduction
The differential equations studied earlier often possess solutions
expressible in terms of elementary functions such as polynomials,
exponentials and trigonometric. However, many equations arise from
physical problem do not have solutions that can be so conveniently
expressed.
f ( x) =
m =0
f ( m) ( x0 )
( x x0 ) m
m!
Recall that:
f
(0)
( x) = f ( x)
&
(m)
( x ) = m th derivative of f ( x )
cos( x ) =
m =0
(m)
( x0 )
( x x0 ) m
m!
(1) m ( x 2 m )
cos( x) =
(2m)!
m =0
e =?
x
y = am ( x x0 ) m = a0 + a1 ( x x0 ) + a2 ( x x0 ) 2 + ......
m =0
y = am (x x0 )m = a0 + a1(x x0 ) + a2 (x x0 )2 + ......
m=0
( x x0 ) > R
1
am +1
lim
m a
m
R=
OR
1
lim
am
Radius of convergence
Radius of convergence
Exercise 1:
Determine the radius of convergence, R, for
the following power series:
mx m
m +1
m =0 2
(1) m x 2 m
m
k
m =0
(3)
m
a ( x x ) with radius of convergence R > 0.
m =0
Examples
x2 x4 x6
q( x) = 1
+
+L
3! 5! 7!
that converges for all finite values of x. (R=)
(b) The differential equation y'' + (ln x)y = 0 has a singular point at
x = 0 because q(x) = ln x possesses no power series in x.
(Note: ln(0)=-)
(c) The singular points of the equation (x2 - 1)y'' + 2xy' + 6y = 0 are
the solutions of x2 - 1 = 0 or x = 1. p(x)= 2x/(x2 - 1)= and also
q(x)= 6/(x2 - 1)= for x=1. All other finite values of x are
ordinary points.
(d) x2y'' - 2xy' + 2y = 0 and x2y'' - 2y = 0 has a singular point at
x = 0 since p(x)= 2/x= and also q(x)= 2/x2= for x=0.
(3)
(3)
(4)
y = am x m = a0 + a1 x + a2 x 2 + a3 x 3 + ..........
(4)
m=0
so,
(4a)
m =1
Example 3:
(3)
(3a)
Example 3 contd
Power series
Example 4:
(3)
(3a)
(3b)
Example 4 contd
#
y = a0.cos(x)+ a1.sin(x)
Note:
1. It is not always necessary to get the power series solution in the form
of familiar functions! (trigonometric, exponential, etc).
2. In example 1 and 2, the series solutions are done in open form (the
series are expanded). Later we will see how the solutions are done in
closed form.
y = am x m = a0 + a1 x + a2 x 2 + a3 x 3 + ..........
m =0
Closed form
Open form
Exercise 2:
Solve:
y+2xy =0
m
y
=
a
x
m
If
m =0
is convergent, then
y ' = mam x m 1
m =1
and
m
a
x
and
If m
m=0
m
b
x
m
m=0
are convergent
m
(
a
+
b
)
x
m m
m =0
If
m=0
and
m
b
x
m
m=0
are convergent.
m
(
a
b
+
a
b
+
...
+
a
b
)
x
0 m 1 m1
m 0
m =0
Examples 5
Solve by power series:
y'' - 2xy = 0.
Solution:
x = 0 is an ordinary point of the equation. From the above Theorem,
we can find the solutions of the power series form:
y = cm x m .
m =0
y' = mcm x m1
m=1
Therefore,
m=2
m=0
Examples 5 contd
m=2
m=0
k =0
k =1
k
k
(
k
+
2
)(
k
+
1
)
c
x
2
c
x
k 1 = 0
k +2
Next we need to get the two series starting at the same value of index k.
The only way to do that for this problem is to strip out the k=0 term.
k =1
k =1
Examples 5 contd
We must then have
2c2 = 0
c2=0
(k + 2)(k + 1)ck + 2 - 2ck - 1 = 0
and
ck + 2 =
2ck 1
( k + 2 )( k + 1 ) ,
for k=0
for k = 1, 2, 3,
for k = 1, 2, 3,
2c0
3 2
2c
c4 = 1
43
2c
c5 = 2 = 0
5 4
2
22
c6 =
c3 =
c0
65
6 5 3 2
c3 =
2
22
c7 =
c4 =
c1
76
7643
2
c8 =
c5 = 0
8 7
2
23
c9 =
c6 =
c0
98
9 8 6 5 3 2
2
23
c10 =
c3 =
c1
10 9
10 9 7 6 4 3
M
Examples 5 contd
The solution is now:
y = cm x m
m =0
y = c 0 + c1 x + c 2 x 2 + c 3 x 3 + c 4 x 4 + c 5 x 5 + L
2
2
22
22
3
4
6
= c 0 + c1 x + 0 +
c0 x +
c1 x + 0 +
c0 x +
c1 x 7
3 2
6 53 2
7 6 43
43
2 3
22
2 4
22
6
7
= c 0 1 +
x +
x + L + c1 x +
x +
x + L
6 53 2
43
7643
3 2
y = c0 y1 ( x ) + c1 y 2 ( x )
Examples 6
We will repeat Example 4, but now the power series will
be expressed in Closed form.
Solve it by power series:
y'' +y = 0.
y = am x m
m =0
m=0
m=1
m=0
m=2
m(m 1)am x
m=2
m2
+ am x m = 0
m =0
Examples 6 contd
m=2
m =0
m2
m
m
(
m
1
)
a
x
+
a
x
m =0
m
k = m2
k =m
k =0
k =0
k
k
(
k
+
2
)(
k
+
1
)
a
x
+
a
x
k =0
k +2
+ ak ] x = 0
k
k +2
k =0
(k + 2)(k + 1)ak + 2 + ak = 0
We want to let a0 and a1 be
unknowns (arbitrary), thus:
For k=0,1,2,
ak + 2
ak
=
(k + 2)(k + 1)
Examples 6 contd
ak + 2
ak
=
(k + 2)(k + 1)
For k=0,1,2,
#
y = a0.cos(x)+ a1.sin(x)