Conjugate Gradient Method
An iterative algorithm for solving large sparse symmetric positive-definite linear systems (and nonlinear optimization problems) that generates conjugate search directions, guaranteeing convergence in at most n steps in exact arithmetic.
Method
For Ax = b (A SPD): generate residuals and conjugate directions via short recurrences; update solution along conjugate directions with exact line search. Nonlinear CG extends to general smooth optimization with various β formulas (Fletcher-Reeves, Polak-Ribière). Preconditioning dramatically improves practical performance.
Applications
Solving large sparse linear systems from PDEs and finite elements, training kernel methods, truncated Newton methods, graph Laplacian systems, Gaussian process inference approximations.
Advantages
Memory-efficient (few vectors stored); finite termination in theory; strong for large sparse SPD systems; well-understood theory and preconditioning literature.
Limitations
Requires matrix-vector products (or gradient/Hessian-vector products); sensitive to conditioning (preconditioning essential); finite-precision arithmetic loses exact conjugacy; nonlinear variants need restarts. Linear conjugate gradient requires symmetric positive-definite systems; nonlinear CG is distinct.
Alternatives
Direct solvers (Cholesky), multigrid, GMRES/MINRES for indefinite/nonsymmetric, first-order methods for optimization. Top Algorithms & Models — Part 2 (101–200) Research Compendium
Editorial clarification
Linear conjugate gradient requires symmetric positive-definite systems; nonlinear CG is distinct.
Sources
Educational reference only, not professional advice.
All algorithms