Lecture - I: 1 Introduction To Differential Equation
Lecture - I: 1 Introduction To Differential Equation
Abdur Rehman
email abdur.rehman19@sms.edu.pk
June 2021
Examples
dy
(i) dx + ycosx = sinx
d2 y
dy 3
(ii) dx2 + xy( dx ) = 0
dy 2 12 d2 y
(iii) [1 + ( dx ) ] = dx 2 (1)
(iv) x ∂u + y ∂u = nx
∂x ∂y
2 2 2
(v) ∂∂ 2 ux + ∂∂ 2uy + ∂∂ 2uz = 0
1
The differential equations given in (1) have the following orders and degrees
(i) order 1, degree 1
(ii) order 2, degree 1
(iii) order 2, degree 2
(iv) order 1, degree 1
(v) order 2, degree 1
CLASSIFICATION BY TYPE
If an equation contains only ordinary derivatives of one or more dependent vari-
ables with respect to a single independent variable it is said to be an ordinary
differential equation (ODE). For example,
dy d2 y dy dx dy
+ 5y = ex , 2
− + 7y = 0 and + = 2y − x (2)
dx dx dx dt dt
are ordinary differential equations. An equation involving partial derivatives of
one or more dependent variables of two or more independent variables is called
a partial differential equation (PDE). For example,
notation has an advantage over the prime notation in that it clearly displays
both the dependent and independent variables. For example, in the equation
d2 y
+ 20y = 0
dx2
2
CLASSIFICATION BY ORDER
The order of a differential equation (either ODE or PDE) is the order of
the highest derivative in the equation. For example,
d2 y dy
+ 6( )3 + 10y = e16x
dx2 dx
is a second-order ordinary differential equation.
CLASSIFICATION BY LINEARITY
An nth − order ordinary differential equation (4) is said to be linear if F is
linear in y, y 0 , y 00 , · · · , y (n) . This means that an nth − order ODE is linear when
(4) is an (x)y (n) + an−1 (x)y (n−1) + · · · + a1 (x)y 0 + a0 (x)y − g(x) = 0 or
dn y dn−1 y dy
an (x) n
+ an−1 (x) n−1 + · · · + a1 (x) + a0 (x)y = g(x) (5)
dx dx dx
Two important special cases of (5) are linear first-order (n = 1) and linear
second order (n = 2) DEs:
dy d2 y dy
a1 (x) + a0 (x)y = g(x) and a2 (x) 2 + a1 (x) + a0 (x)y = g(x) (6)
dx dx dx
In the additive combination on the left-hand side of equation (5) we see that
the characteristic two properties of a linear ODE are as follows:
• The dependent variable y and all its derivatives y 0 , y 00 , · · · , y (n) are of the
first degree, that is, the power of each term involving y is 1.
• The coefficients a0 , a1 , · · · , an of y, y 0 , · · · , y (n) depend at most on the
independent variable x.
The equations
d3 y dy
(y − x)dx + 4xdy = 0, y 00 + 2y 0 + y = 0, and +x − 5y = ex
dx3 dx
are, in turn, linear first-, second-, and third-order ordinary differential equations.
We have just demonstrated that the first equation is linear in the variable y
by writing it in the alternative form 4xy 0 + y = x. A nonlinear ordinary
3
differential equation is simply one that is not linear. Nonlinear functions of
the dependent variable or its derivatives, such as siny or , cannot appear in a
linear equation. Therefore
d2 y d3 y
(1 − y)y 0 + 2y = ex , + siny = 0, and + y2 = 0
dx2 dx3
are examples of nonlinear first-, second-, and fourth-order ordinary differential
equations, respectively.
Solution of an ODE
Definition 6. Any function φ , defined on an interval I and possessing at
least n derivatives that are continuous on I, which when substituted into an
nth − order ordinary differential equation reduces the equation to an identity,
is said to be a solution of the equation on the interval.
In other words, a solution of an nth − order ordinary differential equation
(4) is a function that possesses at least n derivatives and for which
F (x, φ, φ0 , φ00 , · · · , φ(n) ) = 0, ∀x ∈ I
We say that φ satisf ies the differential equation on I.
( dyExamples
dx = 2x such that y(1) = 4 √
d2 y
dx2 + y = 0 subject to the conditions y( π4 ) = 2, y 0 ( π4 ) = √1
2
4
( 2Examples
d y 0 π
dx2 + y = 0 subject to the conditions y(0) = 1, y ( 2 ) = 2
d2 y
dx2 + y = 0 subject to the conditions y(0) = 1, y 0 (π) = 5
Examples
2.1.1 Examples
Solve (1 + x)dy − ydx = 0
Solution
dy dx
Dividing by (1 + x)y, we can write y = 1+x , from which it follows that
Z Z
dy dx
=
y 1+x
ln|y| = ln|1 + x| + ln|c|
y = c(1 + x)
5
2.1.2 Examples
dy x2
Solve dx = y and y(1) = 0
Solution
Equation can be written as
ydy = x2 dx
y2 x3
= + C1
2 3
or 3y 2 = 2x3 + C
3(0)2 = 2(1)3 + C
C = −2
⇒ 3y 2 = 2x3 − 2
Exercise
• Solve dx + e3x dy = 0
• ex y dx
dy
= e−y + e−2x−y
• dy
p
dx = x 1 − y2
• dy
dt + 2y = 1, y(0) = 5
2
2
• dy
dx = ye−x , y(4) = 1
1−y 2
• dy
dx = 1−x2 , y(2) = 2