Introduction To Differential Equations
Introduction To Differential Equations
Introduction to Differential
Equations
Chapter 1: Introduction to Differential Equations
Overview
Overview
I. Definitions
Learning
LearningObjective
Objective
Basic
BasicExample
Example
Consider f ( x ) e
2x
f ( x) 2e
' 2x
f ( x ) 2 f ( x ) 2e 2e
' 2x 2x
0
f satisfies the Differential Equation:
y 2y 0
'
I. Definitions
What
WhatisisaaDifferential
DifferentialEquation
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.
I. Definitions
Examples
Examples
1) y 3 y 2 0
''
dy
2) x x 2 y x 3 1
dx
dx dy
3) 3 2x 4 y
dt dt
I. Definitions
Classification
Classification
Differential equations (DE) can be classified by:
• TYPE
• ORDER
• LINEARITY.
I. Definitions
Classification
Classificationby
byType
Type
Two types of Differential equations (DE) exist:
Examples
Examplesof
ofODE
ODE
dy
1) 5y ex
dx
d 2 y dy
2) 2 6 y 0
dx dx
dx dy
3) 2x y
dt dt
I. Definitions
Examples
Examplesof
ofPDE
PDE
2u 2u
1) 0
x 2
y 2
2u 2u u
2) 2 2 2
x t t
u v
3)
y x
I. Definitions
Classification
Classificationby
byOrder
Order
Examples
Examplesof
ofOrders
Orders
dy
5 y3 ex is of order 1 (or first-order)
dx
d 2 y dy
2
6y 0 is of order 2
dx dx
3
dy
2
d y
5 4 y e x
is of order 2
dx dx
2
I. Definitions
Remarks
Remarks
First-order ODE are occasionally written in differential
form :
M ( x, y )dx N ( x, y )dy 0
An nth-order ODE in one dependent variable can be
expressed in the general form :
F ( x, y, y , y ,..., y ) 0
, ,, (n)
Classification
Classificationby
byLinearity
Linearity
an x y n
an1 x y n 1
... a1 x y a0 x y g x
I. Definitions
Examples
Examplesfor
forlinear
linearODEs
ODEs
1) y x dx 4 x dy 0 4 xy y x
2) y 2 y y 0
d3y dy
3) x 5 y e x
dx 3 dx
I. Definitions
Examples
Examplesfor
fornon-linear
non-linearODEs
ODEs
1) 1- y y 2 y e x
d2y
2) 2
sin y 0
dx
d4y
3) 4
y 2
0
dx
I. Definitions
Example:
Example:
dy xy cos x dx 0
1 Linear
d 2 Q dQ
2
60 2 Linear
dt dt
y xy 2 y y xy 0
2 3
Non-linear
e y xy y 0
2 Non-linear
I. Definitions
Solution:
Solution:
sin
1 Linear
sin 2
y 2
1 dx xdy 0
1 Non-linear
2
d2y dy
1
2
Non-linear
2
dx dx
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
d y2
dy ty 2 0
t2
2
t 2 y sin t dt
dt dt
d2y
d 2
y dy sin(t y ) sin t
(1 y ) 2 t y e t
2
dt 2
dt dt
d3y dy
d 4 y d 3 y d 2 y dy t (cos 2
t ) y t 3
3 2 y 1 dt 3 dt
4
dt dt dt dt
dy
t 1 ty tan t
2
dt
II. Classification of Solutions
Learning
LearningObjective
Objective
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.
II. Classification of Solutions
Example
Example
y ln x is a solution of the DE: xy" y ' 0
I (0, )
Indeed,
1 1
y ln x y' y" 2
x x
1 1 1 1
xy ' ' y ' x( 2 ) 0
x x x x
II. Classification of Solutions
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.
II. Classification of Solutions
Definition:
Definition:
A solution in which the dependent and the independent
variables are mixed in an equation is said to be an implicit
solution.
II. Classification of Solutions
Examples:
Examples:
2) x y 9
2 2
is an implicit solution of the DE: yy 'x 0
Indeed: x2 y2 9
Implicit differentiation: 2 x 2 yy ' 0
x yy ' 0
II. Classification of Solutions
General
Generalor
orParticular
Particularsolution
solution
Example:
Example:
Consider the ODE: y ' y 0
ye x
is a solution (particular)
y ce x
(where c is a constant) is a solution (general)
II. Classification of Solutions
General
Generalor
orParticular
Particularsolution
solution
Definitions:
Definitions:
• A solution of a DE that is free of arbitrary parameters is
called a particular solution.
y ' y 0
x
y ce de
x
is a 2-parameter family of solutions of the DE
y" y 0
II. Classification of Solutions
Example:
Example:
Verify that the indicated function is an explicit solution of
the given DE :
II. Classification of Solutions
Example:
Example:
x
1) 2 y y 0; y e 2
x
x
1
ye 2 y' e 2
2
x x
1 2
2 y ' y 2( e ) e 2
2
x x
e 2
e 2
0
II. Classification of Solutions
Example:
Example:
dy 6 6 20t
2) 20 y 24; y e
dt 5 5
6 6 20t dy 6 20t
y e y' 20( )e 24e 20t
5 5 dt 5
dy 6 6
20 y 24e 20t 20 e 20t
dt 5 5
Example:
Example:
3) y 6 y 13 y 0; y e 3 x cos 2 x
3 3 y 2e 3 x sin 2 x 6e 3 x sin 2 x 9 y
Example:
Example:
4) y y tan x; y cos x ln sec x tan x
y y cos x ln sec x tan x tan x cos x ln sec x tan x
tan x
II. Classification of Solutions
Example:
Example:
c1e t
5) P P 1 P ; P
1 c1e t
P
c1e t
P'
c1e t 1 c1et c1et c1e t
c1et c12 e 2t c12 e 2t
c1e t
1 c1e t 1 c e 1
t 2
1 c e
1
t 2
1 c e
1
t 2
c1e t
P'
1 c e
1
t 2
II. Classification of Solutions
Example:
Example:
d2y dy
6) 4 4 y 0; y c1 e 2x
c 2 xe 2x
dx 2 dx
y ' 2c1e c2 e 2 xe
2x 2x 2x
2c1e c2 e 2c2 xe
2x 2x 2x
2 c1e 2 x 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 '2c 2 e 2x
4 y '4 y 2 c 2 e 2x
2 y '4 y
2c2 e 2 x 2 2 y c2 e 2 x 4 y 0
II. Classification of Solutions
Exercise-II:
Exercise-II:
Verify that the indicated functions are explicit solutions of
the given DE :
1)ty y t 2 , y 3t t 2
t t t
2) y ( 4)
4y ( 3)
3 y t , y1 (t ) , y2 (t ) e
3 3
1
3)2t y ' '3ty ' y 0, t 0; y1 (t ) t
2 2
, y2 (t ) t 1
4)t 2 y ' '5ty '4 y 0, t 0; y1 (t ) t 2 , y2 (t ) t 2 ln t
5) y ' ' y sec t , 0 t ; y (t ) (cos t ) ln cos t t sin t
2
III. Initial and Boundary Value Problems
Learning
LearningObjective
Objective
Definition
Definition
Examples
Examples
1) y y 0, y (0) 3
2) y y 0, y ' (1) 25
Definition
Definition
Examples
Examples
1) y 2 y e ; y 1, y 2
x
2
2) y 2 y e x ; y 0 1, y 1 1
III. Initial and Boundary Value Problems
Examples
Examples
Find the solution of the IVP or BVP if the general solution is the
Given one:
1) y y 0; y 3 2, y x c1e x
y 3 c1e 3 y 3 2
c1e 3 2
c1 2e 3
Examples
Examples
2) y 4 y 0; y 0, y 1 y x c1 sin 2 x c2 cos 2 x
8 6
c1
c2
y c1 sin 2 c2 cos 2
8 8 8 2 2
y 0 c1 c2
8
III. Initial and Boundary Value Problems
Examples
Examples
3c1 c2
y c1 sin 2 c2 cos 2
6 6 6 2 2
3c1 c2
y 1 1 3c1 c1 2
6 2
2 2
c1 c2
3 1 3 1
2
solution of the BVP: y sin 2 x cos 2 x
3 1
III. Initial and Boundary Value Problems
Examples
Examples
3) y 4 y 0; y 0 1, y 2, y x c1 sin 2 x c2 cos 2 x
2
y 0 c1 sin 0 c2 cos 0 c2 y c1 sin c2 cos c2
2
y 0 1 c2 1
y 2 c2 2
2
c 2 2
IMPOSSIBLE NO SOLUTION
c2 1
III. Initial and Boundary Value Problems
Exercise-III
Exercise-III
1) Determine c1 and c 2 so that y x c1 sin 2 x c 2 cos 2 x 1
will satisfy the conditions :
y 0 y 2
8 8
y 0 0 y 0 1
End Chapter 1