Newton's Divided Difference Method:
In this method, the nth order polynomial is taken as
y = a0 + a1 (x - x0) + a2 (x - x0) (x - x1) + . . . + an (x - x0) (x - x1) . . . (x - xn - 1)
A recursive formula is written down to determine the coefficients. The higher order coefficients are found out from the lower order ones. The coefficients are evaluated beginning with a1, a2 and a3 and so on up to an.
The general form of the nth order Newton's polynomial may be written as following
y = c0 + c1 (x - x0) + c2 (x - x0) (x - x1) + . . . + cn (x - x0) (x - x1) . . . (x - xn - 1)
To find out the (n + 1) coefficients, we need n + 1 data points such as (x0, y0), (x1, y1) . . . (xn, yn).
The coefficients are given by
c0 = y0
c1 = y1 - y0/ ( x1 - x0 ) = f ( x1 , x0 )
c2 = [ f ( x2 , x1 ) - f ( x1, x0 )] /( x 2 - x0 )= f ( x2 , x1 , x 0)
:
:
cn = f ( xn , xn -1, . . . , x1, x0 )