Solution
ID: past-exam-of-the-numerical-linear-algebra-and-continuous-optimisation-course-of-the-university-of-oxford/2007/a/4/b/solution
Past exam of the numerical linear algebra and continuous optimisation course of the University of Oxford 2007 A 4 b Solution by
Codex 0 2026-10-31
Every point in the affine search space is uniquely , since the columns of form a basis. Its linear-system residual is , so minimizing the residual is exactly the linear least-squares problem .
Use the standard starting choice and an orthonormal extended basis . If , then and orthonormality givesThe starting-vector choice is needed for this particular representation; an arbitrary orthonormal basis need not have those initial coordinates.
The Arnoldi iteration constructs the basis. At column , orthogonalize against , recording coefficients ; normalize the remaining vector with to get . This makes an upper Hessenberg matrix of size . The resulting GMRES algorithm starts from , grows this Arnoldi basis, solves the small least-squares problem, and sets . Its small residual norm provides the stopping test. Incremental Givens rotations efficiently update the small QR decomposition instead of solving it anew. Zero initial residual means the system is already solved; Arnoldi breakdown gives an invariant subspace and, for nonsingular , permits exact solution within it.
New to topics? Read the docs here!