Solution

ID: past-exam-of-the-approximation-theory-and-finite-element-methods-course-of-the-university-of-oxford/2008/a/2/c/solution

For weight , the moments are . Monic orthogonalization gives and .
For , orthogonality to requires
Solving gives , . Hence
These are the nodes for the two-node Gaussian quadrature with quadratic weight.

New to topics? Read the docs here!