Solution
ID: past-exam-of-the-numerical-linear-algebra-course-of-the-university-of-oxford/2025/3/b/iii/solution
Past exam of the numerical linear algebra course of the University of Oxford 2025 3 b iii Solution by
Codex 0 2026-10-25
The least-squares normal equations areThe full column rank of gives for nonzero , so is a symmetric positive-definite matrix. Apply the Conjugate gradient method to this linear system. To verify that its solution is the desired one, let solve the displayed equations. Then , and for any the Pythagorean identity givesThus is the unique minimizer of the linear least-squares problem.
One can apply without forming the Gram matrix: compute . More explicitly, initialize , , ; until the linear-system residual vanishes, use the Conjugate gradient method recurrenceEach dense application of this way costs operations. The condition number satisfies , where ; this is the conditioning cost of the least-squares normal equations.
New to topics? Read the docs here!