Topics: Interpolation
Let be a function whose exact definition we don’t know. All we know is various values of , like so:
Just like the tables we use for Newton’s divided differences method, and unlike the ones used for Newton’s finite differences method, the spacing between every does not need to be constant.
We will be able to interpolate for any within the constraints of the table by using a method known as Hermite’s interpolation method.
Just like Newton’s divided and finite differences method, we will use a table to aid us. This time around, though, instead of using as the main “measure”, we will use .
For every , let be:
In a Table
More simply, in a table:
Differences
We’ll also use differences, just like Newton’s finite and divided differences methods.
In fact, most of the differences will be just like the ones used in Newton’s divided differences method.
The only exceptions will be in the even-numbered first differences (if we start counting from ):
How to find the derivative?
Let’s say we’re calculating all of these differences from scratch. If we don’t know the function yet, how can we derivate it?
Easy. We obtain an approximating polynomial first by using one of the many other interpolation methods we know, then we derivate it.
The rest are the familiar divided differences. For rest of the first differences:
In general, for the th difference:
Differences Table
Similarly to Newton’s finite and divided differences method, we can build a differences table to better visualise all these differences:
Interpolation Formula
Given an contained within the constraints of the table (i.e. ), we can use these differences to interpolate its with the following formula that is used to obtain an interpolating polynomial.
We’ll choose a specific in our table as an anchor value; we’ll set this value to be .
Indeed, this formula is equivalent to Newton’s finite and divided differences’ forwards interpolation formulas. We can come up with a backwards interpolation formula for Hermite’s method, but notice we can just flip our table upside down and then interpolate with this formula to get the same result.