Solution

ID: past-exam-of-the-numerical-analysis-course-of-the-university-of-oxford/2014/2/d/solution

By parity preservation by polynomial least-squares projection, : the constant and quadratic coefficients vanish. The remaining normal equation is
Therefore
The residual is automatically orthogonal to and by parity and to by construction, so it is orthogonal to every element of . This checks the full linear least squares condition, rather than only a necessary coefficient equation.

New to topics? Read the docs here!