SlideShare a Scribd company logo
1 of 20
Introduction to Ordinary
Differential Equations
Asst Lect Sarmad K. Ibrahim
Slide number 2
Ordinary Differential Equations
 Where do ODEs arise?
 Notation and Definitions
 Solution methods for 1st order
ODEs
Slide number 3
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 4
Example – Newton’s Law of
Cooling
 This is a model of how the
temperature of an object changes as
it loses heat to the surrounding
atmosphere:
Temperature of the object: Obj
T Room Temperature: Room
T
Newton’s laws states: “The rate of change in the temperature of an
object is proportional to the difference in temperature between the object
and the room temperature”
)
( Room
Obj
Obj
T
T
dt
dT


 
Form
ODE
t
Room
init
Room
Obj e
T
T
T
T 



 )
(
Solve
ODE
Where is the initial temperature of the object.
init
T
Slide number 5
Notation and Definitions
 Order
 Linearity
 Homogeneity
 Initial Value/Boundary value
problems
Slide number 6
Order
 The order of a differential
equation is just the order of
highest derivative used.
0
2
2


dt
dy
dt
y
d
.
2nd order
3
3
dt
x
d
x
dt
dx
 3rd order
Slide number 7
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
(t). If y or its derivatives appear in the
coefficient the equation is non-linear.
Slide number 8
Linearity - Examples
0

 y
dt
dy
is linear
0
2

 x
dt
dx
is non-linear
0
2

 t
dt
dy
is linear
0
2

 t
dt
dy
y is non-linear
Slide number 9
Linearity – Summary
y
2
dt
dy
dt
dy
y
dt
dy
t
2






dt
dy
y
t)
sin
3
2
(  y
y )
3
2
( 2

Linear Non-linear
2
y )
sin( y
or
Slide number 10
Linearity – Special Property
If a linear homogeneous ODE has solutions:
)
(t
f
y  )
(t
g
y 
and
then:
)
(
)
( t
g
b
t
f
a
y 



where a and b are constants,
is also a solution.
Slide number 11
Linearity – Special Property
Example:
0
2
2

 y
dt
y
d
0
sin
sin
sin
)
(sin
2
2




 t
t
t
dt
t
d
0
cos
cos
cos
)
(cos
2
2




 t
t
t
dt
t
d
0
cos
sin
cos
sin
cos
sin
)
cos
(sin
2
2









t
t
t
t
t
t
dt
t
t
d
t
y sin
 t
y cos

has solutions and
Check
t
t
y cos
sin 

Therefore is also a solution:
Check
Slide number 12
Homogeniety
 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 13
Example
 1st order
 Linear
 Nonhomogeneous
 Initial value problem
g
dt
dv

0
)
0
( v
v 
w
dx
M
d

2
2
0
)
(
0
)
0
(
and


l
M
M
 2nd order
 Linear
 Nonhomogeneous
 Boundary value
problem
Slide number 14
Example
 2nd order
 Nonlinear
 Homogeneous
 Initial value problem
 2nd order
 Linear
 Homogeneous
 Initial value problem
0
sin
2
2
2

 


dt
d
0
)
0
(
,
0 0 

dt
d
θ
)
θ(

0
2
2
2

 


dt
d
0
)
0
(
,
0 0 

dt
d
θ
)
θ(

Slide number 15
Solution Methods - Direct
Integration
 This method works for equations
where the RHS does not depend on
the unknown:
 The general form is:
)
(t
f
dt
dy

)
(
2
2
t
f
dt
y
d


)
(t
f
dt
y
d
n
n

Slide number 16
Direct Integration
 y is called the unknown or
dependent variable;
 t is called the independent variable;
 “solving” means finding a formula for
y as a function of t;
 Mostly we use t for time as the
independent variable but in some
cases we use x for distance.
Slide number 17
Direct Integration – Example
Find the velocity of a car that is
accelerating from rest at 3 ms-2:
3

 a
dt
dv
c
t
v 

 3
t
v
c
c
v
3
0
0
3
0
0
)
0
(









If the car was initially at rest we
have the condition:
Slide number 18
Solution Methods - Separation
The separation method applies only to
1st order ODEs. It can be used if the
RHS can be factored into a function of t
multiplied by a function of y:
)
(
)
( y
h
t
g
dt
dy

Slide number 19
Separation – General Idea
First Separate:
dt
t
g
y
h
dy
)
(
)
(

Then integrate LHS with
respect to y, RHS with respect
to t.
C
dt
t
g
y
h
dy

 
 )
