So Solution of tion of Non Non-Ho Homogeno mogenous us Line - - PowerPoint PPT Presentation
So Solution of tion of Non Non-Ho Homogeno mogenous us Line - - PowerPoint PPT Presentation
So Solution of tion of Non Non-Ho Homogeno mogenous us Line inear ar DE DE wit with h Co Consta nstant nt Co Coef efficien icients ts Consider the DE: n n 1 ... ( ) a
So Solution of tion of Non Non-Ho Homogeno mogenous us Line inear ar DE DE wit with h Co Consta nstant nt Co Coef efficien icients ts
Consider the DE:
1 1 1
... ( )
n n n n
a y a y a y a y f x
G c p
y y y
The complementary (or homogenous) solution
c
y
p
y
G
y
The particular solution The general solution
We have two methods for obtaining p
y
The first is called: undetermined coefficient method The second called: variation of parameter method
1- The Undetermined Coefficient Method:
The form of the particular solution depends on the form of the inhomogeneous function f(x). This form contains arbitrary constant which can be computed by substituting in the given DE and we summarize this in the following table.
Notes:
Example
Find the general solution of the DE:
2
y y y y x x
1 2,3
1, i
1 2 3
cos sin
x c
y c e c x c x
2 p
y Ax Bx C
Solution
3 2
1
2 , 2 ,
p p p
y Ax B y A y
2 2
2 2 A Ax B Ax Bx C x x
2
. 1 . 2 1 . 2 coeff
- f
x A coeff
- f
x A B coeff
- f
x B A C
1, 3, 1 A B C
2
3 1
p
y x x
Example
Find the general solution of the DE:
2
12 6 y y x x
Solution
1 2,3
1,
1 2 3 x c
y c c x c e
2 2 p
y x Ax Bx C
3 2
2 2
24 6 12 6 2 12 6 Ax B Ax Bx C x x
2
. 12 12 . 24 6 6 . 6 2 coeff
- f
x A coeff
- f
x A B coeff
- f
x B C
1, 5, 15 A B C
4 3 2
5 15
p
y x x x
Example
Find the general solution of the DE:
5
10 25 4
x
y y y e
Solution
1 2
5
5 1 2 x c
y c c x e
2 5x p
y Ax e
2
10 25
2 5
2 5
x p
y A x x e
2 5
2 20 25
x p
y A x x e
2 A
2 5
2
x p
y x e
Example
Find the general solution of the DE:
3 2 sin y y y x x
Solution
1 2
1, 2
2 1 2 x x c
y c e c e
cos sin
p
y A Bx x C Dx x
2
3 2
cos sin
p
y A D Cx x C B Ax x
2 cos 2 sin
p
y C B Ax x A D Cx x
3 17 1 3 , , , 10 50 10 25 A B C D
3 17 1 3 cos sin 10 50 10 25
p
y x x x x
2- The Variation of Parameter Method:
The method of variation of parameter is more general than the undetermined coefficient method.
Steps of Solution:
(1) Find the fundamental set of solution of the homogeneous D.E:
1 1 2 2
...
c n n
y c y c y c y
(2) The particular solution will take the form:
) ( ) ( ... ) ( ) ( ) ( ) (
2 2 1 1
x y x u x y x u x y x u y
n n p
(3) Evaluate the value of by the form:
i
u x
1 2 1 2 1 2 3 1 1 1 1 2
... ... , , ,..., ... ... ... ... ...
n n i n n n n n
y y y y y y W y y y y y y f x y
1 2 1 2 1 2 3 1 1 1 1 2
... ... , , ,..., ... ... ... ... ...
n n n n n n n
y y y y y y W y y y y y y y
( ) ( ) , 1,2,3,..., ( )
i i
W x u x i n W x
i th column
Example
Find the general solution of the DE:
2
x
e y y y x
Solution
2 y y y
𝝁2 − 𝟑𝝁 + 𝟐 =0 (𝝁 − 𝟐)𝟑= 𝟏 𝝁=1,1
𝐳 = (𝒅𝟐+𝒅𝟑𝒚)𝑓𝑦
1 2 x x p
y u e u xe
2 1
1
x x x x
xe W e e x e x
2
1
x x x x x
e xe W e e x e
2 2 x x x x
e e W e x e x
1 1
W u dx W
2 2 x x
e dx x e
2 2
W u dx W
2 2
ln
x x
e x dx x e
Example
Find the general solution of the DE:
1 9 4sin3 y y x
Solution
1 2
3 , 3 i i
2
9
1 2
cos3 sin3
c
y c x c x
9 y y
1 2
cos3 sin3
p
y u x u x
1
sin3 1 1 4 3cos3 4sin3 x W x x
cos3 sin3 3 3sin3 3cos3 x x W x x
2
cos3 cos3 1 4sin3 3sin3 4sin3 x x W x x x
1 1
W u dx W 1 1 12 12 dx x
2 2
W u dx W
1 cos3 1 ln sin3 12 sin3 36 xdx x x