Conjugate Gradient and Krylov Subspaces
Follow one conjugate-gradient step and connect the method’s energy minimization to spectral conditioning.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Minimize a quadratic with a positive-definite Hessian
For symmetric positive definite \(A\), solving \(Ax=b\) is equivalent to minimizing \(\tfrac12 x^\top Ax-b^\top x\). From \(x_0\), the initial residual \(r_0=b-Ax_0\) is the negative gradient. The first step along \(r_0\) uses length \((r_0^\top r_0)/(r_0^\top Ar_0)\). For \(A=\operatorname{diag}(1,2)\), \(b=(1,1)^\top\), and \(x_0=0\), the length is \(2/3\) and the new residual is \((1/3,-1/3)^\top\).
Later directions avoid undoing previous minimized components
Search directions are conjugate with respect to \(A\), meaning distinct directions have zero \(A\)-inner product. The iterates minimize over expanding Krylov spaces generated by \(r_0,Ar_0,\ldots\), in exact arithmetic. Actual convergence depends on the spectrum and rounding. A preconditioner can improve the effective conditioning. Sparse matrix formats supply the matrix–vector operation without forming a dense inverse.[1]