Section C.2 Romberg Integration
The formulae (E4a,b) for and are, of course, only approximate since they are based on (E2), which is an approximation to (E1). Letโs repeat the derivation that leads to (E4), but using the full (E1),
โ1โ
โOnlyโ is a bit strong. Donโt underestimate the power of a good approximation (pun intended).
Now, as we did in the derivation of (E4b), multiply (E5b) by and then subtract (E5a). This gives
and then, dividing across by
Hence if we define our โnew improved approximationโ
we have
which says that is an approximation to whose error is of order one better than โs.
โ2โ
That is, the error decays as as opposed to โ so, as decreases, it gets smaller faster.
If has been computed for three values of we can generate for two values of and repeat the above procedure with a new value of And so on. One widely used numerical integration algorithm, called Romberg integration, applies this procedure repeatedly to the trapezoidal rule. It is known that the trapezoidal rule approximation to an integral has error behaviour (assuming that the integrand is smooth)
โ3โ
Romberg Integration was introduced by the German Werner Romberg (1909โ2003) in 1955.
Only even powers of appear. Hence
so that, using (E6) with
so that, using (E6) with
so that, using (E6) with
and so on. We know another method which produces an error of order 4 โ Simpsonโs rule. In fact, is exactly Simpsonโs rule (for step size ).
Example C.2.2. Finding by Romberg integration.
The following table illustrates Romberg integration by applying it to the area of the integral The exact value of this integral is which is to fourteen decimal places.
โ4โ
The second column, for example, of the table only reports decimal places for But many more decimal places of were used in the computations of etc.
1/4 | 3.13118 | 3.14159250246 | 3.14159266114 | 3.14159265359003 |
1/8 | 3.13899 | 3.141592651225 | 3.141592653708 | |
1/16 | 3.14094 | 3.141592653553 | ||
1/32 | 3.14143 |
This computation required the evaluation of only for with โ that is, a total of evaluations of Those evaluations gave us correct decimal places. By way of comparison, used the same evaluations of but only gave us correct decimal places.
As we have seen, Richardson extrapolation can be used to choose the step size so as to achieve some desired degree of accuracy. We are next going to consider a family of algorithms that extend this idea to use small step sizes in the part of the domain of integration where it is hard to get good accuracy and large step sizes in the part of the domain of integration where it is easy to get good accuracy. We will illustrate the ideas by applying them to the integral The integrand changes very quickly when is small and changes slowly when is large. So we will make the step size small near and make the step size large near