Solution

ID: past-exam-of-the-options-i-course-of-the-university-of-oxford/2012/p/p1/c/solution

Write . It suffices to impose orthogonality of the error to the basis of . With the printed weight and , the normal equations are
Here, for example, and . Solving gives , . Therefore
The two normal equations make the error orthogonal to every linear polynomial, and part (b) then proves optimality, rather than merely furnishing a candidate fit.

New to topics? Read the docs here!