Title: Lecture 30 Ordinary Differential Equations IVP
1Lecture 30 - Ordinary Differential Equations -
IVP
- CVEN 302
- November 7, 2001
2Lectures Goals
ODE Methods
- Multistep Method
- Adam Bashforth
- Adam Moulton Method
- Predictor-Corrector Method
- Stability
3One Step Method
Up until this point we have dealt with These
methods are called single step methods, because
they use only the information from the previous
step.
- Euler Method
- Modified Euler/Midpoint
- Runge-Kutta Methods
4One Step Method
The techniques are defined as
- These methods allow us to vary the step size.
- Use only one initial value
- After each step is completed the past step is
forgotten
We do not use this information.
5Multi-Step Methods
The principle behind a multi-step method is to
use past values, y and/or dy/dx to construct a
polynomial that approximate the derivative
function.
6Multi-Step Methods
The method comes from integrating the functions.
7Multi-Step Methods
The integral can be represented.
8Multi-Step Methods
The integral can be represented.
9Multi-Step Methods
These methods are known as explicit schemes
because the use of current and past values are
used to obtain the future step. The method is
initiated by using either a set of know results
or from the results of a Runge-Kutta to start the
initial value problem.
10Adam Bashforth Method (4th Point) Example
Consider Exact
Solution The initial condition is The step
size is
114 Point Adam Bashforth
From the 4th order Runge Kutta The 4 Point
Adam Bashforth is
124 Point Adam Bashforth
The results are Upgrade the values
134 Point Adam Bashforth Method - Example
The values for the Adam Bashforth
144 Point Adam Bashforth Method - Example
The explicit Adam Bashforth method gave solution
gives good results without having to go through
large number of calculations.
15Multi-Step Methods
There are second set of multi-step methods, which
are known as implicit methods. The implicit
methods use the future steps to modify the future
steps. What is used to do iterative method,
which will make an initial guess and use it until
stability is reached. The method is initiated by
using either a set of know results or from the
results of a Runge-Kutta to start the initial
value problem.
16Implicit Multi-Step Methods
The main method is Adam Moulton Method
17Implicit Multi-Step Methods
The method uses what is known as a
Predictor-Corrector technique. It uses the
explicit scheme to estimate the initial guess and
uses the value to guess the future y and dy/dx
f(x,y) values. Using these results, the Adam
Moulton method can be applied.
18Implicit Multi-Step Methods
Adams third order Predictor-Corrector
scheme. Use the Adam Bashforth three point
explicit scheme for the initial guess. Use
the Adam Moulton three point implicit scheme to
take a second step.
19Adam Moulton Method (3th Point) Example
Consider Exact
Solution The initial condition is The step
size is
204 Point Adam Bashforth
From the 4th order Runge Kutta The 3 Point
Adam Bashforth is
213 Point Adam Moulton Predictor-Corrector Method
The results of explicit scheme is The
functional values are
223 Point Adam Moulton Predictor-Corrector Method
The results of implicit scheme is The
functional values are
233 Point Adam Moulton Predictor-Corrector Method
The values for the Adam Moulton
243 Point Adam Moulton Predictor-Corrector Method
The implicit Adam Moulton method gave solution
gives good results without using more than a
three points.
25Numerical Stability
- Amplification or decay of numerical errors
- A numerical method is stable if error incurred at
one stage of the process do not tend to magnify
at later stages - Ill-conditioned differential equation
- -- numerical errors will be magnified
regardless - of numerical method
- Stiff differential equation
- -- require extremely small step size to
achieve - accurate results
26Stability
27Explicit Euler Method
- Stability criterion
- Region of absolute stability
28Stability
- Explicit Euler method
- Second-order Adams-Bashforth
- Second-order Adams-Moulton
29Summary
- 4th order Runge-Kutta Method
- Higher order Runge-Kutta Methods
- Explicit Multi-Step Methods
- Implicit Multi-Step Methods
- Stability
30Homework
- Check the Homework webpage