Demostración de Integración de Romberg
https://personal.math.ubc.ca/~CLP/CLP2/clp_2_ic/ap_Romberg.html
Romberg Integration
The formulae (E4a,b) for and are, of course, only 1 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),
“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
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 3 , 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)
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 ).
Equation C.2.1. Romberg integration.
Let be the trapezoidal rule approximation, with step size to an integral The Romberg integration algorithm is
Example C.2.2. Finding by Romberg integration.
The following table 4 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.
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
No hay comentarios:
Publicar un comentario