(
)
(
Slide number 20
Separation - Example
)
sin( t
y
dt
dy

Separate:
dt
t
dy
y
)
sin(
1

Now integrate:
)
cos(
)
cos(
)
cos(
)
ln(
)
sin(
1
t
c
t
Ae
y
e
y
c
t
y
dt
t
dy
y











 


More Related Content

Similar to 5_2019_10_26!01_05_11_PM (4).ppt

Application of calculus in everyday life
Application of calculus in everyday lifeApplication of calculus in everyday life
Application of calculus in everyday life
Mohamed Ibrahim
 
Modeling and-simulating-of-gas-turbine-cooled-blades
Modeling and-simulating-of-gas-turbine-cooled-bladesModeling and-simulating-of-gas-turbine-cooled-blades
Modeling and-simulating-of-gas-turbine-cooled-blades
Cemal Ardil
 
427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx
427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx
427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx
KajalMIshra63
 

Similar to 5_2019_10_26!01_05_11_PM (4).ppt (20)

Achieving the Neel state in an optical lattice
Achieving the Neel state in an optical latticeAchieving the Neel state in an optical lattice
Achieving the Neel state in an optical lattice
 
Signals And Systems Assignment Help
Signals And Systems Assignment HelpSignals And Systems Assignment Help
Signals And Systems Assignment Help
 
Solutions Of De (08 Ee 09)
Solutions Of De (08 Ee 09)Solutions Of De (08 Ee 09)
Solutions Of De (08 Ee 09)
 
Application of calculus in everyday life
Application of calculus in everyday lifeApplication of calculus in everyday life
Application of calculus in everyday life
 
microproject@math (1).pdf
microproject@math (1).pdfmicroproject@math (1).pdf
microproject@math (1).pdf
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
A Numerical Method For Friction Problems With Multiple Contacts
A Numerical Method For Friction Problems With Multiple ContactsA Numerical Method For Friction Problems With Multiple Contacts
A Numerical Method For Friction Problems With Multiple Contacts
 
Differential Equations Lecture: Non-Homogeneous Linear Differential Equations
Differential Equations Lecture: Non-Homogeneous Linear Differential EquationsDifferential Equations Lecture: Non-Homogeneous Linear Differential Equations
Differential Equations Lecture: Non-Homogeneous Linear Differential Equations
 
HT3_Unsteady State Heat Transfer_f.pptx
HT3_Unsteady State Heat Transfer_f.pptxHT3_Unsteady State Heat Transfer_f.pptx
HT3_Unsteady State Heat Transfer_f.pptx
 
Differential equations final -mams
Differential equations final -mamsDifferential equations final -mams
Differential equations final -mams
 
Ch02 4
Ch02 4Ch02 4
Ch02 4
 
Modeling and-simulating-of-gas-turbine-cooled-blades
Modeling and-simulating-of-gas-turbine-cooled-bladesModeling and-simulating-of-gas-turbine-cooled-blades
Modeling and-simulating-of-gas-turbine-cooled-blades
 
On Laplace Transform.ppt
On Laplace Transform.pptOn Laplace Transform.ppt
On Laplace Transform.ppt
 
Automatic Control Via Thermostats Of A Hyperbolic Stefan Problem With Memory
Automatic Control Via Thermostats Of A Hyperbolic Stefan Problem With MemoryAutomatic Control Via Thermostats Of A Hyperbolic Stefan Problem With Memory
Automatic Control Via Thermostats Of A Hyperbolic Stefan Problem With Memory
 
Free Ebooks Download
Free Ebooks Download Free Ebooks Download
Free Ebooks Download
 
Odepowerpointpresentation1
Odepowerpointpresentation1 Odepowerpointpresentation1
Odepowerpointpresentation1
 
Lec11 lumped h capacity no mark.pdf
Lec11 lumped h capacity no mark.pdfLec11 lumped h capacity no mark.pdf
Lec11 lumped h capacity no mark.pdf
 
Laplace
LaplaceLaplace
Laplace
 
427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx
427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx
427962671-HT3-Unsteady-State-Heat-Transfer-f-pptx-Lipika-Mam-Ppt.pptx
 
On the construction and comparison of an explicit iterative
On the construction and comparison of an explicit iterativeOn the construction and comparison of an explicit iterative
On the construction and comparison of an explicit iterative
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 

5_2019_10_26!01_05_11_PM (4).ppt

  • 1. Introduction to Ordinary Differential Equations Asst Lect Sarmad K. Ibrahim
  • 2. Slide number 2 Ordinary Differential Equations  Where do ODEs arise?  Notation and Definitions  Solution methods for 1st order ODEs
  • 3. Slide number 3 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)
  • 4. Slide number 4 Example – Newton’s Law of Cooling  This is a model of how the temperature of an object changes as it loses heat to the surrounding atmosphere: Temperature of the object: Obj T Room Temperature: Room T Newton’s laws states: “The rate of change in the temperature of an object is proportional to the difference in temperature between the object and the room temperature” ) ( Room Obj Obj T T dt dT     Form ODE t Room init Room Obj e T T T T      ) ( Solve ODE Where is the initial temperature of the object. init T
  • 5. Slide number 5 Notation and Definitions  Order  Linearity  Homogeneity  Initial Value/Boundary value problems
  • 6. Slide number 6 Order  The order of a differential equation is just the order of highest derivative used. 0 2 2   dt dy dt y d . 2nd order 3 3 dt x d x dt dx  3rd order
  • 7. Slide number 7 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 (t). If y or its derivatives appear in the coefficient the equation is non-linear.
  • 8. Slide number 8 Linearity - Examples 0   y dt dy is linear 0 2   x dt dx is non-linear 0 2   t dt dy is linear 0 2   t dt dy y is non-linear
  • 9. Slide number 9 Linearity – Summary y 2 dt dy dt dy y dt dy t 2       dt dy y t) sin 3 2 (  y y ) 3 2 ( 2  Linear Non-linear 2 y ) sin( y or
  • 10. Slide number 10 Linearity – Special Property If a linear homogeneous ODE has solutions: ) (t f y  ) (t g y  and then: ) ( ) ( t g b t f a y     where a and b are constants, is also a solution.
  • 11. Slide number 11 Linearity – Special Property Example: 0 2 2   y dt y d 0 sin sin sin ) (sin 2 2      t t t dt t d 0 cos cos cos ) (cos 2 2      t t t dt t d 0 cos sin cos sin cos sin ) cos (sin 2 2          t t t t t t dt t t d t y sin  t y cos  has solutions and Check t t y cos sin   Therefore is also a solution: Check
  • 12. Slide number 12 Homogeniety  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)
  • 13. Slide number 13 Example  1st order  Linear  Nonhomogeneous  Initial value problem g dt dv  0 ) 0 ( v v  w dx M d  2 2 0 ) ( 0 ) 0 ( and   l M M  2nd order  Linear  Nonhomogeneous  Boundary value problem
  • 14. Slide number 14 Example  2nd order  Nonlinear  Homogeneous  Initial value problem  2nd order  Linear  Homogeneous  Initial value problem 0 sin 2 2 2      dt d 0 ) 0 ( , 0 0   dt d θ ) θ(  0 2 2 2      dt d 0 ) 0 ( , 0 0   dt d θ ) θ( 
  • 15. Slide number 15 Solution Methods - Direct Integration  This method works for equations where the RHS does not depend on the unknown:  The general form is: ) (t f dt dy  ) ( 2 2 t f dt y d   ) (t f dt y d n n 
  • 16. Slide number 16 Direct Integration  y is called the unknown or dependent variable;  t is called the independent variable;  “solving” means finding a formula for y as a function of t;  Mostly we use t for time as the independent variable but in some cases we use x for distance.
  • 17. Slide number 17 Direct Integration – Example Find the velocity of a car that is accelerating from rest at 3 ms-2: 3   a dt dv c t v    3 t v c c v 3 0 0 3 0 0 ) 0 (          If the car was initially at rest we have the condition:
  • 18. Slide number 18 Solution Methods - Separation The separation method applies only to 1st order ODEs. It can be used if the RHS can be factored into a function of t multiplied by a function of y: ) ( ) ( y h t g dt dy 
  • 19. Slide number 19 Separation – General Idea First Separate: dt t g y h dy ) ( ) (  Then integrate LHS with respect to y, RHS with respect to t. C dt t g y h dy     ) ( ) (
  • 20. Slide number 20 Separation - Example ) sin( t y dt dy  Separate: dt t dy y ) sin( 1  Now integrate: ) cos( ) cos( ) cos( ) ln( ) sin( 1 t c t Ae y e y c t y dt t dy y              