Numerical analysis Iterative methods for linear systems Proposition
Derivation of the conjugate gradient method
Builds on Positive definite matrixLinear spanKrylov subspaceConjugate gradient methodGram–Schmidt processArnoldi iterationLanczos algorithm
Statement
Let be a real symmetric positive definite matrix, let , let , and let . Write and .
- (Conjugate directions) Let be nonzero vectors with for . Define with . Then for each , the residual is orthogonal to . Moreover minimizes over . If , then .
- (Short recurrence) Let , and suppose are nonzero. Let the directions arise by -orthogonalizing the residuals. That is, , and is minus its -orthogonal projection onto . Then , and with . Also .
Remarks
For clause 1, the function restricted to separates into one quadratic in each coordinate, by conjugacy. The step minimizes the quadratic in the -th coordinate, and later steps do not change the earlier coordinates. For clause 2, the residual is orthogonal to by clause 1. Since , the vector is -orthogonal to for . So only the last direction enters the Gram–Schmidt step, and this gives the two-term recurrence. Clause 2 with clause 1 is exactly the conjugate gradient method. Example: with and diagonal, the directions are conjugate, and the method of clause 1 solves the -th equation at step .
Going deeper
For a student
There is a second derivation from the Lanczos algorithm. The Arnoldi iteration applied to a symmetric gives an orthonormal basis of in which becomes a tridiagonal matrix . The Galerkin condition asks to solve a system with . Updating an factorization of step by step gives the same recurrences. This view explains the link between conjugate gradients and the Lanczos process for eigenvalues.
Reading path
To understand this page from the ground up, read these 31 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Chebyshev polynomials object
- Condition number concept
- Eigenvalue concept
- Hermitian matrix concept
- Hessenberg matrix concept
- Incomplete Cholesky factorization concept
- Iterative method concept
- Krylov subspace concept
- Linear span concept
- Orthonormal basis concept
- Positive definite matrix concept
- Preconditioner concept
- Spectral radius concept
- Symmetric matrix concept
- System of linear equations concept
- Tridiagonal matrix concept
- Vector space definition
- Modified Richardson iteration statement
- Lanczos algorithm statement
- Inner product definition
- Linear combination definition
- Linear subspace definition
- Orthogonal vectors definition
- Linear independence definition
- Linear span definition
- Chebyshev iteration statement
- Orthonormal family definition
- Conjugate gradient method statement
- Gram–Schmidt process concept
- Arnoldi iteration statement
- Derivation of the conjugate gradient method statement
Further reading
About this page
| Tag | 1SYY57DCWT |
|---|---|
| URI | m2://1SYY57DCWT |
| Kind | statement, proposition |
| Writing | W0 stub |
| MSC | 65F10 |
| Status | This copy of the site has no build data. Run m2 status 1SYY57DCWT. |
| About | Conjugate gradient method |
| Uses | Positive definite matrix, Linear span, Krylov subspace, Conjugate gradient method, Gram–Schmidt process, Arnoldi iteration, Lanczos algorithm |
| Same as |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.