Richardson’s extrapolation procedure yields a significant increase in the accuracy of numerical solutions of differential equations. We consider his elegant illustration of the technique, the evaluation of , and show how the estimates improve dramatically with higher order extrapolation.
[This post is a condensed version of a paper in Mathematics Today (Lynch, 2003).]
The Deferred Approach to the Limit
The finite difference method was developed by Lewis Fry Richardson in his study of stresses in masonry dams. The derivative of a function
exists if the ratio
tends to a definite limit as the increment
tends to zero. Differential calculus depends upon justifying the limiting process
. In approximating a differential equation by finite differences, we reverse the procedure, and replace derivatives by corresponding ratios of increments of the dependent and independent variables. Richardson described the procedure thus:
“Although the infinitesimal calculus has been a splendid success, yet there remain problems in which it is cumbrous or unworkable. When such difficulties are encountered it may be well to return to the manner in which they did things before the calculus was invented, postponing the passage to the limit until after the problem has been solved for a moderate number of moderately small differences.”
Richardson called this postponement of the process `the deferred approach to the limit’. The accuracy of the finite difference approximation depends on the grid size
. Richardson was one of the first to analyse the behaviour of the errors. He was careful to use centered differences wherever possible, so the derivative
would be replaced by
. For centered differences, the accuracy is typically of the second order; that is, the error diminishes like
as
.
The quadratic behaviour of the errors provides a universal means of checking and correcting them. If the quantity to be evaluated is estimated by
, we assume
where the functions are generally unknown and where odd powers of
are absent. For small
it may be sufficient to retain only the first two terms,
. Then if
is computed for two different grid sizes,
and
, the solutions being denoted
and
, we can eliminate
and obtain
where . This is what Richardson calls
-extrapolation. He notes that the method may be refined: if the solution is calculated for three values of
, the
term may also be eliminated; this is
-extrapolation. The extension to higher orders is obvious. The \hbox{
-extrapolation} requires the solution of a system of
simultaneous linear equations
It is an arithmetic burden, but an elementary task, to solve for .
Estimating by Extrapolation
To illustrate the power of his extrapolation method, Richardson considered the ancient problem of evaluating . The approximation of
by inscribing and circumscribing polygons in a unit circle goes back at least to Archimedes. By an
-gon, we mean a regular polygon having
sides. In Measurement of a Circle, Archimedes squeezed the unit circle between two 96-gons, bounding
within the interval
. Let us denote the estimate of
from an inscribed
-gon as
. A square inscribed in the unit circle has perimeter
, giving a crude estimate
. An inscribed hexagon has unit side, giving
, better but still pretty poor. We define the resolution by
so that
. Assuming the error is proportional to the square of the resolution, the errors in the two estimates are in the ratio
to
or
. Richardson’s
-extrapolation formula (2) then gives:
which is correct to three figures. This is a dramatic improvement on the two estimates from which it is constructed. As Richardson noted, a single inscribed -gon would require 35 sides to produce such accuracy.
The Power of the 2-gon
We may wonder if even better estimates of can be obtained without recourse to trigonometry, using Richardson’s approach. Indeed this is the case. An inscribed 2-gon is the degenerate polygon comprising two coincident diameters. It yields the unimpressive estimate
. However, when used in conjunction with
and
in a
-extrapolation, it leads to the estimate
, correct to four digits. A single
-gon of order 145 is required to give similar precision.
Spurred by this success, we consider higher order extrapolations. Retaining the simple spirit of Richardson, we `return to the manner in which they did things before trigonometry was invented’, and use only polygons whose sides can be computed by elementary geometry. An inscribed equilateral triangle has side . A pentagon requires more ingenuity, but can be drawn with ruler and compass and its edge length shown by elementary methods to be
.
Table 1 gives estimates of
for extrapolation using various combinations of polygons. We see that using four polygons, an estimate
is obtained, correct to six figures and equivalent to a single
-gon with 2887 sides. However, the most surprising result is that obtained by adding in the 2-gon. The estimate then improves to
which has eight good digits and gives a result similar to an inscribed 19364-gon.
Discussion
The estimation of is no longer a major concern of mainstream mathematics, although ever-higher accuracy is a challenge for computer scientists. A simple estimate such as
gives seven correct digits, adequate for most problems. Moreover, Richardson’s extrapolation process requires us to solve a linear system of equations, whose order increases with the order of the extrapolation.
However, the important conclusion from the above results is that the extrapolation procedure can dramatically improve accuracy. Thus, combining the abysmally poor estimate with
reduced the error by a factor of 17, and combining it with
resulted in a 45-fold reduction. The implication is that even a rough-and-ready estimate can enhance our knowledge if we have an understanding of the pattern of errors.
Sources
Lynch, Peter, 2003: Richardson Extrapolation: The Power of the 2-gon. Mathematics Today, 39(5), 159–160. PDF.
Richardson, Lewis F., 1927: The deferred approach to the limit. Part I: Single lattice. Phil. Trans. Roy. Soc., London, A226, 299–349.