Professional Documents
Culture Documents
NAZIR MAFAKHERI
Ordinary Differential Equations
• Where do ODEs arise?
• Notation and Definitions
• Solution methods for 1st order ODEs
Where do ODE’s arise
• All branches of Engineering
• Economics
• Biology and Medicine
• Chemistry, Physics etc
d 2q
q ml 2 = −mgl sin q
2
dt
rearrange and divide
through by ml 2
l
where
d q
2
2 =
g
2
+ 2
sin q = 0 l
dt
mg
This equation is very difficult to solve.
Notation and Definitions
• Order
• Linearity
• Homogeneity
• Initial Value/Boundary value problems
Order
• The order of a differential equation is just the
order of highest derivative used.
d 2 y dy
.
2
+ =0 2nd order
dt dt
dx d 3x
=x 3 3rd order
dt dt
Order
• The order of a differential equation is just
the order of highest derivative used.
Linear Non-linear
2y y2 or sin(y)
dy dy
y
dt dt
(2 + 3 sin t) y (2 − 3 y 2 ) y
2
dy dy
t
dt dt
Example 4
Verify that 𝑦=𝑐/𝑥 (𝑐 an arbitrary constant) is a solution of the ODE
𝑥𝑦′=−𝑦
for all 𝑥≠0.
Verification:
𝑦=𝑐/𝑥⇒𝑦′=−𝑐/𝑥2⇒𝑥𝑦′=−𝑐/𝑥=−𝑦.
Example 5
Example 6
Example 6
Example 6
Example 6
Example 6
General Solution, Particular Solution:
➢ When a solution to an ODE contains an arbitrary constant 𝑐 it is called a
general solution. Geometrically, the general solution of an ODE is a
family of infinitely many solution curves, one for each value of the
constant 𝑐.
➢ If we choose a specific 𝑐 we obtain what is called a particular solution of
the ODE. A particular solution does not contain any arbitrary constants.
➢ In example 2, 𝑦=sin𝑥+𝑐 is the general solution to the ODE 𝑦′=cos𝑥; and
𝑦=sin𝑥+3, 𝑦=sin𝑥−1, 𝑦=sin𝑥 are different particular solutions to this
ODE.
➢ In most cases the unique value of the arbitrary constant 𝑐, hence a
particular solution, is obtained from a general solution by an initial
condition like 𝑦(𝑥0)=𝑦0. An ODE, together with an initial condition, is
called an initial value problem.
Example 7
n each of the following cases, determine the values of 𝑟 for which the given
differential equation has solutions of the form 𝑦=𝑒𝑟𝑡.
Example 8
Determine which of the following graphs shows the solution of the
following initial value problem:
Example 8
Example 9
Solve the initial value problem
Example 10
Solve the initial value problem in the following exercises:
Example 10
Solve the initial value problem in the following exercises:
Example 10
Example 10
Solve the initial value problem in the following exercises:
Example 10
Solve the initial value problem in the following exercises:
Example 10
Solve the initial value problem in the following exercises: