SlideShare a Scribd company logo
2
Most read
3
Most read
7
Most read
NUMERICAL SOLUTION OF ORDINARY
DIFFERENTIAL EQUATIONS
TAYLOR SERIES METHOD
 If
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given
boundary value problem
 Then 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑦𝑛
′
+
ℎ2
2!
𝑦𝑛
′′
+
ℎ3
3!
𝑦𝑛
′′′
+ ⋯
 Where 𝑦 𝑟
=
𝑑 𝑟 𝑦
𝑑𝑥 𝑟
MERITS AND DEMERITS OF TAYLOR
SERIES METHOD
 1. Taylor series method is a powerful single
step method if we are able to get the
successive derivatives easily. This method is
useful to give some initial values for powerful
numerical methods like Runge-kutta method.
 2. The disadvantage is that it became tedious
if the higher derivatives are complicated.
EULER’S METHOD
 If
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given
boundary value problem
 Then 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑓 𝑥 𝑛, 𝑦𝑛 , 𝑛 = 0,1,2 …
EULER’S ALGORITHM
 If 𝑥0 is the starting value,
 𝑦1 = 𝑦0 + ℎ𝑓(𝑥0, 𝑦0)
 𝑦2 = 𝑦1 + ℎ𝑓(𝑥1, 𝑦1). . .
 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑓(𝑥 𝑛, 𝑦𝑛)
MODIFIED EULER’S METHOD
 If
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given
boundary value problem
 Then 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑓 𝑥 𝑛 +
ℎ
2
, 𝑦𝑛 +
FOURTH ORDER RUNGE- KUTTA METHOD
 If
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary
value problem
 𝑘1 = ℎ𝑓(𝑥 𝑛, 𝑦𝑛)
 𝑘2 = ℎ𝑓 𝑥 𝑛 +
ℎ
2
, 𝑦𝑛 +
𝑘1
2
 𝑘3 = ℎ𝑓 𝑥 𝑛 +
ℎ
2
, 𝑦𝑛 +
𝑘2
2
 𝑘4 = ℎ𝑓(𝑥 𝑛 + ℎ, 𝑦𝑛 + 𝑘3)
 ∆𝑦 =
𝑘1+2𝑘2+2𝑘3+𝑘4
6
 𝑦 𝑛+1 = 𝑦𝑛 + ∆𝑦 , 𝑛 = 0, 1, 2, 3, . . .
MERITS OF RK-METHOD
 Runge- Kutta method is a single step
method.
 This method does not require prior
calculation of higher derivatives likes Taylor’s
series method.
 To find the value of y at 𝑥 = 𝑥 𝑟+1 we need
the value of y at 𝑥 𝑟 only.
MULTI STEP METHODS
 1. MILNE’S METHOD (MILNE’S
PREDICTOR AND CORRECTOR
METHOD)
 2. ADAM BASHFORTH
METHOD(ADAM’S PREDICTOR AND
CORRECTOR METHOD)
MILNE’S METHOD
MILNE‘S PREDICTOR FORMULA
 If
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given
boundary value problem
 𝑦 𝑛+1 = 𝑦 𝑛 −3 +
4ℎ
3
2𝑦 𝑛−2
′
− 𝑦 𝑛−1
′
+ 2𝑦 𝑛
′
MILNE‘S CORRECTOR FORMULA
 𝑦 𝑛+1 = 𝑦 𝑛−1 +
ℎ
3
𝑦′
𝑛−1 + 4𝑦𝑛
′
+ 𝑦 𝑛+1
′
,
 𝑤ℎ𝑒𝑟𝑒 𝑦 𝑛+1
′
= 𝑓 𝑥 𝑛+1, 𝑦 𝑛+1
 In particular,
 Milne’s predictor formula:
𝑦4 = 𝑦0 +
4ℎ
3
[2𝑦1
′
− 𝑦2
′
+ 2𝑦3
′
]
 Milne’s Corrector formula:
