exponential Times

Richardson extrapolation

Richardson extrapolation enables accurate limits of sequences to be achieved more accurately and quickly. We are trying to estimate some constant A from a sequence AN or Ah where N or h0. We hope that as the limit is approached, the error goes to zero:

A=AN+ΔAN=Ah+ΔAh

Further, we might hope that the behaviour is a simple power of the parameter, negative in the case of N, positive for h:

A=AN+aNNα=Ah+bhhβ

If the powers have been chosen correctly the multiplicative factors should tend towards constants in the appropriate limit. We can estimate these constants by evaluating the A’s appropriately, for example:

A=AN+aNα=A2N+a(2N)αaNαA2NAN1(1/2)αAA2NAN/2α1(1/2)α=2αA2NAN2α1

A similar calculation gives:

A2βAh/2Ah2β1

We are looking to improve the estimate to e given by:

eN=(1+1N)N

On the page Basic analysis, the limit as Δx=1/N0 appears to be linear, so here α,β=1. So:

eN(1)=2e2NeN21=2e2NeN

should give us an improvement.

Generate e estimates

Largest N: 2

Moving to negative Δx,N:

Generate e estimates from negative Δx

Largest N: 2

Both Richardson extrapolations seem to converge from below, and may suggest a quadratic (power 2) error. They both seem to be approaching a value around 2.718281... As a reminder Javascript in your browser gives:

e = 2.718281828459045

Let us assume a quadratic error in eN(1):

eN(2)=22e2N(1)eN(1)221

Generate e estimates (2nd Richardson extrapolation)

Largest N: 2

Generate e estimates (2nd Richardson extrapolation, neg. (Δx))

Largest N: 2

Now the estimate seems to be between 2.7182818283 and 2.7182818286. Some further investigation can be made using a simple average of the even-order extrapolations for eN and eN with error of the two values from the average:

Exploration of Richardson extrapolation

N: 2
Order:

With the smallest N of 21, one finds the error reduces to 6.661338147750939e-14 when the order is 8, but then starts increasing, and even becoming erratic with going negative. This is indicative of an unreliable result. The best result at this level is therefore 2.718281828459084. Only the last two figures are off from the Javascript version. I was not able to improve on this value by increasing N or by varying the order. Even orders are preferred since the error should then have an odd power, which crosses at e, rather than just kissing it. This means that the estimates for positive and negative N bracket the value we are interested in.