A numerical robot model can produce a sequence whose first few values still sit noticeably away from an eventual answer. Aitken's delta-squared transformation uses three successive values to estimate and remove a particular error pattern. It is an extrapolation step, rather than independent proof that the supplied sequence converges or represents a valid physical model.
The arithmetic becomes transparent when the error is exactly geometric. It also exposes two important limitations: multiple error modes are not generally eliminated in one step, and a small second difference can amplify small changes in the input values.
Write the transformation before interpreting it
For three successive scalar values s_n, s_(n+1), and s_(n+2), define the first difference d = s_(n+1) − s_n and second difference D = s_(n+2) − 2s_(n+1) + s_n. When D is nonzero, the transformed value is t_n = s_n − d^2/D.
NIST documents this transformation and its acceleration property for linearly convergent sequences. Its broader discussion warns that a sequence transformation need not help every kind of sequence. SciPy documents an accelerated fixed-point method using this idea, distinct from plain iteration. No SciPy call was made for the original examples below.
Suppose s_n = L + c r^n, with c nonzero and r different from one. Then d = c r^n(r − 1) and D = c r^n(r − 1)^2. Their quotient d^2/D is exactly c r^n, so t_n = L in exact arithmetic whenever the denominator exists.
The cancellation identifies the constant part of this assumed form. If |r| < 1, that constant is also the sequence's limit. Those are two separate statements about the algebra and the original sequence.
An original geometric construction
Choose L = 4, c = 3, and r = 3/5. The first three values are 7, 5.8, and 5.08. Their first difference is −1.2, and their second difference is 0.48. Hence the transformed value is 7 − 1.44/0.48 = 4.
The original third value still has error 1.08, while this one transformed value is exact under the declared formula. Starting the same calculation at any later index also gives four. That exact agreement comes from a deliberately constructed single geometric mode, not an observed speedup for a robot algorithm.
Alternation does not prevent the cancellation. With the same L and c but r = −1/2, the first values are 7, 2.5, and 4.75. Now d = −4.5 and D = 6.75, so t_0 = 7 − 20.25/6.75 = 4 again.
A different test shows why the output alone is insufficient. Set r = 2. The values 7, 10, and 16 still give 7 − 9/3 = 4. But the original sequence 4 + 3 times 2^n diverges. Removing its geometric term algebraically did not turn that original sequence into a convergent one.
Two modes leave a residual error
Now use s_n = 4 + 3(3/5)^n + (1/2)(1/5)^n. Its first values are 7.5, 5.9, 5.1, and 4.652. Applying the transformation to the first triple gives 7.5 − 1.6^2/0.8 = 4.3, not four.
The next triple gives 5.9 − 0.8^2/0.352 = 449/110, approximately 4.081818182. A further triple gives 5827/1450, approximately 4.018620690. These transformed values improve on the corresponding original terms, but the one-step exact cancellation is gone.
The remaining error can be checked directly. Write the two error contributions at index n as A = c1 r^n and B = c2 q^n. Expanding the transformed numerator gives t_n − L = AB(r − q)^2/[A(r − 1)^2 + B(q − 1)^2], assuming a nonzero denominator.
At the first triple, A = 3, B = 1/2, r = 3/5, and q = 1/5. The numerator is 0.24 and denominator 0.8, leaving error 0.3. This identity describes this two-mode model; it is not an error estimator for an unknown sequence whose decomposition has not been established.
A small denominator changes sensitivity
Construct the convergent sequence s_n = 1 + (0.999)^n. Its first three exact values are 2, 1.999, and 1.998001. The first difference is −0.001 and the second difference is only 0.000001. Exact transformation gives 2 − 0.000001/0.000001 = 1.
Change only the last input upward by 0.000001. The second difference doubles to 0.000002, while the first difference is unchanged. The transformed result becomes 1.5. Changing that last input downward by the same amount makes the second difference zero and the formula undefined.
These are rational decimal calculations, so the sensitivity appears even before considering floating-point implementation. Roundoff, uncertain model evaluations, or truncated records can introduce analogous perturbations. A tiny update is not enough to declare the ratio well resolved; its denominator and input uncertainty also matter.
Zero second difference can mean different things
Three values on a nonconstant arithmetic progression have D = 0 and nonzero d. The transformation cannot remove that pattern with this formula. Three equal values instead give both numerator and denominator zero. They might represent a genuinely constant sequence, rounded values, or a temporary plateau; the undefined ratio does not decide among those possibilities.
A constant offset added to all three inputs leaves their differences unchanged and adds that offset to the transformed value. Multiplying all three by a nonzero factor multiplies the output by that factor. These affine checks help verify the formula's bookkeeping but do not repair a poorly determined denominator.
Retain the original sequence, the transformed candidate, and any independently justified stopping test as separate records. The calculations here use no numerical solver package or physical experiment. They show when a geometric extrapolation is exact and when its apparent decisiveness needs additional evidence.
Sources checked October 24, 2026
NIST Digital Library of Mathematical Functions, Section 3.9:
https://dlmf.nist.gov/3.9
SciPy 1.18.0: scipy.optimize.fixed_point:
https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.fixed_point.html
Concept illustration: A small desktop robot beside a laptop showing a generic workflow provides robotics context for this analytical model. The image does not depict the article's numerical example, a verified experiment, a product specification, or deployment evidence.