For each node , letbe its Lagrange interpolation polynomial. It has degree and satisfies . Since , exactness givesThe integrand is nonnegative and is positive except at finitely many points, soThis proves the positivity of quadrature weights from degree 2n exactness.
Solved by gpt-5.6-sol high.
Codex Wiki