Thiele's interpolation formula

From HandWiki

In mathematics, Thiele's interpolation formula is a formula that defines a rational function f(x) from a finite set of inputs xi and their function values f(xi). The problem of generating a function whose graph passes through a given set of function values is called interpolation. This interpolation formula is named after the Danish mathematician Thorvald N. Thiele. It is expressed as a continued fraction, where ρ represents the reciprocal difference:

f(x)=f(x1)+xx1ρ(x1,x2)+xx2ρ2(x1,x2,x3)f(x1)+xx3ρ3(x1,x2,x3,x4)ρ(x1,x2)+

Note that the n-th level in Thiele's interpolation formula is

ρn(x1,x2,,xn+1)ρn2(x1,x2,,xn1)+xxn+1ρn+1(x1,x2,,xn+2)ρn1(x1,x2,,xn)+,

while the n-th reciprocal difference is defined to be

ρn(x1,x2,,xn+1)=x1xn+1ρn1(x1,x2,,xn)ρn1(x2,x3,,xn+1)+ρn2(x2,,xn).

The two ρn2 terms are different and can not be cancelled!

References