𝑦4 = 𝑦2 +
ℎ
3
[𝑦2
′
+ 4𝑦3
′
+ 𝑦4
′
]
ADAM- BASHFORTH METHOD
ADAM- BASHFORTH PREDICTOR
FORMULA
 If
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given
boundary value problem
 𝑦 𝑛+1 = 𝑦𝑛 +
ℎ
24
55 𝑦𝑛
′ − 59𝑦 𝑛−1
′
+ 37𝑦 𝑛−2
′
− 9 𝑦 𝑛−3
′
 ADAM- BASHFORTH CORRECTOR
FORMULA
 𝑦 𝑛+1 = 𝑦𝑛 +
ℎ
24
9 𝑦 𝑛+1
′
+ 19𝑦𝑛
′ − 5𝑦 𝑛−1
′
+ 𝑦 𝑛−2
′
 In particular,
 Adam’s predictor formula
𝑦4 = 𝑦3 +
ℎ
24
55 𝑦3
′
− 59𝑦2
′
+ 37𝑦1
′
− 9 𝑦0
′
 Adam’s corrector formula
𝑦4 = 𝑦3 +
ℎ
24
9 𝑦4
′
+ 19𝑦3
′
− 5𝑦2
′
+ 𝑦1
′

More Related Content

PDF
Numerical Solution of Ordinary Differential Equations
PPTX
Numerical solution of ordinary differential equation
PPTX
Unit 5: All
PPTX
Runge Kutta Method
PPTX
Euler and improved euler method
PPT
Lu decomposition
PPTX
Gaussian Elimination Method
Numerical Solution of Ordinary Differential Equations
Numerical solution of ordinary differential equation
Unit 5: All
Runge Kutta Method
Euler and improved euler method
Lu decomposition
Gaussian Elimination Method

What's hot (20)

PPTX
Jacobi method
PPTX
Euler and runge kutta method
PDF
Interpolation Methods
PPTX
Cholesky method and Thomas
PDF
Numerical Integration and Numerical Solution of Ordinary Differential Equatio...
PPT
NUMERICAL METHODS -Iterative methods(indirect method)
PPT
Numerical solution of ordinary differential equations GTU CVNM PPT
PPTX
Homogeneous Linear Differential Equations
PDF
Lesson 12: Linear Independence
PPTX
Metric space
PPTX
algebric solutions by newton raphson method and secant method
PPTX
presentation on Euler and Modified Euler method ,and Fitting of curve
PPT
Dip Image Segmentation
PPTX
Numerical analysis ppt
PPTX
GAUSS ELIMINATION METHOD
PPT
3D Coordinate Geometry
PDF
Numerical Differentiation and Integration
PPTX
Jacobi iteration method
PPT
Null space, Rank and nullity theorem
PPTX
Crout s method for solving system of linear equations
Jacobi method
Euler and runge kutta method
Interpolation Methods
Cholesky method and Thomas
Numerical Integration and Numerical Solution of Ordinary Differential Equatio...
NUMERICAL METHODS -Iterative methods(indirect method)
Numerical solution of ordinary differential equations GTU CVNM PPT
Homogeneous Linear Differential Equations
Lesson 12: Linear Independence
Metric space
algebric solutions by newton raphson method and secant method
presentation on Euler and Modified Euler method ,and Fitting of curve
Dip Image Segmentation
Numerical analysis ppt
GAUSS ELIMINATION METHOD
3D Coordinate Geometry
Numerical Differentiation and Integration
Jacobi iteration method
Null space, Rank and nullity theorem
Crout s method for solving system of linear equations
Ad

Similar to Numerical solution of ordinary differential equations (20)

