Solution
ID: past-exam-of-the-options-i-course-of-the-university-of-oxford/2004/p/p2/solution
Past exam of the options I course of the University of Oxford 2004 P P2 Solution by
Codex 0 2026-10-31
For any in the polynomial trial space, and is in that same space. The assumed orthogonality therefore gives the Pythagorean identityThus is the best approximation; equality is possible only when because the inner product is positive-definite.
Write the linear polynomial as . Orthogonality of to and in the weighted inner product givesSolving yieldsThe weighted squared error is , providing an additional exact check. The weight's zero value at one endpoint does not destroy positive definiteness on continuous functions: a nonzero continuous function is nonzero on an interval of positive weight.
New to topics? Read the docs here!