Topics: Interpolation


Let be a function whose exact definition we don’t know. All we know is various values of , like so:

Notice that every must be spaced by a constant , so that .

We will be able to interpolate for any within the constraints of the table by using a method known as Newton’s finite differences interpolation method.

Differences

First, we’ll define what a difference is.

The first differences are the differences between two consecutive values of . We denote these differences as :

Similarly, the second differences are the differences between two consecutive first differences, and they are denoted as :

In the same way, we have third differences , fourth differences , etc. We can also write these differences as , , , etc.

The number of difference tiers we have will depend on the size of our table (the amount of known points).

Interpolation Formulas

Given an contained within the constraints of the table (i.e. ), we can use these differences to interpolate its with one of two formulas that are used to obtain an interpolating polynomial.

For both of them, we choose a specific in our table as an anchor value; we’ll set this value to be .

Our choice between these two formulas will depend on the amount of differences that can be used with a given one (the greater, the better the approximation), as well as on how close is to (the closer, the better).

Forwards Interpolation

Let be:

We can obtain an approximation to our with the forwards interpolation formula:

Backwards Interpolation

Let be:

We can obtain our with the backwards interpolation formula: