Materi Multi Step
Materi Multi Step
Equation
Chapter 4
Multi-Step and
Predictor-Corrector
Methods
Math UB/2015-2016
Overview
CISE301_Topic8L7 3
Multi-Step Methods
• 2-Step Methods
– In a two-step method, estimates of yi+1 depends
on yi, yi-1, xi, and xi-1
4
Multi-Step Methods
• 3-Step Methods
– In an 3-step method, estimates of yi+1 depends on
yi ,yi-1 ,yi-2, xi , xi-1, and xi-2
5
One-Step vs Multi-Step
Multi-Step Principle
• To solve dx
f t, x
dt
• We use an iteration scheme to find xi+1 in terms of
previous values of xi, xi-1, xi-2, etc, and/or values of
fi=f(ti, xi), fi-1, fi-2 , etc.
Multi-Step Principle
The method comes from integrating the derivative to
get x(t).
dx
f t , x(t )
dt
dx f t , x(t ) dt
t i1
xi 1 am 1 xi am 2 xi 1 a0 xi 1 m
h[bm f (ti 1 , xi 1 ) bm 1 f (ti , xi ) b0 f (ti 1 m , xi 1 m )]
f t , x ( t ) dt
ti
by interpolating f(t,x(t)) at the points
(ti, xi), (ti-1, xi-1), …, (ti+1-m , xi+1-m).
2 2
p2 (t ) f (ti k , xi k ) * Lk (t ) f i k * Lk (t )
k 0 k 0
(t ti 1 )(t ti 2 )
L0 (t ) ,
(ti ti 1 )(ti ti 2 )
(t ti )(t ti 2 )
L1 (t ) ,
(ti 1 ti )(ti 1 ti 2 )
(t ti )(t ti 1 )
L2 (t )
(ti 2 ti )(ti 2 ti 1 )
Example: 3-Step Adams-Bashforth
Then, ti1 ti1
1 1
Likewise, 4 5
L1 (ti 1 hu )du
3
and L2 (ti 1 hu )du
12
0 0
Example: 3-Step Adams-Bashforth
So, we get,
ti
h
f t , x(t )dt 23 fi 16 fi 1 5 fi 2
12
ti-1
Thus,
h
xi1 xi [23f (ti , xi ) 16f (ti1, xi1) 5f (ti2, xi2)]
12
Example: 4-Step Adams-Bashforth
h
xi 1 xi [55 f i 59 f i 1 37 f i 2 9 f i 3 ]
24
Implicit Multi-Step Methods
f 0 f 0 ,1 1 . 0000
f 0 . 1 f 0 . 1,1 . 104829 1 .094829
f 0 .2 f 0 . 2 ,1 . 218597 1 . 178597
x 2 1 . 218597
Predictor-Corrector Example
x Value
4th order Runge-Kutta
-4
Exact
Generally, the n-step -6
Adam Moulton
asuryanto.lecture.ub.ac.id