PDF
Study Material Numerical Solution of Odinary Differential Equations
PDF
NPDE-TCA
PPTX
Taylors series
PDF
Gauss elimination & Gauss Jordan method
PPTX
MATRICES AND CALCULUS.pptx
PDF
Johelbys campos2
PDF
Advanced Engineering Mathematics
PDF
Euler's and picard's
PPTX
Numerical Techniques
PPTX
odes1.pptx
PDF
Four Point Gauss Quadrature Runge – Kuta Method Of Order 8 For Ordinary Diffe...
PPTX
Lecture-1-Mech.pptx . .
PDF
Ecuaciones lineales de orden superior
PDF
Least Square Plane and Leastsquare Quadric Surface Approximation by Using Mod...
PPTX
Functions of severable variables
PPTX
Computational Dynamics edited
PPTX
jake.pptx
PDF
Term project
PPTX
Higher order differential equation
Study Material Numerical Solution of Odinary Differential Equations
NPDE-TCA
Taylors series
Gauss elimination & Gauss Jordan method
MATRICES AND CALCULUS.pptx
Johelbys campos2
Advanced Engineering Mathematics
Euler's and picard's
Numerical Techniques
odes1.pptx
Four Point Gauss Quadrature Runge – Kuta Method Of Order 8 For Ordinary Diffe...
Lecture-1-Mech.pptx . .
Ecuaciones lineales de orden superior
Least Square Plane and Leastsquare Quadric Surface Approximation by Using Mod...
Functions of severable variables
Computational Dynamics edited
jake.pptx
Term project
Higher order differential equation
Ad

More from Santhanam Krishnan (20)

PPTX
PPTX
Integral calculus
PPTX
Differential calculus maxima minima
PPTX
Differential Calculus- differentiation
PPTX
Differential calculus
PPTX
Fourier transforms
PPTX
Fourier series
PPTX
Solution to second order pde
PPTX
Solution to pde
PPTX
Pde lagrangian
PPTX
Laplace transformation
PPTX
Complex integration
PPTX
Differential equations
PPTX
Integral calculus
PPTX
Analytic function
PPTX
Vector calculus
PPTX
Design of experiments
PPTX
Interpolation
PPTX
Solution of equations and eigenvalue problems
PPTX
Testing of hypothesis
Integral calculus
Differential calculus maxima minima
Differential Calculus- differentiation
Differential calculus
Fourier transforms
Fourier series
Solution to second order pde
Solution to pde
Pde lagrangian
Laplace transformation
Complex integration
Differential equations
Integral calculus
Analytic function
Vector calculus
Design of experiments
Interpolation
Solution of equations and eigenvalue problems
Testing of hypothesis

Recently uploaded (20)

PPTX
master seminar digital applications in india
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Pre independence Education in Inndia.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
GDM (1) (1).pptx small presentation for students
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Basic Mud Logging Guide for educational purpose
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Complications of Minimal Access Surgery at WLH
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
master seminar digital applications in india
Pharma ospi slides which help in ospi learning
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Pre independence Education in Inndia.pdf
Final Presentation General Medicine 03-08-2024.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
GDM (1) (1).pptx small presentation for students
TR - Agricultural Crops Production NC III.pdf
Basic Mud Logging Guide for educational purpose
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Complications of Minimal Access Surgery at WLH
102 student loan defaulters named and shamed – Is someone you know on the list?
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
O5-L3 Freight Transport Ops (International) V1.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf

