MAT211
MAT211
EQUATIONS
3 CREDITS
Title Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Table of Contents i
MODULE 1 1
i
Unit 4: Applications of first-Order Equations . . . . . . . . . 22
Self Assessment Questions . . . . . . . . . . . . . . . . . . . . 28
Tutor Marked Assignment . . . . . . . . . . . . . . . . . . . . 28
Further Readings . . . . . . . . . . . . . . . . . . . . . . . . . 29
Unit 5: Second order differential equation . . . . . . . . . . . 30
Self Assessment Questions . . . . . . . . . . . . . . . . . . . . 37
Tutor Marked Assignment . . . . . . . . . . . . . . . . . . . . 37
Further Readings . . . . . . . . . . . . . . . . . . . . . . . . . 37
Unit 6: General Theory of nth order linear differential equation 39
Self Assessment Question . . . . . . . . . . . . . . . . . . . . 61
Tutor Marked Assignment . . . . . . . . . . . . . . . . . . . . 61
Further Readings . . . . . . . . . . . . . . . . . . . . . . . . . 64
MODULE 2 65
LAPLACE TRANSFORM 65
Unit 1: Laplace Transforms . . . . . . . . . . . . . . . . . . . 66
Student-marked Assignment . . . . . . . . . . . . . . . . . . . 72
Tutor Marked Assignment . . . . . . . . . . . . . . . . . . . . 73
Further Readings . . . . . . . . . . . . . . . . . . . . . . . . . 73
Unit 2: Important theorem/ properties of laplace transform . 74
Self Assessment Questions . . . . . . . . . . . . . . . . . . . . 79
Tutor Marked Assignment . . . . . . . . . . . . . . . . . . . . 79
Unit 3: Inverse Transforms . . . . . . . . . . . . . . . . . . . 81
Self Assessment Questions . . . . . . . . . . . . . . . . . . . . 83
Tutor Marked Assignment . . . . . . . . . . . . . . . . . . . . 84
ii
Unit 4: Solution of Differential Equations by Laplace Trans-
forms Method . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Student-marked Assignment . . . . . . . . . . . . . . . . . . . 89
Tutor Marked Assignment . . . . . . . . . . . . . . . . . . . . 90
Further Readings . . . . . . . . . . . . . . . . . . . . . . . . . 90
Unit 5: Solving the systems of ordinary DE with constant
coefficient by Laplace transform . . . . . . . . . . . . . . . . . 91
Self Assessment Questions . . . . . . . . . . . . . . . . . . . . 95
Tutor Marked Assignment . . . . . . . . . . . . . . . . . . . . 96
MODULE 3 97
iii
MODULE 1
1
Unit 1: Existence and Uniqueness of Solution
Introduction
An equation involving derivatives (or differentials) of differential of one or
more dependent variables with respect to one or more independent variables
is called a Differential Equation (DE). If the dependent variable depends on
only one independent variable, then such a differential equation is called or-
dinary differential equation whereas when two or more independent variables
are involved, it has known as a partial differential equation. In this unit, ef-
fort shall be directed toward
Learning Outcomes At the end of this unit, you should be able to:
DIFFERENTIAL EQUATIONS
The first and most basic example of a differential equation is the one we are
already familiar with from calculus. That is
dy
dx
= f (x) . . . . . . . . . (i)
In this situation, we will eliminate the derivative by integrating f . That is,
Rx
y(x) = a f (x)dx + c . . . . . . . . . (ii)
Rx
Recall from the fundamental theorem of calculus, that a f (x)dx is an anti-
derivative for f (x) for any choice of a. Note that there is an arbitrary constant
c and so we get a family of solutions, one for each choice c.
2
Therefore, this will make us to encounter initial value problems. These
are problems where we will be asked to find a solution to an ordinary differ-
ential equation that passes through some initial point (x0 , y0 ) where x0 is the
independent and y0 the dependent variable. To find which solution passes
through this point, one simply plugs x0 into the equation for x and y0 for
y(x0 ). This allows one to make a specific choice for c which normally would
be arbitrary.
R x0
y0 = f (x)dx + c . . . . . . . . . (iii)
a
Rx
c = y0 − a 0 f (x)dx . . . . . . . . . (iv)
Substituting (iii) into (ii), we have
Rx Rx
y(x) = a f (x)dx + y0 − a 0 f (x)dx
Rx
y(x) = y0 + x0 f (x)dx . . . . . . . . . (v)
Definition I
An equation which expresses a relationship between an independent variable,
a dependent variable and one or more differential coefficient of the dependent
variable is called an ORDINARY DIFFERENTIAL EQUATION (ODE).
Examples
d2 y dy 2
(a) dx2
+ xy( dx ) =0
d y 2 dy 3x
(b) xy dx2 + y dx + exp =0
dy
(c) dx
= 2sin2 x
3
Definition II
The Order of an ODE is the order of the highest derivative involved in the
equation. Thus,
d2 y dy
dx2
− 4 dx − 3y = 27x2 is a second order ordinary differential equation while
d2 y
dx2
− 4x2y = sinx is a first order ODE
However, the degree of an ODE is the degree of the highest derivative
after removing the radical sign and fraction. In order words, it is the index
(or power) on the highest derivative after eliminating the radical index from
the equation
Examples
d y 2 dy 2 dy 2 3 d y 22
cosx dx 2 + sinx( dx ) + 8y = tanx . . . . . . . . . (I) [1 + ( dx ) ] = ( dx2 ) . . . . . . . . .
(II)
The degree of equation (1) is 1 and the degree of equation (II) is 2
Definition III
An ODE is said to be linear if;
(I) Every dependent variable and every derivatives involved in the equation
occur to the first degree only.
(II) No product of dependent variable and/or its derivative occur. Other-
wise, the differential equation is said to be non-linear.
4
Activity
d3 y d y2
4 dy
(a) dx3
+ x2 dx 2 + x dx = xexp3x.
d2 y dy 2
(b) dx2
+ ( dx ) = 0.
d y2 dy
(c) y dx 2 + y dx + exp3x = 0
d2 y
(d) dx2
= 2sin2 x
Examples (b) and (c) are non-linear while (a) and (d) are Linear
Summary
In this unit, basic definitions of terms used in differential equation were
discussed.
d2 y dy 2
(a). dx2
+ ( dx ) − 4y = 0.
2
d y 2 3
(b). ( dx2) − y
2 = 2sinx
d2 y 2
dy 3
(c). dx2
= (4y − dx )
d2 y dy 3
(d). dx2
+ 5 dx + 6y = 0.
5
Further Readings
Stroud K. A., and Dexter J. B., (2001). Engineering Mathematics. Fifth
Edition. Palgrave Publishers Ltd. New York.
6
Unit 2: Method of Solutions of First Order
Ordinary Differential Equation
Introduction
Solving a first order differential equation is simple but not always straight
forward. In this unit, we shall consider techniques for solving some first order
ordinary differential equation using variable separable and method of inte-
grating factor methods.
Learning objectives/outcomes
At the end of this unit, you should be able to:
Main Content
A general form of first order ordinary differential equation is the form:
dy
dx
+ P (x)y = Q(x) where P (x) and Q(x) can be a constant, functions of x
and/or functions of x and y respectively. If Q(x) = 0, then the equation is
said to be homogeneous first order DE.
Method of Solution
7
Variable Separable
A differential equation of the form f (x)dx + g(y)dy = 0 or it is an equation
that can be changed to this form is said to belong to the family of variable
separable equations. Integrating this equation directly leads us to a given
solution.
It is important to know that the constant of integration can be replaced by
various constants like k, logk, ln k, e−k , tan−1 k and so on.
Note: We say that variables are separable if y is put on the left sides and
x on the right hand. In other, the two variables can maintain the different
sides of the equation.
Activity 2
Find the general solution of each of the following differential equations.
(1).
dy
y 2 + x2 =0
dx
(2).
ds t(1 + s2 )
s − =0
dt 1 + t2
Solution
(1).
dy
y 2 + x2 =0
dx
dy
y 2 = −x2
dx
y 2 dx = −x2 dy
1 1
dx = − dy
x2 y2
8
Z Z Z Z
1 1 −2
dy + dx = c ⇒ y dy + x−2 dx = c
y2 x2
1 1 1
−y −1 + x−1 = c ⇒ + = .
y x c
Thus, x + y = cxy.
(2).
ds t(1 + s2 )
s − =0
dt 1 + t2
ds t(1 + s2 )
s − =0
dt 1 + t2
s t
ds − dt = 0
1 + s2 1 + t2
1 1
ln(1 + s2 ) − (1 + t2 )dt = lnk
2 2
12 12
1 + s2 (1 + s2 )
ln = Ink ⇒ = k.
1 + t2 (1 + t2 )
Thus,
12
(1 + s2 )
⇒ = k.
(1 + t2 )
Integrating Factor
A differential equation of the form
dy
+ Py = Q (1)
dx
is called a Linear differential equation, where P and Q are functions of x (but
not of y) or constants.
9
R
P dx
In such a case, multiply both sides of (1) by e to have
Z
R
P dx dy R
P dx
e [ + P y] = Qe (2)
dx
That gives
d R R
[ye P dx ] = Qe P dx (3)
dx
Separating variables to get
R R
P dx P dx
d[ye ] = Qe (4)
R R
P (x)dx P (x)dx
ye = Qe +c (5)
R
Z R
R
y = e− P (x)dx
Qe P (x)dx
dx + ce− P (x)dx
(6)
Activity 1
dy 2
Solve dx
+ 2xy = e−x given y(0) = 0
Solution
dy 2
dx
+ 2xy = e−x
2
P = 2x, Q = e−x
R
P dx
Integrating factor I(x) = e
2
R
2xdx
I(x) = e = ex
Multiply the problem by the integrating factor
2 dy 2 2
ex [ dx + 2xy] = e−x ex
10
d 2
dx
[yex ] =1
2
d[yex ] = dx
Integrate both sides to get
2
yex = x + c
2 2
y = xe−x + ce−x
using y(0) = 0
0 = 0e−0 + ce−0
c=0
2
Therefore, y = xe−x
dy
= 3x2
dx
at point (1, 2)
11
Solution
Z Z
2
dy = 3x dx ⇒ dy = 3x2 dx + c
y = x3 + c.
2 = (1)3 + c ⇒ c = 1.
y = x3 + 1 is a particular solution.
E.g
dy
x + 3y =0
dx
Z Z
3ydy = −xdx ⇒ 3ydy = − xdx
3y 2 −x2
= +k
2 2
3y 2 + x2 = 2k 2
where c = 2k 2
This can also be written as
x2 y 2
+ 2 =1
a2 b
where a2 = 2k 2 and b2 = 2k 2 .
12
Summary
Two techniques of obtaining solution of first order ordinary differential equa-
tions were discussed with examples.
13
Unit 3: Solution of other forms of first order
ordinary differential equation
Introduction: Having laid the foundation for solution of first order ordinary
differential equations, we shall be interested in solving some other forms of
first order equations. These forms include exact, homogeneous, Bernoulli
types etc.
Learning objectives/outcomes
At the end of this unit, you should be able to:
14
That is, dF (x, y) = M (x, y)dx + N (x, y)dy . . . . . . . . . (II).
Then, F (x, y) = c . . . . . . . . . (III).
Equation (III) defines explicitly the solution of equation (I). From equa-
tion (III), it follows that dF = 0 as we have from equation (II)
dF = M dx + N dy
so that
∂F ∂F
dF = dx + dy
∂x ∂y
∂F ∂F
= M; =N
∂x ∂y
∂ 2F
∂M ∂F ∂F
= =
∂y ∂x∂y ∂y ∂x
∂ 2F
∂N ∂F ∂F
= = .
∂x ∂x∂y ∂x ∂y
15
∂2F ∂2F
From calculus, ∂x∂y
= ∂y∂x
provided M dx + N dy = 0 is continuous.
∂M ∂N
Hence, = (7)
∂y ∂x
Activity 2
Solve this equation 3x(xy − 2)dx + (x3 + 2y)dy = 0.
Solution
3x(xy − 2)dx + (x3 + 2y)dy = 0
M dx + N dy = 0
∂M ∂N
= 3x2 , = 3x2
∂y ∂x
∂M ∂N
Since ∂y
= ∂x
= 3x2 , then the equation is exact. Now
∂F
M= = 3x2 y − 6x
∂x
∂F
N= = x3 + 2y
∂y
On integration,
Z Z Z
∂F
dx = M dx = (3x2 y − 6x)dx
∂x
16
By comparison, c0 (y) = 2y
Z Z
0
c (y)dy = 2ydy ⇒ c(y) = y 2
Therefore
F (x, y) = x3 y − 3x2 + c(y)
becomes
F (x, y) = x3 y − 3x2 + y 2 .
F = x3 y + y 2 − 3x2 = c
Bernoulli Equation
The Bernoulli equation is of the form:
dy
+ P y = Qy n (8)
dx
1
=z (9)
y n−1
Dividing both sides of (8) by y n , we get
1 dy 1
n
+ n−1 P = Q (10)
y dx y
1 1−n dy dz
But y n−1
= z, so that y n dx
= dx
1 dy 1 dz
= (11)
y n dx 1 − n dx
17
it is seen that (10) becomes
1 dz
1−n dx
+ Pz = Q
dz
Isolating dx
to obtain
dz
dx
+ P (1 − n)z = Q(1 − n)
which is a linear equation.
Activity
Solve x2 dy + y(x + y)dx = 0
Solution
dy y −y 2
dx
+ x
= x2
1 dy 1
y 2 dx
+ xy
= − x12
1 dy
Put y
= z, so that − y12 dx = dz
dx
z
= x−3 dx + c
R
x
−1 −2
xy
= + x2 + c
1
xy
= − 2x12 + c
Homogenous Equation
A differential equation M (x, y)dx + N (x, y)dy = 0 is said to be homogeneous
if M (x, y) and N (x, y) are homogeneous expressions of the same degree. Any-
time we have homogeneous differential equation in x and y, a substitution of
18
the form:
y x
z= x
or z = y
immediately reduces the homogeneous differential equation
to the variable separable form.
M (x, y)dx+N (x, y)dy = 0 is said to be homogeneous if M (Sx , Sy ) = S n M (x, y)
and N (Sx , Sy ) = S n N (x, y)
that is, if M and N are homogeneous of the same degree n.
Example
Determine the given equation is homogeneous or not. Hence solve it:
(x2 + y 2 )dx + 2xydy = 0
Solution
M (x, y) = x2 + y 2 ; N (x, y) = 2xy
For x = Sx , y = Sy
S 2 M (x, y) = S 2 x2 + S 2 y 2 = S 2 (x2 + y 2 )
S 2 N (x, y) = 2Sx Sy = 2S 2 xy
Thus, the differential equation is homogeneous since M and N are of the
same degree 2
Substitute z = xy ; x = zy
dx = zdy + ydz
(x2 + y 2 )dx + 2xydy = 0
(z 2 y 2 + y 2 )(zdy + ydz) + 2(zy)ydy = 0
y 2 (z 2 + 1)(zdy + ydz) + 2zy 2 dy = 0
(z 2 + 1)(zdy + ydz) + 2zdy = 0
z(z 2 + 1)dy + y(z 2 + 1)dz + 2zdy = 0
(z 3 + 3z)dy + y(z 2 + 1)dz = 0
19
z 2 +1 dy
z 3 +3z
dz + y
=0
z 2 +1 1
R R
z 3 +3z
+ y
=0
1
3
ln(z 3 + 3z) + ln y = − ln k
1
ln[(z 3 + 3z) 3 y] = − ln k
1
ln[(z 3 + 3z) 3 yk] = 0
1
(z 3 + 3z) 3 yk = 1
1
(z 3 + 3z)y 3 = c3 where c = k
x3 3x 3
y3
+ y
y = c3
x3 3x c3
y3
+ y
= y3
x3 + 3xy 2 = A where c3 = A
Summary
Three special forms of first order ordinary differential equations were intro-
duced together with methods of solution.
dy y
2. Solve the differential equation dx
= x
+ x sin xy
20
References
Further Readings
21
Unit 4: Applications of first-Order Equations
Introduction: Some practical applications of first order ordinary differential
equations shall be discussed in this unit.
Learning objectives/outcomes
At the end of this unit, you should be able to:
Main Contents
(A) Orthogonal and Oblique Trajectories
Let
F (x, y, c) = 0 (12)
22
Solution
Differentiating the equation with respect to x to obtain
dy
2x + 2y dx =0
dy −x
⇒ dx
= y
dy y
=
dx x
(m2 = − m11 where m1 and m2 are gradients)
is the orthogonal trajectories to the family of curves x2 + y 2 = c.
dy dx
⇒ y
= x
Figure 3.1
Figure 3.1 shows several members of the family of circles and several
members of the family of straight lines drawn with dashes.
B. Oblique Trajectories
Let
F (x, y, c) = 0 (13)
23
the family (13) at a constant angle α 6= 90o is called an oblique trajectory.
Suppose the differential equation of a family is
dy
= f (x, y) (14)
dx
then, the curve of the family (14) through the point (x,y) has the slope f (x, y)
at (x,y) and hence, its tangent line has angle of inclination tan−1 f (x, y) there.
The tangent line of an oblique trajectory which intersects this curve at the
angle α will thus have angle of inclination
tan−1 [f (x, y)] + α
at the point (x,y).
Hence, the slope of this trajectory is given by
f (x, y) + tanα
tan[f (x, y) + α] =
1 − f (x, y)tanα
24
M dV
⇒ dt
= k1 F (if M is constant)
k1 F
⇒a= M
1M a
⇒F = k1
⇒ F = kM a
1 dv
(where k = k1
and a = dt
) is the acceleration of the body.
The simplest system of units are those for which k = 1, hence
F = Ma
Activity 2
A body weighing 60 kg fall from rest towards the earth from a great height.
As it falls, air resistance acts upon it, and assume that this resistance is
numerically equal to 2v, where v is the velocity (m/s). Find the velocity and
distance fallen at time t seconds.
Solution
Chose the positive x axis vertically downward along the path of the body B
and the origin at the point from which it fell. The forces acting on the body
are
i. F1 , its weight 60 kg, which acts downward and hence it is positive.
ii. F2 , the air resistance (2v) which acts upward and hence it is negative.
F = ma (15)
M dV
⇒ dt
= F1 + F2
DIAGRAM
25
Earth
6dV
dt
= 60 − 2V
3dV
dt
= 30 − 2V
Integrating
t
−ln|30 − V | = 3
+ c1
t
⇒ 30 − V = c1 e− 3
c1 = 30 from the initial condition
−t
⇒ V = 30 − 30e 3
t
V = 30(1 − e− 3 ) (16)
Also,
dX
dt
=V
dX = V dt
t
X(t) = 30(t + 3e− 3 ) + c2
Note that X(0) = 0
⇒ 0 = 90 + c2 ⇒ c2 = −90
26
−t
X = 30(t + 3e 3 ) − 90
−t
X = 30(t + 3e 3 − 3) (17)
Interpretation
denotes the rate at which the quantity changes and we are at once led to a
differential equation.
Summary
Some real life problems leading to first order ordinary differential equation
were solved in this section.
27
Self Assessment Questions
1. Find the orthogonal trajectories of each given family of curves. In each
case, sketch several members of the family and several of the orthogonal
trajectories on the same set of axes.
(i). y = cX 3
(ii). y 2 = cX
(iii). cX 2
(iv). y = ecX
(v). y = x − 1 + ce−X
28
dy
(i). dx
= x2 siny, y(1) = −2
dy y2
(ii). dx
= x−2
, y(1) =0
References
Further Readings
29
Unit 5: Second order differential equation
Introduction: A second order differential equation is one in which the high-
d2 y
est derivative present in it is dx2
. In this unit, we shall study the general form
of second order ordinary differential equation and present method of solution
to homogeneous second order ordinary differential equation with constant
coefficient.
Learning objectives/outcomes
At the end of this unit, you should be able to:
(i) identify and solve homogeneous second order differential equation with
constant coefficients.
Main Content
The general form of a second order linear differential equations is:
d2 y dy
P (x) + Q(x) + R(x)y = G(x) (18)
dx2 dx
30
solutions that satisfy the given equation. Indeed, if y1 (x) and y2 (x) are inde-
pendent solutions of the linear homogeneous equation (19), then the function
y = k1 y1 (x) + k2 y2 (x) is also a solution of the differential equation for all con-
stants k1 and k2 .
Given a second order linear differential equation
d2 y dy
a + b + cy = 0 (20)
dx2 dx
where a, b, c ∈ <. Then, we can assume that y = emx is a solution (since ex-
ponential function has the property that its derivative is a constant multiple
of itself).
Thus, y 0 = memx , y 00 = m2 emx
Substituting y, y 0 , y 00 into equation (20), we have
am2 emx + bmemx + cemx = 0
(am2 + bm + c)emx = 0
Since emx can never be zero, then
am2 + bm + c = 0 (21)
Equation (21) above is called the characteristics equation (or auxiliary equa-
tion) of the differential equation (20). The nature of roots of the quadratic
equation (21) determines the nature of the two independent solutions of the
differential equation. Let us take time to study the three possible form of
roots of the quadratic equation (21). The two possible roots of (21) are ob-
√
b2 −4ac
tained by using the quadratic formula m1,2 = −b ± 2a
31
(20) under this scenario is
y(x) = k1 em1 x + k2 xem2 x
Case 2: when m1 and m2 are real and equal, that is: m1 = m2 , m1 , m2 ∈ <.
In this case b2 − 4ac = 0, the general solution of differential equation (24)
under this scenario is
y1 (x) = k1 emx + k2 emx
Case 3: when m1 and m2 are complex roots and conjugate of each other.
In this scenario, b2 − 4ac ≤ 0 and
√ √
−b+i b2 −4ac −b−i b2 −4ac
m1 = 2a
and m2 = 2a
or m1 = α + iβ and m2 = α − iβ
Then, the general solution is given as:
y(x) = k1 e(α+iβ)x + k2 e(α−iβ)x
y(x) = eαx (c1 cosβx + c2 sinβx)
Activity 1:
d y 2 dy
Solve the differential equation 4 dx2 + 3 dx − y = 0
Solution
The characteristics equation is:
4m2 + 3m − 1 = 0
4m2 + 4m − m − 1 = 0
4m(m + 1) − 1(m + 1) = 0
(4m − 1)(m + 1) = 0
4m − 1 = 0 or m + 1 = 0
1
m= 4
or −1
The solution of the differential equation is
1
y(x) = k1 e 4 x + k2 e−x
32
Activity 2:
Solve the differential equation y 00 − 6y 0 + 9y = 0
Solution
m2 − 6m + 9 = 0
(m − 3)(m − 3) = 0
m = 3 twice
y = c1 e3x + c2 xe3x
Activity 3: Solve 2y 00 − 2y 0 + 5y = 0
Solution
2m2 − 2m + 5 = 0
p
2± 4 − 4(2)(5)
m1,2 =
4
√
2± 4 − 40
m1,2 =
4
√
2± −36
m1,2 =
4
2 ± 6i
m1,2 =
4
1 ± 3i
m1,2 =
2
1 + 3i 1 − 3i
m1 = , m2 =
2 2
33
1 3 3
y(x) = e 2 x (c1 cos x + c2 sin x)
2 2
34
Solving the equation (22) and (23) simultaneously to obtain
c1 = 56 , c2 = 1
6
y(x) = 65 ex + 16 e−5x
Activity 4: Solve the initial value problem y 00 − y = 0
y(0) = 3, y 0 (0) = 2
Solution
The auxilliary equation is
m2 − 1 = 0
m2 = 1
m = ±1
y(x) = k1 ex + k2 e−x
y(0) = 3
k1 + k2 = 3 (24)
y 0 (x) = k1 ex − k2 e−x
y 0 (0) = 2
k1 − k2 = 2 (25)
y(x) = 52 ex + 12 e−x
35
y0 , y(x1 ) = y1
The difference between an initial value problem and a boundary value prob-
lem is that while an initial value problem has one fixed point x0 , a boundary
value problem has two ends x0 and x1 .
Activity 5:
Solve the boundary value problem
y 00 − 6y 0 + 25y = 0 where y(0) = 1, y( Π8 ) = 2
Solution
The characteristics equation is
m2 − 6m + 25 = 0
√
6± 36−4(1)(25)
m1,2 = 2
= 3 ± 4i
m1 = 3 + 4i, m2 = 3 − 4i
y(x) = e3x (c1 cos4x + c2 sin4x)
y(0) = 1 gives
c1 = 1
y( π8 ) = 2 gives
3π
2 = e 8 (cos π2 + c2 sin π2 )
3π
2 = e 8 c2
−3π
c2 = 2e 8
−3π
y(x) = e3x (cos4x + 2e 8 sin4x)
Summary
Solutions of second order homogeneous differential equation with constant
coefficients was considered in this unit. Initial and boundary value problems
36
were also presented and solved.
(i) 4y 00 + y 0 = 0
d2 y dy
(iv) dx2
+ dx
+y =0
(a) y 00 − 6y 0 + 8y = 0
(b) y 00 − 4y 0 + 8y = 0
(c) y 00 − 2y 0 + y = 0
References
James Stewart (2011)
Calculus 8th Edition
Early Transcendents
37
Further Reading
38
Unit 6: General Theory of nth order linear dif-
ferential equation
Introduction: The subject of ordinary differential equations is one great
theoretical and practical importance because of its variety applications in
Sciences and Engineering.
Learning outcomes/Objectives
At the end of this unit, you should be able to:
(i) identify and classify an nth order linear differential equation as homo-
geneous or non-homogeneous
(ii) solve a nth order linear differential equation with constant coefficients.
Main Content
Basic Theory of Linear Differential Equations
A linear differential equation of order n is an equation of the form:
dn y dn−1 y dy
a0 (x) n
+ a 1 (x) n−1
+ · · · + an−1 (x) + an (x)y = F (x) (26)
dx dx dx
where a0 is not identically zero. Assume that a0 , a1 , . . . , an and F are contin-
uous real functions on a real interval a ≤ x ≤ b and that a0 (x) 6= 0 for any x
on a ≤ x ≤ b. The right hand side is called the non-homogeneous term.
If F is identically zero, the equation reduces to:
dn y dn−1 y dy
a0 (x) n
+ a 1 (x) n−1
+ · · · + an−1 (x) + an (x)y = 0 (27)
dx dx dx
and it is called homogeneous.
39
Examples
d2 y dy
dx2
+ 3x dx + x3 y = ex is a linear differential equation of second order.
while
d3 y d y 2
2 dy
dx3
+ x dx 2 + 3x dx − 5y = sinx is a linear differential equation of the third
order.
Now, there is need to state the basic existence theorem for the initial
value problems associated with an nth order linear differential equation.
Theorem 4.01
Consider
dn y dn−1 y dy
a0 (x) + a 1 (x) + · · · + a n−1 (x) + an (x)y = 0 (28)
dxn dxn−1 dx
where a0 , a1 , . . . , an and F are continuous real functions on a real interval
a ≤ x ≤ b.
Let x0 be any point of the interval a ≤ x ≤ b and c0 , c1 , . . . , cn−1 be n
arbitrary real constants. Then, there exists a unique solution of (28) such
that f (x0 ) = c0 , f 0 (x0 ) = c1 , . . . , f n−1 (x0 ) = cn−1 and this solution is defined
over the entire interval a ≤ x ≤ b.
40
−∞ ≤ x ≤ ∞. The point x0 here is the point 1, which certainly belongs to
this interval; and the real numbers c0 and c1 are 2 and -5 respectively. This
tells us that a solution of the given problem exists is unique, and is defined
for all x, −∞ ≤ x ≤ ∞.
Also, consider the initial value problem
3
d y d y 2
2 dy
2 dx2 + x dx2 + 3x dx − 5y = sinx
y(4) = 3
y 0 (4) = 5
y 00 (4) = − 27
Here, the coefficients 2, x, 3x2 and −5 as well as the non-homogeneous
term sinx are all continuous fr all x, −∞ ≤ x ≤ ∞. The point x0 = 4 belongs
to the interval.; the real numbers c0 , c1 and c2 are 3,5 and − 27 respectively.
Therefore, this problem also has a unique solution which is defined for all x,
−∞ ≤ x ≤ ∞.
Theorem
Let f1 , f2 . . . , fm be any m solutions of the homogeneous linear differential
equation
n
d y dn−1y dy
a0 (x) dxn + a1 (x) dxn−1 + · · · + an−1 (x) dx + an (x)y = 0.
Then,
c1 f1 +c2 f2 +· · ·+cm fm (a linear combination of f1 , f2 , . . . , fm ) is a solution
of the differential equation where c1 , c2 , . . . , cm are m arbitrary constants.
Definition
The n functions f1 , f2 , . . . , fn are said to be linearly dependent on
a ≤ x ≤ b if there exists constants c1 , c2 , . . . , cn , not all zero, such that
a ≤ x ≤ b such that c1 f1 (x) + c2 f2 (x) + · · · + cn fn (x) = 0 for all x such that
41
a ≤ x ≤ b.
As an example, x and 2x are are linearly dependent on the interval 0 ≤
x ≤ 1 for there exist constants c1 and c2 , not both zero such that
c1 (x) + c2 (2x) = 0 for all x on the interval 0 ≤ x ≤ 1. For example, let
c1 = 2, c2 = −1
Definition
The n functions f1 , f2 , . . . , fn are said to be linearly independent on
the interval a ≤ x ≤ b if they are not linearly dependent. That is, the
functions f1 , f2 , . . . , fn are linearly independent on a ≤ x ≤ b if the relation
c1 f1 (x) + c2 f2 (x) + · · · + cn fn (x) = 0 for all x such that a ≤ x ≤ b implies
that c1 = c2 = · · · = cn = 0.
Definition
If f1 , f2 , . . . , fn are linearly independent solutions of the nth order homo-
geneous linear differential equation (28) on a ≤ x ≤ b, then the function f
defined by c1 f1 (x) + c2 f2 (x) + · · · + cn fn (x), a ≤ x ≤ b where c1 , c2 , . . . , cn
are arbitrary constants is called a general solution of (28) on a ≤ x ≤ b.
d2 y
For example, sinx and cosx are solutions of dx2
+ y = 0 for all x; −∞ ≤
x ≤ ∞.
One can show that the two solutions are linearly independent. Thus, the
general solution may be expressed as the linear combination
y = c1 sinx + c2 sinx where c1 and c2 are arbitrary constants.
Definition
Let f1 , f2 , . . . , fn be real functions each of which has an (n−1) derivatives
on a real interval a ≤ x ≤ b, the determinant
42
f1 f2 ... fn
f10 f20 ... fn0
W (f1 , f2 , . . . , fn ) = ..
.
(n−1) (n−1) (n−1)
f1 f2 . . . fn
in which primes denote derivatives is called the Wronskian of these n
functions.
Theorem
The n solution f1 , f2 , . . . , fn of the nth order homogeneous differential
equation (28) are linearly independent on a ≤ x ≤ b if and only if the
Wronskian of f1 , f2 , . . . , fn is different from zero for some x on the interval
a ≤ x ≤ b.
Activity 1
d2 y
Show that the solutions sinx and cosx of dx2
+ y = 0 are linearly inde-
pendent.
sinx cosx
W (sinx, cosx) = = −sin2 x − cos2 x = −1 6= 0
cosx −sinx
Since W (sinx, cosx) 6= 0, the solutions of sinx and cosx are linearly
independent.
Activity 2
d3 y 2
d y dy
The solutions ex , e−x and e2x of dx3
− 2 dx2 − dx
+ 2y = 0 are linearly
independent for
43
ex e−x e2x 1 1 1
W (ex , e−x , e2x ) = ex −e−x 2e2x = e2x 1 −1 2 = −6e2x 6= 0
ex e−x 4e2x 1 1 4
Theorem
Let f be a nontrivial solution of the nth homogeneous linear differential
equation
dn y dn−1 y dy
a0 (x) + a 1 (x) + · · · + a n−1 (x) + an (x)y = 0 (29)
dxn dxn−1 dx
This reduces the equation (29) to an (n − 1)th order homogeneous linear
du
differential equation in the dependent variable w = dx
.
Consider the nontrivial solution of the second order homogeneous linear
equation
d2 y dy
a0 (x) 2
+ a1 (x) + a2 (x)y = 0 (30)
dx dx
Let the transformation be
y = fu (31)
then,
dy f du udf
= + (32)
dx dx dx
d2 y d2 u df du d2 f
= f + 2 + u (33)
dx2 dx2 dx dx dx2
Substitute equations (31), (32) and (33) into (30) to obtain
44
h 2 i
df du d2 f df
a0 f ddxu2 + 2 dx + a1 f du
dx
+ u dx2 dx
+ u dx + a2 f u = 0
h i
d2 u df du d2 f df
= a0 f dx2 + 2a0 dx + a1 f dx + a0 dx2 + a1 dx + a2 f U = 0
Since f is a solution of (13), the coefficient of u is zero.
2 df
dy
⇒ a0 f ddxu2 + 2a0 dx
+ a1 f dx =0
Let
du
w=
dx
dw df
⇒ a0 f + 2a0 + a1 f w = 0
dx dx
0
dw 2f a1
=− + dx
w f a0
Z
2 a1
ln |w| = − ln nf + − dx + ln c
a0
R a1 dx
−
ce a0
w=
f2
Since
du
=w
dx
,
R a1 dx
Z −
e a0
dx
U=
f2
R a1 dx
Z −
e a0
dx
y = fU = f
f2
which is the solution of the original second order differential equation
(30).
45
Activity 3
Given that y = x is a solution of
d2 y dy
(x2 + 1) 2
− 2x + 2y = 0, (34)
dx dx
find a linearly independent solution by reducing the order.
Solution
Let
y = xu (35)
dy du
=x +u (36)
dx dx
2 2
dy d u du du d2 u du
2
= x 2
+ = x 2
+2 (37)
dx dx dx dx dx dx
Substitute (35), (36) and (37) into (34) to obtain
2
(x2 + 1)(x ddxu2 + 2 du
dx
) − 2x(x du
dx
+ u) + 2xu = 0
2
⇒ x(x2 + 1) ddxu2 + (x2 + 1) du
dx
) − 2x2 du
dx
− 2xu + 2xu = 0
2
⇒ x(x2 + 1) ddxu2 + 2 du
dx
=0
du
Let W = dx
, then,
x(x2 + 1) dw
dx
+ 2W = 0
dW dx
⇒ W
= x(x2 +1)
dW
−2 2x
⇒ W
= x
+ x2 +1
dx
Integrating both sides to obtain
ln |W | = −2 ln |x| + In + (x2 + 1) + ln c
ln |W | = ln |x2 | + ln (x2 + 1) + ln c (Where c is a constant)
ln |W | = In |x−2 + (x2 + 1)c|
2
W = c (x x+1)
2
46
du
Now, recall that dx
=W
du (x2 +1)
dx
=c x2
u = cx − x−2+1 + c2
1
u = cx − x
+ c2 (where c2 is a constant)
g(x) = y = xu = cx2 − 1 + xc2
The general solution is the linear combination of the solutions
yG = a1 x + a2 [cx2 − 1 + xc2 ]
Definition
Consider the nth-order (non-homogeneous) linear differential equation
dn y dn−1 y dy
a0 (x) n
+ a 1 (x) n−1
+ · · · + an−1 (x) + an (x)y = F (x) (38)
dx dx dx
the corresponding equation
dn y dn−1 y dy
a0 (x) n
+ a 1 (x) n−1
+ · · · + an−1 (x) + an (x)y = 0 (39)
dx dx dx
The general solution of (39) is called the complementary equation of
equation (38). Let this be denoted by yc . Any particular equation of (38)
involving no arbitrary constants is called a particular integral of (38). This
can be denoted as yp .
Solution y = yc + yp of (38) is called the general solution of (38).
2. Make sure that the function g(t) belongs to the class of functions dis-
cussed in this section, that is, it involves nothing more than exponential
functions, sines, cosines, polynomials, or sums or products of such func-
tions. If this is not the case, use the method of variation of parameters
(discussed in the next section).
47
3. If g1 (t) + · · · + gn (t), that is, if g(t) is a sum of n terms, then form n sub
problems, each of which contains only one of the terms g1 (t)+· · ·+gn (t).
The ith sub problem consists of the equation
ay 00 + by 00 + cy = gi (t), (40)
4. For the ith sub problem assume a particular solution Yi (t) consisting
of the appropriate exponential function, sine, cosine, polynomial, or
combination thereof. If there is any duplication in the assumed form
of Yi (t) with the solutions of the homogeneous equation (found in step
1), then multiply Yi (t) by t, or (if necessary) by t2 , so as to remove the
duplication. See Table 3.6.1.
5. Find a particular solution Yi (t) for each of the sub problems. Then the
sum Y1 (t) + · · · + Yn (t) is a particular solution of the non homogeneous
equation.
7. Use the initial conditions to determine the values of the arbitrary con-
stants remaining in the general solution.
For some problems this entire procedure is easy to carry out by hand, but
in many cases it requires considerable algebra. Once you understand clearly
how the method works, a computer algebra system can be of great assis-
tance in executing the details. The method of undetermined coefficients is
48
self correcting in the sense that if one assumes too little for Y (t), then a
contradiction is soon reached that usually points the way to the modification
that is needed in the assumed form. On the other hand, if one assumes too
many terms, then some necessary work is done and some coefficients turn
out to be zero, but at least the correct answer is obtained.
Notes. Here s is the smallest non negative integer (s = 0, 1, 2) that will
ensure that no term in Yi (t) is a solution of the corresponding homogeneous
equation. Equivalently, for the three cases, s is the number of times 0 is a
root of the characteristic equation, α is a root of the characteristic equation
respectively, and α + iβ is a root of the characteristic equation respectively.
If g(t) is a sum of terms, it is usually easier in practice to compute sep-
arately the particular solution corresponding to each term in g(t). From the
principle of superposition (since the differential equation is linear), the par-
ticular solution of the complete problem is the sum of the particular solutions
of the individual problems. This is illustrated in the following example.
We shall be concerned with the equation
dn y dn−1 y dy
ao n
+ a 1 n−1
+ · · · + an−1 + an y = 0 (41)
dx dx dx
where a0 , a1 , · · · , an−1 , an are real constants.
We shall seek solutions of (41) of the form y = emx where m will be chosen
such that emx does satisfy the equation
y = emx
0
y = memx
00
y = m2 emx (42)
..
.
y n = mn emx
49
substituting (42) in (41), we obtain
since emx 6= 0
This equation (43) is called auxiliary equation or characteristic equation of
the given differential equation (41). We write the auxiliary equation (43)
and solve for m. Observe that (43) is formally obtained from (41) by merely
replacing the k th derivative in (41) by mk , (k = 0, 1, 2, ..., n). Three cases
arise, according as the roots of (43) are real and distinct,real and repeated,
or complex.
Consider the nth -order homogeneous linear differential equation (41) with
constant coefficients.If the auxiliary equation (2) has:
2. the real root m occurring k times,then the general solution of (1) corre-
sponding to the K-fold repeated roots is emx (c1 +c2 x+c3 x2 +· · ·+ck xk−1 )
and remaining roots are the distinct real numbers mk+1 , · · · , mn then
the general solution of (41)
50
and if (a + bi) and (a − bi) are k-fold repeated roots, then the corre-
sponding part of the general solution is y = eax (c1 + c2 x + c3 x3 + · · · +
ck xk−1 ) sin bx + ck+1 + ck+2 x + · · · + c2k xk−1 cos bx
Activity 1
d2 y dy
Solve dx2
− 3 dx + 2y = 0
solution
let y = emx
y 0 = memx
y 00 = m2 emx
The auxiliary equation is
m2 − 3m + 2 = 0
(m − 1)(m − 2) = 0
m1 = 1, m2 = 2
The roots are real and distinct
Thus ex and e2x are solutions and the general solution may be written as
y = c1 ex + c2 e2x
We verify that ex and e2x are indeed linearly independent. Their wronskian
ex e2x
is w(ex , e2x ) = = e3x 6= 0
x 2x
e 2e
Therefore, we are assured of their linear independence
Activity 2
d2 y dy
Solve dx2
− 6 dx + 9y = 0
Solution
let y = emx
y 0 = memx
51
y 00 = m2 emx
The auxiliary equation is
m2 − 6m + 9 = 0
(m − 3)2 = 0
The roots of this equation are
m1 = 3, m2 = 3 (not distinct)
y = (c1 + c2 x)e3x
Activity 3
d2 y
Solve dx2
+y =0
The auxiliary equation is m2 + 1 = 0
m1 = i, m2 = −i
The general solution is c1 eix + c2 e−ix
Using Euler’s formula
eiθ = cosθ + isinθ and e−iθ = cosθ − isinθ
y = c1 (cosx + isinx) + c2 (cosx − isinx) = (c1 + c2 )cosx + i(c1 − c2 )sinx
y = Acosx + Bsinx
where A and B are arbitrary constants.
Activity 4
d2 y dy
Find the general solution of dx2
− 6 dx + 25y = 0
The characteristics (auxiliary) equation is
m2 − 6m + 25 = 0
√
6± 36−100 6+8i
m= 2
= 2
= 3 + 4i
m1 = 3 + 4i, m2 = 3 − 4i
The general solution is
y = c1 e(3+4i)x + c2 e(3−4i)x
52
y = c1 e3x e4ix + c2 e3x e−4ix
y = e3x (c1 e4ix + c2 e−4ix )
y = e3x [c1 (cos4x + isin4x) + c2 (cos4x − isin4x)]
y = e3x [(c1 + c2 )cos4x + (c1 − c2 )isin4x]
y = e3x (k1 cos4x + k2 sin4x)
Activity 5
d2 y dy
Solve the initial value problem dx2
− 6 dx + 25y = 0
y(0) = −3, y 0 (0) = −1
From activity (4), the solution is
dy
dx
= e3x (k1 (4)sin4x + k2 (4)cos4x) + (k1 cos4x + k2 sin4x)3e3x
dy
= e3x [(3k1 − 4k2 )sin4x + (4k1 + 3k2 )cos4x] (45)
dx
Applying the condition y(0) = −3 to equation (44)
−3 = e0 (k1 sin0 + k2 cos0)
k2 = −3 (46)
53
The general equation (44) becomes
y = e3x [2cos4x − 3sin4x]
dn y dn−1 y dy
a0 n
+ a 1 n−1
+ · · · + an−1 = F (x) (48)
dx dx dx
where the coefficients a0 , a1 , · · · , an are constants but where the non homo-
geneous term F is (in general) a non constant function of x. The general
solution may be written as
y = yc + yp
where yc is the complementary function, that is the general solution of the
corresponding homogeneous equation (48) with F replaced by 0 and yp is
a particular integral, that is, any solution of (48) containing no arbitrary
constants.
The method of Undetermined Coefficients applies when the on homogeneous
function F in the differential equation is a finite linear combination of Un-
determined Coefficients (U.C) functions.
54
(iv) cos(b x + c) where b and c are constants b 6= 0
(1) Solve
d2 y dy
2
− 2 − 3y = 2ex − 10sinx (49)
dx dx
solution
The homogeneous equation is
d2 y dy
2
− 2 − 3y = 0 (50)
dx dx
yc = c1 e3x + c2 e− x (51)
We now form the U.C set for each of the two functions 2ex and −10sinx
S1 = {ex }
S2 = {sinx, cosx}
Note that neither of these sets is identical with non included in the
other and also by examining the complementary function, none of the
functions ex , sinx, cosx of S1 and S2 with the undetermined coefficients
A, B, C.
We determine these unknown coefficients by substituting the linear
55
combination formed into equation (49)
d2 y dy
(2) Solve dx2
− 3 dx + 2y = 2x2 + ex + 2xex + 4e3x
Solution
d2 y dy
Consider dx2
− 3 dx + 2y = 0
The complementary function is
yc = C1 ex + C2 e2x
56
The non-homogeneous term 2x2 + ex + 2xex + 4e3x form the U.C set
S1 = {x2 , x, 1}
S2 = {ex }
S3 = {xex , ex }
S4 = {e3x }
These sets reduced to S1 , S3 , S4 since S2 is contained in S3 .
Note that S3 = {xex , ex } includes ex which is included in the comple-
mentary function. Each member of S3 was multiplied by x to obtain
S30
S30 = {x2 ex , xex }
The linear combinations are
yp = Ax2 + Bx + C + De3x + Ex2 ex + F xex
yp0 = 2Ax + B + 3De3x + Ex2 ex + 2Exex + F xex + F ex
yp00 = 2A + 9De3x + Ex2 ex + 4Exex + 2Eex + F xex + 2F ex
Substituting yp , yp0 , yp00 into the original differential equation, we have
(2A − 3B + 2C) + (2B − 6A)x + 2Ax2 + 2De3x + (−2E)xex +
(2E − F )ex = 2x2 + ex + 2xex + 4e3x
Equating the coefficients
2A − 3B + 2C = 0
2B − 6A = 0
2A = 2
2D = 4
−2E = 2
2E − F = 1
A = 1, B = 3, C = 27 , D = 2, E = −1, F = 3
57
Th general solution is
y = yc + yp = C1 ex + C2 e2x + x2 + 3x + 27 + 2e3x − x2 ex − 3xex
d4 y d2 y
(3) dx4
+ dx2
= 3x2 + 4sinx − 2cosx
Solution
d4 y d2 y
dx4
+ dx2
=0
The complementary function is
yc = C1 + C2 x + C3 sinx + C4 cosx
The U.C sets for each of the three functions in the non homogeneous
term are
S1 = {x2 , x, 1}
S2 = {sinx, cosx}
Since S1 = {x2 , x, 1} includes 1 and x which are found in the com-
plementary function. We multiply each member of this set S1 by x2
since multiplying it by x will still include a member or term in the
complementary function. Also, each member of set x2 is multiplied by
x. then, we obtain
S1 = {x4 , x3 , x2 }
S2 = {xsinx, xcosx}
yp = Ax4 + Bx3 + Cx2 + Dxsinx + Excosx
Substituting yp , yp0 , yp00 into the original differential equation, we have
24A + Dxsinx − 4Dcosx + Excosx + 4Esinx + 12Ax2 + 6Bx +
2C − D.xsinx + 2Dcosx − Excosx − 2Esinx = 3x2 + 4sinx − 2cosx
Equating the coefficients, we have
24A + 2C = 0
6B = 0
58
12A = 3
−2D = −2
2E = 4
A = 41 , B = 0, C = −3, D = 1, E = 2
The particular integral is
yp = 41 x4 − 3x2 + xsinx + 2xcosx
The general solution is
y = yc +yp = C1 +C2 x+C3 sinx+C4 cosx+ 41 x4 −3x2 +xsinx+2xcosx
d2 y dy
(4) Solve the initial value problem dx2
− 2 dx − 3y = 2ex − 10sinx y(0) = 2
y 0 (0) = 4
Solution
The general solution (following the normal procedures) is
y = C1 e3x + C2 e−x − 21 ex + 2sinx − cosx
y 0 = 3C1 e3x − C2 e−x − 21 ex + 2cosx + sinx
Applying the initial conditions y(0) = 2 and y 0 (0) = 4
2 = C1 e0 + C2 e0 − 21 e0 + 2sin0 − cos0
4 = 3C1 e0 − C2 e0 + 2cos0 + sin0
7
C1 + C2 = 2
5
3C1 − C2 = 2
C1 = 32 , C2 = 2
The final solution is
y = 23 e3x + 2e−x − 12 ex + 2sinx − cosx
Variation of Parameters
59
While the process of carrying out the method of undetermined coefficients
is actually straight forward, the method applied is general to a rather class of
problems. For example, it would not apply to the apparently simple equation
d2 y
dx2
+ y = tanx
We thus seek a method of finding a particular integral which applies in all
cases (including variable coefficients) in which the complementary function
is known. Such method is the method of variation of parameters. We now
develop this method in connection with the general second order linear dif-
ferential equation with variable coefficients.
d2 y dy
a0 (x) 2
+ a1 (x) + a2 (x)y = F (x) (55)
dx dx
Suppose that y1 and y2 are linearly independent solution of the correspond-
ing homogeneous equation
d2 y dy
a0 (x) 2
+ a1 (x) + a2 (x)y = 0 (56)
dx dx
The complementary function of equation (55) is
c1 y1 + c2 y2
where c1 and c2 are arbitrary constants. The procedure in the method of
variation of parameters is to replace the arbitrary constants c1 and c2 by
respective functions v1 and v2 which will be determined. Now
v1 y1 + v2 y2
will be a particular integral of equation (55). We thus assume
yp = v1 y1 + v2 y2 (57)
60
At this point we impose equation (57), we then simplify yp0 by demanding
that
v10 y1 + v20 y2 = 0
With this condition imposed.
Summary
The general nth order linear differential equation was presented with some
methods of solution which include Wronskian and variation of parameter etc.
d2 y dy
1. dx2
− 5 dx + 6y = 0
d2 y dy
2. dx2
− 2 dx − 3y = 0
d y 2 dy
3. 4 dx2 − 12 dx + 5y = 0
d y 2 dy
4. 3 dx2 − 14 dx − 5y = 0
d2 y dy
5. dx2
− 8 dx + 16y = 0
d y 2 dy
6. 4 dx2 + 4 dx + y = 0
d2 y dy
7. dx2
+ 6 dx + 25y = 0
61
d3 y 2
d y dy
dx3
− 6 dx2 + 5 dx + 12y = 0
Show that they are linearly independent on the interval −∞ < x < ∞.
Write the general solution.
d y2 dy
2. Show that y = e2x is a solution of (2x + 1) dx2 − 4(x + 1) dx + 4y = 0 is
d y 2 dy
3. Given that y = x2 is a solution of (x3 − x2 ) dx 3 2
2 − (x + 2x − 2x) dx +
d2 y dy
(a) dx2
− 3 dx + 2y = 4x2
d2 y dy
(b) dx2
− 2 dx − 8y = 4e2x − 21e−3x
d2 y dy
(c) dx2
+ 2 dx + 5y = 6sin2x + 7cos7x
d2 y dy
(d) dx2
+ 2 dx + 2y = 10sin4x
d2 y dy
(e) dx2
+ 2 dx + 4y = cos4x
d2 y dy
(a) dx2
− 4 dx + 3y = 9x2 + 4
y(0) = 6, y 0 (0) = 8
62
d2 y dy
(b) dx2
+ 4 dx + 13y = 5sin2x
y(0) = 1, y 0 (0) = −2
d2 y
(c) dx2
+ y = 3x2 − 4sinx
y(0) = 1, y 0 (0) = 1
(6) Solve
d2 y dy
(a) dx2
+ 6 dx + 25y = 0
d2 y
(b) dx2
+ 9y = 0
d y2
(c) 4 dx2 + y = 0
d3 y d y 2 dy
(d) dx3
− 5 dx2 + 7 dx − 3y = 0
d2 y dy
(a) dx2
− dx
− 12y = 0
y(0) = 3, y 0 (0) = 5
d y2 dy
(b) 9 dx2 − 6 dx + y = 0
y(0) = 3, y 0 (0) = −1
d2 y dy
(c) dx2
− 4 dx + 29y = 0
y(0) = 0, y 0 (0) = 5
d2 y dy
(d) dx2
+ 4 dx + 37y = 0
y(0) = 2, y 0 (0) = −4
63
References
Further Readings
64
MODULE 2
LAPLACE TRANSFORM
65
Unit 1: Laplace Transforms
Introduction
The standard methods of solving second-order differential equations with
constant coefficients i.e ay 00 + by 0 + cy = f (x) are either by substitution of an
assumed solution or by using operator D methods. In each case ,the general
solution is first obtained and the arbitrary constants evaluated by using the
initial conditions.
A much neater and less tedious method is by the use of Laplace transform, in
which the solution of the differential equation is obtained largely by algebraic
processes.
Learning outcomes/objectives
At the end of this unit, you should be able to:
Main content
The Laplace transform of a function F (t) is denoted by `{F (t)} and is defined
by Z ∞
F (s) = `{f (t)} = f (t)e−st dt,
0
66
will be a function of s .Since the limits are substituted for t. ∴
Z ∞
F (s) = `{f (t)} = f (t)e−st dt
0
Activity 1
Find the Laplace transform of f (t) = a (constant)
Solution:
Z ∞
`(a) = ae−st dt
0
∞
est
=a
−s 0
−a
= (0 − 1)
s
a
=
s
Activity 2
Find the Laplace transform of f (t)=1
Solution: Z ∞
`(1) = e−st dt
0
∞
e−st
=
−s 0
−1
= (0 − 1)
s
1
=
s
67
Activity 3
Find the Laplace transform of f (t) = eat (a constant)
Solution:
Z ∞
at
`(e ) = eat e−st dt
0
Z ∞
= e(a−s)t dt
0
∞
e(a−s)t
=
(a − s) 0
1 − ∞
= e (s − a)t 0
a−s
1
= (0 − 1)
a−s
−1
=
a−s
1
=
s−a
Activity 4
If F (t) = Sinbt for t > 0
Z ∞
`(Sinbt) = e−st Sinbtdt
0
∞
−e−st
= 2 (sSinbt + bCosbt)
s + b2 0
68
b
=
s 2 + b2
for all s > 0
Activity 5
If F (t) = Cosbt
Z ∞
`(Cosbt) = Cosbte−st dt
0
−st ∞
−e
= (−sCosbt + bSinbt)
s 2 + b2 0
s
= 2
s + b2
for all s > 0
Activity 6
If f (t) = tn where n is a positive integer.
Z ∞
n
`(t ) = tn e−st dt
0
−st ∞ Z ∞
ne n
t + tn−1 e−st dt
−s 0 s 0
n ∞ n−1 −st
Z
(0 − 0) + t e dt
s 0
n ∞ n−1 −st
Z
t e dt
s 0
69
Similarly
∞ ∞
n−1
Z Z
n−1 −st
t e dt = tn−2 e−st dt
0 s 0
Therefore
n n−1 n−2 1
`(tn ) = . . · · · . `(1)
s s s s
n!
=
sn+1
Activity 7
If f (t) = Sinhat
1 at −at
`(Sinhat) = ` (e − e )
2
1 ∞ at
Z
= (e − e−at )e−st dt
2 0
1 ∞ −(s−a)t
Z
= (e − e−(s+a)t dt
2 0
1 1 1
= −
2 s−a s+a
a
= 2
s − a2
Similarly
If f (t) = Coshat
1 at
`(Coshat) = ` (e + e−at )
2
70
1 ∞ at
Z
= (e + e−at )e−st dt
2 0
1 ∞ (a−s)t
Z
= (e + e−(a+s)t dt
2 0
1 ∞ −(s−a)t
Z
= (e + e−(s+a)t dt
2 0
1 1 1
= +
2 s−a s+a
s
= 2
s − a2
Activity 8
Evaluate ` {2Sin3t} + ` {4Sinh3t}
= ` {2Sin3t} + ` {4Sinh3t}
2.3 4.3
= + 2
s2
+3 2 s − 32
6 12
= 2 2
+ 2
s +3 s − 32
6(s2 − 9) + 12(s2 + 9)
=
(S 4 − 81)
18s2 + 54
= 4
S − 81
18(s2 + 3)
=
(S 4 − 81)
71
Standard Transform
Activity 9
−d
`(tSin3t) = (` {Sin3t})
ds
−d 3
=
ds s2 + 32
= 3(s2 + 32 )−2 .2s
6s
=
(s2 + 9)2
Summary
Definition of Laplace transform with derivation of some basic results and
tables of standard Laplace transform were presented in this unit.
72
3. Determine the following:
(i)F (t) = t3
(ii)F (t) = Cos4t
References
Further Readings
73
Unit 2: Important theorem/ properties of laplace
transform
Introduction: Our attention in this unit shall be directed towards some im-
portant theorems on Laplace transform that makes the problem a lot easier.
Having understood the basics of laplace transform we shall be dealing with
some properties which include shifting property etc. that makes a seemingly
complicated function to be easily solved.
Learning Outcomes/Objectives
At the end of this unit, you should be able to:
Theorem
If ` {F (t)} = f (s),then ` {e−at F (t)} = f (s + a)
n o R
∞
If ` {F (t)} = f (s),then ` F (t)
t
= 0 f (s)ds
n o
provided limt→0 F (t) t
exists
d n
In general, ` {tn F (t)} = (−1)n ds n {f (s)}
74
Main Content:
Property 1:
Laplace transform is linear, given c, k ∈ < (scalars) and f (t) and g(t) are
two functions of t, then
`{cf (t) + kg(t)} = c`(f (t)) + k`(g(t))
The proof of this is trivial
Property 2:
First shifting property. Multiplying f(t) by eat replaces s by s − a
That is, `{f (t)} = F (s), then
`{eat .f (t)} = F (s − a)
Activity 1: Find the laplace transform of f (t) = e−3t t3
solution
Note that
n!
`{tn } = sn+1
3! 6
`{t3 } = s4
= s4
`{e−3t t3 } = 3!
(s−(−3))4
= 6
(s+3)4
75
d
`{tsin3t} = − ds [ s23+9 ] = − (s2−6s
+9)2
6s
= (s2 +9)2
Activity 3:
Find the Laplace transform of f (t) = t2 e4t
solution
We shall attempt this example using the properties 2 and 3
Property 2:
f (t) = t2 e4t
2!
`{t2 } = s3
2!
`{t2 e4 t} = (s−4)3
Property 3:
1
`{e4t } = s−4
d 1 2
`{t2 e4 t} = (−1)2 ds 2 [ s−4 ]
d2
= [ 1 ]
ds2 s−4
= d
[ −1 ]
ds (s−4)2
2
(s−4)3
Property 4:
Second Shifting Rule
76
= e−πs `{−sint}
e−πs [ s2−1
+1
]
Property 5: Laplace transform of a derivative
Let f (t) = y 0 (t), then
R∞
`{f (t)} = `{y 0 (t)} = 0
y 0 (t)e−st dt
= S`{y(t)} − y(0)
Indeed, if f (t) = y n (t), then
`{y n (t)} = S n `{y(t)} − S n−1 y(0) − S n−2 y 0 (0) − · · · − y n−1 (0)
d2 y
Activity 5: Find the laplace transform of f (t) = dt2
Solution
R∞
`{y 0 (t)} = 0
y 00 (t)e−st dt
Using integration by parts
Choosing u = e−st ; du
dt
= −se−st
dv = y 00 (t) ; v = y 0 (t)
∞
= |y 0 (t)e−st |0 − y 0 (t)e−st dt
R
= 0 − y 0 (0) + S y 0 (t)e−st dt
R
∞
= −y 0 (0) + S |y(t)e−st |0 − y(t)e−st dt
R
77
Activity 6:
Find `{cos3t}
Solution
s
Since `{cost} = s2 +1
s
Then, `{cos3t} = 31 [ s 23+1 ]
3
s
= 13 [ s23+9 ] = s
s2 +32
9
Property 7:
Rt
Let f (t) = 0 g(τ )dτ
Then,
F (s)
`{f (t)} = s
= 1s `{g(t)}
Activity 7:
Show that
Rt F (s)
`{ 0 g(τ )dτ } = s
78
Rt R∞
`{ 0
g(τ )dτ } = 1
s 0
e−st g(t)dt
= 1s F (s)
Other properties include:
R∞
(i) t-division frequency integration `[{ f (t)
t
}] = s
F (s)ds
Rt
(ii) Convolution rule: `[{(f og)(t)}] = 0
f (x)g(t − x)dx
Summary:
Properties of Laplace transform were considered in this unit with worked
examples
(i) t3 e6t
(ii) cos4t
(iii) tsin2t
(i) cosh4t
(iii) t2 e−3t
79
References:
C.K. Alexander, M.N.O Sadiku(2012); Fundamentals of electric circuits,
Available online: angms.science—doc—math—transforms—math trans 3Lproperty.pdf
Alexei Vyssotski (2016); Basic of instrumentation, measurement and analy-
sis. Available online at https:——www.vyssotskioch—Basics of instrumen-
tation—Laplace transform.pdf
Further Reading:
80
Unit 3: Inverse Transforms
Introduction: The reverse process of obtaining the initial function from its
transform shall be discussed in this unit. It is expected that you are familiar
with transform functions as well as techniques of partial fraction in some
cases.
Learning Outcomes/Objectives:
At the end of this unit, you should be able to:
(i) find the laplace inverse of F (s)
Main content:
Now consider the reverse process. That is given a Laplace transform F (s), to
find a function f (t) whose Laplace transform is the given f (s).We introduce
the notation `−1 {F (s)} to denote such a function f (t) . i.e
Z γ+iτ
1
= lim est F (s)ds
2πi T →∞ γ−iτ
The algorithm for finding the Laplace inverse is not by using the above
formula but by using the Laplace transform table.
Activity 1
−1 a
` = Sinat
s + a2
2
81
since
a
`(Sinat) =
s 2 + a2
Activity 2
Determine `−1 5s+1
s2 −s−12
5s + 1 5s + 1
=
s2 − s − 12 (s − 4)(s + 3)
5s + 1 A B
= +
(s − 4)(s + 3) (s − 4) (s + 3)
5s + 1 ≡ A(s + 3) + B(s − 4)
Put s = 4 we have
5(4) + 1 = 7A
A=3
Put s = −3,we have
5(−3) + 1 = B(−3 − 4)
−14 = −7B
B=2
Hence ,
−1 5s + 1
` 2
s − s − 12
−1 3 2
=` +
(s − 4) (s + 3)
= 3e4t + 2e−3t
82
Activity 3
Determine `−1 1
s2 +6s+13
Now,
1 1 1
= =
s2 + 6s + 13 2
(s + 3) + 4 (s + 3)2 + 22
−1 1
=`
s2 + 6s + 13
1 −1 2
= `
2 (s + 3)2 + 22
1
= e−3t Sin2t
2
Summary
Techniques of finding the inverse Laplace transform were discussed in this
unit.
(A)
s 4 s+1
F (s) = + + 3
s2 +9 s−3 s
(B)
6
X s n
F (s) = + 2
n=0
s2 +n2 s + n2
83
Tutor Marked Assignment
Find the function f (t) whose laplace transform is given by:
1.
2
F (s) =
(s + 3)3
2.
e−πs
F (s) =
s2 + 1
3.
s 2 − a2
F (s) =
(s2 + a2 )2
References:
C.K. Alexander, M.N.O Sadiku(2012); Fundamentals of electric circuits,
Available online: angms.science—doc—math—transforms—math trans 3Lproperty.pdf
Alexei Vyssotski (2016); Basic of instrumentation, measurement and analy-
sis. Available online at https:——www.vyssotskioch—Basics of instrumen-
tation—Laplace transform.pdf
Further Reading:
84
Unit 4: Solution of Differential Equations by
Laplace Transforms Method
Introduction: Application of Laplace transform to solving ordinary differ-
ential equation shall be discuss in this unit. We shall be using the knowledge
of Laplace transform as well as its inverse to solve differential equation of
any order, initial value problem and boundary value problem.
Learning Outcome/Object
At the end of this unit, you should be able to solve any order differential
equation using Laplace transform.
Main Content
Let F 0 (t) be the first derivative of F (t) with respect to t and F 00 (t) be the
second derivative of F (t) with respect to t
Then
Z ∞
0
` {F (t)} = e−st F 0 (t)dt
0
= −F (0) + s` {F (t)}
85
Similarly
` {F 00 (t)} = −F 0 (0) + s` {F 0 (t)}
Also
F 000 (t) = s3 f (s) − s2 f (0) − sf 0 (0) − f ”(0)
Theorem
Let F be a real function having a continuous (n − 1)st derivative F n−1 and
hence F, F 0 , · · · , F n−1 are all of exponential order eat . Suppose F n is piece-
wise continuous in every finite closed interval 0 ≤ t ≤ b, then ` {F n } existS
for s > α and
` {F n (t)} = sn ` {F (t)} − sn−1 F (0) − sn−2 F 0 (0) − sn−3 F 00 (0) − · · · − F n−1 (0)
Activity 1
dy
Solve the initial value problem dt
− 2y = e5t , y(0) = 3
Solution
Taking the Laplace transform of both sides
dy
− 2` {y} = ` e5t
`
dt
1
⇒ sy(s) − y(0) − 2y(s) =
s−5
86
where y(s) = `(y)
1
(s − 2)y(s) − 3 =
s−5
since y(0)=3.
1 1 + 3(s − 5)
(s − 2)y(s) = +3=
s−5 (s − 5)
3s − 14
(s − 2)y(s) =
(s − 5)
3s − 14
y(s) =
(s − 5)(s − 2
3s − 14
`(y) =
(s − 5)(s − 2
−1 3s − 14
y=`
(s − 5)(s − 2
This implies
3s − 14 A B
≡ +
(s − 5)(s − 2 s−2 s−5
3s − 14 ≡ A(s − 5) + B(s − 2)
8 1
A= 3
and B = 3
Therefore
−1 3s − 14 8 1 1 1
` = `−1 + `−1
(s − 5)(s − 2 3 s−2 3 s−5
8 1
= e2t + e5t
3 3
87
Activity 11
d2 y 2dy
Solve the initial value problem dt2
− dt
− 8y = 0 at y(0) = 3, y 0 (0) = 6
Solution:
Taking the Laplace transform of both sides
` {y 00 } − 2` {y 0 } − 8` {y} = ` {0}
where ` {y} = ys
(s2 − 2s − 8)y(s) − 3s = 0
3s
y(s) =
(s2 − 2s − 8)y(s)
3s
=
(s − 4)(s + 2)
Resolving it to partial fractions
3s A B
= +
(s − 4)(s + 2) s−4 s+2
⇒ A = 2, B = 1
3s 1 1
= 2`−1 + `−1
(s − 4)(s + 2) s−4 s+2
∴
y = 2e4t + e−2t
88
Activity 2
Solve y 00 = 3 + 2t y(0) = y 0 (0) = 0
solution Taking the Laplace transform of both sides
3 2
s2 Y (s) − sy(0) − y 0 (0) = + 2
s s
3 2
s2 Y (s) = + 2
s s
3 2
Y (s) = 3
+ 4
s s
3 2
y(t) = L−1 Y (s) = L−1 ( 3
+ 4)
S s
= 3t2 + 2t3
Summary
Laplace transform solution of differential equation present an easy method
of solving DE . We were ask to solve some DEs (most especially initial value
problem) using Laplace transform and its inverse in this unit.
dy
2. dt
+ y = 2Sint at y(0) = −1
d2 y dy
3. dt2
− dt
− 2y = 18e−t + Sin3t at y(0) = 0, y 0 (0) = 3
89
Tutor Marked Assignment
1. Find the Laplace transforms of the following functions: (i)tCosh4t
(ii)t2 Cost (iii) e3t Cos5t
(a)
5
y 00 − e−2t (cos2t + sin2t) = 0 y(0) = y 0 (0) = 0
2
(b)
d3 y d2 y dy
3
+ 3 2
+ − 5y = sinx y(0) = y 0 (0) = y 00 (0) = 0
dx dx dx
References
Further Readings
90
Unit 5: Solving systems of ordinary DE with
constant coefficient by Laplace transform
.
Introduction: We shall be discussing solution to system of ordinary differ-
ential equations using Laplace transform method. Majorly, the steps involved
are the same as when it is only one equation; the difference is the simple ma-
nipulation invovled.
Learning Outcome/Objective
At the end of this unit, you should be able to solve system of differential
equations using Laplace transform.
Main Content
A system of equations consists several equations in some unknown variables.
A typical example of system of differential equations with constant coeffi-
cients is of the form
dy1
= c11 y1 + c12 y2 + · · · + c1n yn + f1 (t)
dt
dy2
= c21 y1 + c22 y2 + · · · + c2n yn + f2 (t)
dt
···························
·····················
dyn
= cn1 y1 + cn2 y2 + · · · + cnn yn + fn (t) (1)
dt
The system of (1) is homogenous if all fi (t) = 0 while it is non-homogenous
when fi (t) 6= 0.
91
The simplest method to solving system of (1) is by reducing it to an nth
order DE. We shall illustrate the approach using examples.
Activity 1
Solve the equation
dy1
= 4y1 − y2 + et y1 (0) = y10 (0) = 0 1(a)
dt
dy2
= 2y1 + y2 + (t + 1) y2 (0) = y20 (0) = 0 1(b)
dt
Soln
From (1a), we have
dy1
y2 = − + 4y1 + et
dt
2
dy2 d y1 dy1
=− 2 +4 + et (2)
dt dt dt
Substituting (2) and (1b) into (1a)
d2 y1 dy1 t dy1 t d2 y1 dy1
− +4 +e = 2y1 +(− +4y1 +e )+(t+1) = +5 −6y1 = t+1 (3)
dt2 dt dt dt2 dt
Applying Laplace transform to both sides of (3)
1 1
S 2 Y1 (s) − sy1 (0) − y10 (0) + 5(SY (s) − y1 (0)) − 6Y1 (s) = +
s2 s
s+1
Y 1 (s)(s2 + 5s − 6) =
s2
s+1
Y 1 (s) =
s2 (s
+ 6)(s − 1)
31 1 1 1 5 1 2 1
Y 1 (s) = − ( ) − ( 2) + ( )+ ( )
252 s 6 s 252 s + 6 7 s−1
Taking Laplace inverse of both sides, we have
31 1 5 −6t 2 t
y1 (t) = − − t+ e + e
252 6 252 7
92
But
dy1
+ 4y1 + et
y2 = −
dt
1 5 2 31 1 5 −6t 2 t
= −[− − e−6t + et ] + 4[− − t+ e + e ] + et
6 42 7 252 6 252 7
1 5 2 31 2 5 8
= + e−6t − et − − t + e−6t + et + et
6 42 7 63 3 63 7
Activity 2
Solve the initial value problem
2y 0 − 6y + 3x = 0, 3x0 − 3x − 2y = 0, y(0) = 3, x(0) = 1
Solution
Taking the Laplace transform of both sides
93
(s − 3)(3s − 3)x(s) − (2s − 6)y(s) = 3(s − 3) (62)
(3 + 3s2 − 9s − 3s + 9)x(s) = 3s − 3
Put s = 2
B = 1, s = 0
−1 = −2A + B
2A = 2
A=1
s−1 1 1
x(s) =) = = +
s2 − 4s + 4 s − 2 (s − 2)2
x(s) = e2t + te2t
94
−(2s2 − 2s − 6s + 6 + 2)y(s) = −6s + 6 + 3
−3(2s − 3)
y(s) =
(2s2 − 8s + 8)
−3(2s − 3)
y(s) =
−2(s − 2)2
3 A B
+
2 s − 2 (s − 2)2
2s − 3 = A(s − 2) + B
∴ A = 2 and B = 1
3 2 1
y(S) = +
2 s − 2 (s − 2)2
3 2 1
y = `−1 +
2 s − 2 (s − 2)2
3
y = {2e2t + te2t
2
3t
y = 3e2t + e2t
2
Summary
Laplace transform method was used to solve system of ordinary differential
equations with constant coefficients.
95
Tutor Marked Assignment
Find the general solution by using Laplace transform
dy
dt
= 3y + x + t3 , y(0) = 0
dx
dt
= x − y + t3 , x(0) = 1
References:
Carloi Enrique Frasser (2019); Laplace transform and systems of ordinary
differential equation. Available online at Research gate.
Further Readings:
96
MODULE 3
97
Unit 1: Basic Treatment of PDE in Two In-
dependent variables
Introduction: Partial differential equations are equations satisfied by deriva-
tives of functions of two or more independent variables. They describe all
types of physical phenomenon in engineering and science, ranging from tran-
sient heat conduction through vibrations of strings and plates. In this unit,
we shall be introducing the basics of Partial differential equations.
Learning outcomes/Objectives:
At the end of this unit, you should be able to:
Main Content:
Definitions: A Partial Differential Equation (PDE) is an equation for same
quantity v (dependent variable) which depends on the independent variables
x1 , x2 , x3 , · · · , xn ≥ 2, and involves derivatives of v with respect to at least
some of the independent variables.
F (x1 , · · · , xn , ∂x1 v, · · · , ∂xn v, ∂ 2 x1 v, ∂ 2 x1 x2 v, · · · , ∂ n x1 , · · · xn v) = 0
v = f (x1 , x2 , x3 , · · · , xn )
Thus,given a first order PDE is of the form:
98
∂v ∂v ∂v
c1 (x1 , x2 , x3 , · · · , xn ) +c2 (x1 , x2 , x3 , · · · , xn ) +· · ·+cn (x1 , x2 , x3 , · · · , xn ) +kv(x1 , x2 , x3 , · ·
∂x1 ∂x2 ∂xn
(65)
which can compactly be written as:
where all ci (x, y) are arbitrary functions of x and y (which can be ordinary
constant) and the term c4 (x, y) is the non-homogeneous term if c4 (x, y) = 0,
then equation (66) is homogeneous. When c1 , c2 and c3 (x, y) are all constants,
the partial differential equation (66) becomes a constant coefficient partial
differential equation. Examples of linear equations includes:
∂v ∂v
∂t
+ c ∂x =0
Ux + xUy = U + 2
NOTE: (i) In applications, xi are often space variables (e.g x, y, z) and
a solution may be required in some region Ω of space. In this case, there
will be some conditions to be satisfied on the boundary ∂Ω; there are called
99
boundary conditions
(ii) Also. in application, one of the independent variables can be time (t say)
then these will be some initial conditions to be satisfied (i.e v is given at
t = 0 everywhere in Ω).
(iii) Again, in applications, system of PDEs can arise involving the indepen-
dent variables v1 , v2 , v3 , · · · , vm , m ≥ 1
The order of the PDE is the order of the highest (partial) differential coeffi-
cient in the equation
∂v ∂v
+c = 0; F irst order linear P DE [simplest wave equation]
∂t ∂x
∂ 2v ∂ 2v
+ = f (x, y); Second order linear P DE [P oison]
∂x2 ∂y 2
Definition ii: A non-linear equation is semilinear if the coefficients of the
highest derivative are functions of the independent variables only.
∂v ∂v
(x + 3) + xy 2 = v3
∂x ∂y
∂ 2v 1 ∂ 2v 1 ∂ 2v
2
= 2 2 or 2 2 = ∇2 v
∂x c ∂t c ∂t
100
Heat Conduction Equations
∂v ∂ 2v
=k 2
∂t ∂x
or
∂v
= (k∇v) · ∇
∂t
∂ 2v ∂ 2v
+ = 0 [Second order linear equation]
∂x2 ∂y 2
or more generally
∇2 v = 0
101
Example: A simple example of showing uniqueness is provided by:
∇2 v = F in Ω (P oisson0 s equation)
Solution
Suppose v1 and v2 are two solutions satisfying the equation and the boundary
conditions. Then consider w = v1 − v2 ; ∇2 w = 0 in Ω and w = 0 on ∂Ω.
Now the divergence theorem gives,
Z Z
w∇w · nds = ∇ · (w∇w)dv,
∂Ω Ω
Z
w∇2 w + (∇w)2 dv
=
Ω
Z Z
2 ∂w
(∇w) dv = Ωw ds = 0
Ω ∂ ∂n
2
Now the integrand (∇w) is non-negative in Ω and hence for the equality to
hold we must have ∇w = 0; that is, w=constant in Ω. Since w = 0 on ∂Ω
and the solution is smooth, we must have w = 0 in Ω; i.e w1 = w2 . The same
∂v
proof works if ∂n
is given on ∂Ω or for mixed conditions.
102
(ii) By eliminating arbitrary functions
Solution
x2 + y 2 + (z − c)2 = a2 (68)
2y + (z − c)q = 0, (70)
∂z
where q = ∂y
.
Let us eliminate c from equations (69) and (70), we have from equation (69),
(z − c) = − xp .
Putting this value of z − c in equation (70), we have
y − xp q = 0 or yp − xq = 0
103
Substituting for p and q, we have our PDE as
∂z ∂z
y ∂x − x ∂y =0
solution
z = f (x2 − y 2 ) (71)
∂z
p= = f 0 (x2 − y 2 ) · 2x (72)
∂x
∂z
q= = f 0 (x2 − y 2 ) · −2y (73)
∂y
Dividing equation (72) by (73), we have
p
q
= − xy or py = −qx
104
References:
Further Reading:
f (u, v) = 0 (75)
∂f ∂u ∂u ∂f ∂v ∂v
+ ·p =− + ·p (78)
∂u ∂x ∂z ∂v ∂x ∂z
∂f ∂u ∂u ∂f ∂v ∂v
+ ·q =− + ·q (79)
∂u ∂y ∂z ∂v ∂y ∂z
Dividing equation (78) by equation (79), we get
∂u ∂u ∂v ∂v ∂u ∂u ∂v ∂v
+ ·p + ·q = + ·q + ·p (80)
∂x ∂z ∂y ∂z ∂y ∂z ∂x ∂z
105
∂u ∂v ∂u ∂v ∂u ∂v ∂u ∂v ∂u ∂v ∂u ∂v
· − · p+ · − · q= · − · (81)
∂x ∂z ∂z ∂y ∂z ∂x ∂x ∂z ∂x ∂y ∂y ∂x
If equation (78) and (79) are the same then the coefficients of p and q are
equal.
∂u ∂v ∂u ∂v
P = · − ·
∂x ∂z ∂z ∂y
∂u ∂v ∂u ∂v
Q= · − · (82)
∂z ∂x ∂x ∂z
∂u ∂v ∂u ∂v
R= · − ·
∂x ∂y ∂y ∂x
Now suppose u = c1 and v = c2 are two solutions, where a and b are con-
stants.
Differentiating u = c1 and v = c2 , we obtain
∂u ∂u ∂u
· dx + · dy + · dz = 0 (83)
∂x ∂y ∂z
∂v ∂v ∂v
· dx + · dy + · dz = 0 (84)
∂x ∂y ∂z
Solving equations (83) and (84), we get
dx dy dz
∂u ∂v
= = (85)
∂x
· ∂z
− ∂u
∂z
· ∂v
∂y
∂u
∂z
· ∂v
∂x
− ∂u
∂x
· ∂v
∂z
∂u
∂x
· ∂v
∂y
− ∂u
∂y
· ∂v
∂x
106
WORKING RULE
First step: Write down the auxiliary equations
dx dy dz
P
= Q
= R
∂z
(1) Solve the following differential equation yq − xp = z where p = ∂x
∂z
q= ∂y
Solution
yq − xp = z
Here are the auxiliary equations are:
dx dy dz
−x
= y
= z
− ln x = ln y − ln a
xy = a (86)
ln y = ln z + ln b
y
=b (87)
z
From equation (86) and (87), the solution is f (xy, yz )
107
dx dy dz
x2 −yz
= y 2 −zx
= z 2 −xy
By integrating, we have
log(x − y) = log(y − z) + log c1
log x−y
y−z
= log c1 or x−y
y−z
= c1
Similarly, from the above expression, we have
y−z
z−x
= c2
The required solution is
h i
x−y y−z
f y−z , z−x = 0
METHOD OF MULTIPLIERS
Let the auxiliary equations be:
dx dy dz
P
= Q
= R
dx dy dz ldx+mdy+ndz
P
= Q
= R
= lP +mQ+nR
108
Solving this differential equation, a choice is made by taking u = c1 and
v = c2
Therefore, required solution is f (u, v) = 0
Examples
∂z ∂z
1. Solve (mz − ny) ∂x + (nx − lz) ∂y = ly − mx
Here, the auxiliary equations are:
dx dy dz
mz−ny
= nx−lz
= ly−mx
∂z ∂z
2. Find the general solution of x(z 2 − y 2 ) ∂x + y(x2 − z 2 ) ∂x = z(y 2 − x2 )
Solution
The auxiliary simultaneous equations are:
dx dy dz
x(z 2 −y 2 )
= y(x2 −z 2 )
= z(y 2 −x2 )
109
Each term will give
xdx+ydy+zdz xdx+ydy+zdz
x2 (z 2 −y 2 )+y 2 (x2 −z 2 )+z 2 (y 2 −x2 )
= 0
Then, we have
dy dz
y
= z
y
=a (89)
z
110
Using multipliers x, y and z; we have
dx dy dz xdx+ydy+zdz
x2 −y 2 −z 2
= 2xy
= 2xz
= x(x2 +y 2 +z 2 )
2xdx+2ydy+2zdz dz
x2 +y 2 +z 2
= z
Put y = az
dx dz
x(z−2a2 z)
= z(z−a2 z 2 −2x3 )
111
Self Assessment Questions
Solve the following partial differential equations
(1) x2 p + y 2 q + z 2 = 0
∂z ∂z
(2) zx ∂x − zy ∂y = y 2 − x2
(2) zp + yq = x
∂z ∂z
(3) x ∂x + y ∂y + t ∂z
∂t
= xyt
∂z ∂z
(4) x2 ∂x + y 2 ∂y = (x + y)z
∂ nz ∂ nz ∂ nz
a0 + a 1 + · + a n = F (x, y) (90)
∂xn ∂xn−1 ∂y ∂y n
112
is called a Homogeneous linear P.D.E of nth order with constant coefficients.
Putting ∂
∂x
= D and ∂
∂x
= D0
The equation (90) becomes
0
(a0 Dn + a1 Dn−1 + · · · + an D n )z = F (x, y) (91)
0
or (a0 D2 + a1 DD0 + a2 D 2 )z = 0
First step: Put D = m and D0 = 1
a0 m2 + a1 m + a2 = 0
This is the auxiliary equation
Second step: Solve the auxiliary equation
Case 1: If the roots of the auxiliary equation are real and different, say m1
and m2
The the complementary function = f1 (y + m1 x) + f2 (y + m2 x)
Case 2: If the roots are equal, say m
The the complementary function = f1 (y + mx) + xf2 (y + mx)
113
1
Particular integral = f (D,D0 )
F (x, y)
1 epx+qy
(i) When F (x, y) = epx+qy ; Particular integral = f (D,D0 )
epx+qy = f (p,q)
Put
D = p, D0 = q
114
Complementary function = f1 (y) + f2 (y + x)
1 1 1
Particular integral = D2 −DD0
sinxcos2y = D2 −DD0 2
[sin(x + 2y) + sin(x − 2y)]
1 1 1 1
2 D2 −DD0
sin(x + 2y) + 2 D2 −DD0
sin(x − 2y)
Put D2 = −1, DD0 = −2 in the first integral and D2 = −1, DD0 = −2 in
the second integral
1 sin(x+2y) 1 sin(x−2y)
Particular integral = 2 −1−(−2)
+ 2 −1−(2)
∂2z 2
∂ z ∂2z
(2) Solve: ∂x2
− 2 ∂x∂y + ∂y 2
= sinx
∂2z 2
∂ z ∂ z2
2x+3y
(1) Solve: ∂x2
− 3 ∂x∂y + 2 ∂y 2 = e + sin(x + 2y)
∂2z 2
∂ z ∂ z2
(2) Solve: ∂x2
+ 3 ∂x∂y + 2 ∂y 2 = x + y
115
APPLICATIONS OF ORDINARY DIFFER-
ENTIAL EQUATIONS AND PARTIAL DIF-
FERENTIAL EQUATIONS TO PHYSICAL,
LIFE AND SOCIAL SCIENCES
To solve a physical problem mathematically, it is commonly necessary to re-
solve a differential equation. The differential equation expresses the relevant
physical law and the particular integral applies to the specific situation.
The following are the applications of Ordinary Differential Equation in real
life situation:
116
dm
R R
m
=k dt + c
log m = kt + c, t = 0, m = M (92)
log M = 0 + c = log M = c
On putting the value of c, (92) becomes
M
m= 2
; when t = 12 hour
log M2 = K
2
+ log M = log 12 = k
2
k = 2 log 12
On putting the value of k in (93), we have
1
log m = (2 log )t + log M (94)
2
117
(e) Wave equations
∂t2
= c2 ∂x2
case 2
√ √
If k < 0; T = c5 cos c kt + c6 sin c kt
118
√ √
X = c7 cos c kx + c8 sin c kx
case 3
If k = 0; T = c9 t + c10
X = c11 x + c12
These are 3 cases depending upon the particular problems. Here, we are
dealing with wave motion (k < 0)
y = TX
√ √ √ √
y = [c5 cos c kt + c6 sin c kt][c7 cos c kx + c8 sin c kx]
119
References:
H.K Dass (2008); Advanced Engineering Mathematics. S.Chand Publishing
Limited: Univesity of Hull, England.
Further Readings:
120