Solution

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

The moments are . The Gram-Schmidt process first gives the constant . Removing the constant component of gives , with squared norm , hence .
For the quadratic, imposing orthogonality of to one and gives and . Thus , whose squared norm is . Taking positive leading coefficients, the first three orthonormal polynomials are

New to topics? Read the docs here!