You are on page 1of 8

Introduction to Ordinary

Differential Equations

Slide number 1

Ordinary Differential Equations

• Where do ODEs arise?


• Notation and Definitions

Slide number 2

1
Where do ODE’s arise
• All branches of Engineering
• Economics
• Biology and Medicine
• Chemistry, Physics etc

Anytime you wish to find out how something


changes with time (and sometimes space)

Slide number 3

Notation and Definitions


• Differential Equation
• Types of Differential Equations (DE)
• Order and Degree of a DE
• Linearity
• Homogeneity
• Initial Value/Boundary value problems

Slide number 4

2
What is a Differential Equation (DE)?
A differential equation is any equation which contains
derivatives, either ordinary derivatives or partial derivatives.

Consider the Newton’s Second Law of Motion:

Slide number 5

More examples of a DE

Slide number 6

3
Order
• The order of a differential equation is just the highest derivative
used in the equation.

d 2 y dy
+ =0 2nd order
dt 2 dt
.
dx d 3x
=x 3 3rd order
dt dt

Slide number 7

Degree
• The degree of a differential equation is the exponent in which the
highest derivative is being raised.

Slide number 8

4
Linearity
• The important issue is how the unknown y appears in the
equation. A linear equation involves the dependent variable (y)
and its derivatives by themselves. There must be no "unusual"
nonlinear functions of y or its derivatives.
• A linear equation must have constant coefficients, or
coefficients which depend on the independent variable (x). If y
or its derivatives appear in the coefficient the equation is non-
linear.
𝑑𝑛 𝑦 𝑑 𝑛−1 𝑦 𝑑𝑦
𝑎𝑛 𝑛 + 𝑎𝑛−1 𝑛−1 + ⋯ + 𝑎1 + 𝑎0 𝑦 = 𝐹(𝑥)
𝑑𝑥 𝑑𝑥 𝑑𝑥

Slide number 9

Linearity - Examples
dy
+ y = 0 is linear
dt
dx
+ x 2 = 0 is non-linear
dt
dy 2
+t = 0 is linear
dt
dy 2
y + t = 0 is non-linear
dt

Slide number 10

5
Linearity – Summary

Linear Non-linear

2y y2 or sin( y)

dy dy
y
dt dt

(2 + 3sin t) y (2 − 3 y 2 ) y
2
dy  dy 
t  
dt  dt 

Slide number 11

Linearity – Special Property


If a linear homogeneous ODE has solutions:

y = f (t ) and y = g (t )

then:
y = a  f (t ) + b  g (t )
where a and b are constants,

is also a solution.

Slide number 12

6
Linearity – Special Property
Example:
d2y
+ y = 0 has solutions y = sin t and y = cos t
dt 2
d 2 (sin t )
Check + sin t = − sin t + sin t = 0
dt 2
d 2 (cos t )
+ cos t = − cos t + cos t = 0
dt 2
Therefore y = sin t + cos t is also a solution:

d 2 (sin t + cos t )
Check + sin t + cos t
dt 2
= − sin t − cos t + sin t + cos t = 0
Slide number 13

Homogeneity
• Put all the terms of the equation which involve the dependent
variable on the LHS.
• Homogeneous: If there is nothing left on the RHS the equation
is homogeneous (unforced or free)
• Nonhomogeneous: If there are terms involving t (or constants) -
but not y - left on the RHS the equation is nonhomogeneous
(forced)

Slide number 14

7
Example
dv • 1st order
= g • Linear
dt • Nonhomogeneous
v(0) = v0 • Initial value problem

◼ 2nd order
d 2M
=w ◼ Linear
dx 2 ◼ Nonhomogeneous
M (0) = 0 ◼ Boundary value
and problem
M (l ) = 0

Slide number 15

Example
• 2nd order
d 2
2
+  2 sin  = 0 • Nonlinear
dt
• Homogeneous
d
θ( 0 ) = θ0 , (0) = 0 • Initial value problem
dt

◼ 2nd order
d 2
2
+  2 = 0 ◼ Linear
dt ◼ Homogeneous
d
θ( 0 ) = θ0 , (0) = 0 ◼ Initial value problem
dt

Slide number 16

You might also like