EPD
EPD
ng
COURSE DETAILS:
Course Coordinator: Dr. O.S. Odetunde
Email: [email protected]
COURSE CONTENTS:
COURSE REQUIREMENTS:
READINGLIST:
York 2007.
1
https://oouagoiwoye.edu.ng
COURSE CONTENTS
DIFFERENTIAL EQUATION
1.1. Introduction
variables.
Example
dy d3y d2y
(a). 2 x 2 3x 6 (b). y 2x
dx dx 3 dx 2
u 2u u
(c). 3 x 2 6 xy 4 (d ). 3 0
x xy y
2 3
dy d2y d 2 y dy
(e). y0 ( f ). x 2 2 xy
dx d 2x dx dx
This is a differential equation in which the dependent variable depends only on one
independent variable.
Example
2
dy d2y dy
(ii ). x (ii ). 2x 0 (iii ). x 0
dx dx 2 dx
2
https://oouagoiwoye.edu.ng
independent variables.
Example
2u u 3u u
(i ). 3 0 (ii ).
xy y xyz x
2u 2u 2u u
(iii ). 4 (iv). 4
x y 2 x 2
y
The order of a differential equation is the order of the highest differential coefficient
Examples:
dy
(a). 2 x 2 3 x 6 is of order 1
dx
d3y d2y
(b). y 2 x is of order 3
dx 3 dx 2
3
dy d2y
(c). 2 y 0 is of order 2
dx dx
2u u
(d). 3 0 is of order 2
xy y
The degree of a differential equation is the power to which the highest order differential
coefficient is raised.
NOTE: For equation with fractional power, the fraction must be removed.
Examples:
3
https://oouagoiwoye.edu.ng
2
dy
(a). y 3 x is of degree 2
dx
5
d3y dy
(b). 3 4 0 is of degree 5
dx dx
3 4
2 u u
(c). 4u 0 is of degree 3
2
x x
4
2 u dy
2
(d). 2 1 is of degree 4
x dx
Exercises
d2y
(i). 2
a2x 0
dx
3
dy 2
2
d2y
(ii). 1
dx dx 2
3 4
d2y dy
(iii). x 2 y y 4 0
2
dx dx
d2y
(iv). y y2 1
dx 2
2
dy
(v). y x 2 1
dx
d2y dy
(vi). 2
3 2y x2
dx dx
equation from a given primitive function, eliminate any arbitrary constant (s) by
4
https://oouagoiwoye.edu.ng
differentiating as many times as there are distinct arbitrary where applicable. Thus, if
differentiations are just sufficient to eliminate the constants and reduce the relation
5
https://oouagoiwoye.edu.ng
Examples:
(c). y 2 Ax 2 Bx c
Solution
(a ). y Ax A 2 (1)
dy
A (2)
dx
2
dy dy
yx
dx dx
2
dy dy
x y 0 order 1
dx dx
(b). y A cos x B sin x (i)
Differentiating with respect to x
dy
A sin x B cos x (ii )
dx
d2y
A cos x B sin x (iii )
dx 2
Putting equation (iii) into (i)
d2y
y
dx 2
d2y
y
dx 2
d2y
y0
dx 2
6
https://oouagoiwoye.edu.ng
d2y
y0 Order 2
dx 2
(c). y 2 Ax 2 Bx c (i)
d2y dy dy
2y 2
2 2A
dx dx dx
d3y dy d 2 y dy d 2 y
2y 2 4 0
dx 3 dx dx 2 dx dx 2
d 3 y dy d 2 y dy d 2 y
y 3 2 0
dx dx dx 2 dx dx 2
d3y dy d 2 y
y 3 0 Order 3
dx 3 dx dx 2
Example
Solution
dy
4 Ae 4 x Be 4 x 4 Bxe 4 x ( 2)
dx
d2y
Then, 2
16 Ae 4 x 4 Be 4 x 4 Be 4 x 16 Bxe 4 x (3)
dx
d2y
2
16 Ae 4 x 8 Be 4 x 16 Bxe 4 x
dx
multiplying equation (2) by 4
dy
4 16 Ae 4 x 4 Be 4 x 16 Bxe 4 x ( 4)
dx
7
https://oouagoiwoye.edu.ng
d2y dy
2
4 4 Bxe 4 x (5)
dx dx
16 y 16 Ae 4 x 16 Bxe 4 x ( 6)
dy
4 16 y 4 Bxe 4 x (7 )
dx
d2y dy dy
2
4 4 16 y
dx dx dx
d2y dy
2
8 16 y 0
dx dx
dy
x y ( x 1) 0 Order 1
dx
8
https://oouagoiwoye.edu.ng
NOTE:
The number of constant present in any equation will determine the order of the
differential equation formed i.e. the number of constant is equal to the order of the
differential equation.
Exercises
(i ). y ae 3 x be x (ii ). y ae x b cos x
(iii ). y px x 2 (iv ). y A Be 3 x
(3). Obtain the differential equation having a basis for its solution as cosh6x and
sinh6x.
d3y dy
(4). Show that 2
6 13 y 0 has a general solution given by
dx dx
A x
written in the form y . Hence find the particular solution for which
1 Ax
y2 when x 1 .
3
9
https://oouagoiwoye.edu.ng
2.0. Introduction
A general solution is usually obtained first and a particular solution may then be
obtained when additional information / details are called initial conditions or boundary
conditions.
There are several / methods of solving first Order Ordinary Differential Equation.
dy
If the equation can be arranged in the form f (x) , then the equation can be solved
dx
by simple integration.
Example (2.0)
dy
1. 3x 2 6 x 5
dx
Solution
dy
3x 2 6 x 5
dx
Integrating both Sides
dy 3x
6 x 5 dx
2
3x 3 6 x 2
y 5x C
3 2
y x 3 3x 2 5 x C
dy
2. Solve x 5x 3 4
dx
Solution
10
https://oouagoiwoye.edu.ng
dy
x 5x 3 4
dx
Divide through by x
dy 4
5x 2
dx x
4
dy 5 x dx
2
x
5x 3
y 4 Inx C
3
dy
3. Obtain the solution of the equation e x 4 given that y 3 when x 0
dx
Solution
dy
ex 4
dx
Divide through by e x
dy 4
dx e x
dy
Then, 4e x
dx
dy 4e
x
dx
y 4e x C
y 3 when x 0
3 4e 0 C
3 4e 0 C
11
https://oouagoiwoye.edu.ng
Since e 0 1
3 4 C
C7
y 4e x 7
containing only one variable then the differential equation of the variable separable
type.
(v). dy f ( x) g ( y )dx
Example (2.1)
dy
(1). Solve the equation 1 x 1 y
dx
Solution
dy
(1 x)(1 y )
dx
Separating the variables
1
dy (1 x)dx
1 y
Integrating both sides
1
1 y dy (1 x)dx
x2
In(1 y ) x C
2
12
https://oouagoiwoye.edu.ng
dy x 1
2. Solve 4
dx y 1
Solution
y
1 dy ( x 1)dx
4
y
1 dy ( x 1)dx
4
y5 x2
y xC
5 2
y5 x2
y xC
5 2
dy
3. Solve y 2 x3
dx
Solution
dy
y 2 x3
dx
Separating the var iables
dy
x 3 dx
dx
Integrating both sides
1
y 2
dy x 3 dx
1 x4
C
y 4
4
y
x 4C 4
4
y 4 Let k 4C
x 4C
4
y 4
x k
13
https://oouagoiwoye.edu.ng
dy y 2 xy 2
4. solve
dx x 2 y x 2
Solution
dy y 2 1 x
dx x 2 ( y 1)
then, separating the var iables
y 1 1 x
2
dy 2 dx
y x
Integrating both sides
y 1 1 x
y 2
dy 2 dx
x
1
y y
2
dy x 2 x 1 dx
Iny y 1 x 1 Inx C
1 1
Iny Inx C
y x
dy y 1
5. Solve the equation given the boundary conditions y 1 when x 0 .
dx x 1
Solution
dy y 1
dx x 1
dy dx
y 1 x 1
dy dx
y 1 x 1
In( y 1) In( x 1) InC
In( y 1) In( x 1)C
y 1 ( x 1)C
y 1
C
x 1
14
https://oouagoiwoye.edu.ng
y 1 when x 0
11
C
0 1
2
1
C 2
y 1 ( x 1) 2
y 1 2 x 2
y 2 x 2 1
y 2 x 1
Exercise
Solve:
dy
(i). x 2 ( y 1) y 2 x 1 0
dx
dy
(ii). x 3 ( y 1) 2 0
dx
(v). 1 x 2
dy
x xy given that y 1, when x 0
dx
dy
(vi). 1 2 x 1 x
dx
dy
(vii). x 2 y x 1
dx
dy 1 y2
(viii).
dx 1 x2
dx
(xi). 4 x y 2 1
dy
EXAMPLE (2.2):
Show that each expression g x, y is homogeneous state also the degree of homogeneity,
(a). g x, y xy 2 5 x 2 y 8 y 3
(b). g x, y 8 x 2 5 xy 5 y 2
(c). g x, y 3 x 5 y x 2 3 y 2
3y2 x2
(d). g x, y
2 xy
(e). g x, y 6 xy x 4 5 x 2 y 2
Solution
(a). g x, y xy 2 5 x 2 y 8 y 3
k 3 xy 3 5k 3 x 2 y 8k 3 y 3
k 3 xy 2 5 x 2 y 8 y 3
k 3 g x, y
16
https://oouagoiwoye.edu.ng
(b). g x, y 8 x 2 5 xy 5 y 2
g kx, ky 8(kx) 2 3(kx)(ky ) 5( xy ) 2
8k 2 x 2 3k 2 xy 5k 2 y 2
k 2 8 x 2 3 xy 5 y 2
k g x, y
2
(c). g x, y 3 x 5 y x 2 3 y 2
3kx 5ky k 2 x 2 3 y 2
3kx 5ky k x 2 3 y 2
k 3x 5 y x 2 3 y 2
kg x, y
3y 2
x2
(d ). g x, y
2 xy
3ky kx
2 2
g kx, ky
2kx ky
3k 2 y 2 k 2 x 2
2k 2 xy
k 2 3y2 x2
k 2 2 xy
g kx, ky k 2 g x, y
17
https://oouagoiwoye.edu.ng
(e). g x, y 6 xy x 4 5 x 2 y 2
6k 2 xy k 4 x 4 5k 2 x 2 k 2 y 2
6k 2 xy k 4 ( x 4 5 x 2 y 2 )
6k 2 xy k 2 x 4 5 x 2 y 2
k 2 6 xy x 4 5 x 2 y 2
g kx, ky k 2 g x, y
Exercises
dy
(i ). (2 y x ) 2x y
dx
(ii ). xy y x
2 2
xy dy
dx
0
(iii ). x 3
y 3 3 xy 2
dy
dx
(iv). x 3
3 xy 2 dy
dx
y 3
3y2
dy 2 xy 3 y 2
(v). 2
dx x 2 xy
A differential equation of the form pdx Qdy 0 where P and Q are homogeneous
differential equation.
18
https://oouagoiwoye.edu.ng
Example (2.3)
dy x 2 y 2
(1). Solve (i )
dx xy
Solution
dy x 2 y 2
dx xy
x2 y2
g ( x, y )
xy
k x ky
2 2
g (kx, ky )
kx ky
k 2x2 k 2 y2
k 2 xy
x2 y2
k 2
xy
g (kx, ky ) k 2 ( x, y )
dy dy
vx (ii )
dx dx
19
https://oouagoiwoye.edu.ng
dv x 2 vx
2
vx
dx x(vx)
dv x 2 v 2 x 2
vx
dx vx 2
dv 1 v 2
x v
dx v
dv 1 v 2 v 2
x
dx v
dv 1
x
dx v
1
vdv dx
x
1
vdv x dx
v2
Inx C
2
1 y2
Inx C
2 x 2
y 2 x 2 Inx C
2
2 xy 3 y 2
2. Solve the equation
x 2 2 xy
20
https://oouagoiwoye.edu.ng
Solution
It is homogeneous of degree 2
dy 2 xy 3 y 2
2 (a)
dx x 2 xy
Now, putting y vx (b)
dy dv
vx (c )
dx dx
dy 2 x (vx) 3(vx) 2
vx
dx x 2 2 x(vx)
dy 2vx 2 3 x 2 v 2
vx
dx x 2 2vx 2
vx
dy x 2 2v 3v 2
2
dx x (1 2v )
dy 2v 3v 2
Then, x
dx 1 2v
2v 3v 2 v 2v 2
1 2v
dv v v 2
x
dx 1 2v
1 2v 1
vv 2
dx
x
In(v v ) Inx C
2
In(v v 2 ) Inx A
In(v v 2 ) InxA
v v 2 xA
SInce y vx v y
x
2
y y
Ax
x x
xy y 2 Ax 3
21
https://oouagoiwoye.edu.ng
Solution
x 2
y2 dy
dx
xy
It is homogeneous of degree 2
dy xy
2
dx x y 2
Putting y vx
dy dy
Thus , vx
dx dx
dy xvx
Then, v x 2
dx x vx 2
dy vx 2
vx 2
dx x 1 v 2
dy v
x v
dx 1 v2
dy v v v3
x
dx 1 v2
dy v3
x
dx 1 v2
1 v2 1
v 3 fv x dx
1
2 Inv Inx InA
2v
1
Inv Inx InA 2
2v
Let InA Inp
1
Inv Inx InP
2v 2
1
Inkvx
2v 2
Since y vx v y
x
22
https://oouagoiwoye.edu.ng
1
Inky 2
2 y
x
x2
Inky
2y2
2 y 2 Inky x 2
Exercise
(ii). y 2 xy x 2
dy
0
dx
(iii). 2 xy x 2
dy
3 y 2 2 xy
dx
dy
(iv). x y log y log x 1
dx
dy y x y
2 2
(v).
dx x
(vii). x 2 xy
dy
xy y 2
dx
(viii). x 3 3 xy 2
dy
y 3 3x 2 y
dx
dy
(ix). 2 y x 2 x y , given that y 3 when x 2
dx
23
https://oouagoiwoye.edu.ng
dy ax by C
The equation of the form can be reduced to the homogeneous form
dx dx ex g
by substituting: x X h y Y k
dy dY
dx X
dY a X h bY k C
The differential equation reduces to
dX d X h eY k g
ah bk C 0, dh ek g 0
dY aX bY
dX dX eY
a b
Note: In case of failure. If then the values of h, k will not be finite.
A B
a b 1
d am, e bm
d e m
dy ax by C
dx max by C
Example (2.4)
dy x y 3
Solve
dx x y 5
Solution
Then ah bk c 0 h k 0 - - - (i)
dh ck g 0 hk 5 0 (ii )
24
https://oouagoiwoye.edu.ng
We obtain h 1, k 4
dy 1 x y 4 3
dx 1 x y 4 5
dy 1 x y 4 3
(iii )
dx 1 x y 4 5
dy x y
(iv)
dx x y
dy dv
Let y vx. vx (v )
dx dx
dv x vx
vx
dx x vx
dv 1 v
x v
dx 1 v
dv 1 v v v 2
x
dx 1 v
dv 1 v 2
x
dx 1 v
1 v dx
1 v 2
dv
x
In 1 v 2 1
2
In 1 v 2 Inx InA
1
In 1 v 2 2 InxA
1
In 1 v 2 2 xA
1 v 2 x 2 A2
Let A2 P
1 v2 x2P
But y vx v y
x
2
1 y x 2 P
x
x y2 x4P
2
y2 x4 P x2
Example
dy x 2 y 3
Solve
dx 2 x y 3
dy x 2 y 3
dx 2 x y 3
Then, ah bk c 0 h 2k 3 0 (i )
dh ek g 0 2h k 3 0 (ii)
We obtain h 1, k 1
dy 1 x 2 y 1 3
dx 21 x y 1 3
dy 1 x 2 y 2 3
dx 2 2 x y 1 3
dy x 2 y
(iii )
dx 2 x y
dy dv
Let y vx. v x (iv )
dx dx
26
https://oouagoiwoye.edu.ng
dv x1 2v
vx
dx x2 v
dv 1 2v
x v
dx 2 v
dv 1 2v 2v v 2
x
dx 2v
dv 1 v 3
x
dx 2 v
2v dx
1 v 2
dv
x
(v )
2 v A1 v B 1 v
1 v2 1 v2
2 v A1 v B1 v
Setting v 1
3 2B B 3
2
Setting v 1
2 (1) A(1 (1)) B1 1
1
1 2A A
2
2v 1 3
1 v 2
dv
21 v
dv
21 v
dv
1 3
In1 v In1 v
2 2
27
https://oouagoiwoye.edu.ng
1 3
In1 v In1 v Inx InA
2 2
1 3
In1 v 2 In1 v 2 InxA
1
In
1 v 2 InxA
3
1 v 2
1
1 v 2 InxA
3
1 v 2
1 v
x 2 A2
1 v 3
Then, 1 v 1 v x 2 P
3
Let A 2 P
y
But y vx v
x
3
y y
Thus , 1 1 x 2 P
x x
x y x y
3
x x3
x y
x y 3 x 3 P
x3
x y x y P
3
Example (2.6)
dy
Solve the equation 3 x y 1 y x 2
dx
Solution
3x y 1 dy y x 2
dx
dy x y 2
dx 3 x y 2
ah bk c x y2
Then, comparing with
dh ek g 3x y 2
28
https://oouagoiwoye.edu.ng
a 1, b 1, c2
d 3, e 1, g 2
h k 2 (i )
3h k 2 (ii )
h 1, k 1
dy 1 x 1 y 1 2
dx 31 x 1 y 1 2
1 x y 1 2
3 3x y 1 2
dy yx
(iii )
dx 3 x y
dy dv
Let y vx vx (iv)
dx dx
dv vx x
vx
dx 3 x vx
dv xv 1
x
dx x3 v
dv v 1
Thus x
dx 3 v
3v dx
v 1 dv x
3v 4
1
v 1 v 1
4 dx
1 v 1 dv x
29
https://oouagoiwoye.edu.ng
sin ce y vx v y
x
y 4 In y 1 InxA
x x
4
y yx
In InxA
x x
In
y x 4 InxA
y
4
x x
y x 4
In x
4
y
xA x
In
y x
4
y
5
x A x
Taking Natural Antilog of both sides we have
y x 4 e
y
x
x5 A
y
y x 4 x 5 Ae x
Exercises
Reduce the following differential equations to homogeneous form and then solve
completely.
dy 2 x 3 y 4
(a ).
dx 4 x 3 y 2
dy 2 x 9 y 20
(b).
dx 6 x 2 y 10
dy y 2 x 1
(c).
dx y x5
dy 2 x 5 y 3
(d ).
dx 4 x 4 y 6
dy y x 1
(e).
dx y x 5
30
https://oouagoiwoye.edu.ng
A differential Equation
M x, y N x, y
(ii )
y y
Method of Solution
g x, y
M x, y (iv )
x
g x, y
N x, y (v )
x
For g x, y ; the solution to equation (i) is then given implicit by g x, y c (vi)
Example (2.5)
3x 2
y y 3 dx x 3 3 y 2 x 1 dy 0 (i )
Solution
Let M x, y 3 x 2 y y 3
N x, y x 3 3 y 2 1
Then
M
y
y
3x 2 y y 3
3x 2 3 y 2
31
https://oouagoiwoye.edu.ng
N
x x
3
x 3y 2 1
3x 2 3 y 2
M N
Since
y x
g
Then, since M 3x 2 y y 3 (ii )
x
g
Also, N x3 3y 2 1 (iii )
x
g
x dx 3x
y y 3 dx
2
3x 2
g x, y y xy h y (iv )
3
g 3 x 3 dh
3 xy 2
y 3 dy
g dh
x 3 3 xy 2
y dy
g
But , x3 3y 2 x 1
y
dh
x 3 3 xy 2 x3 3y 2 x 1
dy
dh
1
dy
32
https://oouagoiwoye.edu.ng
Example
2 y 2
x 2 y 3 dx 4 y 3 6 y 2 x 2 x 2 y dy 0 is exact. Hence solve the differential
equation.
Solution
2 y 2
x 2 y 3 dx 4 y 3 6 y 2 x 2 x 2 y dy 0
M x, y 2 y 2 x 2 y 3 , N x, y 4 y 3 6 y 2 x 2 x 2 y
M N
4 yx 6 y 2 , 6 y 2 4 yx
y y
M N
Since,
y y
g
The, since M 2y2 x 2 y3 (ii )
x
g
N 4 y 3 6 y 2 x 2 yx 2 (iii )
y
g
x dx 2 y
x 2 y 3 dx
2
g x, y x 2 y 2 2 xy 3 h y (iv )
g dh
2 x 2 y 6 xy 2
y dy
g
Since, 4 y 3 6 y 2 x 2 yx 2
y
dh
4 y 3 6 y 2 x 2 yx 2 2 x 2 y 6 xy 2
dy
dh
4y3
dy
33
https://oouagoiwoye.edu.ng
g x, y x 2 y 2 2 xy 3 y 4 c1
2
y 3 xy c1
Integrating Factor
M N
In general, when the differential equation is not exact i.e. when it is
y y
multiplication.
J x, y M x, y dx N x, y dy 0 is exact. The solution is now obtained by solving the
1 M N
g ( x), a function of x then J x, y e
g ( x ) dx
1. If
N y y
1 N M
h( y ), a function of y then J x, y e
h ( y ) dy
2. If
M y y
1
3. If M y f x, y and N xg x, y , then J x, y
xM yN
Example (2.6)
Solution
34
https://oouagoiwoye.edu.ng
M N
3 x 4ay, 2 x 2ay
y y
M N
y y
1 M N
g x
N y x
1
3x 4ay 2 x 2ay
x 2axy
2
x 2ay
x 2 2axy
x 2ay
x x 2ay
1
g x
x
1
x dx
J x, y e e Inx x
x 3 xy 2ay 2 dx x 2 2axy dy 0
3x 2
y 2axy 2 dx x 2ax y dy 0
3 2
M
3 x 2 4axy, M 3 x 2 y 2axy 2
y
N
3 x 2 4axy, N x 3 y 2ax 2 y
x
M N
i.e. it is exact
y x
35
https://oouagoiwoye.edu.ng
g
Since M 3 x 2 y 2axy 2
x
x dx 3x
g 2
y 2axy 2 dx
g x, y x 3 y ax 2 y 2 h( y )
g dh
x 3 2ax 2 y
y dy
g
Since, N x 3 2ax 2 y
y
dh
x 3 2ax 2 y x 3 2ax 2 y
dy
dh
0
dy
By Integration h y c1
g x, y x 3 y ax 2 y 2 c1
Example (2.7)
dy xy 2 y
Convert into an exact differential equation and then solve
dx x
Solution
dy xy 2 y
dx x
y 1 xy dx xdy 0
M y 1 xy Nx
N N
1 xy, 1
y x
M N
y x
36
https://oouagoiwoye.edu.ng
By Inspection M y f x, y and N x g x, y .
1
Therefore using the integrating factor of the form J x, y
xM yN
1
J x, y
x y xy 2 yx
1
xy x y 2 yx
2
1
x y2
2
1
J x, y
yx 2
Multiplying equation (i) by the Integrating factor
xy y 1 xy dx xdy 0
2
y xy 2 x
dx 2 2 dy 0
xy
2
x y
xy 1 1
2
dx 2 dy 0
x y xy
Now to test for the exactness
xy 1 M 1
M , 2 2
x2 y y x y
1 N 1
N , 2 2
y2 x x y
M N
Since,
y x
it is exact
g xy 1
Since M 2
x x y
g xy 1
x dx x2 y
dx
xy 1
2 2 dx
x y x y
37
https://oouagoiwoye.edu.ng
1
g x, y Inx h y
xy
g 1 dh
2
y xy dy
g 1
Since N 2
y xy
1 1 dh
2
2
xy xy dy
dh
0
dy
By Integration h y c1
1
g x, y Inx c1
xy
Exercises
(a). Test whether the following differential equations are exact and solve those that are exact
(i ). y 2 xy dx 1 3x y x dy 0
3 2 2
(ii ). e 3 x y x dx e dy 0
x3 2 2 x3
(b). find an appropriate Integration factor for each differential equation and solve
(i ). y x y dx xdy 0
4 2
(iv). xy dx x y x y dy 0
2 2 2 2
38
https://oouagoiwoye.edu.ng
x
(v). 2 xy 2 2 dx 4 x 2 ydy 0
y
An equation where y and its derivative(s) occur only in linear combinations and their
coefficients are constants or functions of x only is called a linear equation. A first Order
dy
Linear Differential equations has the form p x y Q x (i )
dx
M x, y dx N x, y dy 0
P( x) y Q( x) (1)
y y
i.e. Px 0
If the equation
y
Px y
x
39
https://oouagoiwoye.edu.ng
y
Px y e Q x
P x dx P x dx P x dx
e e
x
x
e
P x dx
y Q x e
P x dx
e
P x dx
y Q x e
P x dx
dx
y e
P x dx
Qxe P x dx
c
Where c is an arbitrary constant
Examples (2.8)
dy
x 2 x 1 y xe 2 x
dx
Solution
dy
x 2 x 1 y xe 2 x
dx
dy 2 x 1 y
xe 2 x
dx x
dy
Which is of the form Px y Qx
dx
2x 1
Where P x , Qx e 2 x
x
2x 1
Now Px dx x
dx
1
2 x dx
x
2 x Inx
P x dx
The Integrating factor e e 2 x Inx
40
https://oouagoiwoye.edu.ng
e 2 x e Inx
if xe 2 x
P x dx P x dx
ye Q x e c
y xe 2 x e 2 x xe 2 x dx e
y xe 2 x xdx e
x2
y xe 2 x c
2
1 x2
y c
xe 2 x 2
Example (2.9)
x 2
1 dy
dx
4 xy x
Solution
x 2
1 dy
dx
4 xy x
41
https://oouagoiwoye.edu.ng
dy 4x x
2 y which is of the form
dx x 1 x 1
dy
P ( x) y Q ( x)
dx
4x x
where P( x) , Q ( x)
x 1
2
x 1
4x
P( x)dx x 2
1
dx
y e 2 In x 1 Q ( x ) e 2 In x 1 dx C
2 2 2 2
y x2 1
2 x
2
x 2 1 dx C
x 2
1 2
2
y x 2 1 x x 2 1 dx C
x 3
x dx C
y x2 1
2 x4 x2
4
2
C
1 x4 x2
y 2
C
x 1 4
2
2
x4 x2
y x2 1
2
C
4 2
Example (2.10)
dy
3 y 3 x 2 e 3 x
dx
Solution
42
https://oouagoiwoye.edu.ng
dy
3 y 3 x 2 e 3 x
dx
P( x) 3, Q ( x ) 3 x 2 e 3 x
Integrating Factor e P ( x ) dx
e 3dx
Integrating Factor e 3 x
Then, y e 3 x Q x e 3 x dx C
y e 3 x 3 x 2 e 3 x e 3 x dx C
y e 3 x 3 x 2 dx C
y e3x x 3 C
y e 3 x x 3 C
Exercise
dy
(1). x 1 y e x x 1
2
dx
dy
(2). sin x 2 y cos x 1
dx
dy
(3). x 1 2 y x 1
3
dx
dy 1
(4). y x3 3
dx x
dy
(5). cos 2 x y tan x
dx
dy
(6). x y x 3 3x 2 2 x
dx
dy
(7). y tan x sin x
dx
dy
(8). x y x 3 cos x, that y 0 when x
dx
43
https://oouagoiwoye.edu.ng
dy
(9). y cot x 5e cos x , given that y 4, when x
dx 2
dy
(10). If 2 y tan x sin x and y 0 for x show that the maximum value of
dx 3
1
y .
8
dy
An equation of the form Px y Qx y n (i ) is called a Bernoulli
dx
differential equation.
Theorem
n 0 or 1 .
Proof
dy
y n P x y n y Q( x ) y n y n
dx
dy
y n P x y n Q ( x)
dx
Let v y 1 n
dv dy
1 n y n
dx dx
dv dy
if 1 n y n
dx dx
dy 1 dv
y n
dx 1 n dx
44
https://oouagoiwoye.edu.ng
1 dv
P x V Q x
1 n dx
dv
1 n P x V 1 n Qx
dx
Example
dy
Solve y xy 3
dx
Solution
dy
y xy 3
dx
n3
dy
y 3 y y 3 xy 3 y 3
dx
dy
y 3 y 2 x
dx
Let V y 2
dv dy
2 y 3
dx dx
dy 1 dv
y 3
dx 2 dx
1 dv
v x
2 dx
dv
2v 2 x
dx
P x 2, Q x 2 x
P x dx
The Integrating factor is e
e
2dx
e 2 x
45
https://oouagoiwoye.edu.ng
v e 2 x 2 xe 2 x dx C
2 xe 2 x e2 x
v e 2 x 2
2 2
v e 2 x xe 2 x e 2 x C
e 2 x
v e 2 x xe 2 x C
2
1
v x Ce 2 x
2
But v y 2
1
y 2 x Ce 2 x
2
1
y 2 x Ce 2 x
2
1 1
2
x Ce 2 x
y 2
1 2x 1
Hence Ce
2x
y2 2
46
https://oouagoiwoye.edu.ng
Example
dy
x y log y xye x
dx
Solution
dy
x y log y xye x
dx
Divide through by x
dy y
log y ye x
dx x
Since n 1
Multiply through by y 1
dy 1
y 1 log y e x
dx x
Let v log y
dv 1 dy
dx x dx
dy dv
y 1
dx dx
dv 1
log y e x
dx x
1
Px , Q x e x
x
P x dx
Then, the Integrating factor e
1
x dx
Integrating factor e
e Inx
Integrating factor x
v x Q x xdx C
v x e x xdx C
47
https://oouagoiwoye.edu.ng
v x xe x e x C
Since v log y
we have
log y x xe x e x C
x log y xe x e x C
Example
dy
tan x tan y cos x sec y
dx
Solution
dy
cos y tan x tan y cos x
dx
Then, let v sin y
dv dy
cos y
dx dx
dy dv
cos
dx dx
This implies that
dv
tan x tan y cos x
dx
Now, applying the linear equation method
P x tan x, Q( x) cos x
48
https://oouagoiwoye.edu.ng
e
tan xdx
e In cos xdx
1
In
e cos x
e In sec x
Integratin factor sec x
Then,
v sec x Q x sec x C
1
v sec x cos x dx C
cos x
v sec x dx C
v sec x x C
But v sin y
sin y sec x x C
Exercise
Solve the following differential equation by reducing it to linear equation and then
solve completely
dy y x 2
(i).
dx x y 2
dy
(ii). tan y tan x cos y cos 2 x
dx
dy
(iii). y log y x log y 0
dx
dy
(iv). 2 y tan x y 2 tan x 2 x
dx
49
https://oouagoiwoye.edu.ng
dy
(v). y y 4e x
dx
dy
(vi). y xy 3
dx
dy
(vii). 2 y y 3 x 1
dx
Definition
f t , y f t , x L y x for t , x , t , y
Example
Show that the function f satisfy the Lipchitz condition in the domain and compute
the value of L.
f t , x t 2 x 2 x 4 , t , x : t 1, x 2 3
f t , x t 2 x 2 x 4 , t , x : t 1, x 2 3
t 2 x2 x4 t 2 x2 x4
t 2 x2 y4 t 2 x2 x4
t 2 x2 t 2 x2 y4 x4
t 2 y2 x2 y2 x2 y2 x2
t 2 y x y x y x y x y2 x2
t 1, 1 x 5
50
https://oouagoiwoye.edu.ng
y x t 2 y x y x y2 x2
y x y x t 2
y2 x2
10 1 5 2 5 2 y x
510 y x
L 510
Exercise
Show that the following functions satisfy the Lipchitz condition and compute the
value L.
(ii). f t , x y 2 x 2 , t , x : t 1, x 1 1
Existence of Solution
f t1 , x1 f t1 , x 2 L x1 , x 2
Example
x x, x0 1
f t , x x
f t1 , x1 f t1 , x 2 x1 , x 2
x1 , x 2
taking k 2
x1 x 2 2 x1 x 2
51
https://oouagoiwoye.edu.ng
Infact k 1 is 0k
we have
x1 x 2 x1 x 2
k 1
Example
D x, t t t 0 a, x x0 b
D
Recall that t t 0 a
a t t0 a
t0 a t a t0
X X 2 6, X (0) 2
dx
X2 t
dt
Separation of variables is not possible in this case. There is no easy integration we use
a formula that is valid in all cases when f x, t is Lipchitz continuous we form the
Picard iteration.
X n t n 1, 2,........
X f x, t
52
https://oouagoiwoye.edu.ng
X 1 X 0 f x 0 , s ds
t
t0
X 2 X 0 f x1 , s ds
t
t0
t
X 3 X 0 f x 23 , s ds
t0
.
.
.
X n t x 0 f x n 1(3) , s ds
t
t0
Example
X X, X 0 1
X n X 0 f x 0 , s ds
t
t0
t
X 1 1 1 ds
0
t
1 s 0
X1 1 t
t
X 2 X 0 f x1( s ) , s ds
t0
1 1 s ds
t
t
s2
1 s
2 0
t2
X 2 1 t
2
t
X 3 X 0 f X 2( s ) , s ds
0
t s2
1 f 1 s ds
0
2
t
s2 s3
1 1
2 3 0
53
https://oouagoiwoye.edu.ng
t2 t3
X0 1 t
2 3
t2 t3 tn
X n 1 t . . .
21 3! n!
as n
t2 t3 tn
X 1 t t . . . et
2 ! 3! n!
Hence X et
Example
Find for X 1 X 2 , X 0 1
D x, t : t t 0 1, x x0 2
t 0 0, X0 1
D x, t : t 1, x 1 2
D x, t : t 1, 2 1 x 2 1
D x, t : t 1, 1 x 3
Here a 1, b 2
M final upper bound for f x, t
f x, t X 2
M 32 9
2 2
min 1,
9 9
2
9
Existence Theorem
number 0 with the property that the mutual value problem x1 f x, t , X t 0 X 0 has
In fact min a, b M , M max f x, t
54
https://oouagoiwoye.edu.ng
Proof
t
X 1 X 0 f x0( s ) , s ds
t0
t
X 2 X 0 f x1( s ) , s ds
t0
. .
. .
X n t X 0 f x n 1( s ) , s ds
t
t0
1. We show that X n t is continuous and satisfy the inequality X n t X 0 b
t0
f x ( s ), s ds is continuous
t
0
t0
x1 (t ) is continuous
x n (t ) is continuous
x n x0 f x n 1 ( s ), s ds
t
t0
f x ( s), s ds
t
x n x0 n 1
t0
f x ( s), s ds
t
n 1
t0
t
M ds
t0
M
b
55
https://oouagoiwoye.edu.ng
n
t t0
x n t x n1 t Mk n 1
n!
Mk n 1 n
n!
By Mathematical Induction
when n 1
Mk 11 1
x1 x0
1!
x1 x0 M 1
f ( s), x m s ds f ( s ), x m 1 s
t t
X k 1 X k
t0 t0
t0 t0
L x m s x m 1 ( s ) ds sin ce f is Lipschitz
t
t0
t MLm 1 m
L s t 0 ds
t0 m
MLm t
m
s ds
m! t0
t
MLm s
m 1
m! m 1
t0
MLm m 1
st
m 1! 0
it is time for n m 1
56
https://oouagoiwoye.edu.ng
The series
X
m 1
m (t ) X m 1 (t ) converges absolutely and uniformly on t t 0
lim
But y t X n (t ) X 0 (t )
n
lim
X n (t ) X 0 (t )
n
lim lim
X t X n t x0 X s , s ds
t
n n t0
x 0 X s , s ds
t
t0
Gromwell’s Inequality
X t A B X s ds
t
t0
Then X t Ae
B t t 0
Uniqueness of Solution
IVP x f x, t
57
https://oouagoiwoye.edu.ng
t0
y (t ) y 0 f s, y ( s) ds
t
t0
then,
t0 t0
y (t 0 ) x(t 0 ) L y ( s ), x( s) ds
t
t0
f is Lipschitz
but y (t 0 ) x(t 0 ) 0
because y t 0 x(t 0 )
y t xt 0
y t xt 0
y t xt
Example
Examine the existence and uniqueness of solution of the IVP y 1 ty 2 , y 0 1 and
Solution
f t , y 1 ty 2
Let t t 0 1
1t 1
and y 1 1, 0 y 2
t min a, b m
f t , x M s
1 t2 1 1 22
5
58
https://oouagoiwoye.edu.ng
min 1, 1 5
y n t t 0 f s, y n 1 s ds
t
t0
1 1 sy n21 s ds
t
0
y 0 t 1
y1 t 1 1 s ds
t
t2
1 t
2
s 2
2
y 2 t 1 1 s1 t ds
t
0 2
t s 4
1 1 s1 2 2 s 2 s 3 ds
0
4
t s4 s5
1 1 2 s 2 s 3 s 2 s 2 2 s 3 s 4 ds
0
4 4
t 5 s5
1 1 3s 4 s 2 3s 3 s 4 ds
0
4 4
t
3s 2 4 s 3 3s 4 5 s 5 s 6
1 s
2 3 4 4 5 24 0
3t 2 4t 3 3t 4 1 5 1 6
y 2 t 1 t t t
2 3 4 4 24
f t , y f t 2 , y 1 t1 y 2 1 t 2 y 2
y 2 t1 t 2
4 t1 t 2
48 for t1 t 2
4
4
f t1 , y f t 2 , y
59
https://oouagoiwoye.edu.ng
f t1 , y f t 2 , y 1 ty12 1 ty 22
t y12 y 22
t y12 y 22
4 y2 y2
4 1 , 1
4
4 4
f is continuous in y
f t1 , y f t 2 , y 1 ty12 1 ty 22
t y1 y 2 y1 y 2
y1 y 2 y1 y 2
4 y1 y 2
L4
f is Lipchitz
3.0. Introduction
The general second order linear ordinary differential equation is of the form
dy dy
a 0 x d 2 y a1 x a2 a 2 x y f x
dx dx
xI (3.1)
a 0 , a1 , and a 2 are constants and f x 0 for all x I , then equation (3.1) is called
homogeneous second order linear ordinary differential equation with constant coefficients.
Thus we have
60
https://oouagoiwoye.edu.ng
d2y dy
a0 2
a1 a2 y 0 (3.2)
dx dx
d 2 y1 dy1
a0 2
a1 a 2 y1 0 (3.3)
dx dx
d 2 y2 dy 2
a0 2
a1 a2 y 2 0 (3.4)
dx dx
d 2 y2 d 2 y2
a1 1 2 a 2 y1 y 2 0
dy dy
a 0 2
a1 (3.5)
dx dx 2 dx dx
Notice that by the linearity of the differential operator, the last equation can be written
as
d2 d 2 y2 d 2 y2 d
a0 y1 y
2 a1
a1 y1 y 2 a 2 y1 y 2 0
(3.6)
dx 2 dx
2
dx 2 dx
also a solution.
To solve equation (3.2) we need a function such that its derivatives are constant
Notice that if a 0 0 , we obtain the first order equation of the same family. That is for
a1 0, a 2 0 , we have
61
https://oouagoiwoye.edu.ng
dy
a1 a2 0
dx
dy a1
ky 0 when K
dx a2
dy
dx Ky
i.e Iny Kx c
y e Kx c e Kx e c
y Ae kx (sin ce e c is a cons tan t )
y e mx
d2y dy
a 0 2 a1 a2 y 0
dx dx
62
https://oouagoiwoye.edu.ng
Now if y Ae mx
dy
y mAe mx
dx
d2y
y 2
m 2 Ae mx
dx
Substitute these expression for the differential coefficient in the left side of the
equation we get,
a 0 mA 2 e mx a1 Ame mx a 2 Ame mx 0
a 0 m 2 a1 m a 2 0
which is a quadratic equation giving two variable for m . The quadratic equation is
called the auxiliary equation and is obtained directly from the equation
d2y dy
a0 2
a1 a2 y 0
dx dx
y Ae mx Be m 2 x
(1). y 3 y 40 y 0
(2). 2 y ay 10 y 0
Solution
63
https://oouagoiwoye.edu.ng
y 3 y 40 y 0 OR
d2y dy
2
3 40 y 0
dx dx
m 2 3m 40 0
m 5 m 8 0
m 5 0 or m 8 0
m 5 or m 8
y Ae 5 x Be 8 x
(2). 2 y ay 10 y 0
d2y dy
2 2
a 10 y 0
dx dx
2m 2 9m 10 0
2m 5 m 2
2m 5 0 or m 2 0
m5 or m 2
2
5
y Ae 2x
Be 2 x
y Ae mx Bxe mx
y e mx A Bx
1. y 6 y 9 y 0
2. y 10 y 25 y 0
Solution
64
https://oouagoiwoye.edu.ng
1. y 6 y 9 y 0
m 2 6m 9 0
m 3 m 3 0
m 32 0
m 3 twice
i.e m1 3 and m 2 3
we write
y Ae 3 x Bxe 3 x
y e 3 x A Bx
2. y 10 y 25 y 0
m 2 10m 25 0
m 52 0
m 5 twice
y A 5 x Bxe 5 x
y e 5 x A Bx
Example: Find the power series solution about x 2 of the value problem
4 y 4 y y 0
1
y 2 0, y 2 Express the solution in closed form
2
Solution
4 y 4 y y 0
4 m 2 4m 1 0
2m 12 0
1
m twice
2
1 1
i.e m ,
2 2
65
https://oouagoiwoye.edu.ng
A Bx
x
Thus y e 2
(1)
y 2 0
0 e A 2 B
A 2B 0 2
1
A Bx e 2
x x
y Be 2
2
1
But y 2
e
1 1
Be A 2 B e 3
e 2
1 1
Be 0
e 2
1
B
e2
A 2B 0
1
A 2 2 0
e
2
A
e
0 A 2B
2
e
2
2B
e
1
B
e
66
https://oouagoiwoye.edu.ng
x 2 x
y e 2
e e
y 2 x e
x 1
2
m 2 am b 0
m1 i , m2 i
Where and are real numbers and 0 . The solutions are of the form
y1 x e i x
and
y 2 x e i x
y x Ae i x Be i x
y x Ae x e ix Be x e ix
y x Ae x Ae ix Be ix (*)
y1 x e i x e x cos x i sin x
and
y 2 x e i x ex cos x i sin x
67
https://oouagoiwoye.edu.ng
Where
C A B and D i A B
y x e x C cos x D sin x
Example
Solution
y 2 y 1 y 0
m 2 2m 10 0
Solving we have
2 4 40
m
2
m 1 3i
Thus , m1 1 3i, m2 1 3i
In this case, 1, 3
y x e x C cos 3 x D sin 3 x
68
https://oouagoiwoye.edu.ng
4.0. Introduction
a 0 x y a1 x y a 2 x y 0 (4.1)
y x Ae
m1 x m2 x
Be (4.2)
Where m1 , m 2 are the roots of the auxiliary equation. Now consider the following non
a 0 x y a1 x y a 2 x y f x 4.3
Substituting for y x in equation (4.3) using equation (3.2) will make the left hand side of
equation (4.3) equal to zero. Therefore there must be further term in equation (4.2) that will
make the left hand side equal to f x . The general solution to equation (4.3) can be written
in the form.
y x Ae
m1 x
Be
m2 x
y p x (3.4)
Where y p x is called the particular integral and the term in the square bracket is called the
takes a particular form. Let Pn x be a polynomial of degree n , then we shall consider when
1. Pn x
2. Pn x e x
3. Pn x sin x or Pn x cos x
4. Pn x sinh x or p n x cosh x
69
https://oouagoiwoye.edu.ng
The technique is to guess that there is a solution to equation (4.3) in some basic
formulas f x and then substitute the unknown coefficients. This is called the method
of undetermined equation
a 0 y a1 y a 2 y f x
(a). The complimentary function is obtained by solving the equation with f x 0 this
4. y x A cos x B sin x
5. y x A cosh x B sinh x
(b). The particular integral is found by assuming the general form of the function f x
as indicated above, substituting this in the given equation and solve for the unknown
are formed by equating coefficients of the powers of the independent variables that
70
https://oouagoiwoye.edu.ng
y x 5 y 6 y x 2 (4.5)
m 2 5m 6 0
to get
m 2 m 3 0
So that m1 2, m2 3
Therefore,
y Ae 2 x Be 3 x ( 4. 6)
(b). To find the particular integral we assume the general form of the right hand side
y p ( x) Cx 2 Dx E (4.7)
dy
2Cx D
dx
d2y
2C Substituting in the given equation (4.5), we have
dx 2
2C 52Cx D 6 Cx 2 Dx E x 2
that is
6Cx 2 6 D 10C x 2C 5 D 6 E x 2 (4.8)
71
https://oouagoiwoye.edu.ng
6C 1
C 1
6
6 D 10C 0
D5
18
2C 5 D 6 E 0
19
E
108
19
y p x 1 x 2 5 x
6 18 108
y x Ae 2 x Be 3 x y p x
19
y x Ae 2 x Be 3 x 1 x 2 5 x
6 18 108
y y xe 2 x (4.9)
y p x e 2 x a bx
y p x e 2 x 2a b 2bx
e 2 x 4a 4b 4bx e 2 x a bx xe 2 x
72
https://oouagoiwoye.edu.ng
4b b 1
5b 1
b 1
5
4a a 0
4b 5a 0
5a 4
5
4
a
25
y y 2e x 4.10
to get,
y C x Ae x Be x
y p x Ce x
y p x Ce x
Ce x Ce x 2e x
0 2e x
which is impossible since 2 0 and e x 0 for all x . Let us assume guess that
y p x Cxe x
Then y p x Ce x x 1
\ and
y p x Ce x x 2
73
https://oouagoiwoye.edu.ng
Ce x x 2 Ce x x 1 2e x
2C 2
C 1
Therefore, y p x xe x
y x Ae x Be x xe x
f x f 1 x f 2 x
where f 1 and f 2 are both one of the forms above, then we now use the principle of
superposition to solve the problem. That is we may separately solve the equations
y x ay x by x f 1 x
y x ay x by x f 2 x
with a particular solution y p x . Then the particular solution to the given equation
2
y x ay x by x f x f 1 x f 2 x
is y p x y p1 x y p2 x
equation
y ay by f x (4.11)
74
https://oouagoiwoye.edu.ng
y ay by 0 (4.12)
of equation (4.11) will have the form y p x according to the following table.
f x y p x
1 Pn x a 0 a1 x a 2 x 2 ...... a n x n
2 Pn x e ax a 0 a1 x a 2 x 2 ...... a n x n e ax
3 Pn x e ax sinh x a 0
a 1 x a 2 x 2 ...... a n x n e ax sinh x
C 0
C1 x C2 x 2 ...... Cn x n e ax cosh x
4 Pn x e ax cosh x a0
a1 x a2 x 2 ...... an x n e ax sinh x
C 0
C1 x C 2 x 2 ...... C n x n e ax cosh x
The method of undetermined coefficient should be used only when the function f x
is in a correct form indicated above. The more general method is the variation of
y ay by f x (3.13)
and assume that we have found two linearly independent solutions y1 and y 2 of the
homogeneous equation
75
https://oouagoiwoye.edu.ng
y ay by 0
y x C1 y1 x C 2 y 2 x (4.14)
Thus any particular solution y p x of equation (4.13) must have the property that
y p x y p x
and
y1 x y 2 x
are not constants. this suggests that we replace the constants C1 and C 2 in equation
(4.14) in two functions C1 x and C 2 x and then look for particular solution of
y p x C1 x y1 x C 2 x y 2 x (4.15)
y x C1 x y11 x C 2 x y 12 x C11 x y1 x C 21 x y 2 x
C11 x y1 x C 21 x y 2 x 0 4.16
Then y x C1 x y11 x C 2 x y 12 x
Differentiating again
76
https://oouagoiwoye.edu.ng
Since y1 and y 2 are solutions to the homogeneous equation, then the equation
above reduces to
equations
y1C1 y 2 C 2 0
4.18
y1C1 y 2 C 2 f x
Multiply the first equation by y 2 and the second equation by y2 and subtract to obtain
an expression for C1 x . The second derived function C 2 x can be determined in a similar
f x y 2 x
C1 x
y1 x y 2 x y 2 x y1 x
(4.19)
f x y1 x
C 2 x
y1 x y 2 x y 2 x y1 x
The denominator in equation (4.19) must not be zero. Finally, we integrate equation
f x y 2 x
C1 x dx
y1 x y 2 x y 2 x y1 x
f x y1 x
C 2 x dx
y1 x y 2 x y 2 x y1 x
y y cos ec x ( 4.20)
77
https://oouagoiwoye.edu.ng
Solution
m2 1 0
m 2 1
m i
y c x A cos x B sin x
Here y1 cos x, y 2 sin x
Also, the function
W y1 , y 2 1 0
Thus , form equation 4.19
1
sin x
cos ec x sin x
C1 x sin x
cos xcos x sin x sin x cos 2 x sin 2 x
C1 x 1
C1 x dx x
1
sin x
cos ec x sin x
C 2 x sin x
cos xcos x sin x sin x cos 2 x sin 2 x
C 2 x cos x
cos x
C 2 x cot xdx dx In sin x
sin x
y p x C1 x y 1 x C 2 x y 2 x
y p x x cos x Insin x sin x
y p x x cos x sin x In sin x
yx y c x y p x
y x A cos x B sin x x cos x sin x In sin x
78
https://oouagoiwoye.edu.ng
Are non zero for linearly independent solutions y1 and y 2 of the homogeneous
problem.
y y tan x 4.21
i.e m2 1 0
m 2 1
m 1 i
y c x A cos x B sin x
Also, the function
W y1 , y 2 1 0
Thus form equation 4.19
tan x sin x tan x sin x
C1 x
cos x cos x sin x sin x cos 2 x sin 2 x
sin x cos 2 x 1
C1 x cos x sec x
cos x cos x
C 2 x tan x cox sin x
y p x C1 x y1 x C 2 x y 2 x
yx y c x y p x
79
https://oouagoiwoye.edu.ng
Most of the result of the preceding sections can be immediately generalized for
application to equation of order higher than two. Consider the nth order linear
differential equation.
y n a1 x y n 1 a 2 x y n 2 . . .a n 1 x y a n x y f x (4.22)
y n a1 x y n 1 a 2 x y n 2 . . .a n 1 x y a n x y 0 (4.23)
Definition: we say that the functions y1 , y 2 , .... y n are linearly independent are internal
I x 0 , x1 if the conduction.
C1 y1 x C 2 y 2 x . . . C n y n x 0
Implies that
C1 C 2 . . . C n 0 x x 0 , x1
y1 y2 yn
W y1 , y 2 , . . . y n x y1 y 2 y n (4.24)
y1n 1 y 2n 1 y nn 1
W y1 , y 2 , . . . y n x 0
If and only if the function y1 , y2 , . . . yn are linearly dependent solutions of equation (4.23).
a1 x dx
W y1 , y 2 , . . . y n x Ce
80
https://oouagoiwoye.edu.ng
y x C1 y1 x C 2 y 2 x . . . C n y n x (4.25)
where C i , i 1, 2, . . . n are constants Equation (4.22) may be called the general solution
of (4.22).
finally if y p1 and y p2 , are two linearly independent solution of non homogenous equation
Exercises
(a ). y 8 y 15 y 0 (d ). y N 2 y 0
(b). y 4 y 5 y 0
(c). y 3 y 2 y 0
2. Find the power series solution about x 2 , of the initial value problem
1
4 y 4 y y 0, y 2 0, y 2 . Express the solution in closed form.
e
81
https://oouagoiwoye.edu.ng
(a ). y 3 y 2 y e 3 x
(b). y 2 y 2 y sinh x
(c). y 4 y 5 y 2 cosh x
(d ). y 3 y 5 y y e x
(e). y y 6 y e x cosh 2 x
( f ). y y y cos 2 x
( g ). y 2 y 5 y sin 2t
(h). y 4 y e x sin 2 x
(i ). y 2 y 3 y 2e 2 x 10 sin 2 x, given that y 0 2 and y 0 4
(a ). y y sec x
(b). y 4 y e 2 x
(c). y y sin x
(d ). y y sec x tan x
(e). y 5 y 6 y 3e 2 x e 3 x
( f ). x 2 y xy y x 2 e x
82
https://oouagoiwoye.edu.ng
d2y dy
To find particular integral of a 2
b cy X (1) .
dx dx
d2y dy
a 2
b cy 0 ( 2)
dx dx
y Uy1 Vy 2 U y1 Vy 2
y Uy1 U y 2 Vy1 V y 2
U y1 V y 2 X ( 6)
0 y2 y1 y2 Xy 2
U1
X y 2 y1 y 2 y1 y y1 y 2
83
https://oouagoiwoye.edu.ng
y1 0 y1 y2 X y1
V1
y1 X y1
y 2 y1 y 2 y1 y 2
y2 X y1 X
U dx , V
y1 y 2 y1 y 2 y1 y 2 y1 y 2
d2y
Example: Solve y cos ecx
dx 2
Solution:
D 2
1 y cos ecx
D2 1 0 D 2 1; D 1
D i
yc A cos x B sin x
y1 cos x, y2 sin x
y p y1u y2v
X cos ecx, y1 cos x, y1 sin x
y2 X
where u y2 sin x, y2 cos x
y1 y2 y1 y2
1
sin x dx
sin x cos ecxdx sin x
u
cos x(cos x) ( sin x)(sin x) cos 2 x sin 2 x
dx
u dx x
1
84
https://oouagoiwoye.edu.ng
d2y
y tan x (1) .
dx 2
Solution
D 2
1 0
D2 1 0 D 2 1 D i
y c A cos x B sin x ( 2)
Substituting the values of y and y from (3) and (7) in (1) we find that
d2y
y tan x
dx 2
85
https://oouagoiwoye.edu.ng
sin 2 x
A( x)
cos x
A( x) sin x logsec x tan x
B ( x) sin xdx cos x
We are not using here constants of integration because it is particular integral. Now
y c A( x) cos x B( x) sin x
P.I cos xsin x log sec x tan x sin x cos x
y p cos x sin x cos x logsec x tan x
Hence the complete solution is
y A cos x B sin x- cos x logsec x tan x
(1). State the method to use solving the following differential equation and solve
them.
(a). 2 xy x 2
dy
3 y 2 2 xy
dx
dy dy y
(b). x 1 y e x ( x 1) 2 Integer factor x sin y
dx dx x x
86
https://oouagoiwoye.edu.ng
dy
(a). x cot y 0, given y where x 2
dx 4
(3). A moving body is opposed by a force per unit mass of value Cx and resistance
per unit mass of value bv 2 where x and v are the displacement and velocity of the
particle at that instant. Find the velocity of the particle in terms of x , if it starts rest.
d2y
(4). Solve y cos ecx using V. O. P method
dx 2
d2y
(5). Solve by method of V O P 4 y e7x
dx 2
(6). Using Laplace Transform technique, solve the following initial value problem
d2y dy
2
2 2 y 5 sin t , y (0) y (0) 0
dx dx
2 y 5 y 2 y e 2t , y (0) 1, y (0) 1
Application
1. A particle falls in a vertical line under gravity (supposed constant) and the force of
air resistance to its motion is proportional to its velocity. Show that its velocity cannot
Solution
Let V be the velocity when the particle has fallen a distance S in time t from rest. If
kv
g kv ( Separate the var iable)
dt
87
https://oouagoiwoye.edu.ng
dv
dt (int egrating )
g kv
dv
g kv dt
1
In( gkv) t c
k
Initial condition v 0 at t 0
1
In( g 0) 0 c
k
1
c Ing
k
The equation becomes
1 1
In( g kv) t Ing
k k
1 1
In( g kv) Ing t
k k
1
In( g kv) Ing t
k
1 g kv
In t
k g
1 g kv
t In
k g
g kv
tk In
g
g kv
e tk
g
g kv ge kt
g ge kt
g ge kt kv
v
1
k
g ge kt
g
v 1 e kt
k
g
v
k
2. A moving body is opposed by a force per unit mass of value cx and resistance per
unit mass of value bv 2 where x and v are the displacement and velocity of the
88
https://oouagoiwoye.edu.ng
particle at that instant. Find the velocity of the particle in terms of x , if it starts from
rest.
Solution
dv
v cx bv 2
dx
dv
v bv 2 cx
dx
Putting v 2 z ,
dv dz Substitute
2v
dx dx
1 dz
z bz cx
2v dx
z dz
bz cx
2 z dx
1 dz
bz cx
2 dx
dz
2bz 2cx
dx
If e dx c
2bdx
z 2cxe 2bx dx c
d2y dy
Solve 2
2 y 2 x by the method of VOP
dx dx
89
https://oouagoiwoye.edu.ng
D 2
2D 1 0
y1 y 2 y1 y 2 e x xe x e x e x xe x
D 2 2D 1 0 xe 2 x e 2 x xe 2 x
D 1 D 1 0 e 2x
D 1 twice
y c A Bx e x Ae x Bxe x
y1 e x and y2 x e x
y1 e x and y 2 xe x e x x 2x
y p uy1 vy 2
y2 x xe x 2 x x 2e x
u dx dx 2 e 2 x dx
y1 y 2 y1 y 2 e 2x
u 2 x 2 e x dx 2 x 2 e x 2 x e x dx
u 2 x 2 e x xe x e x x 2 e x 4 xe x 4e x
u 2 x 2 e x 4 x e x 4e x
y1 x e x 2x
v dx 2 x dx 2e x dx
y1 y 2 y1 y 2 e
v 2 xe x dx 2 x e x e x dx
2 x e x e x 2 x e x 2 e x
y p uy1 vy 2 2 x 2
e x 4 xe x 4e x e x 2 xe x 2e x xe x
y p 2 x 2 e 0 4 xe 0 4e 0 2 x 2 e 0 2 xe 0
y p 2 x 2 4 x 4 2 x 2 2 x 4 x 2 6 x 4
y A Bx e x 4 x 2 6 x 4
d 2 x dx dx
Solve the equation 2
2 x 0 given that x0 1 and 0 0
dt dt dt
d 2 x dx
2x 0
dt 2 dt
m2 m 2 0
m 1m 2 0
m 1 or m 2
x c Ae x Be 2 x
xt Ae t Be 2t
90
https://oouagoiwoye.edu.ng
x0 1 i.e t 0, x 1
20
1 Ae Be
0
1 A B (i )
xt Ae Be
t 2t
xt Ae t 2 Be 2t
x 0 0
i.e 0 Ae 0 2 Be 0
0 A 2B (ii)
Solving (i ) and (ii)
A B 1
A 2B 0
( )
3B 1
1
B
3
A 1 B
1 2
A 1
3 3
2 1
xt e t e 2t
3 3
d2y
VOP : y sin x
dx 2
D2 1 0
Di
y c A cos x B sin x
y p uy1 vy 2
y2 x
u dx
y1 y 2 y1 y 2
y1 cos x, y 2 sin x
y1 sin x, y 2 cos x
x sin x
y1 y 2 y1 y 2 cos x cos x sin x sin x
cos 2 x sin 2 x 1
sin x sin xdx
u
1
u sin 2 xdx
y1 xdx
v
1
91
https://oouagoiwoye.edu.ng
d2y dy
2
3 2 y sin x
dx dx
D 3D 2 0
2
D 10 2 0
D 1 or 2
y c Ae x Be 2 x
y1 e x and y 2 e 2 x
y1 e x and y 2 2e 2 x
x sin x
y1 y 2 y1 y 2 e x 2e 2 x e x e 2 x
2e 3 x e 3 x e 3 x
y2 x e 2 x sin x
u dx dx
y1 y 2 y1 y 2 e 3x
u e x sin x dx
Substitute x e t
d 2 dy
x nn 1 y 0
dx dx
d2y 1
2 x 2 nn 1 y0
dx 2x
Substitute x e t
d2y 1
2
nn 1e t y 0
dx 2
92
https://oouagoiwoye.edu.ng
y dy
dx
Fn dF
nF n 1
dx
aF n dF
a nF n 1
dx
sin F dF
cos F
dx
cos F dF
sin F
dx
tan F dF
sec 2 F
dx
eF dF
eF
dx
3.
d2y
(1). y 2x
dx 2
m 2 2m 1 0
m 1 m 1 0
m 1 twice
y c Ae x Bxe x
y c A Bx e x
y p k1 k 2
y p k1
y p 0
Substituting y p and y p
0 2( k ) k 1 x k 2 x 2 x
2k 1 k1 x k 2 x
x : k 1 2
CT : 2k1 k 2 0
4 k 2 0
k2 4
93
https://oouagoiwoye.edu.ng
y p 2x 4
y ycyp
y e x A Bx 2 x b
d2y dy
ii . 2
2 2 y e x sin x
dx dx
m 2 2m 2 0
2 4 412
m
2
2 4 2 2i 1 i
m
2 2 2
y c e A cos x B sin x
x
d2y
4. Solve by method of VOP 4 y e7x
dx 2
d2y
2
4 y e7x
dx
D 2 4 y e7x
D 40
2
D 2 4 D 4 2
y c Ae 2 x Be 2 x
y1 e 2 x and y 2 e 2 x
y1 2e 2 x and y 2 2e 2 x
y p uy1 vy 2
y2 x
u dx
y1 y 2 y1 y 2
e 2 x e 7 x
u dx
4
e 5x 1
u dx e 5 x dx
4 4
5x
1 e 1 5x
u e
4 5 20
y p uy1 vy 2
1 5x 1 9 x 2 x
yp e e 2x e e
20 36
94
https://oouagoiwoye.edu.ng
1 7x 1 7x
yp e e
20 36
1 7x 1 7x
y Ae 2 x Be 2 x e e
20 36
y1 y 2 y1 y 2
e 2 x 2e 2 x 2e 2 x e 2 x
2 x2 x 2 x2 x
2e 2e
2 2 4
x e7x
y1 x
v
y1 y 2 y1 y 2
e 2x e7x
v dx
4
e9x
v dx
4
1
v e 9 x dx
4
1 e 9x 1
v e 9x
4 4 36
Exercises
1. A moving body is opposed by a force per unit mass of value cx and resistance per
unit mass of value bv 2 where x and v are the displacement and velocity of the in
d 2 x dx dx
2. Solve the equation 2 2 x 0 given that x0 1 and 0 0x 0 0 .
dt dt dt
dy
3. Solve the equation x y x4 y3
dx
d2y dy
4. Find the general solution of the equation 2
2 y 25 x 2 12 using the
dx dx
95
https://oouagoiwoye.edu.ng
Solution
y 2 4 a x a 4ax 4a 2
Differentiating, we get.
dy d2y dy dy
2y 4a 2y 2 0
dx dx 2 dx dx
2
dy 4a d2y dy
2y 2 0
dx 2y dx 2 dx
Differentiating again we get
2
d2y dy
2y 2 0
dx 2 dx
2
d2y 4a
2y 2 0
dx 2 2y
2
d2y 8a
2y 2 0
dx 2 2y 2
d2y 4a 2
2y 0
dx 2 y2
Multiply through by y 2 , we have
d2y dy
2y 3
dx 2 dx
dy
2y 4a y 2 4ax 4a 2
dx
dy 4a 2a
dx y y
dy y2
2y
dx xa
dy
2 yx a y2
dx
dy dy
2 xy 2ay y2
dx dx
dy 1
y y2 0
dx x
96
https://oouagoiwoye.edu.ng
2
dy 1 1 du 1 du
0
dx x u dx u dx
2
1 d 2 u 1 dy 1 du
0 (multiply by u )
u dx 2 ux dx u 2 dx
2
d 2 u 1 dy 1 du
0
dx 2 x dx u dx
Find the general solution of the equation by the method of undetermined coefficient
d2y dy
2
2 y 25 x 2 12
dx dx
m 2m 1 0
2
m 1 m 1 0
m 1 twice
y c A Bx e x
y p C1 x 2 C 2 x C 3
y p 2C1 x C 2
y p 2C1
Substitution gives
2C1 22C1 x C 2 C1 x 2 C 2 x C 3 25 x 2 12
2C1 4C1 x 2C 2 C1 x 2 C 2 x C 3 25 x 2 12
C T : 2C1 2C 2 C 3 12
x : 4C1 C 2 0
x :
2
C1 25
4C1 C 2 0
C 2 4C1
C 2 425 100
2C1 2C 2 C 3 12
225 2100 C 3 12
50 200 C 3 12
150 C 3 12
C 3 12 150 162
y p 25 x 2 100 x 162
y yc y p
y A Bx e x 25 x 2 100 x 162
97
https://oouagoiwoye.edu.ng
dy
Solve the equation x y x4 y3
dx
dy 1
y x3 y3
dx x
1 x2 c
xy 2 1
xy 2 x 2 c 1
1
xy 2
c x2
1
x2 y2
c x2
1
y2 2
cx x 4
dy 1 2
y 3 y x2 (*)
dx x
2
y
dz dy
2 y 3
dx dx
multiply (*) by 2
dy 2 2
2 y 3 y 2 x 3
dx x
dy 2
z 2 x 3
dx x
2
x dx
1f e
pdx
e
1
2 x dx
1 f e e 2 Inx
1
1 f e 2 Inx
x2
z 1 f Q 1 fdx
1 1
z 2
2 x 2 2 dx
x x
z
2 xdx
x2
z x2
2 C
x2 2
z
x 2 C
x2
98
https://oouagoiwoye.edu.ng
y 2
2
x 2 C
x
1 1
x 2 C
y2 x2
1
x 2 C
xy 2
LAPLACE TRANSFORMATION
L f t F s 0 e st f t dt
1. L t
n n!
, where n and s are positive
s n1
Proof L t
n st
0
e f t dt
x dx
Putting st x or t or dt
s s
n
n s xs x dx
Thus, we have, L t
0
e
s s
1 x x n 1
0
e n
dx n 1 e x x n dx
s s s
L tn
1
n 1
n 1 Note n 1 n !
s
L tn
1
n 1
n !
n!
s s n1
s e at e at
2. Lcosh at Note cosh at
s2 a2 2
99
https://oouagoiwoye.edu.ng
Proof
Lcosh at L
e at e at 1
2
1
L e at L e at
2 2
1 1 1 1 sasa
2 s a s a 2 s a s a
1 2s s
2
2 s a2 s2 a2
a
3. L sinh at
s a2
2
Proof
1
Lsin hat L e at e at
2
1
2
1 2a
L e at L e at 2
2 s a2
2a
s2 a2
a e iat e iat
4. Lsin at Note sin at
s2 a2 2i
Proof
e iat e iat
Lsin at L
2i
1
2i
L e iat L e iat
1 1 1 1 s ia s ia
2i s ia s ia 2i s 2 a 2
100
https://oouagoiwoye.edu.ng
1 2ia a
2 2
2i s a s a 2
2
s e iat e iat
5. Lcos at Note cos at
s2 a2 2
Proof
e iat e iat
Lcos at L
2
1
L e iat L e iat
2
1 1 1 1 s ia s ia
2 s ia s ai 2 s2 a2
1 2s s
2 2
2 s a s a2
2
1
2i
L t e iat L t e iat
1
2i
e st t e iat dt e st t e iat dt
1
2i
t e
0
t ia s
dt 0 t e t s a dt
1 te ia s t e
ia s t te ia s t e
s a t
2i ia s
0 ia s dt
ia s
0 a s dt
0 0
1 1 e s a t 1 e s ia t
2i ia s ia s 0 s ia s ia 0
101
https://oouagoiwoye.edu.ng
1 1 1
2i ia s 2 ia s 2
b .
3
( a). 3t 4 2t 2
6 33 t 4e 2t
Solution
6Lt
3L t 4 2 L t
3
2
35 2 2 6
5
s5
5
s 2 s
3 1 1
2
3 4! 2 2 2 6
5 5
s s 2 s
72 3 a 6
s5
5
2s 2 s
b . 33 t 4e 2t 3L t 4Le
1
3 2t
4
3
3 4 1
4
s 3 s 2
1 1 1
3
3 3 4 4
4
3
s2 s2
4
s 3
s 3
5 4s 3
Find ( a). L1 b. L1 2
s 2 s 4
2s 5
c . L1 2
s
102
https://oouagoiwoye.edu.ng
Solution
5 1 5
( a). L1 5 L 5e
2t
s 2 s 2
4s 3 1 s 3 1 s
b . L1 2 4L 2 L 2
s 4 s 4 2 s 4
3
4 cos 2t sin 2t
2
2s 5 1 1
c . L1 2 2 L1 5 L1 2
s s s
2s 5
i.e. L1 2 2
s s
1 1
2 L1 5 L1 2
s s
2 5t
4 5s 1
Find a . L1 3 b. L1 2
s 2 s 2s
Solution
4 5s 1 s
a . L1 3 4 L1 3 5L1 3
s 2 s 2 s 2
1 s
4 L1 3 5L1 1
s 2 s 2
t 2
1 1
t 2
4 5
3
2
1
2
5t 2 8t 2 5t 2
1 1 1 1
4t 2
1 1
2 2
x x x
103
https://oouagoiwoye.edu.ng
d 2 f t
dt 2 s 2 F s sf 0 f 0 s 0
d 3 f t s 3 F s s 2 f 0 sf 0 f 0 s 0
dt 3
3 Integral
0 f t dt
t 1
F s s0
x
4 Initial Value lim t t lim sF s
t0 t
5 Final Value lim t t lim sF s
t t 0
6 First Shifting e at f t F s a
7 Second Shifting f t u t a e as Lf t a
8 Multiplication by t f t d
F s
t ds
dn
t n
f t 1n F s
ds n
9 Division by t
s F s ds
1
f t
t
10 Periodic function f t e st f (t )
f t T f (t )
T
0 1 e st
11 convolution f (t ) g (t ) f ( s ) G s
104
https://oouagoiwoye.edu.ng
9 e bt sin at a
s b 2 a 2
10 e bt cos sat sb
s b 2 a 2
11 t s b
sin at
2a s 2
a2 2
12 t cos sat s2 a2
s 2
a2 2
13 1 1
sin at at cos at
2a 3 s 2
a2 2
14 1 s2
sin at at cos at
2a
s 2
a2 2
105
https://oouagoiwoye.edu.ng
1
( a). L1 e
2t
s 2
1 1 1 3 1
b . L1 2 L 2 sinh 3t
s a 3 s 3 2 3
s 5
(c). L1 2 1
L 2 cosh 4t
s 16 s 4 2
s 1 1 5 1
( d ). L1 2 L sin 5t
s 25 5 s 5
2 2 5
s 1 s
(e). L1 2 L 2 cos 3t
2
s a s 3
1
( f ). L1 e 2t sin t
s 2 2
1
s 1
( g ). L1 e t cos 2t
s 1 2
4
1 1 2 1 3t
( h). L1 L1 e sinh 2t
s 32 4 3 s 32 22 2
(i ). L1
s2
L1
s 2 e 2t cosh 5t
s 2 2
25 s 22 52
106
https://oouagoiwoye.edu.ng
1 1 1 7
1 1 e 2t
L L
25 7 s7 2
2
2. Find the inverse Laplace Transform of
s2 s 2 2s 5 s2
( a). b c
9 s 2 25 6 s 2 20
3
s 2
Solution
s2 s 2 2
1
L1s L1s 2 L1
1 1
( a). L 3
2
3
s 2
s 2
1 1 2
L1 1
L1 1
L1 3
s 2
s 2
s 2
1 1 3
1 t 2 1 2t 2 1
t 2
1 1 3
2 2 2
1 1 4 t
1 t 2 t
3
2
SOLUTION OF DIFFERENTIAL EQUATION BY LAPLACE TRANSFORMS
Ordinary linear differential equations with constant coefficient can be easily solved by
the Laplace Transform method, without finding the general solution and the arbitrary
constants.
Example 1. Using Laplace transforms, find the solution of the initial value problem
y 4 y 4 y 64 sin 2t , y 0 0, y 0 1
Solution
y 4 y 4 y 64 sin 2t 1, y 0 0, y 0 1
Taking Laplace transform of both sides of the equation (1) we have
642
s 2
y sy 0 y 0 4 s y y 0 4 y
s2 4
2
128
s 2 y 1 4s y 4 y
s2 4
107
https://oouagoiwoye.edu.ng
s 2
4s 4 y 1 128
s2 4
128
s 22 y 1
s2 4
1 128
y
s 2 2
s 22 s 2 4
1 8 16 8s
y 2
s 2 2
s 2 s 22
s 4
8 17 8s
y 2
s 2 s 22
s 4
8 17 8s
y L1
s 2 s 2
2
s2 4
1 1 1 1 1
y 8L1 17 L 8 L
s 2 s 2 2
s 2
4
128 A s 2 s 2
4 B s 2 4 css 2 2
put s 2, we have
128
128 8b B 16
8
exp and we have
128 A s 3 4 s 2 s 2 8 Bs 2 4 B cs s 2 4s 4
128 As 3 4 As 2 As 2 8 A Bs 2 4 B cs 3 4cs 2 4cs
108
https://oouagoiwoye.edu.ng
s : 0 A c
3
s : 0 2 A B 4c
2
s : 0 4 A c
cT 128 8 A 4 B
128 8 A 416
128 8 A 64
128 64 8 A
64
64 8 A A 8
8
4A
c A 8
4
2. Using the Laplace transforms, find the solution of the initial value problem;
y 25 y 10 cos 5t , y 0 2, y 0 0
Solution
Taking Laplace transform of the given differential equation, we get
s 2
y sy 0 y 0 25 y 10 2
s
s 25
Substiyute y 0 2, y 0 0
10 s
s 2 y 2s 25 y
s 2 25
s 2
25 y 2 s
10 s
s 2 25
2s 10 s
y
s 2 25 s 2
25 s 2 25
2s 10 s
y
2
s 25 s 2
25 2
109
https://oouagoiwoye.edu.ng
2s 1 10 s
y L1 2 L
s 25 2 2
s 25
1 s 1 s
y 2L 2 10 L
s 25 2 2
s 25
d 5
y 2 cos 5t L1
dt s 2 25
y 2 cos 5t t sin 5t
2 y 5 y 2 y e 2t ; y 0 1, y 0 1
Using the Laplace Transform
Solution
2 y 5 y 2 y e 2t ; y 0 1, y 0 1
Taking the Laplace transform of both sides, we get
2 s 2 y sy 0 y 0 5 s y y 0 2 y 1
s2 2
Substitute the values of y 0 and y 0 we get
2 s2 y s 1 5 s y 1 2 y 1
s2
1
2s 2 y s 2 5 y 5 2 y
s2
2s 2
5s 2 y 2 s 2 5
1
s2
2s 7 1
y
2 s 2 5s 2 2s 2
5s 2 s 2
y
2s 7 s 2 1 2s 2 4s 7 s 14 1
2s 2 5s 2s 2 2s 2 5s 2s 2
110
https://oouagoiwoye.edu.ng
2 s 2 11s 15
y u sin g partial fraction
2s 2
5 s 2 s 2
2 s 2 11s 15 2 s 2 11s 15 A B C
2s 2
5s 2 s 2 2s 1s 2 2 25 1 s 2 s 2 2
put s 2
1
8 22 15 0 3c 1 3c c
3
s : 2 A 2B
2
s : 11 4 A 5B 2c 11 4 A 5 B 2 5B 35 (*)
3 3
CT : 15 4 A 2 B C 15 4 A 2 B 1 4 A 2 B 46 (**)
3 3
11 11 1 11
subtract (**) from (*) we get 3B B
3 3 3 9
46
4 A 2B
3
11 46
4 A 2
3 3
46 22
4A
3 9
138 22 160 160 1 40
4A A
9 9 9 4 9
111
https://oouagoiwoye.edu.ng
40
11 1
y 9 9 3 40 1 1 11 1 1 1
2 s 1 2 s 1 s 2 2 9 2 1 9 s 2 2 s 2 2
s
2
20 1 1 11 1 1 1 1 1
y L L L
s1 9 s 2 3 s 2
9 2
2
20 1 2 t 11 2 t 1 2 t
y e e te
9 9 3
d2y dy
4. Solve 2 5 y e x sin x where y 0 0, y 0 1
dx 2 dx
Solution
d2y dy
2
2 5 y e x sin x
dx dx
Taking the Laplace Transform of both sides, we get
s 2
y sy 0 y 0 2 s y sy 0 5 y L e x sin x
s 2
y 1 2 s y 5y
1
s 12 1
1
s 2 y 1 2s y 5 y
s 12 1
s 2
2s 5 y 1 1
1
1
s 12 1 s 2 2s 2
s 2
2s 5 y s 2 2s 2 1
s 2 2s 3
s 2 2s 2 s 2 2s 2
s 2 2s 3
y
s 2
2s 5 s 2 2s 3
Resolve into partial fraction, we get
s 2 2s 3 As B Cs D
s 2
2s 5 s 2 2s 3 s 2 2s 5 s 2 2s 2
112
https://oouagoiwoye.edu.ng
s 2 2s 3 As B s 2 2s 2 Cs B s 2 2s 5
s : 0 A C A C
3
s :1 2A B 2C D 1 2C B 2C D 1 B D B 1 D
2
s: 2 2A 2B 5C 2D 2 2C 2B 5C 2D 2 2B 3C 2D
CT: 3 2B 5D
3 21 D 5D
3 2 2D 5D
3 2 3D
3 2 3D
1 3D D 1
3
1
from B 1 D D
3
1 2
B 1
3 3
from 2 2 B 3C 2 D
222 3 3C 21 3
4 2
2 3x
3 3
4 2
2 3C
3 3
642
3C
3
0
3C C 0
3
2 1
2
s 2s 3
2 3 2 3
2 2
s 2s 5 s 2s 2
s 2s 5 s 2s 2
113
https://oouagoiwoye.edu.ng
2 1 1 1 1 1
y L 2 L 2
3 s 2s 5 3 s 2s 2
2 1 2 1 1
L 2
y L
3 s 12 2 2 3 s 12 12
1 1
y e x sin 2 x e x sin x OR
3 3
1
y e x sin x sin 2 x
3
5. Solve the Cauchy Problem
y y y 3e t , y 0 y 0 0
Solution
y y y 3e t , y 0 y 0 0
s 2
y sy 0 y 0 s y y 0 y L 3e t
3
s2 y s y y
s 1
s 2
s 1 y
3
s 1
3 3
y
s 1s 2
s 1 s 1s 2 s 1
U sin g partial fraction
3 A Bs C
2
s 1s 2
s 1
s 1 s s 1
put s 1
3 3A A 1
put s 0
3 AC
114
https://oouagoiwoye.edu.ng
A 1 3 1 C C 1 3 2
Expansion we get
3 As 2 As A Bs 2 Cs Bs C
s : 0 A B
2
put A 1, 0 1 B, B 1
3
1 s2
2
1 s 2
2
s 1s 2
s 1 s 1 s s 1 s 1 s s 1
y
1 s 2
2
s 1 s s 1
1 s2
y L1 L1 2
s 1 s s 1
y e Lt 1
s 12 3 2
s 12 34 2
3 3
y et e t 3e 2t sin
3
2t
1
cos t
2 2
6. Solve the two point boundary value problem
2 y 3 y 2 y 0, y 0 1, y t 0 at t
Solution
Assuming y 0 x and taking the Laplace transform of both sides, we have
2 s 2 y sy 0 y 0 3 s y y 0 2 y 0
2s 2 y 2 sy 2 x 3s y 3 2 y 0
y 2 s 2 3s 2 2 s 2 x 3
2s 2 x 3
y
2 s 2 3s 2
2s 2 x 3 2s 2 x 3 A B
2s 2 3s 2 s 22s 1 s 2 2s 1
115
https://oouagoiwoye.edu.ng
2s 2 x 3 A2 s 1 Bs 2
2x 1 1 2x
2 x 1 5 A A
5 5
put s 1
2
5 5 24 2 x
1 2x 3 B 4 2x B : B
2 2 5
44 2 x
B
5
2s 2 x 3 1 2 x 44 2 x
2s 2 3s 2 5s 2 52 s 1
Taking the inverse transform
1 2 x 4 4 2 x
y
5s 2 5 2 s 1
1 2 x 4 1 x 2
y L1 L 4 L1 x 2
5s 2 5 2s 1 5 2s 1
2
1 2 x 2t 2
e A 2e 2t
1
y
5 5
Since y 0, A 2
Hence finally, y t e 2t
1
116