Jump to content

Numerical Analysis/Romberg's method

Romberg's method approximates a definite integral by applying Richardson extrapolation to the results of either the trapezoid rule or the midpoint rule.

The initial approximations Rk,0 are obtained by applying either the trapezoid or midpoint rule with 2k+1 points. In the case of the trapezoid rule on [a,b],

Rk,0=hk(f(a)+f(b)2+∑i=12k−1f(a+hki))

where

hk=b−a2k

For k>0, we can reduce the number of places the function is evaluated by using our previously obtained approximations instead of re-sampling. For the trapezoid rule, this improvement gives

R0,0=(b−a2)[f(a)+f(b)]

and

R(k,0)=12R(k−1,0)+hk∑i=12k−1f(a+(2i−1)hk)

Richardson's extrapolation is then applied recursively, giving

Rk,j=4jRk,j−1−Rk−1,j−14j−1

Each successive level of improvement increases the order of error term from O(h2j) to O(h2j+2) at the expense of doubling the number of places the function is evaluated.