1-Introduction To ODE
1-Introduction To ODE
Introduction to Ordinary
Differential Equations
Dr Faye-Jan 2014
Chapter 1:
Overview
Overview
I. Definitions
II. Classification of Solutions
Dr Faye-Jan 2014
I. Definitions
Learning
Learning Objective
Objective
At the end of the section, you should be able to
define a differential equation and classify
differential equations by type, order and linearity.
Dr Faye-Jan 2014
I. Definitions
Basic
Basic Example
Example
Consider f ( x ) e
f ( x) 2e
'
2x
2x
f ( x) 2 f ( x) 2e 2e
'
2x
2x
Dr Faye-Jan 2014
I. Definitions
What
What is
is aa Differential
Differential Equation
Equation
A differential equation (DE) is an equation containing the
derivatives of one or more dependent variables with
respect to one or more independent variables.
Dr Faye-Jan 2014
I. Definitions
Examples
Examples
1) y 3 y 2 0
''
dy
2
3
2) x x y x 1
dx
dx
dy
3)
3 2x 4 y
dt
dt
Dr Faye-Jan 2014
I. Definitions
Classification
Classification
Differential equations (DE) can be classified by:
TYPE
ORDER
LINEARITY.
Dr Faye-Jan 2014
I. Definitions
Classification
Classification by
by Type
Type
Two types of Differential equations (DE) exist:
ORDINARY DIFFERENTIAL EQUATION (ODE).
An equation containing only ordinary derivatives of one
or more dependent variables with respect to a SINGLE
independent variable is said to be an Ordinary
Differential Equation (ODE).
Dr Faye-Jan 2014
I. Definitions
Examples
Examples of
of ODE
ODE
dy
1)
5y ex
dx
d 2 y dy
2) 2 6 y 0
dx
dx
dx dy
3)
2x y
dt dt
Dr Faye-Jan 2014
I. Definitions
Dr Faye-Jan 2014
I. Definitions
Examples
Examples of
of PDE
PDE
2u 2u
1)
0
2
2
x
y
2u 2u
u
2) 2 2 2
x
t
t
u
v
3)
y
x
Dr Faye-Jan 2014
I. Definitions
Classification
Classification by
by Order
Order
Dr Faye-Jan 2014
I. Definitions
Examples
Examples of
of Orders
Orders
dy
5 y3 ex
dx
d 2 y dy
6y 0
2
dx
dx
is of order 2
d y
dy
x
4
y
2
dx
dx
2
is of order 2
Dr Faye-Jan 2014
I. Definitions
Remark
Remark
First-order ODEs are occasionally written in differential
form :
M ( x, y )dx N ( x, y )dy 0
Dr Faye-Jan 2014
I. Definitions
Classification
Classification by
by Linearity
Linearity
The general form for an nth-order ODE is:
an x y n an 1 x y n 1 ... a1 x y a0 x y g x
a x y b x y c x y g x
Dr Faye-Jan 2014
I. Definitions
Examples
Examples for
for linear
linear ODEs
ODEs
1) y x dx 4 x dy 0 4 xy y x
2) y 2 y y 0
d3y
dy
x
3)
5
y
e
dx 3
dx
Dr Faye-Jan 2014
I. Definitions
Examples
Examples for
for non-linear
non-linear ODEs
ODEs
1) 1- y y 2 y e x
d2y
2)
sin y 0
2
dx
d4y
2
3)
y
0
4
dx
Dr Faye-Jan 2014
I. Definitions
Example:
Example:
For each of the following ODEs, determine the order and
state whether it is linear or non-linear:
Dr Faye-Jan 2014
I. Definitions
Solution:
Solution:
Order
ODE
dy xy cos x dx 0
d 2 Q dQ
60
2
dt
dt
y xy 2 y y xy 0
e y xy y 0
Dr Faye-Jan 2014
Linearity
Linear
Linear
Non-linear
Non-linear
I. Definitions
Solution:
Solution:
Order
ODE
sin
Linearity
Linear
sin 2
1 dx xdy 0
d2y
2
dx
dy
dx
Non-linear
2
Dr Faye-Jan 2014
Non-linear
I. Definitions
Exercise-I:
Exercise-I:
For each of the following ODEs, determine the order and
state whether it is linear or non-linear:
dy
ty 2 0
dt
d y
dy
t
t 2 y sin t
2
dt
dt
2
2
d
y
dy
2
(1 y ) 2 t y e t
dt
dt
d 4 y d 3 y d 2 y dy
3 2 y 1
4
dt
dt
dt
dt
d2y
sin(t y ) sin t
2
dt
d3y
dy
2
3
(cos
t
)
y
t
dt 3
dt
dy
t 1 ty tan t
dt
2
Dr Faye-Jan 2014
Learning
Learning Objective
Objective
At the end of this section, you should be able to
verify the solutions to a given ODE
identify the different types of solutions of an
ODE.
Define IVP, BVP
Dr Faye-Jan 2014
Definition:
Definition:
A solution of a DE is a function y that satisfies the DE
identically for all x in an interval I , where x is the
independent variable.
Dr Faye-Jan 2014
Example
Example
y ln x
xy" y ' 0
I (0, )
Indeed,
1
y'
x
1
y" 2
y ln x
x
1
1
1 1
xy ' ' y ' x( 2 ) 0
x
x
x x
Dr Faye-Jan 2014
Definition:
Definition:
A solution in which the dependent variable is expressed
solely in terms of the independent variable and constants
is said to be an explicit solution.
Dr Faye-Jan 2014
Definition:
Definition:
A solution in which the dependent and the independent
variables are mixed in an equation is said to be an implicit
solution.
Dr Faye-Jan 2014
y ln x
2)
x y 9
2
Indeed:
xy" y ' 0
x2 y2 9
Implicit differentiation:
2 x 2 yy ' 0
x yy ' 0
Dr Faye-Jan 2014
yy 'x 0
ye
y 2e
y ce
y ' y 0
is a solution (particular)
x
Dr Faye-Jan 2014
y ce x
y ' y 0
y ce x de x is a 2-parameter family of solutions of the DE
y" y 0
Dr Faye-Jan 2014
Example:
Example:
Verify that the indicated function is an explicit solution of
the given DE :
Dr Faye-Jan 2014
Example:
Example:
1)
2 y y 0; y e
x
2
x
2
1
y' e
2
x
x
1 2
2 y ' y 2( e ) e 2
2
x
2
x
2
0
Dr Faye-Jan 2014
Example:
Example:
2)
dy
6 6 20 t
20 y 24; y e
dt
5 5
dy
6 20t
y'
20( )e
dt
5
dy
6 6
Dr Faye-Jan 2014
24e 20t
Example:
Example:
3)
y 6 y 13 y 0; y e 3 x cos 2 x
y ' 3e3 x cos 2 x e 3 x 2 sin 2 x 3 y 2e 3 x sin 2 x
Example:
Example:
4) y y tan x; y cos x ln sec x tan x
Dr Faye-Jan 2014
Example:
Example:
5)
P P 1 P ;
c1e t
P
1 c1e t
P'
c1e t
P 1 P
1 c1e t
c1e t
P
1 c1e t
1 c e
t 2
1 c e
t 2
c1e t
1
t
1
c
e
1
c1e t
1 c1e t
1 c1e t c1e t
1 c1e t
c1e t
1 c e
t 2
Dr Faye-Jan 2014
P'
c1e t
1 c e
t 2
Example:
Example:
6)
d2y
dy
2x
2x
4
y
0
;
y
c
e
c
xe
1
2
dx 2
dx
y ' 2c1e c2 e 2 xe
2x
2x
2x
2c e
2 c e
2x
2x
c2 e 2c2 xe
2x
2x
c2 xe 2 x c2 e 2 x 2 y c2 e 2 x
y" 2 y '2c2 e 2 x
y"4 y '4 y 2 y '2c2 e 2 x 4 y '4 y 2c2 e 2 x 2 y '4 y
2c 2 e 2 x 2 2 y c 2 e 2 x 4 y 0
Dr Faye-Jan 2014
Exercise-II:
Exercise-II:
Verify if the indicated functions are explicit solutions of the
given DE :
1)ty y t 2 , y 3t t 2
2) y
( 4)
4y
( 3)
t
t
t
3 y t , y1 (t ) , y2 (t ) e
3
3
, y2 (t ) t 1
Dr Faye-Jan 2014
Dr Faye-Jan 2014
Dr Faye-Jan 2014
Dr Faye-Jan 2014
2) y 2 y e x ; y 0 1, y 1 1
Dr Faye-Jan 2014
1) y y 0; y 3 2,
y 3 c1e 3
y x c1e x
y 3 2
c1e 3 2
c1 2e 3
y x 2e 3e x 2e 3 x
Dr Faye-Jan 2014
2) y 4 y 0; y
y x c1 sin 2 x c2 cos 2 x
c1
c2
y c1 sin 2 c2 cos 2
2
2
8
8
8
y 0
8
c2 c1
Dr Faye-Jan 2014
y c1 sin 2 c2 cos 2
6
6
6
y 1
6
3c1 c2
1
2
2
c1
3 1
3c1 c2
2
2
3c1 c1 2
2
c2
3 1
2
sin 2 x cos 2 x
y
3 1
Dr Faye-Jan 2014
3) y 4 y 0; y 0 1, y 2,
2
y 0 c1 sin 0 c2 cos 0 c2
y 0 1
c 2 2
c2 1
c2 1
y x c1 sin 2 x c2 cos 2 x
y c1 sin c2 cos c2
2
y 2 c2 2
2
NO SOLUTION
IMPOSSIBLE
Dr Faye-Jan 2014
y 2
8
y 0 1
End Chapter 1
Dr Faye-Jan 2014