Numerical Analysis/Romberg's method

From testwiki
Revision as of 11:28, 17 December 2022 by imported>MathXplore (Moving from Category:Numerical analysis to Category:Numerical integration using Cat-a-lot)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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=12k1f(a+hki))

where

hk=ba2k

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=(ba2)[f(a)+f(b)]

and

R(k,0)=12R(k1,0)+hki=12k1f(a+(2i1)hk)

Richardson's extrapolation is then applied recursively, giving

Rk,j=4jRk,j1Rk1,j14j1

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.