Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/ib/paper-3/17b/c/solution

For each node , let
be its Lagrange interpolation polynomial. It has degree and satisfies . Since , exactness gives
The integrand is nonnegative and is positive except at finitely many points, so
This proves the positivity of quadrature weights from degree 2n exactness.

New to topics? Read the docs here!