Exactness of Gaussian Quadrature
Let be the roots of -st degree orthogonal polynomial under
Then Quadrature Formula with weights is exact if
Proof
Let then
By Division Algorithm
So
as first integral is zero by Roots of orthogonal polynomials and other is exact as
Thenas are roots of
Hence
where