3.3 Newton Polynomials

An efficient automated way to calculate interpolating polynomials.

Lagrange is best for pencil and paper but not for automation.
Neville's can be used as well but it is equivalent to Lagrange.

We want to be able to go from:
Nn(x), interpolating (xi,yi) for i=0,1,2,...,n
to:
Nn+1(x), interpolating (xi,yi) for i=0,1,2,...,n,n+1.

We can express this as:

Nn+1(x)=Nn(x)+an+1(xx0)(xx1)(xxn)

for some an+1

Nn+1(x)=a0+a1(xx0)+a2(xx0)(xx1)++an+1(xx0)(xx1)(xxn).

This is the Newton form of an interpolating polynomial

By examining coefficients in the recursion for Neville’s method:

Pi,m+1(x)=(xxi)Pi+1,m(x)(xxi+m+1)Pi,m(x)xi+m+1xi

The leading coefficient of Pi,m(x) is denoted by fi,m
The leading coefficient of Pi+1,m(x) if fi+1,m
we see that the xm+1 term in Pi,m+1(x) has the coefficient

fi,m+1=fi+1,mfi,mxi+m+1xifi,0=f(xi)Pn(x)=f0,0+f0,1(xx0)+f0,2(xx0)(xx1)++f0,n(xx0)(xx1)(xxn1)

Thus, by uniqueness of interpolation, the leading coefficient of P0,n(x) must match that of the Newton polynomial, which is why:

an+1=f0,n+1

Example

Step 1: Construct the Divided Difference Table

We compute divided differences for the points:

(5,15),(2,2),(3,15)
i Xi fi,0 fi,1 fi,2
0 -5 15 2152(5)=133 (135(133))3(5)=1315
1 -2 2 1523(2)=135
2 3 15

Step 2: Construct the Newton Polynomials

Polynomial interpolating (5,15)=x0:

P0(x)=f0,0(x)=15.


Polynomial interpolating (−5,15) and (−2,2):
x0x1

P1(x)=f0,0+f0,1(xx0)=15133(x(5))


Polynomial interpolating (−5,15),(−2,2),(3,15):
x0x1x2

P2(x)=f0,0+f0,1(xx0)+f0,2(xx0)(xx1)=15133(x(5))+135(x(5))(x(2))


Reordering the Points

Since interpolation is unique, the order of points does not change the polynomial. That means:

P2(x)=f3,0+f1,1(xx2)+f0,2(xx2)(xx1)=15+135(x3)+1515(x3)(x2)

P2(x)=f1,0+f0,1(x(2))+f0,2(x(2))(x(5))

are all the same


When constructing the interpolating polynomial, you can only move upward diagonally or to the right in the divided difference table. You cannot move downward, and you cannot skip around arbitrarily when selecting divided differences. This is because the points have to be adjacent.