A. F D I L (Marrakech)
CONVERGENCE ACCELERATION BY THE E
+p-ALGORITHM
Abstract. A new algorithm which generalizes the E-algorithm is pre- sented. It is called the E
+p-algorithm. Some results on convergence accel- eration for the E
+p-algorithm are proved. Some applications are given.
1. Introduction. Many convergent sequences (s
n) of complex numbers are of the form
(1) s
n= s + a
1g
1(n) + . . . + a
ig
i(n) + r
n,
where (g
i(n)), i = 1, . . . , k, are known sequences satisfying for each i, g
i+1(n) = o(g
i(n)) (i.e. g
i+1(n)/g
i(n) → 0 as n → ∞), the limit s of (s
n) and the coefficients a
i, i = 1, . . . , k, are unknown and r
n= o(g
k(n)).
When the sequences (g
i(n)), i = 1, . . . , k, satisfy g
i(n + 1)/g
i(n)
→ b
ias n → ∞, with some additional assumptions, the E-algorithm with (g
i(n)), i = 1, . . . , k, as auxiliary sequences is effective for accelerating (s
n) (see [2, 3, 5]). However, in general, the E-algorithm cannot accelerate (s
n) when the sequences (g
i(n + 1)/g
i(n)), i = 1, . . . , k, are not convergent. This is, for example, the case of the sequence
s
n= g
1(n) + r
n, where
g
1(2n) = 1
3
n, g
1(2n + 1) = 1 3
n+ 1
5
n, r
2n= 1
4
n, r
2n+1= 0 for n = 0, 1, . . . We have
g
1(2n + 1)
g
1(2n) −→
n1, g
1(2n + 2) g
1(2n + 1) −→
n1
3 , g
1(n + 2) g
1(n) −→
n1
3 .
1991 Mathematics Subject Classification: Primary 65B05.
Key words and phrases : convergence acceleration, E-algorithm, linear periodic con- vergence, numerical quadrature.
[327]
The convergence of (s
n) is linear periodic of period 2. One can easily check that (s
n) is not accelerated by the sequence transformation
E
1: (s
n) → g
1(n + 1)s
n− g
1(n)s
n+1g
1(n + 1) − g
1(n)
which is the first step of the E-algorithm. However, the sequence transfor- mation
E
+2,1: (s
n) → g
1(n + 2)s
n− g
1(n)s
n+2g
1(n + 2) − g
1(n)
does accelerate (s
n).
The sequence transformation E
+2,1is a particular case of the sequence transformation
E
+p,1: (s
n) → g
1(n + p)s
n− g
1(n)s
n+pg
1(n + p) − g
1(n)
,
where p is a positive integer, p ≥ 1 and (g
1(n)) is an auxiliary sequence. It includes the sequence transformation T
+pof Gray and Clark (g
1(n) = ∆s
n) [7] and the process (∆
2p) of Delahaye (g
1(n) = s
n+p− s
n) [4].
In order to accelerate convergence of sequences (s
n) of complex numbers of the form (1), where the g
iare such that
g
i((n + 1)p + j)
g
i(np + j) −→
nb
j,ifor j = 0, . . . , p − 1
(p is a fixed positive integer), we present in Section 2 a new algorithm called the E
+p-algorithm. Its first step is the preceding sequence transformation E
+p,1. It is a generalization of the E-algorithm.
In Section 3 we establish some results on convergence acceleration for the E
+p-algorithm. Section 4 is devoted to some applications of the E
+p- algorithm. Numerical examples are given for illustrating the theoretical results.
2. The E
+p-algorithm. Let us begin with the following notations:
• N: the set of positive integers.
• N
∗= N − {0}.
• C: the set of complex numbers.
• Re z: real part of the complex number z.
• Conv(C): the set of convergent sequences of complex numbers.
• If (s
n) ∈ Conv(C), then s denotes its limit.
• u
n= o(v
n) means that u
n/v
n→ 0 as n → ∞.
Let p ∈ N
∗. Let (s
n) ∈ Conv(C) be such that for all n ∈ N,
(2) s
n= s + a
1g
1(n) + . . . + a
ig
i(n) + . . . ,
where the g
iare some known sequences. We have s
n= s + a
1g
1(n) + . . . + a
ig
i(n) + . . . , s
n+p= s + a
1g
1(n + p) + . . . + a
ig
i(n + p) + . . . Thus
g
1(n + p)s
n− g
1(n)s
n+pg
1(n + p) − g
1(n) = s +
∞
X
i=2
a
ig
1(n + p)g
i(n) − g
1(n)g
i(n + p) g
1(n + p) − g
1(n) . Set
E
+p,1(n)= g
1(n + p)s
n− g
1(n)s
n+pg
1(n + p) − g
1(n) , g
1,i(n)= g
1(n + p)g
i(n) − g
1(n)g
i(n + p)
g
1(n + p) − g
1(n) , n ≥ 0, i ≥ 2.
Thus
E
+p,1(n)= s + a
2g
(n)1,2+ . . . + a
ig
1,i(n)+ . . .
The sequence (E
(n)+p,1) is of the form (2). Consequently, the process can be repeated. Thus, we obtain the following E
+p-algorithm:
E
+p,0(n)= s
n, g
0,i(n)= g
i(n), n ≥ 0, i ≥ 1, E
+p,k(n)= g
k−1,k(n+p)E
+p,k−1(n)− g
k−1,k(n)E
+p,k−1(n+p)g
(n+p)k−1,k− g
k−1,k(n), n ≥ 0, k ≥ 1,
g
(n)k,j= g
k−1,k(n+p)g
(n)k−1,j− g
k−1,k(n)g
(n+p)k−1,jg
(n+p)k−1,k− g
k−1,k(n), n ≥ 0, k ≥ 1, j > k.
The sequences (g
i(n)), i ≥ 1, are called the auxiliary sequences of the E
+p- algorithm.
Remarks . 1. When p = 1, we obtain the E-algorithm.
2. For each j > k, the sequence (g
k,j(n))
nis obtained by applying the sequence transformation E
+p,k: (s
n) → (E
+p,k(n)) to the sequence (g
j(n)).
3. If the sequences (g
1(n)), . . . , (g
k(n)) do not depend (respectively de- pend) on (s
n), then the sequence transformation E
+p,kis linear (respectively nonlinear).
4. The E
+p-algorithm can be generalized by replacing p by an integer p(n, k) (depending on n and k) in the rules of the E
+p-algorithm.
Theorem 1. Let j ∈ {0, . . . , p−1} and k ≥ 0. Let E
j,k(n), k ≥ 0, n ≥ 0, be the quantities obtained by applying the E-algorithm (i.e. the E
+1-algorithm ) to (s
np+j)
nwith (h
j,i(n)) = (g
i(np+j)), i = 1, 2, . . . , as auxiliary sequences.
Then E
j,k(n)= E
+p,k(np+j)for all n ≥ 0.
P r o o f. By induction on k with the help of Remarks 1 and 2.
Definition. Let m ∈ N
∗. Let (s
n) be a sequence of complex numbers.
We say that (s
n) is m-periodic if s
n+m= s
nfor n = 0, 1, . . .
Definition. Let T be a sequence transformation. The set of sequences (s
n) such that the sequence (T
(n)) obtained by applying T to (s
n) is 1-periodic is called the kernel of T .
Theorem 2 (see [2]). The kernel of the sequence transformation E
+1,kis the set of sequences (s
n) such that
s
n= s + a
1g
1(n) + . . . + a
kg
k(n), n = 0, 1, . . .
Theorem 3. The kernel of the sequence transformation E
+p,kis the set of sequences (s
n) of the form
s
n= s + a
1(n)g
1(n) + . . . + a
k(n)g
k(n), n ≥ 0, where the sequences (a
i(n)), i = 1, . . . , k, are p-periodic.
P r o o f. This follows immediately from Theorems 1 and 2.
Remark . The kernel of E
+p,kcontains the kernel of E
+1,k. Theorem 4 (see [2]). If for all n,
s
n= s + a
1g
1(n) + . . . + a
ig
i(n) + . . . , then for all k and n,
E
+1,k(n)= s + a
k+1g
k,k+1(n)+ . . . + a
ig
k,i(n)+ . . . An immediate consequence of Theorems 1 and 4 is Theorem 5. If for all n,
s
n= s + a
1(n)g
1(n) + . . . + a
i(n)g
i(n) + . . . ,
where the sequences (a
i(n)), i ≥ 1, are p-periodic, then for all k and n, E
+p,k(n)= s + a
k+1(n)g
k,k+1(n)+ . . . + a
i(n)g
(n)k,i+ . . .
Let us now establish some results on convergence acceleration for the E
+p-algorithm.
3. Convergence acceleration. Let (s
n) ∈ Conv(C). Let k ∈ N
∗. Theorem 6. Assume that:
1. E
+p,k−1(n)→ s as n → ∞.
2. There are ε > 0 and n
0such that for all n ≥ n
0,
|g
k−1,k(n+p)/g
(n)k−1,k− 1| ≥ ε.
Then E
+p,k(n)→ s as n → ∞.
P r o o f. We have
E
+p,k(n)− s = (E
+p,k−1(n)− s) + (E
+p,k−1(n)− s) − (E
+p,k−1(n+p)− s) g
k−1,k(n+p)/g
k−1,k(n)− 1 . Thus
|E
+p,k(n)− s| ≤
1 + 2
|g
(n+p)k−1,k/g
k−1,k(n)− 1|
max(|E
+p,k−1(n)− s|, |E
+p,k−1(n+p)− s|), and from assumptions 1 and 2 we get the assertion.
Theorem 7. Assume that:
1. E
+p,k−1(n)→ s as n → ∞.
2. For each j ∈ {0, . . . , p − 1}, g
k−1,k((n+1)p+j)/g
(np+j)k−1,k→ l
j6= 1 as n → ∞.
Then:
(i) E
+p,k(n)→ s as n → ∞.
(ii) E
+p,k(n)− s = o(E
(n)+p,k−1− s) iff
∀j ∈ {0, . . . , p − 1}, E
+p,k−1((n+1)p+j)− s
E
+p,k−1(np+j)− s −→
nl
j. P r o o f. (i) follows from Theorem 6.
(ii) We have
(3) E
+p,k(n)− s
E
+p,k−1(n)− s =
g
(n+p)k−1,kg
k−1,k(n)− E
+p,k−1(n+p)− s E
+p,k−1(n)− s g
k−1,k(n+p)g
(n)k−1,k− 1 ,
(4) E
+p,k(n)− s = o(E
+p,k−1(n)− s) iff
∀j ∈ {0, . . . , p − 1}, E
+p,k(np+j)− s = o(E
(np+j)+p,k−1− s).
From (3)–(4) and assumption 2 we get the assertion.
Remark . If Q
p−1j=0
l
j6= 0, then
E
+p,k(n)− s = o(E
+p,k−1(n+p)− s) iff E
+p,k(n)− s = o(E
+p,k−1(n)− s).
Let L
pbe the set of sequences (s
n) ∈ Conv(C) such that for every j ∈ {0, . . . , p − 1},
s
(n+1)p+j− s
s
np+j− s −→
na
j∈ [−1, 1[.
Then L
pcontains the set P
pof sequences (s
n) ∈ Conv(C) such that for all j ∈ {0, . . . , p − 1},
s
np+j+1− s
s
np+j− s −→
na
j6= 1 with 0 <
p−1
Y
j=0
a
j< 1
(i.e. the convergence of (s
n) is linear periodic of period p). The sequence transformation (∆
2p) accelerates P
p(i.e. (∆
2p) accelerates the convergence of each sequence (s
n) ∈ P
p; see [4]).
Theorem 8. The sequence transformation (∆
2p) accelerates L
p. The sequence transformation T
+paccelerates the set of sequences (s
n) ∈ L
psuch that for all j ∈ {0, . . . , p − 1},
n→∞
lim
s
(n+1)p+j+1− s
(n+1)p+js
np+j+1− s
np+j= lim
n→∞
s
(n+1)p+j− s s
np+j− s . In particular , T
+paccelerates P
p.
P r o o f. This follows from Theorem 7.
Definition. We say that the auxiliary sequences (g
i(n)), i ≥ 1, of the E
+p-algorithm satisfy the condition (b
+p) if for all i ≥ 1 and j ∈ {0, . . . . . . , p − 1},
g
i((n + 1)p + j)
g
i(np + j) −→
nb
j,i6= 1 with b
j,i6= b
j,kfor k 6= i.
Remarks . 1. The condition (b
+1) is a condition due to Brezinski, under which some results on convergence acceleration for the E-algorithm are proved in [2].
2. If the g
isatisfy the condition (b
+1), then the condition (b
+p) is satis- fied in the following cases:
(i) |b
0,i| 6= |b
0,j| for all i 6= j;
(ii) the numbers b
iare real and b
0,ib
0,j> 0 for all i 6= j;
(iii) the numbers b
0,iare real and p is odd.
We assume in the sequel that the condition (b
+p) is satisfied.
Lemma . Let j ∈ {0, . . . , p − 1}. For each k ≥ 0 and i > k, g
k,i((n+1)p+j)g
k,i(np+j)−→
nb
j,i. P r o o f. By induction on k.
With the help of Theorem 7 and the Lemma, we can easily prove Theorem 9. Let (s
n) ∈ Conv(C), k ≥ 1. Then:
1. E
+p,k(n)→ s as n → ∞.
2. E
+p,k(n)− s = o(E
+p,k−1(n)− s) iff for all j ∈ {0, . . . , p − 1}, E
+p,k−1((n+1)p+j)− s
E
+p,k−1(np+j)− s −→
nb
j,k.
Definition. Let (f
i(n)), i = 1, 2, . . . , be some sequences of complex numbers. Then (f
1, . . . , f
i, . . .) is called an asymptotic sequence if for each i, f
i+1(n) = o(f
i(n)).
Let (f
1, . . . , f
i, . . .) be an asymptotic sequence. Let (t
n) be a sequence of complex numbers. The notation
t
n≈ a
1(n)f
1(n) + . . . + a
k(n)f
k(n) + . . . ,
where for each i, (a
i(n)) is a p-periodic sequence, means that for all k ≥ 1, t
n= a
1(n)f
1(n) + . . . + a
k(n)f
k(n) + o(f
k(n)) as n → ∞
(i.e. for each j ∈ {0, . . . , p − 1}, (t
np+j) has an asymptotic expansion with respect to (h
1, . . . , h
i, . . .) where (h
i(n)) = (f
i(np + j)), i = 1, 2, . . .).
By using the previous Lemma, we can easily prove
Theorem 10. If (g
1, . . . , g
i, . . .) is an asymptotic sequence, then so is (g
k,k+1, . . . , g
k,i, . . .) for each k ≥ 1.
Theorem 11. Let (s
n) ∈ Conv(C). Assume that:
1. (g
1, . . . , g
i, . . .) is an asymptotic sequence.
2. s
n− s ≈ a
1(n)g
1(n) + . . . + a
i(n)g
i(n) + . . . where (a
i(n)) is p-periodic for each i.
For each k ≥ 1, we have:
(i) E
+p,k(n)− s ≈ a
k+1(n)g
(n)k,k+1+ . . . + a
i(n)g
k,i(n)+ . . .
(ii) If a
i(n) = 0 for all i > k and n, then E
+p,k(n)= s for all n.
(iii) Let j ∈ {0, . . . , p − 1}. If a
i(j) = 0 for all i > k, then E
+p,k(np+j)= s for all n. If the coefficients a
i(j), i ≥ k, are not all zero, then
E
+p,k(np+j)− s
E
+p,k−1(np+j)− s −→
nb
j,k− b
j,ijb
j,k− 1 ,
where i
jis the smallest index such that i
j≥ k and a
ij(j) 6= 0.
(iv) If Q
p−1j=0
a
k(j) 6= 0 then E
(n)+p,k− s = o(E
+p,k−1(n+p)− s).
P r o o f. (i) By induction on k.
(ii), (iii) and (iv) follow from (i).
Remark . If Q
p−1j=0
a
k(j) 6= 0 for each k ≥ 1, then E
+p,k(n)− s =
o(E
+p,k−1(n+p)− s) for all k ≥ 1.
An immediate consequence of Theorem 11 is
Corollary . Let (s
n) ∈ Conv(C). Assume that (g
1, . . . , g
i, . . .) is an asymptotic sequence. If
s
n− s ≈ a
1g
1(n) + . . . + a
ig
i(n) + . . . ,
where a
i6= 0 for all i ≥ 1, then E
+p,k(n)− s = o(E
+p,k−1(n+p)− s) for all k ≥ 1.
Theorem 12. Let (s
n) ∈ Conv(C). Assume that:
1. For each j ∈ {0, . . . , p − 1}, (5) s
np+j− s ≈ λ
njn
αja
j,0+ a
j,1n
αj,1+ . . . + a
j,in
αj,i+ . . .
,
where 0 < |λ
j| < 1, a
j,06= 0, 0 < Re α
j,1< Re α
j,2< . . . < Re α
j,i< . . . 2. The auxiliary sequences (g
i(n)) of the E
+p-algorithm are such that for all i ≥ 1 and j ∈ {0, . . . , p − 1},
g
i(np + j) ≈ λ
njn
θj,ia
j,i,0+ a
j,i,1n
αj,i,1+ . . . + a
j,i,kn
αj,i,k+ . . .
, with a
j,i,06= 0, 0 < Re α
j,i,1< Re α
j,i,2< . . . < Re α
j,i,k< . . .
Then for each k ≥ 1 and each j ∈ {0, . . . , p − 1}, either there exists n
0such that E
+p,k(np+j)= s for all n ≥ n
0, or E
+p,k(np+j)− s = o(E
((n+1)p+j)+p,k−1− s) and
E
+p,k(np+j)− s ≈ λ
njn
βj,kb
j,k,0+ b
j,i,1n
βj,i,1+ . . . + b
j,i,kn
βj,i,k+ . . .
,
with b
j,k,06= 0, Re β
j,k≤ Re α
j− k, 0 < Re β
j,i,1< Re β
j,i,2< . . . . . . < Re β
j,i,k< . . .
P r o o f. By induction on k.
Theorem 12 generalizes a result for the E-algorithm (i.e. p = 1) given in [5].
Definition. The E
+p-algorithm is called effective on (s
n) if for all k ≥ 1, either E
+p,kis exact on (s
n) (i.e. there exists n
0such that E
+p,k(n)= s for all n ≥ n
0) or E
+p,k(n)− s = o(E
+p,k−1(n+p)− s).
Theorem 13. Assume that (s
n) satisfies (5). The E
+p-algorithm with the following particular auxiliary sequences is effective on (s
n):
I. g
i(n) = s
n+ip− s
n+(i−1)p, i ≥ 1;
II. g
1(np + j) = λ
np+jjn
βj, β
j∈ C, j = 0, . . . , p − 1 and g
i(n) = s
n+(i−1)p− s
n+(i−2)pfor i ≥ 2;
III. g
i(n) = (s
n− s
n−p)/n
i−1, i ≥ 1;
IV. g
i(n) = (s
n− s
n−p)/n
i−2, i ≥ 1;
V. g
i(n) = (s
n+p− s
n)(s
n− s
n−p)
2(s
n+p− 2s
n+ s
n−p)n
i−1, i ≥ 1;
VI. g
i(np + j) = λ
np+jj(n + i)
βj, β
j∈ C, i ≥ 1, j = 0, . . . , p − 1.
P r o o f. This follows immediately from Theorem 12.
Let us mention that in the cases considered in Theorem 13 the E
+p- algorithm is a generalization of the ε-algorithm (case I), the process p (case II), the transformation T of Levin (case III), the transformation U of Levin (case IV), the transformation V of Levin (case V), and the G-transformation (case VI).
4. Applications. Let (s
n) be a convergent sequence such that the error s
n− s has an asymptotic expansion of the form
s
n− s ≈ a
1g
1(n) + . . . + a
ig
i(n) + . . . , where for all i ≥ 1 and j ∈ {0, . . . , p − 1},
g
i(np + j)
g
i(np + j − 1) −→
nb
j,iwith
p−1
Y
m=0
b
m,i6= 0, 1 and
p−1
Y
m=0
b
m,i6=
p−1
Y
m=0
b
m,kfor i 6= k.
The auxiliary sequences (g
i(n)), i ≥ 1, satisfy the condition (b
+p). Conse- quently, we can use the E
+p-algorithm for accelerating (s
n).
If there exist i
0≥ 1 and r, s ∈ {0, . . . , p − 1} such that b
r,i06= b
s,i0then (g
i0(n+1)/g
i0(n)) is not convergent. Hence, we cannot use Brezinski’s result [2] and Fdil’s result [5] for the E-algorithm.
Assume that the auxiliary sequences (g
i(n)), i ≥ 1, of the E-algorithm are such that for all k ≥ 0 and i > k,
g
(n+1)k,ig
(n)k,i−→
nb
iwith 1 > b
1≥ . . . ≥ b
i≥ . . .
If some numbers b
iare close to 1, the E-algorithm is numerically unstable.
Choose a positive integer p
∗(odd if there exists i such that b
i= −1) such that b
p1∗is not close to 1 (for example, b
p1∗≤ 0.8). Then the condition (b
+p∗) is satisfied and the E
+p∗-algorithm with (g
i(n)), i ≥ 1, as auxil- iary sequences is numerically stable. Consequently, we can use the E
+p∗- algorithm instead of the E-algorithm for accelerating the convergence. For illustration, consider the sequence
s
n=
n
X
k=0
(k + 1)(k + 2)(.9)
k, n = 0, 1, . . .
It is convergent to s = 2000. From a result due to Wimp [14, p. 19], we get s
n− s ≈ a
1g
1(n) + . . . + a
ig
i(n) + . . .
with g
i(n) = (.9)
n(n + 1)
2−i+1, i ≥ 1, n ≥ 0.
Applying the E-algorithm and the E
+4-algorithm to (s
n), with g
i(n), i ≥ 1, as auxiliary sequences, we obtain
n E
(0)nE
(0)+4,n/4
4 2000.00000000115 2.934258724233079 8 2000.000000001432 28.04921739106413 12 2000.000000010298 1999.999999999997 16 2000.000000096219 2000.000000000004 20 2000.000060098672 2000.000000000002 24 1999.999887612695 1999.999999999999
Let us now give another application of the E
+p-algorithm.
The use of some quadrature formulas for computing the integral s =
T1 0
. . .
T1
0
f (x
1, . . . , x
k) dx
1. . . dx
k, where f does not have a logarithmic sin- gularity, often leads to an asymptotic expansion of the form
(6) T (h) − s ≈ a
1h
γ1+ . . . + a
kh
γk+ . . . ,
where T (h) is an approximate value of s, associated with the step length h ([0, 1] is divided into 1/h subintervals of length h), 0 < γ
1< . . . < γ
i< . . . (see, for example, [6, 8–12]).
Let (h
n) be a sequence of step lengths. Set s
n= T (h
n), n ≥ 0, and g
i(n) = h
γnifor i ≥ 1, n ≥ 0. Thus
s
n− s ≈ a
1g
1(n) + . . . + a
ig
i(n) + . . .
For the choice h
n= 1/2
n, n ≥ 0 (geometric sequence), the auxiliary sequences (g
i(n)), i ≥ 1, satisfy the condition (b
+1) (b
i= 1/2
γi) and the E-algorithm is numerically stable. Consequently, we can compute s with high accuracy. The disadvantage of this choice is that the number of function evaluations is doubled from one step to the next.
The choice h
n= 1/(n + 1), n ≥ 0 (harmonic sequence), is the most economic in terms of the number of function evaluations. However, the E-algorithm with (g
i(n)), i ≥ 1, as auxiliary sequences is numerically un- stable.
H˚ avie [9] proposed the following general choice:
h
2n= 1
σ
0M
n, h
2n+1= 1
σ
1M
n, n ≥ 0,
where σ
0, σ
1, M ∈ N
∗with 1 ≤ σ
0< σ
1, 2 ≤ M.
σ
0σ
1M (h
n) 1 2 4 (
12)
n1 2 3 Bauer
2 3 2 Bulirsch
For this general choice, we have, for all i ≥ 1 and n ≥ 0, g
i(2n + 1)
g
i(2n) = σ
0σ
1 γi, g
i(2n + 2) g
i(2n + 1) =
σ
1σ
0M
γi.
The sequences (g
i(n)), i ≥ 1, satisfy the condition (b
+2). Consequently, the E
+2-algorithm can be used for accelerating (s
n).
Let p be a positive integer, p ≥ 2. Put h
j= 1
2
j, h
p(n+1)+j= 1
2
n+p+ j , j = 0, . . . , p − 1, n = 0, 1, . . . This choice is more economical than H˚ avie’s choice. We have, for all i ≥ 1,
g
i(np)
g
i(np − 1) −→
n1 2
γi, g
i(np + j)
g
i(np + j − 1) −→
n1 for j = 1, . . . , p − 1, g
i(n + p)
g
i(n) −→
nb
i= 1 2
γi.
The condition (b
+p) is satisfied and the E
+p-algorithm is numerically stable.
Thus, we can use the E
+p-algorithm for computing s with high accuracy.
Note that the E-algorithm with g
i(n) = h
γni, i ≥ 1, as auxiliary sequences is numerically unstable because for all i ≥ 1, the sequence (g
i(n + 1)/g
i(n)) has 1 as an accumulation point.
Example :
1
\
0
√ 1
x dx = 2.
Let T (h) be the approximate value of s =
T1 0
(1/ √
x) dx computed by the rectangular method:
T (h) = h
1/h−1
X
k=0
((k + 1/2)h)
−1/2.
The function T (h) has an asymptotic expansion of the form (6), with γ
i= (2i − 1)/2 for i = 1, 2, . . .
Let (h
n) be the preceding sequence of step lengths with p = 4. Applying
the E-algorithm and the E
+4-algorithm to the sequence s
n= T (h
n), we
obtain
n E
n(0)E
(0)+4,n/4