Linear-system residual 2026-10-06
The residual of an approximate solution of is . It is the unbalanced right-hand side, while the solution error is . The Conjugate gradient method makes residuals orthogonal to successive Krylov subspaces.
Matrix preconditioning 2026-10-06
Matrix preconditioning transforms a system using an inexpensive auxiliary solve to improve its spectrum. For symmetric positive definite matrices, a positive definite produces , preserving the symmetric structure needed by Conjugate gradient method.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 4 37E b Solution Created 2026-09-24 Updated 2026-10-06
The linear-system residual at an approximate solution is . For symmetric positive definite , the Conjugate gradient method has and minimizes the squared -norm of the error over that affine space; its residual is orthogonal to .
If has distinct eigenvalues, interpolate on them with a polynomial of degree at most . The finite-dimensional spectral theorem gives , so the exact correction lies in . The minimum possible error at step is therefore zero. Thus in exact arithmetic, possibly earlier if the initial residual has fewer eigencomponents. If , it terminates immediately.
A symmetric positive definite matrix preconditioner changes the system to , with ; practical preconditioned CG applies solves with . It can accelerate convergence by reducing the spectral condition number of a positive-definite matrix, which improves the usual bound involving , and by clustering eigenvalues, which allows low-degree residual polynomials small on the spectrum even when the extreme-eigenvalue bound is pessimistic.
Choosing makes the transformed matrix , so one step suffices. But applying already requires solving the original problem, and constructing an exact factorization generally incurs its original computational cost. It is therefore not a useful shortcut for a single unsolved system, though an available factorization can be reused for multiple right-hand sides. Effective matrix preconditioning balances spectral improvement against inexpensive application.
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 40E b Solution Created 2026-09-24 Updated 2026-09-29
For an iterate , the Conjugate gradient method residual isTwo fundamental properties are the Conjugate-gradient residual orthogonality conditionsEquivalently, the residuals generated before convergence are mutually orthogonal and span the successive Krylov spaces.
Since has only distinct eigenvalues, its minimal polynomial has degree at most . ConsequentlyThe two properties then put both inside and orthogonal to , so . Hence , and
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 40C a Solution Created 2026-09-24 Updated 2026-09-25
Forthe gradient is . The steepest descent method with exact line search for a positive-definite quadratic therefore uses
For and , the minimizer is . PutStarting from , direct substitution gives and, inductively,The Euclidean norm is unchanged by the alternating sign, soFor a positive-definite matrix, the spectral condition number of a positive-definite matrix isHere , and hence
The Conjugate gradient method starts with and updatesBy finite termination of the conjugate gradient method, it reaches the exact solution in at most the number of distinct eigenvalues. This matrix has two, so at mostare required in exact arithmetic.