Numerical solution of ordinary differential equations

  • 1. NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
  • 2. TAYLOR SERIES METHOD  If 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary value problem  Then 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑦𝑛 ′ + ℎ2 2! 𝑦𝑛 ′′ + ℎ3 3! 𝑦𝑛 ′′′ + ⋯  Where 𝑦 𝑟 = 𝑑 𝑟 𝑦 𝑑𝑥 𝑟
  • 3. MERITS AND DEMERITS OF TAYLOR SERIES METHOD  1. Taylor series method is a powerful single step method if we are able to get the successive derivatives easily. This method is useful to give some initial values for powerful numerical methods like Runge-kutta method.  2. The disadvantage is that it became tedious if the higher derivatives are complicated.
  • 4. EULER’S METHOD  If 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary value problem  Then 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑓 𝑥 𝑛, 𝑦𝑛 , 𝑛 = 0,1,2 …
  • 5. EULER’S ALGORITHM  If 𝑥0 is the starting value,  𝑦1 = 𝑦0 + ℎ𝑓(𝑥0, 𝑦0)  𝑦2 = 𝑦1 + ℎ𝑓(𝑥1, 𝑦1). . .  𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑓(𝑥 𝑛, 𝑦𝑛)
  • 6. MODIFIED EULER’S METHOD  If 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary value problem  Then 𝑦 𝑛+1 = 𝑦𝑛 + ℎ𝑓 𝑥 𝑛 + ℎ 2 , 𝑦𝑛 +
  • 7. FOURTH ORDER RUNGE- KUTTA METHOD  If 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary value problem  𝑘1 = ℎ𝑓(𝑥 𝑛, 𝑦𝑛)  𝑘2 = ℎ𝑓 𝑥 𝑛 + ℎ 2 , 𝑦𝑛 + 𝑘1 2  𝑘3 = ℎ𝑓 𝑥 𝑛 + ℎ 2 , 𝑦𝑛 + 𝑘2 2  𝑘4 = ℎ𝑓(𝑥 𝑛 + ℎ, 𝑦𝑛 + 𝑘3)  ∆𝑦 = 𝑘1+2𝑘2+2𝑘3+𝑘4 6  𝑦 𝑛+1 = 𝑦𝑛 + ∆𝑦 , 𝑛 = 0, 1, 2, 3, . . .
  • 8. MERITS OF RK-METHOD  Runge- Kutta method is a single step method.  This method does not require prior calculation of higher derivatives likes Taylor’s series method.  To find the value of y at 𝑥 = 𝑥 𝑟+1 we need the value of y at 𝑥 𝑟 only.
  • 9. MULTI STEP METHODS  1. MILNE’S METHOD (MILNE’S PREDICTOR AND CORRECTOR METHOD)  2. ADAM BASHFORTH METHOD(ADAM’S PREDICTOR AND CORRECTOR METHOD)
  • 10. MILNE’S METHOD MILNE‘S PREDICTOR FORMULA  If 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary value problem  𝑦 𝑛+1 = 𝑦 𝑛 −3 + 4ℎ 3 2𝑦 𝑛−2 ′ − 𝑦 𝑛−1 ′ + 2𝑦 𝑛 ′ MILNE‘S CORRECTOR FORMULA  𝑦 𝑛+1 = 𝑦 𝑛−1 + ℎ 3 𝑦′ 𝑛−1 + 4𝑦𝑛 ′ + 𝑦 𝑛+1 ′ ,  𝑤ℎ𝑒𝑟𝑒 𝑦 𝑛+1 ′ = 𝑓 𝑥 𝑛+1, 𝑦 𝑛+1
  • 11.  In particular,  Milne’s predictor formula: 𝑦4 = 𝑦0 + 4ℎ 3 [2𝑦1 ′ − 𝑦2 ′ + 2𝑦3 ′ ]  Milne’s Corrector formula: 𝑦4 = 𝑦2 + ℎ 3 [𝑦2 ′ + 4𝑦3 ′ + 𝑦4 ′ ]
  • 12. ADAM- BASHFORTH METHOD ADAM- BASHFORTH PREDICTOR FORMULA  If 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 , 𝑤𝑖𝑡ℎ 𝑦 𝑥0 = 𝑦0 is the given boundary value problem  𝑦 𝑛+1 = 𝑦𝑛 + ℎ 24 55 𝑦𝑛 ′ − 59𝑦 𝑛−1 ′ + 37𝑦 𝑛−2 ′ − 9 𝑦 𝑛−3 ′  ADAM- BASHFORTH CORRECTOR FORMULA  𝑦 𝑛+1 = 𝑦𝑛 + ℎ 24 9 𝑦 𝑛+1 ′ + 19𝑦𝑛 ′ − 5𝑦 𝑛−1 ′ + 𝑦 𝑛−2 ′
  • 13.  In particular,  Adam’s predictor formula 𝑦4 = 𝑦3 + ℎ 24 55 𝑦3 ′ − 59𝑦2 ′ + 37𝑦1 ′ − 9 𝑦0 ′  Adam’s corrector formula 𝑦4 = 𝑦3 + ℎ 24 9 𝑦4 ′ + 19𝑦3 ′ − 5𝑦2 ′ + 𝑦1 ′