Section C.1 Richardson Extrapolation
There are many approximation procedures in which one first picks a step size and then generates an approximation to some desired quantity For example, might be the value of some integral For the trapezoidal rule with steps, plays the role of the step size. Often the order of the error generated by the procedure is known. This means
with being some known constant, called the order of the error, and being some other (usually unknown) constants. If is the approximation to produced by the trapezoidal rule with then If Simpson’s rule is used,
Let’s first suppose that is small enough that the terms in (E1) are small enough that dropping them has essentially no impact. This would give
1
Typically, we don’t have access to, and don’t care about, the exact error. We only care about its order of magnitude. So if is small enough that is a factor of at least, for example, one hundred smaller than then dropping would not bother us at all.
Imagine that we know but that we do not know or and think of (E2) as an equation that the unknowns and have to solve. It may look like we have one equation in the two unknowns but that is not the case. The reason is that (E2) is (essentially) true for all (sufficiently small) choices of If we pick some say and use the algorithm to determine then (E2), with replaced by gives one equation in the two unknowns and and if we then pick some different say and use the algorithm a second time to determine then (E2), with replaced by gives a second equation in the two unknowns and The two equations will then determine both and
To be more concrete, suppose that we have picked some specific value of and have chosen and and that we have evaluated and Then the two equations are
The generation of a “new improved” approximation for from two ’s with different values of is called Richardson Extrapolation. Here is a summary
2
Richardson extrapolation was introduced by the Englishman Lewis Fry Richardson (1881--1953) in 1911.
This works very well since, by computing for two different ’s, we can remove the biggest error term in (E1), and so get a much more precise approximation to for little additional work.
Example C.1.2. Richardson extrapolation with the trapezoidal rule.
Applying the trapezoidal rule (1.11.6) to the integral with step sizes and (i.e. with and ) gives, with
So (E4b), with gives us the “new improved” approximation
We saw in Example 1.11.3 that so this new approximation really is “improved”:
agrees with to two decimal places, agrees with to three decimal places and- the new approximation agrees with
to eight decimal places.
Beware that (E3b), namely is saying that is (approximately) the error in not the error in You cannot get an “even more improved” approximation by using (E4a) to compute and then adding to the “new improved” of (E4b) — doing so just gives not a more accurate
Example C.1.3. Example 1.11.16 revisited.
Suppose again that we wish to use Simpson’s rule (1.11.9) to evaluate to within an accuracy of but that we do not need the degree of certainty provided by Example 1.11.16. Observe that we need (approximately) that so if we can estimate (using our Richardson trick) then we can estimate the required A commonly used strategy, based on this observation, is to
- first apply Simpson’s rule twice with some relatively small number of steps and
- then use (E4a), with
to estimate and - then use the condition
to determine, approximately, the number of steps required - and finally apply Simpson’s rule with the number of steps just determined.
Let’s implement this strategy. First we estimate by applying Simpson’s rule with step sizes and Writing we get
so that (E4a), with and replaced by yields
We want to use a step size obeying
like, for example, Applying Simpson’s rule with gives
The exact answer, to eight decimal places, is so the error in is indeed just under
Suppose now that we change our minds. We want an accuracy of rather than We have already estimated So now we want to use a step size obeying
like, for example, Applying Simpson’s rule with gives, to fourteen decimal places,
The exact answer, to fourteen decimal places, is so the error in is indeed just over