Exactness of Gaussian Quadrature

Let be the roots of -st degree orthogonal polynomial under

Then Quadrature Formula with weights is exact if