Overview
Conjugate Gradient improves a solution along directions that avoid undoing previous progress.
Solves large symmetric positive-definite linear systems with iterative search directions.
Compact metadata for implementation and discovery.
Conjugate Gradient improves a solution along directions that avoid undoing previous progress.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(k n)
Worst
O(n^2)
Space
O(n)
x_next = x + alpha * directionMoves along a conjugate direction chosen to reduce the residual.
Show search directions crossing a quadratic surface without repeating work.
Conjugate Gradient operates in O(k n) time and O(n) space within the Iterative Linear Solver family. Key governing relation: x_next = x + alpha * direction. Often compared with Jacobi Method and Gauss-Seidel Method.
What each reference supports for this entry.
Netlib/SIAM reference for iterative linear solvers including Jacobi, Gauss-Seidel, and conjugate gradient.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Numerical Methods · Core
Conjugate Gradient is often faster for symmetric positive definite systems.
Compare with thisNumerical Methods · Core
Conjugate Gradient is usually faster for suitable positive definite systems.
Compare with thisNumerical Methods · Core
Both solve linear systems iteratively with different assumptions.
Compare with thisNumerical Methods · Specialized
Both solve large systems iteratively with different acceleration strategies.
Compare with thisConjugate Gradient is often faster for symmetric positive definite systems.
PCG adds a preconditioner to Conjugate Gradient.