Professional Documents
Culture Documents
4.1 Polynomial and Rational Extrapolation
4.1 Polynomial and Rational Extrapolation
4.1 Polynomial and Rational Extrapolation
Extrapolation Methods
yn = ( n ).
z t h
Suppose that the global error of a numerical method has an expansion in powers of
h of the form
X
q
i + O(hq+1)
( ) = ( )+
z t h y t i (t)h
c (4.1.2)
i=1
with j ( ) = 0, = 1 2
c t j ::: ; 1, for a method of order
p . Gragg 4] showed
p < q
that every explicit one-step method has such an expansion when ( ) is smooth. Implicit
y t
step sizes j , = 0 1 , so that successive terms of the error expansion (4.1.2) are
h j :::
( + 2 ( 0 )2 +
2) = ( ) + h0 h
2 2
z t h0 = y t c1 c ::: :
3 2 2+
= ( 0) ; ( 0 2) ;
1 0
c h c
2 z t h
4 0 z t h = h ::: :
The leading term of this expression furnishes a discretization error estimate of either
solution. Substituting the above expression into either of the two global error expansions
yields
2 ( 0 2) ; ( 0 ) = ( ) ; 22 20 +
z t h = z t h y t
c
h ::: :
either ( 0 ) or ( 0 2).
z t h z t h =
R1 t h ( ) = 0( ) + 1( )
t t h:
and
(
z t h0 = 2) = 0 ( ) + 1 (2)
t
t h0
:
2
z(t,h)
z(t,h 0 )
R 1 (t,h)
z(t,h 0 /2)
R 1 (t,0)
h 0/2 h0 h
the interpolating polynomial at = 0, i.e., q0( 0). The meaning of the superscript 0
h R t
i
Rq (h) = z (t hj ) j = i i +1 ::: i + q: (4.1.3)
Consider i
R q (h) in the form
R
i i
q (h) = iq (h)Rq ; 1 ( ) + (1 ; iq ( ))
h h R
i+1
q 1 (h)
;
(4.1.4a)
3
where iq ( ) is a linear polynomial in . By assumption,
h h
R
i
q ; 1 ( j) = (
h z t h j) j = i i +1 ::: i + ;1q
and
i+1
R q 1 (hj ) = z (t hj )
;
j = +1 +2 i i ::: i + q
R
i
q (h) = z (t hj ) j = +1 +2
i i ::: i + ;1q
iq ( i ) = 1
h iq ( h i+q ) = 0
then
i i i i+1
R q (hi ) = Rq ; 1 ( i) = (
h z t h i) R q (hi+q ) = Rq 1 (hi+q ) = z (t hi+q ): ;
iq ( ) = ;;
h
h hi+q
: (4.1.4b)
h i h i+q
i;
R :
h h i+q
We'll denote the extrapolated solutions qi (0) simply as qi . These functions may be
R R
simply generated in a tableau as indicated in Figure 4.1.2. Using (4.1.5), the entries of
the tableau are
(
z t h0 )= R0
0
R1
0
R2
0
R3
0
( ...
1) =
1 1 1
z t h R0 R1 R2
( ...
2) =
2 2
z t h R0 R1
( ...
3) =
3
z t h R0
...
hi ; hi+q
R q R q R ;
( hhi+i q ) ; 1
:
If this extrapolation technique is used with a rst-order method, then the values of qi R
that it is not necessary to halve the step size after each pass. Other step size sequences
can be used to reduce computation. For example
fh0 h0 = 2 h0 =3 h0 = 4 h0 = 6 h0 = 8 ::: g :
This should be done carefully since some sequences lead to a loss of stability (5], Section
II.9).
Example 4.1.2. Consider the solution of
y
0
=; y 0 < t 1 y (0) = 1
using the forward Euler method with step sizes i = 2 i, = 0 1 8. The results at h
;
i :::
t= 1 are reported in Table 4.1.1. The entries in the rst column ( = 0) are computed q
by Euler's method with step size i. Subsequent columns are obtained using (4.1.6). Let
h
us verify the entry in the rst row and second column of the upper table by using (4.1.6)
with = 0 and = 1 thus,
i q
0 ; 0
= 0 25 + 0 25 ; 0 0 = 0 5
1 0
0
= 1
+ R R : :
( h1 ) ; 1
h 20;10
R R : : :
1 0 0 : :
is Euler's method, computations increase at the rate of 2q+i when the basic step 0 = 1 h
is repeatedly halved. If worst-case round-o occurs at each step, the answers would lose
one bit of precision for each increase in or . We could reduce this problem by using
i q
5
q =0 1 2 3 4
= 0 0.0000 0.5000 0.3438 0.3701 0.3678
i
hi = 1=ri, for 1 < r 2. The worst case rounding errors in R0i will be proportional to
i i
r , since this is approximately the number of steps. The error in R could be as large as
1
i+1 + ri
i+1 + i+1 ( r + 1=r ):
;1 =
r
r
r
r
r ;1
6
The error in i
could be as large as
R q
q
i+q ( + 1 )( + 1 ) ( + 1 )
2
r =r r =r r =r
;1 r
2;1 r
q;1 r
:::
r
:
Values of near 2 will make the expression i+q large whereas values of near unity
r r q
will make the denominators in the above expression small. Bulirsch and Stoer 2] used
sequences with = 3 2 or = 4 3 so that i+q grows more slowly than with = 2.
r = r = r r
If the extrapolation is started with a method of order ( 1) and the method has p p
X
q
p+i + O(hp+q+1):
( ) = ( )+
z t h y t c i (t)h
i=0
In this case, the approximation qi has an error of order ( p+q+1).
R O h
Some methods have error expansions that only contain even powers of , e.g., h
X
q
i (q+1)
( ) = ( )+
z t h y t c i (t)h + ( O h )
i=1
where is typically 2 or 4. The extrapolation algorithm can be modied to take advantage
q 1 ; Rq 1
i+1 i
i
Rq = Rqi+11 +
R ; ;
(4.1.7)
( hhi+i q ) ; 1
;
:
Now, the order of the approximation is increased by in each successive column of the
extrapolation tableau. If the trapezoidal rule is solved exactly at each step, then it has
an expansion in powers of 2 ( = 2). h
Extrapolation with rational functions is also possible (5], Section II.9). The basic idea
is to approximate ( ) by a rational function ( ) and then evaluate (0). Bulirsch
z t h R h R
and Stoer 1] derived a scheme where qi ( ) is dened as the rational approximation that
R h
interpolates ( ) at = i i+1
z t h h i+q for = i
h h i+1
::: h i+q . The values h h > h > ::: > h
i =0 i = (
R;1 R0 z t h i) (4.1.8a)
q 1 ; Rq 1
i+1 i
i = i+1
q 1+ (4.1.8b)
R ; ;
R q R ;
( hhi+i q )21 ; Rqi+11 ; Rmi 1 Rqi+11 ; Rqi+22 ] ; 1
; ; ; ;
7
when the method has an error expansion in powers of 2. The computation of i ac-
h Rq
cording to (4.1.8b) is equivalent to interpolating ( ) by a function of the form
z t h
( a0 +a1 h2 +:::+aj hj
i b0 +b1 h2 +:::+bj hj if is even
j
Rj (h) = a0 +a1 h2 +:::+aj;1 hj;1 : (4.1.8c)
b0 +b1 h2 +:::+bj;1 hj;1 if is odd
j
There are several enhancements to the basic extrapolation approach. Some of these
follow.
1. A variable-order extrapolation algorithm could choose the order (i.e., the number
of columns in the tableau) adaptively. Error estimates can be computed as the dif-
ference between the rst subdiagonal element and the diagonal or by the dierence
between two successive diagonal elements.
2. Extrapolation methods can be written as Runge-Kutta methods if the step size and
order of the extrapolation are xed. In this case, convergence, stability, and error
bounds follow from the results of Chapter 3 for general one-step methods.
3. Implicit methods can be used in combination with extrapolation to solve sti prob-
lems. A survey of the state of the art was written by Deuhard 3] who prefers
polynomial extrapolation to rational extrapolation because rational extrapolation
lacks translation invariance, rational extrapolation can impose restrictions on the
base step size, and polynomial extrapolation is slightly more ecient.
8
Bibliography