MAT 461/561: 12.3 Multistep Methods
MAT 461/561: 12.3 Multistep Methods
MAT 461/561: 12.3 Multistep Methods
3 Multistep Methods
James V. Lambers
April 6, 2020
Announcements
Multistep Methods
In one-step methods, during each time step, f (t, y) in ODE y 0 = f (t, y) can be evaluated several
times for high-order accuracy (eg. RK4), but this is not necessary! Can achieve high-order accuracy
(that is, error is O(hp ) with p > 1) without so many evaluations in each time step.
General form of multistep method:
m
X m
X
αi yn+1−i = h βi f (tn+1−i , yn+1−i )
i=0 i=0
Adams Methods
By integrating y 0 = f (t, y) on [tn , tn+1 ], we get
Z tn+1
y(tn+1 ) = y(tn ) + f (s, y(s)) ds
tn
An Adams Method is based on approximating this integral using a quadrature rule in which
f (s, y(s)) is fit with a polynomial using interpolation points tn+1−m , tn+2−m , . . . , tn−1 , tn , and pos-
sibly tn+1 , for the case of an implicit method.
In all Adams Methods, α0 = 1, α1 = −1, and αi = 0 for i > 1.
Explicit Adams Methods (β0 = 0) are Adams-Bashforth Methods, while implicit Adams Meth-
ods are called Adams-Moulton Methods.
1
Example: derivation of Adams-Bashforth Method, m = 3:
Let p2 (t) be an interpolating polynomial that fits f (t, y(t)) at tn , tn−1 , tn−2 . Express in Lagrange
form:
2
X
p2 (t) = fn−i L2,i (t)
i=0
We then have Z tn+1 Z tn+1 Z 1
f (s, y(s)) ds ≈ p2 (s) ds = h p̃2 (u) du
tn tn 0
where u = (tn+1 − s)/h maps [tn , tn+1 ] to [0, 1], du = −1/h ds. Therefore the interpolation points
tn , tn−1 , tn−2 are mapped to 1,2,3, respectively. We then have
Z 1 Z 1
h p̃2 (u) du = h fn L̃2,0 (u) + fn−1 L̃2,1 (u) + fn−2 L̃2,2 (u) du
0 0
Z 1
(u − 2)(u − 3) (u − 1)(u − 3) (u − 1)(u − 2)
= h fn + fn−1 + fn−2 du
0 (1 − 2)(1 − 3) (2 − 1)(2 − 3) (3 − 1)(3 − 2)
Z 1 Z 1 Z 1
(u − 2)(u − 3) (u − 1)(u − 3) (u − 1)(u − 2)
= h fn du + fn−1 du + fn−2 du
0 (1 − 2)(1 − 3) 0 (2 − 1)(2 − 3) 0 (3 − 1)(3 − 2)
Therefore
1
(u − 2)(u − 3)
Z
23
β1 = du =
0 (1 − 2)(1 − 3) 12
1
(u − 1)(u − 3)
Z
16
β2 = du = −
0 (2 − 1)(2 − 3) 12
1
(u − 1)(u − 2)
Z
5
β3 = du =
0 (3 − 1)(3 − 2) 12
and our method is
h
[23fn − 16fn−1 + 5fn−2 ]
yn+1 = yn +
12
In general, a m-step Adams-Bashforth method has error O(hm ), and a m-step Adams-Moulton
method has error is O(hm+1 ).
Predictor-Corrector Methods
A predictor-corrector method uses a pair of Adams-Bashforth and Adams-Moulton methods
to avoid having to use an iterative method such as Newton’s Method with an implicit (Adams-
Moulton) method. The procedure is called PECE: Predict, Evaluate, Correct, Evaluate
1. Predict: Use the predictor (Adams-Bashforth) to compute ỹn+1
3. Corrector: Use the corrector (Adams-Moulton) method, with f˜n+1 , to obtain yn+1
2
Example: Predictor is 2-step Adams-Bashforth,
h
ỹn+1 = yn + [3fn − fn−1 ]
2
Then let f˜n+1 = f (tn+1 , ỹn+1 ), and correct with 2-step Adams-Moulton,
h ˜
yn+1 = yn + [5fn+1 + 8fn − fn−1 ]
12
Finally, for next time step, fn+1 = f (tn+1 , yn+1 ).
where
αi = L0m,i (tn+1 )
and Lm,i (t) is the ith Lagrange polynomial for the points tn+1 , tn , tn−1 , . . . , tn+1−m (see Section
9.1).
A m-step BDF has error O(hm ). Unfortunately no BDF of order greater than 6 is “stable”.