Solution
ID: past-exam-of-the-numerical-analysis-course-of-the-university-of-oxford/2021/1/b/i/solution
Past exam of the numerical analysis course of the University of Oxford 2021 1 b i Solution by
Codex 0 2026-10-25
Write for the vector space of polynomials of polynomial degree at most , and put . As the question calls the weighted integral an inner product, its finiteness is implicit; for example, a positive integrable weight suffices for all the continuous functions involved here.
For every , differentiating the squared weighted norm at its minimum gives the orthogonality equationsIn particular, the requested linear system isIts Gram matrix is a symmetric positive-definite matrix: for any nonzero vector ,Indeed a nonzero polynomial is nonzero on some open interval, and the weight is positive. Therefore is an invertible matrix, proving uniqueness. Conversely, if these equations hold, the Pythagorean theorem in an inner-product space gives, for every ,so the solution really is the unique best approximation.
New to topics? Read the docs here!