c1 Introduction
c1 Introduction
CHAPTER 1
INTRODUCTION TO DIFFERENTIAL
EQUATIONS
A differential equation is equation involving derivatives. The derivative of a function is a
rate of change. Many natural laws give a relation between the rate of change of various
quantities. Differential equations can be applied to the real world problems. Among the
changes, population growth, forces on beams, electric circuits, radioactivity and many
others.
An equation containing the derivatives of one or more dependent variables with respect to
Example 1.1
3
Suppose y e 2x . Then,
dy
dx
e 2x 3
6x 6x y
2 2
dy
Hence, 6 x 2 y is a differential equation.
dx
dy
In the Example 1.1, y is a function in x. Therefore, in the expression , x is the
dx
Example 1.2
dq
a) e t e t q q 2
dt
b) t 3 x 2t 2 x x 3 0
There are two types of differential equations: ordinary differential equation (ODE) and
partial differential equation (PDE). If an equation contains only ordinary derivatives of one
y n F x, y, y , y ,..., y n 1
Example 1.3
dy
a) 5y e x
dx
d 2y dy
b) 2
6y 0
dx dx
dx dy
c) y 2x
dt dt
Example 1.4
2u 2u
a) 0
x 2 y 2
2u 2u u
b) 2
x 2
t 2 t
u v
c)
y x
There are few different ways of writing derivatives as listed in Table 1.1.
dy d 2 y d 3 y
Leibniz , , ,...
dx dx 2 dx 3
y , y , y ,...
Prime
Newton’s dot s, s , s ,...
(t as independent variable)
Subscript u x , uy , u xx , uyy , u xy
(subscripts denote the independent variable)
The order of a differential equation is the order of the highest derivative in the equation.
For example,
3
d 2y dy
5 4y e x
dx
2
dx
second derivative and possibly first derivative. The first-order ODE can also be written in
differential form as
For example,
y x dx 4x dy 0 or 4xy y x .
F x, y, y ,..., y n 0 . (1.1)
The ODE
d ny
dx n
f x, y , y ,..., y n 1
is called the normal form of Equation (1.1).
Example 1.5
f x, y
dy
a) (Normal form of first-order ODE)
dx
d 2y
b) f x, y , y (Normal form of second-order ODE)
dx 2
xy
c) 4xy y x (The normal form of the first-order ODE is y ).
4x
Page |5
1.1.5 Degree
The degree of a differential equation refers to the power of the highest derivative in the
equation.
Example 1.6
3
d 2y dy
a) 5 4y e x is of degree 1.
dx
2
dx
b) d 2y
1 x 2 x
2 dy
dx
2 is of degree 3.
dx
1.1.6 Linearity
F x, y, y ,..., y n 0
is said to be linear if F is linear in y, y ,..., y n . In a linear differential equation,
the dependent variable and all its derivatives are of the first degree (i.e. power is 1).
there are no terms involving a product of the dependent variable and its derivatives
Example 1.7
d 3y dy
c) 3
x 5y e x (third-order linear ODE)
dx dx
Page |6
Example 1.8
a) 1 y y 2y e x (coefficient of y depends on y)
d 2y
b) sin y 0 ( sin y is not a linear function)
dx 2
d 4y
c) 4
y2 0 ( y 2 is nonlinear since the power of y is not 1)
dx
function and its derivatives into the differential equation, and see whether the result is the
Example 1.9
Verify that the indicated function is a solution of the given differential equation.
dy 1 4
a) x y; y x
dx 16
Solution
1 4
y x
16
dy 4 3
x
dx 16
1
x x2
4
1 4
x x
16
dy
x y (Verified)
dx
Page |7
b) y 2y y 0; y xex
Solution
y xex
y xex e x
y xex e x e x xex 2e x
y 2y y xe x 2e x 2 xe x e x xe x 0 (Verified)
equation.
2. Particular Solution - Particular solutions are solutions with the evaluated arbitrary
constants.
Example 1.10
y Ae x Be 2 x .
Formulate the differential equation by eliminating the arbitrary constants from the general
solution.
Solution
y Ae x Be 2 x (1.2)
y Ae x 2Be 2 x (1.3)
y Ae x 4Be 2 x (1.4)
y y Be 2 x (1.5)
y y 3Be 2 x (1.6)
y 3y 2y 0
parameter family of solutions. This means a single differential equation can possess an
Page |9
infinite number of solutions corresponding to the unlimited number of choices for the
parameter(s).
Example 1.11
dy y
dx 1 x
A differential equation along with subsidiary conditions on the unknown function and its
derivatives, all given at the same value of the independent variable, constitutes an initial-
value problem (IVP). The subsidiary conditions are initial conditions. If the subsidiary
conditions are given at more than one value of the independent variable, the problem is a
Example 1.12
y 2y e x ; y 1, y 2
Example 1.13
y 2y e x ; y 0 1, y 1 1
EXERCISE
1. Obtain the differential equation for each of the following relations by eliminating the
constants.
a) y Ax B b) y Ax 3 Bx
c) Ay x 1 d) y Ax B e2 x
2. Verify that the indicated function is an explicit solution of the given differential
equation.
a) 2y y 0 ; y e x 2
dy 6 6 20 t
b) 20 y 24 ; y e
dt 5 5
c) y 6y 13y 0 ; y e3 x cos 2x
P a g e | 11
3. Verify that the indicated expression is an implicit solution of the given differential
equation.
2x 1
x 11 2x ;
dx
a) t ln
dt x 1
b)
2xy dx x 2 y dy 0 ; 2x 2 y y 2 1
4. Prove that y A cos ln x B sin ln x is the general solution of the equation
d 2y dy
x2 2
x y 0.
dx dx
5. For each of the following differential equations, state the order, degree, dependent
y tan 1 x y t 4 y 4 sin t y et y ln t
3 2 2
a) x 2 y b)
y x
d 3s d 2s
c) y 5 4y 2y 0 d) t 0
dt 3 dt 2
x 2 y yy e y y 3 xy 6 sin y
3
e) f)
Answer
1 a) y 0 or xy 0 b) x 2 y 3 xy 3y 0
c) x 1 y y 0 d) y 4y 4y 0
3
independent variable x, nonlinear because of the term y is a product
y