For distinct interpolation nodes , the polynomial has . These cardinal polynomials form a basis of the polynomials of degree at most , and give .
For distinct interpolation nodes , define the degree- divided difference by
It is the leading coefficient of the unique degree-at-most- interpolating polynomial through those data.
Define
The partial polynomial agrees with at . Moreover, the explicit formula for the divided difference gives
so . Induction shows that for every . By uniqueness of polynomial interpolation, this is the required Newton interpolation polynomial.
For the recursion, substitute the explicit formulas for and . For an interior index , the coefficient of in their difference is
The endpoint terms satisfy the same identity directly. Dividing by therefore gives
For fixed interpolation nodes , interpolate any as
Integrating shows that the unique weights making the quadrature rule exact through degree are
Now let the nodes be the zeros of the degree- orthogonal polynomial . Given any , polynomial division gives
Orthogonality gives , while makes the quadrature sum for vanish. The rule is already exact on , so it is exact on . This is the defining precision property of Gaussian quadrature.