Methods of solving ODE
-
Upload
pokar-kishor -
Category
Education
-
view
239 -
download
3
description
Transcript of Methods of solving ODE
![Page 1: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/1.jpg)
![Page 2: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/2.jpg)
![Page 3: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/3.jpg)
![Page 4: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/4.jpg)
![Page 5: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/5.jpg)
Linear ODE
HOMOGENEOUS
CONSTANT COEFFICIENT
VARIABLE COEFFICIENT
SEULER-CAUCHY
NON-HOMOGENEO
US
CONSTANT COEFFICIENT
VARIABLE COEFFICIENT
SEULER-CAUCHY
![Page 6: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/6.jpg)
NON-HOMOGENEOUS O.D.E. WITH CONSTANT COEFFICIENTS
Solution of Non-Homogeneous ODE
Solution of Corresponding Homogeneous ODE(C.F.)
Particular Integral Of Given Non-Homogeneous ODE(P.I)
General Solution =C.F.+P.I.
![Page 7: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/7.jpg)
Method of Finding Particular
Integral
Method of Undetermined Coefficients
Method of Variation of Parameters
1
F(D)
![Page 8: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/8.jpg)
Method of Undetermined Coefficients
![Page 9: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/9.jpg)
The Following Table shows the choice of
![Page 10: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/10.jpg)
The Choice for Yp is made using the following three rules on the basis of the table as well.
r(x)
Basic Rule If r(x) is one of the functions given in the first column of
the table 2.1, choose Yp in the
same line.
Modification Rule If a term in your choice of Yp happens to be a basic solution of the Homogeneous ODE then multiply your
choice by x
Sum Rule If r(x) is sum of
functions in the first column of the Table 2.1, choose for Yp the sum of the functions in the corresponding lines of the second column.
![Page 11: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/11.jpg)
r(x) Basic Rule
The Application of Basic Rule
Solve2y''+ y = x
![Page 12: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/12.jpg)
2
2
0x
h
h
(D +1)y = 0
AuxiliaryEquation :D +1= 0
D = ±i
C.F. y = e (A cosx+Bsinx)
y (C.F.) = A cosx+Bsinx
=
Step-1: General Solution of the homogeneous ODE
![Page 13: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/13.jpg)
Step-2: Solution Yp of the Non-homogeneous ODE
We look for choice Yp from the table for the given 2 nr(x) = x (Of theformx ,n )= 2
From the following table
![Page 14: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/14.jpg)
2p 0 1 2
''p
2
2 22 0 1 2
Let y = K + K x+ K x .
Theny = 2K .
Bysubstituting this iny''+ y = x weget,
2K + K + K x+ K x = x x x= + + 20 0 1
2 0
1
2 02
p
By comparing the coefficients,
(2K + K ) = 0
K = 0
K =1 K = -2
So,y (P.I.) = -2+ x is the required P .I .
Þ
![Page 15: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/15.jpg)
GENERAL SOLUTION(G.S.=C.F.+P.I.)
y(x) A cosx Bsinx x .= + - + 22
h py(x) y (x) y (x)= +
![Page 16: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/16.jpg)
r(x) Modification Rule
The Application of Modification Rule
xSolve: y'' y' y e-+ + = 23 2 30
![Page 17: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/17.jpg)
2
2
x xh
x x
(D + D )y = 0
AuxiliaryEquation :D + D = 0
(D )(D )
D ,
C.F. y = c e c e
y e and y e
- -
- -
+
+
Þ + + =
Þ = - -
= +
= =
21 2
21 2
3 2
3 2
1 2 0
1 2
Step-1: General Solution of the homogeneous ODE
Solution of homogeneous equation : y'' y' y+ + =3 2 0
![Page 18: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/18.jpg)
Step-2: Solution Yp of the Non-homogeneous ODE
We look for choice Yp from the table for the given 2x xr(x) = e (Of theformKe )-30
From the following table
![Page 19: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/19.jpg)
xy e-= 22
' x xp
'' x xp
'' ' xp p p
x x x x x x
x x x x x x
Theny Ke Kxe
&y Ke Kxe
Substitutingthesevaluesininthegiven diff.eqn.
y y y e
Ke Kxe (Ke Kxe ) Kxe e
Ke Kxe Ke Kxe Kxe e
- -
- -
-
- - - - - -
- - - - - -
= -
= - +
+ + =
Þ - + + - + =
Þ - + + - + =
2 2
2 2
2
2 2 2 2 2 2
2 2 2 2 2 2
2
4 4
3 2 30
4 4 3 2 2 30
4 4 3 6 2 30x x
xp
Ke e
By comparing the coefficient
K
y (P.I.) = xe is the required P .I .
- -
-
Þ - =
= -
-
2 2
2
30
30
30
But if we look at the C.F. it has the solution
which is same as choice of x
py Ke-= 2
So, by modification rule we have to multiply the above choice of Yp
by x, i.e., we have the modified choice xp
y Kxe-= 2
![Page 20: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/20.jpg)
GENERAL SOLUTION(G.S.=C.F.+P.I.)
x x xy(x) c e c e xe .- - -= + -2 21 2
30
h py(x) y (x) y (x)= +
![Page 21: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/21.jpg)
r(x) Sum Rule
The Application of Sum Rule
Solve: y'' y' y x sin x+ + = +24 5 25 13 2
![Page 22: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/22.jpg)
x
hx
h
(D D )y = 0
AuxiliaryEquation :
D D = 0
D i,
C.F. y = e (A cosx+Bsinx)
y (C.F.) = e (A cosx+Bsinx)
-
-
+ +
+ +
- + -= = - ±
=
2
2
2
2
4 5
4 5
4 16 202
2
Step-1: General Solution of the homogeneous ODE
Solution of homogeneous equation : y'' y' y+ + =4 5 0
![Page 23: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/23.jpg)
Step-2: Solution Yp of the Non-homogeneous ODE
We look for choice Yp from the table for the given r(x) = x sin x r (x) r (x)+ = +2
1 225 13 2
From the following table
n(Here r (x)is of theformx ,n
& r (x) is of the formksin x, ) =
=1
2
2
2
![Page 24: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/24.jpg)
2p 0 1 2
'p''p
Let y = (K + K x+ K x ) (K sin x K cos x).
Theny = K K x K cos x K sin x.
y = K K sin x K cos x.
+ +
+ + -
- -
3 4
1 2 3 4
2 3 4
2 2
2 2 2 2 2
2 4 2 4 22
20 1 2
Bysubstituting this iny''+ y' y = x sin x,weget,
( K K sin x K cos x)
(K K x K cos x K sin x)
(K + K x+ K x K sin x K cos x)
x x sin x cos x
+ +
- -
+ + + -
+ + +
= + + + +
2 3 4
1 2 3 4
3 42
4 5 25 13 2
2 4 2 4 2
4 2 2 2 2 2
5 2 2
0 0 25 13 2 0 2
( K K K ) ( K K )x K x
( K K K )sin x ( K K K )cos x
x sin x
Þ + + + - - +
+ - - + + - + +
= +
22 1 0 2 1 2
3 4 3 4 3 42
2 4 5 8 5 5
4 8 5 2 4 8 5 2
25 13 2
( K K K ) ( K K )x K x
(K K )sin x (K K )cos x x sin x
Þ + + + - - +
+ - + + = +
22 1 0 2 1 2
23 4 4 3
2 4 5 8 5 5
8 2 8 2 25 13 2
![Page 25: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/25.jpg)
( K K K ) ( K K )x K x
(K K )sin x (K K )cos x x sin x
Þ + + + - - +
+ - + + = +
22 1 0 2 1 2
23 4 4 3
2 4 5 8 5 5
8 2 8 2 25 13 2
By comparing the coefficients we get,
K K K , K K , K ,
K K , K K
+ + = - - = =
- = + =2 1 0 2 1 2
3 4 4 3
2 4 5 0 8 5 0 5
8 13 8 0
KK K &K K .
& K K , K K ( i.e.,K K )
Þ - - = = Þ = - = -
- = + = = -
22 1 2 1
3 4 4 3 4 3
88 5 0 5 8
58 13 8 0 8
K ( K ) gives K K
K K &K K .
using these in K K K ,
we have K K
Þ - - = + =
Þ = Þ = = - = -
+ + =
- + = Þ =
3 3 3 3
3 3 4 3
2 1 0
0 0
8 8 13 64 13
1 865 13 8
5 52 4 5 0
2210 32 5 0
5
pSo, y (P.I.) x x (sin x cos x)= - + + -222 1
8 5 2 8 25 5
![Page 26: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/26.jpg)
GENERAL SOLUTION(G.S.=C.F.+P.I.)
xy(x) e (A cosx+Bsinx) x x (sin x cos x).
-= + - + + -
2 222 18 5 2 8 2
5 5
h py(x) y (x) y (x)= +
![Page 27: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/27.jpg)
4251 3
0011 0010 1010 1101 0001 0100 1011Method of Finding Particular Integral
Method of Variation of Parameters
![Page 28: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/28.jpg)
4251 3
0011 0010 1010 1101 0001 0100 1011
Method of Variation of Parameters
![Page 29: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/29.jpg)
4251 3
0011 0010 1010 1101 0001 0100 1011
x
h
h
(D )y = 0
AuxiliaryEquation :D = 0 D i,
C.F. y = e (A cosx+Bsinx)
y (C.F.) = A cosx+Bsinx
Next,we find theP.I.
Here we have y cosx and y sinx
+
+ Þ = ±
=
= =
2
2
0
1 2
1
1
Solution of homogeneous equation : y'' y+ = 0
' 'So,W W(y ,y ) y y y y
cosx(cosx) sinx( sinx) cos x sin x
= = -
= - - = +
=
1 2 1 2 2 12 2
1
![Page 30: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/30.jpg)
4251 3
0011 0010 1010 1101 0001 0100 1011
Next, we have the formula,
General solution is
![Page 31: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/31.jpg)
Method of variation of parameres for higher order ODE
![Page 32: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/32.jpg)
![Page 33: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/33.jpg)
![Page 34: Methods of solving ODE](https://reader033.fdocuments.net/reader033/viewer/2022061203/547e3a65b4af9fc53a8b465d/html5/thumbnails/34.jpg)