Solution

ID: past-exam-of-the-options-ii-course-of-the-university-of-oxford/2010/p/p4/c/solution

Use the intended degree ordering from part (b). Let be the degree- Lagrange cardinal polynomial at the distinct roots of :
For any , polynomial division gives with and . Orthogonality of to makes the integral of zero, and that product also vanishes at every quadrature node. Meanwhile by interpolation. Consequently
Thus the rule is exact up to degree . To determine the sign of a weight, apply exactness to , of degree :
The inequality is strict because is a nonzero polynomial and the weight is positive. This is the Gaussian quadrature construction; the source asks only for nonnegative weights, and the proof gives positivity.

New to topics? Read the docs here!