Professional Documents
Culture Documents
Archivetemp10 - Yp Case 3
Archivetemp10 - Yp Case 3
(1X)1 1 X X2 X3 ...
1
to express as a power series in D. Then
F(D)
1
yp x k S(D) x k
F(D)
Example 1
Solve the differential equation 𝑦`` + 𝑦 = 3𝑥 4 + 2x
Solution
This equation is written as (D2 + 1)y = 3x 4 + 2x.
The auxiliary equation is m2 1 0 . Its roots are i, –i.
Then yc c1cos x c2 sin x
1
M.H.Eid Ordinary Differential Equations
1
yp = 3x 4 + 2x = (1 + D2 )−1 3x 4 + 2x
D2 + 1
= [1 − D2 + D4 − ⋯ ] 3x 4 + 2x
= 1 3x 4 + 2x − D2 3x 4 + 2x + D4 3x 4 + 2x − ⋯
= 3x 4 + 2x − 36x 2 + 72
The general solution is: y yc yp .
Example 2
Solve the differential equation 𝑦`` − 2𝑦` + 𝑦 = 𝑥 2 − 3x
Solution
This equation is written as D2 − 2D + 1 y = x 2 − 3x.
The auxiliary equation is m2 2m 1 0 . Its roots are 1, 1.
2
M.H.Eid Ordinary Differential Equations
Example 3
Solve the differential equation (D2 2D 3)y x 2
Solution
The auxiliary equation is m2 2m 3 0 . Its roots are – 1, 3.
Then yc c1e x c2e3x
1
1 1 2DD2 2
yp 2 x 2 1 x
D 2D 3 3 3
1 2D D2 2DD2 2 2
1 ( ) ... x
3 3 3
1 2 7 1 4 14
1 D D2... x 2 x 2 x
3 3 9 3 3 9
The general solution is: y yc yp .
Example 4
Solve the differential equation (D2 6D 7)y x3 3x 4
Solution
The auxiliary equation is m2 6m 7 0 . Its roots are 1, – 7.
Then yc c1ex c2e7x
3
M.H.Eid Ordinary Differential Equations
1
1 1 6D D2
yp 2 ( x 4 3x 4) 1 ( x 3x 4)
3
D 6D 7 7 7
1 6D D2 6D D2 2 6D D2 3 3
1 ( ) ( ) ... ( x 3x 4)
7 7 7 7
1 6 43 300 3 3
1 D D2 D ... ( x 3x 4)
7 7 49 343
1 3 6 43 300
x 3x 4 (3x 2 3) (6x) (6)
7 7 49 343
1 3 18 2 111 2327
x
7 343
x x
7 49
The general solution is: y yc yp .
4
M.H.Eid Ordinary Differential Equations
Example 5
Solve the differential equation (D2 1)y 3 e2x 4cos3x x 4 x 2
Solution
The auxiliary equation is m2 1 0 . Its roots are 1, – 1.
Then yc Aex Be x
1
yp = 2
[3 + e2x − 4 cos 3x + x 4 − x 2 ]
D −1
1 4 1
= 2 [3 + e2x ] − 2 cos 3x + 2 [x 4 − x 2 ]
D −1 D −1 D −1
3 1 4 1
= + e2x − cos 3x + 2 [x 4 − x 2 ]
0−1 4−1 −9 − 1 D −1
Case 1 Case 2 Case 3
1
Then, x 4 − x 2 = −(1 − D2 )−1 x 4 − x 2
D 2 −1
= −[1 + D2 + D4 + ⋯ ] x 4 − x 2
= −[(x 4 − x 2 ) + D2 (x 4 − x 2 ) + D4 (x 4 − x 2 ) + ⋯ ]
= − x 4 − x 2 + 12x 2 − 2 + 24
= −(x 4 + 11x 2 + 22)
1 4
Then yp = −3 + e2x + cos 3x − (x 4 + 11x 2 + 22)
3 10
5
M.H.Eid Ordinary Differential Equations
Example 6
1 14 3x 1 4 3x 1 6
yp 4 3x 3x
2x e e x e x e x
(D3) (D33)2 D2 30
6
M.H.Eid Ordinary Differential Equations
Example 7
1 1 1
yp 2e
3x cos 4x 3x
e 2
cos 4x e3x
2
cos 4x
(D3) (D33) D
1
e3x cos 4x
16
Then, the general solution is: y yc yp
Example 8
1 1 1
yp 2e
3x sin 2x 3x
e 2
sin 2x e3x
2
sin 2x
(D3) (D33) D
1
e3x sin 2x
4
Then, the general solution is: y yc yp
7
M.H.Eid Ordinary Differential Equations
Example 9
Solve the differential equation: (D2 2D 3)y ( x3 4)ex
Solution
The auxiliary equation is m2 2m 3 0 . Its roots are – 1, 3.
Then yc c1e x c2e3x
1 1
yp 2 2D 3
( x 3 4)e x e x
2
( x 3 4)
D (D1) 2(D 1) 3
1
1 1 1
ex ( x 3 4) e x 1 D2 ( x 3 4)
D2 4 4 4
1 x 1 2 1 4 3 1 3
e 1 D D ... ( x 4) e x x 3 x 4 .
4 4 16 4 2
The general solution is: y yc yp .
Example 10
Solve the differential equation: (D2 5)y e3x cos 2x
1 1
yp 2 5e
3x cos 2x 3x
e cos 2x
D (D3)2 5
8
M.H.Eid Ordinary Differential Equations
1 1
e3x cos 2x e3x cos 2x
D 2 6D 4 4 6D 4
1 1
e3x cos 2x e3x sin 2x .
6D 12
The general solution is: y yc yp .
Example 11
Solve the differential equation: (D2 3D 2)y e2x cos3x
9
M.H.Eid Ordinary Differential Equations
In other method
1 1 1 sin3x
e2x cos3x e2x cos3x e2x
D2 D (D 1)D (D 1) 3
1 1 D 1 1 D 1 1 D 1
e2x sin3x e2x sin3x e2x sin3x
3 D 1 D 1 3 D2 1 3 9 1
1 1
e2x (D 1)sin 3x e2x (3cos3x sin 3x)
30 30
The general solution is: y yc yp .
Example 12
Solve the differential equation: y``4y x3e2x
1 1
yP 24 x 3 2x 2x
e e 2 x3
D (D 2) 4
1 1
e2x 3 2x 1 (1 D )
2 4D x e x3
D 4D 4
1 D D2
e 2x (1 ...) x 3
4D 4 16
1 3 3 2 6 6
e2x (x x x )
4D 4 16 64
10
M.H.Eid Ordinary Differential Equations
1 1 1 3 6
e2x ( x 4 x 3 x 2 x)
4 4 4 16 64
The general solution is y = yc y P
Example 13
Solve the differential equation: y``4y`4y 12x 2e2x
Since (D2 4D 4)y 12x 2e2x .
The A.E is: m2 4m 4 0 its roots are 2, 2.
Then yc (c1x c2)e2x .
1 1
yP 2
12x 2e2x e2x
2
12x 2 x 4e2x.
(D2) D
The general solution is y = yc y P .
Example 14
2
Solve the differential equation: (D2 4D 4)y (e2x 2sin x)
The given equation takes the form:
(D2 4D 4)y e4x 4e2x sin x 4sin 2x
11
M.H.Eid Ordinary Differential Equations
1 2
yp 2 4D 4
[2 e4x ]
2 4D 4
cos 2x
D D
4
2x sin x
2 4D 4 e
D
2 1 2
e4x cos 2x
0 0 4 16 16 4 4 4D 4
4
e2x sin x
2
(D 2) 4(D 2) 4
1 1 4x 1 1 4
e cos 2x e 2x sin x
2 4 2D D2
1 1 4x 1
e sin 2x 4e2x sin x
2 4 4
The general solution is y y c y p .
12