Professional Documents
Culture Documents
Equations
mata
Definition
• A differential equation is an
equation containing one or more
derivatives of the function under
consideration.
d 2x
m 2 + kx = F (t )
dt
∂ 2u ∂ 2u ∂ 2u
2
+ 2 + 2 =0
∂x ∂y ∂z
Applications
Falling stone Electric circuit Pendulum
d2y
=g d 2i 1 dE d 2θ
dt 2 L 2 + i= l 2 + g sin θ = 0
dt C dt dt
Mass-spring system Hanging cable Loaded beam
d 2x d2y ⎛ dy ⎞ d4y
m 2 + kx = F (t ) 2
= C 1 + ⎜ ⎟ EI 4 = − w(x )
dt dx ⎝ dx ⎠ dx
Classification according to
type of derivative
1. Ordinary differential equation
ODE contains ordinary derivatives of a single
independent variable
2
d θ
l 2 + g sin θ = 0
dt
2. Partial differential equation
PDE contains partial derivatives with respect to
two or more independent variable
∂ 2u ∂ 2u ∂ 2u
2
+ 2 + 2 =0
∂x ∂y ∂z
Example 1
Which of the following are ODEs and which
are PDEs?
Classification according to
order of derivative
The order of a differential equation is the
order of the highest derivative appearing
in the equation
dy
= x+5 1st order ODE
dx 6
3 2
2 d y ⎛ d y ⎞
3t 3
− (sin t )⎜⎜ 2 ⎟⎟ = 0 3rd order
dx ⎝ dx ⎠
d 2v d 2v dv
2
+ 2 = 2nd order PDE
dx dy dt
Example 2
Determine the order, unknown function,
and the independent variable of the
following differential equations.
Classification according to
degree of differential
If a DE can be written as a polynomial in the
unknown function and its derivatives, then
its degree is the exponent of the highest
order derivative.
2 3 4
⎛ d y ⎞ ⎛ dy ⎞
⎜ 2 ⎟ + ⎜ ⎟ + y = 0 3rd degree ODE
⎜ dx ⎟ ⎝ dx ⎠
⎝ ⎠
4 3 12
⎛ d y ⎞ ⎛ dy ⎞
⎜ 4 ⎟ = ⎜ ⎟ 6th degree ODE
⎜ dx ⎟ ⎝ dx ⎠
⎝ ⎠
Example 3
Determine the order, degree, unknown
function, and the independent variable of
the following DEs.
Classification according to
linearity
An nth order ODE in the unknown function y
and the independent variable x is linear if
it has the form.
(n ) (n −1)
bn (x ) ⋅ y + bn−1 (x ) ⋅ y + ...
+ b1 (x )y '+b0 (x )y = g (x )
The function bj(x) (j=0, 1, …, n) and g(x) are
presumed known and depend only on the
variable x.
Example 4
d 2 y dy
x 2 + + y=0 Linear in y
dx dx
2
y dx + dy = 0 Linear in x
2
d y dy
y 2 + + y=0 Nonlinear
dx dx
y"= sin y Nonlinear
Steady or Unsteady
Steady differential equation – is a
differential equation whose dependent
variable does not depend on time.
3
⎛ d y ⎞ ⎛ dy ⎞ 4
2
steady
⎜ 2 ⎟ + ⎜ ⎟ + y = 0
⎜ dx ⎟ ⎝ dx ⎠
⎝ ⎠
2
d x unsteady
m 2 + kx = F (t )
dt
Exercise
Exercise
First Order
Ordinary Differential
Equations
mata
First Order ODE
A first order differential equation contain
only y and may contain y and given
functions of x.
f (x, y , y ') = 0 (1)
or sometimes
2
1. y = 2x xy'= 2 y
2 2
2. x + y =c yy'+x = 0
x
3. y = c1e + c 2 e
2x
y"−3 y'+ + 2 y = 0
Types of solution
1. Primitive or Complete Solution
Solution with the number of arbitrary constants
equal to the order of the differential equation.
2. General Solution
A solution which contains at least one arbitrary
constant.
3. Particular Solution
A solution with no arbitrary constant.
Initial and Boundary
Conditions
General Form
g ( y ) dy = f (x ) dx
Solution
∫ g ( y ) dy = ∫ f (x ) dx + c
Examples
1. y' = ky
2. (4x + xy )dx + (y + x y )dy = 0
2 2
3. (2 y + u y )du + (u + u )dy = 0
2 3
Homogeneous Differential
Equations
General Form
M (x, y )dx + N (x, y )dy = 0
where M(x,y) and N(x,y) are homogeneous
functions with the same degree.
dy x 2 y ! 4y
1. =
dx x+2
dy
2. x = 2(y ! 4)
dx
3.
2x 2 + 2y 2
y' =
2xy
Exact Differential Equation
General Form
A differential equation of the form
2. Determine whether dy / dx = y / x
is exact
( )
3. Solve 2 xy dx + 1 + x 2 dy = 0
Integrating Factor φ
A function φ(x,y) is an integrating factor for
a differential equation of the form
M dx + N dy = 0 if
φ ⋅ (M dx + N dy ) = 0
is an exact differential equation.
(
φ = exp ∫ f (x )dx )
where
1
f (x ) =
N
(
M y − Nx )
Example: Solve
(x 2 2
)
+ y + x dx + xy dy = 0
Determination of φ
Case 2. φ = φ(y). The integrating factor is
(
φ = exp ∫ g ( y )dy )
where
1
g (y) = −
M
(
M y − Nx )
Example: Solve
2
( 2
y dx + 3xy + y − 1 dy = 0)
Determination of φ
Case 3. φ = xayb, where a and b are
constants obtained by comparing like
terms of the equation
aN bM
− = M y − Nx
x y
Example: Solve
⎛ 2 x 2 ⎞ x
⎜ 2 + 1⎟dx + dy = 0
⎜ y ⎟ y
⎝ ⎠
Linear First-Order
The solution to the first-order linear
differential equation of the form
dy
+ p (x ) y = q (x )
dx
May be obtained using method of integrating
factor where
∫ p ( x )dx
φ =e
Examples
Solve the following FOLDEs:
3x2 2
1. y'−3xy = 0 y = ce
dv 3 12 2 −3 2
2. + v = 6t v= 7
t + ct
dt 2t
3. 2
y'+ xy = xy Bernoulli Equation
Bernoulli Equation
The differential equation of the form
dy n
+ p (x ) y = q (x ) y
dx
for n≠0, 1. Introduction of v=y1-n, transforms
the equation to a FOLDE of the form
dv
+ (1 − n ) p(x )v = (1 − n )q(x )
dx
Summary
1. First-order ODE
a. Linear y '+ p(x ) y = q(x )
b. Nonlinear – Exact, Separable, Bernoulli