SlideShare a Scribd company logo
1 of 53
1
6.1 The Initial Value Problem: Background
2
Example 6.1
3
Example 6.2
4
Example 6.3
5
Example 6.4
6
Methods
 To solve differential equation problem:
 If f is “smooth enough”, then
 a solution will exist and be unique
 we will be able to approximate it accurately with a wide
variety of method
 Two ways of expressing “smooth enough”
 Lipschitz continuity
 Smooth and uniformly monotone decreasing
7
Definitions 6.1 and 6.2
8
Example 6.5
9
Example 6.5 (con.)
10
Theorem 6.1
 Proof: See Goldstine’s book
11
6.2 Euler’s Method
 We have treated Euler’s method in Chapter 2.
 There are two main derivations about Euler’s method
 Geometric derivation
 Analytic derivation
12
Geometric Derivation
13
14
Analytic Derivation
15
Error Estimation for Euler’s
Method
16
 By the analytic derivation, we have
 The residual for Euler’s method:
 The truncation error:
Example 6.6
17
18
6.3 Analysis of Euler’s Method
19
 Proof: pp. 323-324 (You can study it by yourselves.)
O(h)
Theorem 6.4
 Proof: pp. 324-325 (You can study it by yourselves.)
20
m
C
kCC
yChytyCyty
h
tTTtCy
yf
VersionIIMethodsEulerforEstimateError
Ttkk
Ttk
2
1
and,as01,where
")()(max
small,lysufficientforThen
.somefor]),([solutionthat theassume
and,indecreasingmonotoneuniformlyandsmoothbeLet
),'(6.4Theorem
00
],[,000
00
2
0
=
∞→→≤
+−≤−
>∈
∞≤
O(h)
Discussion
 Both error theorems show that Euler’s method is only
first-order accurate (O(h)).
 If f is only Lipschitz continuous, then the constants
multiplying the initial error and the mash parameter can
be quite large, rapidly growing.
 If f is smooth and uniformly monotone decreasing in y,
then the constants in the error estimate are bounded for
all n.
21
Discussion
 How is the initial error affected by f ?
 If f is monotone decreasing in y, then the effect of the
initial error decreases rapidly as the computation
progresses.
 If f is only Lipschitz continuous, then any initial error that
is made could be amplified to something exponentially
large.
22
6.4 Variants of Euler’s
Method
 Euler’s method is not the only or even the best scheme
for approximating solutions to initial value problems.
 Several ideas can be considered based on some simple
extensions of one derivation of Euler’s method.
23
Variants of Euler’s Method
24
 We start with the differential equation
And replace the derivative with the simple difference quotient derived in
(2.1)
 What happens if we use other approximations to the derivative?
Variants of Euler’s Method
 If we use
then we get the backward Euler method
 If we use
then we get the midpoint method
25
O(h)
O(h2
)
Method 1
Method 2
Variants of Euler’s Method
 If we use the methods based on interpolation (Section 4.5)
then we get two numerical methods
26
O(h2
)
O(h2
)
Method 4
Method 3
Variants of Euler’s Method
 By integrating the differential equation:
(6.23)
and apply the trapezoid rule to (6.23) to get
Thus
(6.25)
27
Method 5
O(h3
)
Variants of Euler’s Method
 We can use a midpoint rule approximation to integrating (6.23)
and get
28
O(h3
)
Method 6
Discussion
 What about these method? Are any of them
any good?
 Observations
 Methods 2, 3, and 4 are all based on derivative
approximations that are O(h2
), thus they are more
accurate than Euler method and method 1 (O(h)).
 Similarly, methods 5 and 6 are also more
accurate.
 Methods 2, 3, and 4 are not single-step methods,
but multistep methods. They depend on
information from more than one previous
approximate value of the unknown function.
29
Discussion
 Observations (con.)
 Concerning methods 1, 4, and 5, all of these formulas involve we
cannot explicitly solve for the new approximate values Thus these
methods are called implicit methods.
 Methods 2 and 3 are called explicit methods.
30
6.4.1 The Residual and
Truncation Error
31
Definition 6.3
32
Example 6.7
33
Example 6.8
34
Definition 6.4
35
6.4.2 Implicit Methods and Predictor-
Corrector Schemes
 How to get the value of yn+1? Using Newton’s method or
the secant method or a fixed point iteration.
36
Let y = yn+1
37
F(y)
F’(y)
F(y)
h
F(y+h)-F(y)
Predictor-corrector idea
 Can we use a much cruder (coarse) means of estimating
yn+1?
38
Example 6.11
39
Example 6.12
40
41
Discussion
 Generally speaking, unless the differential equation is
very sensitive to changes in the data, a simple
predictor-corrector method will be just as good as the
more time-consuming process of solving for the exact
values of yn+1 that satisfies the implicit recursion.
42
Discussion
 If the differential equation is linear, we can entirely
avoid the problem of implicitness.
 Write the general linear ODE as
43
6.5 Single-step Method: Runge-Kutta
 The Runge-Kutta family of methods is one of the most
popular families of accurate solvers for initial value
problems.
44
 Consider the more general method:
45
Residual
46
 Rewrite the formula of R, we get
47
48
Solution 1
Solution 2
49
Solution 3
Runge-Kutta Method
50
Example 6.16
51
Example 6.16 (con.)
52
53
One major drawback of the
Runge-Kutta methods is that
they require more evaluations
of the function f than other
methods.

More Related Content

What's hot

7.5 notes[1]
7.5 notes[1]7.5 notes[1]
7.5 notes[1]
nglaze10
 
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equations
alrosiemae
 
09 numerical differentiation
09 numerical differentiation09 numerical differentiation
09 numerical differentiation
Mohammad Tawfik
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
Cesar Mendoza
 
2.6 Linear Inequalities in Two Variables
2.6 Linear Inequalities in Two Variables2.6 Linear Inequalities in Two Variables
2.6 Linear Inequalities in Two Variables
hisema01
 
Solving systems of equations in 3 variables
Solving systems of equations in 3 variablesSolving systems of equations in 3 variables
Solving systems of equations in 3 variables
Jessica Garcia
 

What's hot (20)

Revised math 1
Revised math 1Revised math 1
Revised math 1
 
Solving linear equation systems using direct methods: Gauss Jordan and Aitke...
Solving linear equation systems using direct  methods:Gauss Jordan and Aitke...Solving linear equation systems using direct  methods:Gauss Jordan and Aitke...
Solving linear equation systems using direct methods: Gauss Jordan and Aitke...
 
Lecture 13 Criptarithmetic problem
Lecture 13 Criptarithmetic problemLecture 13 Criptarithmetic problem
Lecture 13 Criptarithmetic problem
 
Linear inequalities in two variables
Linear inequalities in two variablesLinear inequalities in two variables
Linear inequalities in two variables
 
Lesson 18: Rational Exponents
Lesson 18: Rational ExponentsLesson 18: Rational Exponents
Lesson 18: Rational Exponents
 
Systems of Linear Equations Graphing
 Systems of Linear Equations Graphing  Systems of Linear Equations Graphing
Systems of Linear Equations Graphing
 
05 Chapter MATLAB Differntial equations
05 Chapter MATLAB Differntial equations05 Chapter MATLAB Differntial equations
05 Chapter MATLAB Differntial equations
 
Introductory maths analysis chapter 04 official
Introductory maths analysis   chapter 04 officialIntroductory maths analysis   chapter 04 official
Introductory maths analysis chapter 04 official
 
Mathematics 8 Systems of Linear Inequalities
Mathematics 8 Systems of Linear InequalitiesMathematics 8 Systems of Linear Inequalities
Mathematics 8 Systems of Linear Inequalities
 
7.5 notes[1]
7.5 notes[1]7.5 notes[1]
7.5 notes[1]
 
Lesson 16: More Inequalities
Lesson 16: More InequalitiesLesson 16: More Inequalities
Lesson 16: More Inequalities
 
Systems of Linear Equations
Systems of Linear EquationsSystems of Linear Equations
Systems of Linear Equations
 
Solving special systems
Solving special systemsSolving special systems
Solving special systems
 
09 numerical differentiation
09 numerical differentiation09 numerical differentiation
09 numerical differentiation
 
Ijmet 10 01_021
Ijmet 10 01_021Ijmet 10 01_021
Ijmet 10 01_021
 
System of linear equations
System of linear equationsSystem of linear equations
System of linear equations
 
2.6 Linear Inequalities in Two Variables
2.6 Linear Inequalities in Two Variables2.6 Linear Inequalities in Two Variables
2.6 Linear Inequalities in Two Variables
 
Solving systems of equations in 3 variables
Solving systems of equations in 3 variablesSolving systems of equations in 3 variables
Solving systems of equations in 3 variables
 
Lec
LecLec
Lec
 
Lec
LecLec
Lec
 

Similar to Nsm for ce prashant odhavani- 160920107003

Comparative Analysis of Different Numerical Methods for the Solution of Initi...
Comparative Analysis of Different Numerical Methods for the Solution of Initi...Comparative Analysis of Different Numerical Methods for the Solution of Initi...
Comparative Analysis of Different Numerical Methods for the Solution of Initi...
YogeshIJTSRD
 

Similar to Nsm for ce prashant odhavani- 160920107003 (20)

Comparative Analysis of Different Numerical Methods of Solving First Order Di...
Comparative Analysis of Different Numerical Methods of Solving First Order Di...Comparative Analysis of Different Numerical Methods of Solving First Order Di...
Comparative Analysis of Different Numerical Methods of Solving First Order Di...
 
Numerical Analysis and Computer Applications
Numerical Analysis and Computer ApplicationsNumerical Analysis and Computer Applications
Numerical Analysis and Computer Applications
 
numericalmethods.pdf
numericalmethods.pdfnumericalmethods.pdf
numericalmethods.pdf
 
Applications Of MATLAB Ordinary Differential Equations (ODE
Applications Of MATLAB  Ordinary Differential Equations (ODEApplications Of MATLAB  Ordinary Differential Equations (ODE
Applications Of MATLAB Ordinary Differential Equations (ODE
 
Comparative Analysis of Different Numerical Methods for the Solution of Initi...
Comparative Analysis of Different Numerical Methods for the Solution of Initi...Comparative Analysis of Different Numerical Methods for the Solution of Initi...
Comparative Analysis of Different Numerical Methods for the Solution of Initi...
 
Es272 ch7
Es272 ch7Es272 ch7
Es272 ch7
 
Advanced Engineering Mathematics
Advanced Engineering MathematicsAdvanced Engineering Mathematics
Advanced Engineering Mathematics
 
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
 
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
 
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
 
A Study on Differential Equations on the Sphere Using Leapfrog Method
A Study on Differential Equations on the Sphere Using Leapfrog MethodA Study on Differential Equations on the Sphere Using Leapfrog Method
A Study on Differential Equations on the Sphere Using Leapfrog Method
 
Derivation and Application of Six-Point Linear Multistep Numerical Method for...
Derivation and Application of Six-Point Linear Multistep Numerical Method for...Derivation and Application of Six-Point Linear Multistep Numerical Method for...
Derivation and Application of Six-Point Linear Multistep Numerical Method for...
 
Accuracy Study On Numerical Solutions Of Initial Value Problems (IVP) In Ordi...
Accuracy Study On Numerical Solutions Of Initial Value Problems (IVP) In Ordi...Accuracy Study On Numerical Solutions Of Initial Value Problems (IVP) In Ordi...
Accuracy Study On Numerical Solutions Of Initial Value Problems (IVP) In Ordi...
 
Método shoenfeld
Método shoenfeldMétodo shoenfeld
Método shoenfeld
 
Comparison of Several Numerical Algorithms with the use of Predictor and Corr...
Comparison of Several Numerical Algorithms with the use of Predictor and Corr...Comparison of Several Numerical Algorithms with the use of Predictor and Corr...
Comparison of Several Numerical Algorithms with the use of Predictor and Corr...
 
A Class of Continuous Implicit Seventh-eight method for solving y’ = f(x, y) ...
A Class of Continuous Implicit Seventh-eight method for solving y’ = f(x, y) ...A Class of Continuous Implicit Seventh-eight method for solving y’ = f(x, y) ...
A Class of Continuous Implicit Seventh-eight method for solving y’ = f(x, y) ...
 
NUMERICA METHODS 1 final touch summary for test 1
NUMERICA METHODS 1 final touch summary for test 1NUMERICA METHODS 1 final touch summary for test 1
NUMERICA METHODS 1 final touch summary for test 1
 
G024047050
G024047050G024047050
G024047050
 
Term project
Term projectTerm project
Term project
 
A Derivative Free High Ordered Hybrid Equation Solver
A Derivative Free High Ordered Hybrid Equation Solver  A Derivative Free High Ordered Hybrid Equation Solver
A Derivative Free High Ordered Hybrid Equation Solver
 

More from Prashant odhavani

More from Prashant odhavani (8)

Computer organization prashant odhavani- 160920107003
Computer organization   prashant odhavani- 160920107003Computer organization   prashant odhavani- 160920107003
Computer organization prashant odhavani- 160920107003
 
Templates c++ - prashant odhavani - 160920107003
Templates   c++ - prashant odhavani - 160920107003Templates   c++ - prashant odhavani - 160920107003
Templates c++ - prashant odhavani - 160920107003
 
Main memory os - prashant odhavani- 160920107003
Main memory   os - prashant odhavani- 160920107003Main memory   os - prashant odhavani- 160920107003
Main memory os - prashant odhavani- 160920107003
 
Reliable data transfer CN - prashant odhavani- 160920107003
Reliable data transfer   CN - prashant odhavani- 160920107003Reliable data transfer   CN - prashant odhavani- 160920107003
Reliable data transfer CN - prashant odhavani- 160920107003
 
Relational algebra dbms (2130703) - 160920107003
Relational algebra  dbms (2130703) - 160920107003Relational algebra  dbms (2130703) - 160920107003
Relational algebra dbms (2130703) - 160920107003
 
Non linear data structure ds (2190702) - 169020107003
Non linear data structure   ds (2190702) - 169020107003Non linear data structure   ds (2190702) - 169020107003
Non linear data structure ds (2190702) - 169020107003
 
Number system de (2131004) - 160920107003
Number system    de (2131004) - 160920107003Number system    de (2131004) - 160920107003
Number system de (2131004) - 160920107003
 
Linear transformation vcla (160920107003)
Linear transformation vcla (160920107003)Linear transformation vcla (160920107003)
Linear transformation vcla (160920107003)
 

Recently uploaded

Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
BalamuruganV28
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
benjamincojr
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
drjose256
 

Recently uploaded (20)

Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference Modal
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdf
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Students
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdf
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptx
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & Modernization
 
15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon
 

Nsm for ce prashant odhavani- 160920107003

  • 1. 1
  • 2. 6.1 The Initial Value Problem: Background 2
  • 7. Methods  To solve differential equation problem:  If f is “smooth enough”, then  a solution will exist and be unique  we will be able to approximate it accurately with a wide variety of method  Two ways of expressing “smooth enough”  Lipschitz continuity  Smooth and uniformly monotone decreasing 7
  • 11. Theorem 6.1  Proof: See Goldstine’s book 11
  • 12. 6.2 Euler’s Method  We have treated Euler’s method in Chapter 2.  There are two main derivations about Euler’s method  Geometric derivation  Analytic derivation 12
  • 14. 14
  • 16. Error Estimation for Euler’s Method 16  By the analytic derivation, we have  The residual for Euler’s method:  The truncation error:
  • 18. 18
  • 19. 6.3 Analysis of Euler’s Method 19  Proof: pp. 323-324 (You can study it by yourselves.) O(h)
  • 20. Theorem 6.4  Proof: pp. 324-325 (You can study it by yourselves.) 20 m C kCC yChytyCyty h tTTtCy yf VersionIIMethodsEulerforEstimateError Ttkk Ttk 2 1 and,as01,where ")()(max small,lysufficientforThen .somefor]),([solutionthat theassume and,indecreasingmonotoneuniformlyandsmoothbeLet ),'(6.4Theorem 00 ],[,000 00 2 0 = ∞→→≤ +−≤− >∈ ∞≤ O(h)
  • 21. Discussion  Both error theorems show that Euler’s method is only first-order accurate (O(h)).  If f is only Lipschitz continuous, then the constants multiplying the initial error and the mash parameter can be quite large, rapidly growing.  If f is smooth and uniformly monotone decreasing in y, then the constants in the error estimate are bounded for all n. 21
  • 22. Discussion  How is the initial error affected by f ?  If f is monotone decreasing in y, then the effect of the initial error decreases rapidly as the computation progresses.  If f is only Lipschitz continuous, then any initial error that is made could be amplified to something exponentially large. 22
  • 23. 6.4 Variants of Euler’s Method  Euler’s method is not the only or even the best scheme for approximating solutions to initial value problems.  Several ideas can be considered based on some simple extensions of one derivation of Euler’s method. 23
  • 24. Variants of Euler’s Method 24  We start with the differential equation And replace the derivative with the simple difference quotient derived in (2.1)  What happens if we use other approximations to the derivative?
  • 25. Variants of Euler’s Method  If we use then we get the backward Euler method  If we use then we get the midpoint method 25 O(h) O(h2 ) Method 1 Method 2
  • 26. Variants of Euler’s Method  If we use the methods based on interpolation (Section 4.5) then we get two numerical methods 26 O(h2 ) O(h2 ) Method 4 Method 3
  • 27. Variants of Euler’s Method  By integrating the differential equation: (6.23) and apply the trapezoid rule to (6.23) to get Thus (6.25) 27 Method 5 O(h3 )
  • 28. Variants of Euler’s Method  We can use a midpoint rule approximation to integrating (6.23) and get 28 O(h3 ) Method 6
  • 29. Discussion  What about these method? Are any of them any good?  Observations  Methods 2, 3, and 4 are all based on derivative approximations that are O(h2 ), thus they are more accurate than Euler method and method 1 (O(h)).  Similarly, methods 5 and 6 are also more accurate.  Methods 2, 3, and 4 are not single-step methods, but multistep methods. They depend on information from more than one previous approximate value of the unknown function. 29
  • 30. Discussion  Observations (con.)  Concerning methods 1, 4, and 5, all of these formulas involve we cannot explicitly solve for the new approximate values Thus these methods are called implicit methods.  Methods 2 and 3 are called explicit methods. 30
  • 31. 6.4.1 The Residual and Truncation Error 31
  • 36. 6.4.2 Implicit Methods and Predictor- Corrector Schemes  How to get the value of yn+1? Using Newton’s method or the secant method or a fixed point iteration. 36 Let y = yn+1
  • 38. Predictor-corrector idea  Can we use a much cruder (coarse) means of estimating yn+1? 38
  • 41. 41
  • 42. Discussion  Generally speaking, unless the differential equation is very sensitive to changes in the data, a simple predictor-corrector method will be just as good as the more time-consuming process of solving for the exact values of yn+1 that satisfies the implicit recursion. 42
  • 43. Discussion  If the differential equation is linear, we can entirely avoid the problem of implicitness.  Write the general linear ODE as 43
  • 44. 6.5 Single-step Method: Runge-Kutta  The Runge-Kutta family of methods is one of the most popular families of accurate solvers for initial value problems. 44
  • 45.  Consider the more general method: 45 Residual
  • 46. 46
  • 47.  Rewrite the formula of R, we get 47
  • 53. 53 One major drawback of the Runge-Kutta methods is that they require more evaluations of the function f than other methods.