Aitken's delta-squared process


In numerical analysis, Aitken's delta-squared process or Aitken Extrapolation is a series acceleration method, used for accelerating the rate of convergence of a sequence. It is named after Alexander Aitken, who introduced this method in 1926. Its early form was known to Seki Kōwa and was found for rectification of the circle, i.e. the calculation of π. It is most useful for accelerating the convergence of a sequence that is converging linearly.

Definition

Given a sequence, one associates with this sequence the new sequence
which can, with improved numerical stability, also be written as
or equivalently as
where
and
for
Obviously, is ill-defined if contains a zero element, or equivalently, if the sequence of first differences has a repeating term.
From a theoretical point of view, if that occurs only for a finite number of indices, one could easily agree to consider the sequence restricted to indices with a sufficiently large. From a practical point of view, one does in general rather consider only the first few terms of the sequence, which usually provide the needed precision. Moreover, when numerically computing the sequence, one has to take care to stop the computation when rounding errors in the denominator become too large, where the Δ² operation may cancel too many significant digits.

Properties

Aitken's delta-squared process is a method of acceleration of convergence, and a particular case of a nonlinear sequence transformation.
will converge linearly to if there exists a number μ ∈ such that
Aitken's method will accelerate the sequence if
is not a linear operator, but a constant term drops out, viz:, if is a constant. This is clear from the expression of in terms of the finite difference operator.
Although the new process does not in general converge quadratically, it can be shown that for a fixed point process, that is, for an iterated function sequence for some function, converging to a fixed point, the convergence is quadratic. In this case, the technique is known as Steffensen's method.
Empirically, the A-operation eliminates the "most important error term". One can check this by considering a sequence of the form, where :
The sequence will then go to the limit like goes to zero.
One can also show that if goes to its limit at a rate strictly greater than 1, does not have a better rate of convergence.
In practice, converges much faster to the limit than does, as demonstrated by the example calculations below.
Usually, it is much cheaper to calculate than to calculate many more terms of the sequence. Care must be taken, however, to avoid introducing errors due to insufficient precision when calculating the differences in the numerator and denominator of the expression.

Example calculations

Example 1: The value of can be approximated by assuming an initial value for and iterating the following:
Starting with
nx = iterated valueAx
011.4285714
11.51.4141414
21.41666671.4142136
31.4142157--
41.4142136--

It is worth noting here that Aitken's method does not save two iteration steps; computation of the first three Ax values required the first five x values. Also, the second Ax value is decidedly inferior to the 4th x value, mostly due to the fact that Aitken's process assumes linear, rather than quadratic, convergence.
Example 2: The value of may be calculated as an infinite sum:
ntermx = partial sumAx
0110.79166667
1−0.333333330.666666670.78333333
20.20.866666670.78630952
3−0.142857140.723809520.78492063
40.111111110.834920630.78567821
5−9.0909091×10−20.744011540.78522034
67.6923077×10−20.820934620.78551795
7-6.6666667×10−20.75426795--
85.8823529×10−20.81309148--

In this example, Aitken's method is applied to a sublinearly converging series, accelerating convergence considerably. It is still sublinear, but much faster than the original convergence: the first Ax value, whose computation required the first three x values, is closer to the limit than the eighth x value.

Example pseudocode for Aitken extrapolation

The following is an example of using the Aitken extrapolation to help find the limit of the sequence when given, which we assume to be the fixed point. For instance, we could have with which has the fixed point so that .
This pseudo code also computes the Aitken approximation to. The Aitken extrapolates will be denoted by aitkenX. We must check if during the computation of the extrapolate the denominator becomes too small, which could happen if we already have a large amount of accuracy, since otherwise a large amount of error could be introduced. We denote this small number by epsilon.

%These choices depend on the problem being solved
x0 = 1 %The initial value
f = * %The function that finds the next element in the sequence
tolerance = 10^-10 %10 digit accuracy is desired
epsilon = 10^-16 %Don't want to divide by a number smaller than this
maxIterations = 20 %Don't allow the iterations to continue indefinitely
haveWeFoundSolution = false %Were we able to find the solution to within the desired tolerance? not yet.
for i = 1 : maxIterations
x1 = f
x2 = f
if
lambda = absoluteValue/) %OPTIONAL: computes an approximation of |f'|, which is denoted by lambda
end
denominator = - ;
if %Don't want to divide by too small of a number
print
break; %Leave the loop
end
aitkenX = x2 - /denominator

if %If the result is within tolerance
print) %Display the result of the Aitken extrapolation
haveWeFoundSolution = true
break; %Done, so leave the loop
end
x0 = aitkenX %Update x0 to start again

end
if %If we weren't able to find a solution to within the desired tolerance
print
print
end