next up previous
Next: Gaussian Numerical Integration Up: Approximating the Definite Integral Previous: Simpson's Rule

Richardson Extrapolation

In our discussion of approximating the definite integral

displaymath2699

we assumed that f(x) is continuous on [a,b]. However, the bound on the error of the Trapezoidal method of approximation, given in Theorem 1.1, requires that tex2html_wrap_inline2313 exists on [a,b], and for Simpson's Rule, the bound for the error, given in Theorem 1.2, requires that tex2html_wrap_inline2629 exists on [a,b]. Compared to continuity on [a,b], the existence of a derivative on [a,b] is a rather strong requirement. In fact, a function that is randomly selected from the set of all functions that are continuous on [a,b] will have probability 0 that it also has a derivative on [a,b]. Thus we would not expect to encounter any function that has a derivative on a given interval (although we do so because the functions we normally deal with are not selected at random). Because of this, we need to find a way of approximating a definite integral to a given degree of accuracy without any foreknowledge of the error involved in the approximation.

When an appropriate number of derivatives can be found, then we have seen that the estimate of the error has the form

  equation510

for each the Trapezoidal Rule and Simpson's Rule. Here k is a constant which may vary with the function f(x), the interval [a,b], and the approximation method, and r is a real number: r = 2 for the Trapezoidal Rule and r = 4 for Simpson's Rule. If we denote tex2html_wrap_inline2733 to be either the sum tex2html_wrap_inline2173 from the Trapezoidal Rule or the sum tex2html_wrap_inline2501 from Simpson's Rule, then the expression for the error (7) can be rewritten as

  equation516

Now let a be a positive integer, and replace n with a n in (8). Then

displaymath2745

so that

displaymath2747

Note that this can then be compared with (8),

displaymath2749

from which we obtain

displaymath2751

Let us denote

  equation532

Then tex2html_wrap_inline2753 is an alternative estimate of the definite integral, its accuracy depending on the assumption of (7) for the estimate of the error. It requires one to find both tex2html_wrap_inline2733 and tex2html_wrap_inline2757, sums that require finding n + 1 and a n + 1 values of f(x), respectively, although the a n + 1 values of f(x) involved in evaluating tex2html_wrap_inline2757 include the n + 1 values that make up tex2html_wrap_inline2733. For the simplest case, we take a = 2 to obtain

  equation542

This is known as Richardson's extrapolation formula, and it is generally a more accurate approximation to the definite integral than is tex2html_wrap_inline2777, depending upon the validity of (7).

We can use the approximation tex2html_wrap_inline2753 to estimate the error in tex2html_wrap_inline2757:

eqnarray552

From (9), we obtain

eqnarray559

Therefore, for a = 2 we have

displaymath2785

This is known as Richardson's error estimate. Note that this is an estimate of the error in tex2html_wrap_inline2777, and not for the error in tex2html_wrap_inline2789.

Example 15 In Example 4 we used the Trapezoidal Rule to find the approximations tex2html_wrap_inline2173, for tex2html_wrap_inline2243, of the definite integral

displaymath2795

In particular, we have tex2html_wrap_inline2797 and tex2html_wrap_inline2799, with tex2html_wrap_inline2801. We can incorporate this information to find the Richardson's approximation tex2html_wrap_inline2803 with regard to the Trapezoidal Rule. For the Trapezoidal Rule, the value r = 2. The Richardson's approximation tex2html_wrap_inline2803 is then given by

displaymath2809

This is a much better approximation of tex2html_wrap_inline2379.

Richardson's error estimate gives

displaymath2813

Example 16 In Example 12 we incorporated Simpson's Rule with n = 4 to approximate the value of tex2html_wrap_inline2561. Recall that

displaymath2819

and we obtained the value tex2html_wrap_inline2821, with error tex2html_wrap_inline2823.

We can use the data given in Example 12 to apply Simpson's Rule with n = 2 to obtain

displaymath2827

This information can be utilized to find the Richardson's approximation tex2html_wrap_inline2829 with regard to Simpson's Rule. For Simpson's Rule, the value r = 4. The Richardson's extrapolation value tex2html_wrap_inline2829 is then given by

displaymath2835

while Richardson's error estimate gives

displaymath2837

Example 17 Let us apply the Richardson's extrapolation formula to the Trapezoidal approximation of the definite integral

displaymath2839

Recall that in this case our value r = 2. We form a table to illustrate the rate of convergence of tex2html_wrap_inline2843 for n = 1, 2, 4, 8, and 16. We also show the Richardson's estimate of the error tex2html_wrap_inline2849 for the Trapezoidal approximation, tex2html_wrap_inline2851, along with the actual error tex2html_wrap_inline2853 for the Richardson's method.

displaymath2855

Example 18 We shall now apply the Richardson's extrapolation formula to Simpson's approximation of the definite integral

displaymath2839

For Simpson's Rule, r = 4. Just as for Example 17, we illustrate the rate of convergence of tex2html_wrap_inline2861 for n = 2, 4, and 8, along with the Richardson's estimate of the error tex2html_wrap_inline2849 for the approximation due to Simpson's Rule, tex2html_wrap_inline2869, and the actual error tex2html_wrap_inline2853 for the Richardson's method.

displaymath2873

Example 19 Let us apply the Richardson's extrapolation formula to the Trapezoidal approximation of the definite integral

displaymath2875

Once again our value r = 2. We form a table of values of tex2html_wrap_inline2843 for n = 1, 2, 4, 8, 16, 32, 64, 128, 256, and 512, illustrating the Richardson's estimate of the error tex2html_wrap_inline2849 for the Trapezoidal approximation along with the actual error tex2html_wrap_inline2887 for the Richardson's method.

displaymath2889


next up previous
Next: Gaussian Numerical Integration Up: Approximating the Definite Integral Previous: Simpson's Rule