Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2006/ib/paper-2/18d/a/solution

For node , let be the Lagrange interpolation polynomial with . It has degree , so has degree . The Gaussian quadrature with nodes is exact through degree , hence
The integrand is nonnegative. Since is a nonzero polynomial, it is nonzero on some open subinterval; the positive weight has positive integral there. Consequently for every node. This proves the positive weights of Gaussian quadrature property without assuming any coefficient sign beforehand.

New to topics? Read the docs here!