(3.4.6)
Tik=Ti,k−1+ Ti,k−1−Ti−1,k−1 hi−k
hi 2
1−Ti,k−1−Ti−1,k−1 Ti,k−1−Ti−1,k−2
−1
, 1≤k≤i≤m.
The same triangular tableau arrangement is used as for polynomial ex- trapolation: k is the column index, and the recursion (3.4.6) relates each tableau element to its left-hand neighbors. The meaning ofTik, however, is now as follows: The functionsTik(h) are rational functions inh2,
Tik(h) :=p0+p1h2+· · ·+pµh2µ q0+q1h2+· · ·+qνh2ν, µ+ν =k, µ=ν or µ=ν−1, with the interpolation property
Tik(hj) =T(hj), j =i−k, i−k+ 1, . . . , i.
We then define
Tik:=Tik(0),
and initiate the recursion (3.4.6) by putting Ti0 := T(hi) for i = 0, 1, . . ., m, andTi,−1 := 0 fori = 0, 1, . . ., m−1. The observed superiority of rational extrapolation methods reflects the more flexible approximation properties of rational functions [see Section 2.2.4].
In Section 3.5, we will illustrate how error estimates for extrapolation methods can be obtained from asymptotic expansions like (3.4.1). Under mild restrictions on the sequence of step lengths, it will follow that, for polynomial extrapolation methods based on even asymptotic expansions, the errors of Ti1 behave like h2i, those of Ti1 like h2i−1h2i and, in general, those ofTiklikeh2i−kh2i−k+1· · ·h2i asi→ ∞. For fixedk, consequently, the sequenceTik i=k,k+ 1,. . ., approximates the integral like a method of order 2k+ 2. For the sequence (3.4.5a) a stronger result has been found:
(3.4.7) Tik−
# b
a
f(x)dx= (b−a)h2i−kh2i−k+1. . . h2i(−1)kB2k+2
(2k+ 2)! f(2k+2)(ξ), for a suitable ξ ∈ (a, b) and f ∈ C2k+2[a, b] [see Bauer, Rutishauser and Stiefel (1963), Bulirsch (1964)].
of points whose distance — and consequently the coarseness of the sample
— was governed by a “step length”. To each such steph= 0 corresponded an approximate result T(h), which furthermore admitted an asymptotic expansion in powers of h. Analogous discretization methods are available for many other problems, of which the numerical integration of functions is but one instance. In all these cases, the asymptotic expansion of the result T(h) is of the form
(3.5.1) T(h) =τ0+τ1hγ1+τ2hγ2+· · ·+τmhγm+αm+1(h)hγm+1, 0< γ1< γ2<· · ·< γm+1,
where the exponents γi need not to be integers. The coefficients τi are independent ofh, the function αm+1(h) is bounded for h→0, and τ0 = limh→0T(h) is the exact solution of the problem at hand.
Consider, for example, numerical differentiation. Forh= 0, thecentral difference quotient
T(h) =f(x+h)−f(x−h) 2h
is an approximation to f(x). For functionsf ∈C2m+3[x−a, x+a] and
|h| ≤ |a|, Taylors’s theorem gives T(h) =1
2h
(f(x) +hf(x) +h2
2!f(x) +· · ·+ h2m+3
(2m+ 3)![f(2m+3)(x) +o(1)]
−f(x) +hf(x)−h2
2!f(x) +· · ·+ h2m+3
(2m+ 3)![f(2m+3)(x) +o(1)])
=τ0+τ1h2+· · ·+τmh2m+h2m+2αm+1(h)
where τ0 = f(x), τk = f(2k+1)(x)/(2k+ 1)!, k = 1, 2, . . ., m+ 1, and αm+1(h) =τm+1+o(1).
Using the one-sided difference quotient T(h) := f(x+h)−f(x)
h , h= 0,
leads to the asymptotic expansion
T(h) =τ0+τ1h+τ2h2+· · ·+τmhm+hm+1(τm+1+o(1)) with
τk= f(k+1)(x)
(k+ 1)! , k= 0,1,2, . . . , m+ 1.
We will see later that the central difference quotient is a better ap- proximation to base an extrapolation method on, as far as convergence is concerned, because its asymptotic expansion contains only even powers of the step lengthh. Other important examples of discretization methods
which lead to such asymptotic expansions are those for the solution of or- dinary differential equations [see Sections 7.2.3 and 7.2.12]. A systematic treatment of extrapolation methods is found in Brezinski and Zaglia (1991).
In order to derive an extrapolation method for a given discretization method with (3.5.1), we select a sequence of step lengths
F ={h0, h1, h2, . . .}, h0> h1> h2>· · ·>0,
and calculate the corresponding approximate solutionsT(hi),i= 0, 1, 2, . . .. Fori≥k, we introduce the “polynomials”
Tik(h) =b0+b1hγ1+· · ·+bkhγk, for which
Tik(hj) =T(hj), j=i−k, i−k+ 1, . . . , i, and we consider the values
Tik:=Tik(0)
as approximations to the desired value τ0. Rational functions Tik(h) are frequently preferred over polynomials. Also the exponentsγk need not be integer [see Bulirsch and Stoer (1964)].
For the following discussion of the discretization errors, we will assume thatTik(h) are polynomials with exponents of the formγk=γ k. Romberg integration [see Section 3.4] is a special case withγ= 2.
First, we consider the casei=k. In the sequel, we will use the abbre- viations
z:=hγ, zj:=hγj, j= 0,1, . . . , m.
Applying Lagrange’s interpolation formula (2.1.1.4) to the polynomial Tkk(h) =:Pk(z) =b0+b1z+b2z2+· · ·+bkzk
yields forz= 0
Tkk=Pk(0) = k j=0
cjPk(zj) = k j=0
cjT(hj) with
cj :=
!k
σ=jσ=0
zσ zσ−zj. Then
(3.5.2)
k j=0
cjzτj =
1 ifτ = 0,
0 ifτ = 1, 2,. . ., k, (−1)kz0z1· · ·zk ifτ =k+ 1.
Proof.By Lagrange’s interpolation formula (2.1.1.4) and the uniqueness of polynomial interpolation,
p(0) = k j=0
cjp(zj)
holds for all polynomialsp(z) of degree≤k. One obtains (3.5.2) by choosing p(z) as the polynomials
zτ, τ= 0,1, . . . , k, and
zk+1−(z−z0)(z−z1)· · ·(z−zk).
(3.5.2) can be sharpened for sequenceshj for which there exists a con- stantb >0 such that
(3.5.3) hj+1
hj ≤b <1 for allj.
In this case, there exists a constant Ck which depends only on b and for which
(3.5.4)
k j=0
|cj|zk+1j ≤Ckz0z1· · ·zk.
We prove (3.5.4) only for the special case of geometric sequences{hj}with hj=h0bj, 0< b <1, j = 0,1, . . . .
For the general case see Bulirsch and Stoer (1964). With the abbreviation θ:=bγ we have
zτj = (h0bj)γτ =zτ0θjτ. In view of (3.5.2), the polynomial
Pk(z) :=
k j=0
cjzj
satisfies Pk(θτ) =
k j=0
cjθjτ =z0−τ k j=0
cjzjτ=
1 forτ= 0,
0 forτ= 1, 2,. . .,k, so that Pk(z) has the k different rootsθτ, τ = 1, . . ., k. Since Pk(1) = 1 the polynomialPk must have the form
Pk(z) =
!k l=1
z−θl 1−θl. The coefficients ofPk alternate in sign, so that
k j=0
|cj|zjk+1=z0k+1 k j=0
|cj|(θ(k+1))j=zk+10 |Pk(−θk+1)|
=z0k+1
!k l=1
θk+1+θl 1−θl
=z0k+1θ1+2+···+k
!k l=1
1 +θl 1−θl
=Ck(θ)z0z1· · ·zk with
(3.5.5) Ck=Ck(θ) :=
!k l=1
1 +θl 1−θl.
This proves (3.5.4) for the special case of geometrically decreasing step lengthshj.
We are now able to make use of the asymptotic expansion (3.5.1) which gives fork≤m
Tkk= k j=0
cjT(hj)
= k j=0
cj[τ0+τ1zj+τ2zj2+· · ·+τkzkj +αk+1(hj)zjk+1], where of course, fork < m
αk+1(hj)zjk+1=τk+1hγjk+1+· · ·+τmhγjm+αm+1(hj)hγjm+1. By (3.5.2)
(3.5.6) Tkk=τ0+
k j=0
cjαk+1(hj)zk+1j .
Using (3.5.4) and|αm+1(hj)| ≤Mm+1 for allj≥0 [see (3.4.2)] we find for k=m
(3.5.7) |Tmm−τ0| ≤Mm+1Cmz0z1· · ·zm,
and fork < m,
(3.5.8) Tkk−τ0= (−1)kz0z1· · ·zk(τk+1+ 0(hγ0)), because ofαk+1(hj) =τk+1+O(hγj), (3.5.2), and (3.5.6).
The corresponding estimates for the error of Tik for the general case i≥kare obtained by just replacing in (3.5.7) and (3.5.8)z0,z1,. . .,zk by zi−k,zi−k+1, . . .,zi, andh0 byhi−k respectively, because Tikis obtained by extrapolating fromT(hj),j=i−k,i−k+ 1,. . .,i. Sincezj=hγj this leads to
(3.5.9) |Tim−τ0| ≤Mm+1Cmzi−mzi−m+1· · ·zi fori≥m, and fork < m,i≥k to
(3.5.10) Tik−τ0= (−1)khγi−khγi−k+1· · ·hγi(τk+1+O(hγi−k)).
Consequently, for fixedk andi→ ∞, Tik−τ0=O(h(k+1)γi−k ).
In other words, the elements Tik of the (k+ 1)st column of the tableau (3.4.4) converge to τ0 like a method of order (k+ 1)γ. Note that the in- crease of the order of convergence from column to column which can be achieved by extrapolation methods is equal to γ : γ= 2 is twice as good as γ = 1. This explains the preference for discretization methods whose corresponding asymptotic expansions contain only even powers ofh, e.g., the asymptotic expansion of the trapezoidal sum (3.4.1) or the central dif- ference quotient discussed in this section.
The formula (3.5.10) shows furthermore that the sign of the error re- mains constant for fixedk < mand sufficiently largeiprovidedτk+1 = 0.
Then
(3.5.11) 0<Ti+1,k−τ0
Tik−τ0 ≈ hγi+1
hγi−k ≤bγ(k+1)
Now in many casesbγ(k+1)< 12. Then the error of the quantity Uik:= 2Ti+1,k−Tik
satisfies
Uik−τ0= 2(Ti+1,k−τ0)−(Tik−τ0).
Fors:= sign (Ti+1,k−τ0) = sign (Ti,k−τ0) we have
s(Uik−τ0) = 2|Ti,k+1−τ0| − |Tik−τ0| ≈ −|Tik−τ0|<0.
Thus Uik converges monotonically to τ0, for i → ∞ at roughly the same rate asTik but from the opposite direction, so that eventuallyTik andUik
will include the limitτ0between them. This observation yields a convenient stopping criterion.
Example.The exact value of the integral
# π/2 0
5(eπ−2)−1e2xcosx dx
is 1. Using the polynomial extrapolation method of Romberg, and carrying 12 digits, we obtain for Tik, Uik, 0 ≤ i ≤ 6, 0 ≤ k ≤ 3 the values given in the following table.
i Ti0 Ti1 Ti2 Ti3
0 0.185 755 068 924
1 0.724 727 335 089 0.904 384 757 145
2 0.925 565 035 158 0.992 510 935 182 0.998 386 013 717
3 0.981 021 630 069 0.999 507 161 706 0.999 973 576 808 0.999 998 776 222 4 0.995 232 017 388 0.999 968 813 161 0.999 999 589 925 1.000 000 002 83 5 0.998 806 537 974 0.999 998 044 836 0.999 999 993 614 1.000 000 000 02 6 0.999 701 542 775 0.999 999 877 709 0.999 999 999 901 1.000 000 000 00
i Ui0 Ui1 Ui2 Ui3
0 1.263 699 601 26
1 1.126 402 735 23 1.080 637 113 22
2 1.036 478 224 98 1.006 503 388 23 1.001 561 139 90
3 1.009 442 404 71 1.000 430 464 62 1.000 025 603 04 1.000 001 229 44 4 1.002 381 058 56 1.000 027 276 51 1.000 000 397 30 0.999 999 997 211 5 1.000 596 547 58 1.000 001 710 58 1.000 000 006 19 0.999 999 999 978 6 1.000 149 217 14 1.000 000 107 00 1.000 000 000 09 1.000 000 000 00