Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2020/ii/paper-2/2h/solution
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 2H Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
The Legendre polynomial is orthogonal on to every polynomial of degree below . Suppose it changes sign at only distinct interior points , and putchoosing its overall sign so that on . This product is positive except at finitely many points, socontradicting orthogonality because . Thus has at least sign-changing roots in ; its degree is , so these are all its roots and they are distinct.
For arbitrary distinct nodes , letbe the Lagrange basis polynomials. Every polynomial of degree below satisfies , so the required weights exist and areThey are unique because applying any such formula to recovers .
Now assume exactness for every of degree below and define . For every polynomial of degree below , the product has degree below and vanishes at every node. ThereforeThere is a unique monic polynomial of degree orthogonal to all lower-degree polynomials, so is the monic normalization of and the are precisely the roots of . Taking givesFinally has degree , so exactness givesThese are the positive weights of Gaussian quadrature.
New to topics? Read the docs here!