For a positive definite system with condition number kappa, the conjugate-gradient iterate after m steps has A-norm error at most 2((sqrt(kappa) - 1)/(sqrt(kappa) + 1))^m times the initial error, so O(sqrt(kappa) log(1/epsilon)) matrix-vector products suffice.
Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01
AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.
Let A be Hermitian positive definite with condition number κ, let Ax∗=b, and
write ∥v∥A=v†Av. For a starting point x0 with residual
r0=b−Ax0, let xm be the minimiser of ∥x−x∗∥A over
x∈x0+Km(A,r0) (Krylov subspace). The
conjugate-gradient method of Hestenes and Stiefel computes exactly
these iterates, with one product by A and short recurrences per step (lecture 38 of
Trefethen and Bau). Then
∥x0−x∗∥A∥xm−x∗∥A≤2(κ+1κ−1)m,
so m≥21κln(2/ϵ) steps reduce the error by a factor ϵ.
More precisely the ratio is at most minpmaxλ∈σ(A)∣p(λ)∣ over
polynomials p of degree at most m with p(0)=1, so clustered spectra converge faster
than the bound suggests.
Quantum linear-system algorithms are compared against this baseline. Their cost grows
linearly in κ, and by the
BQP-completeness of matrix inversion a
substantially better power of κ would have implausible complexity consequences, whereas
CG needs of order κ matrix-vector products. Any quantum advantage therefore lies
in the dependence on the dimension and in the output model, not in κ (see
quantum linear algebra).
Holds when
A is Hermitian positive definite with eigenvalues in [lambda_min, lambda_max] and kappa = lambda_max / lambda_min.
Exact arithmetic; in floating point the bound describes the behaviour only approximately.
Errors are polynomials. Let e0=x0−x∗, so r0=−Ae0. Every
x∈x0+Km(A,r0) has the form x=x0+q(A)r0 with degq<m, so
x−x∗=(I−Aq(A))e0=p(A)e0 where p(λ)=1−λq(λ) ranges over all
polynomials of degree at most m with p(0)=1. Hence
∥xm−x∗∥A=minp∥p(A)e0∥A.
Reduction to the spectrum. Expand e0=∑jcjuj in an orthonormal eigenbasis,
Auj=λjuj. Then
∥p(A)e0∥A2=∑jλj∣p(λj)∣2∣cj∣2≤maxj∣p(λj)∣2∥e0∥A2.
Chebyshev choice. Let a=λmin, b=λmax; if a=b the
polynomial 1−λ/a gives zero error after one step, so assume a<b. Put
x0=(b+a)/(b−a)=(κ+1)/(κ−1)>1 and
p(λ)=Tm(x0)Tm((b+a−2λ)/(b−a)).
It has degree m and p(0)=1. For λ∈[a,b] the argument of Tm lies in
[−1,1], so ∣p(λ)∣≤1/Tm(x0) by the properties of
Chebyshev polynomials. Now
and Tm(x0)≥21(x0+x02−1)m, so
1/Tm(x0)≤2((κ−1)/(κ+1))m. Combining the three steps
gives the bound.
Iteration count. With ρ=(κ−1)/(κ+1),
ln(1/ρ)=ln1−1/κ1+1/κ≥2/κ, so
2ρm≤ϵ once m≥21κln(2/ϵ). The argument is the one in
lecture 38 of Trefethen and Bau.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Re-derived the bound from A-norm optimality over x0 + K_m (min over p(0)=1 of max |p| on the spectrum) with the shifted Chebyshev polynomial, using T_m((k+1)/(k-1)) >= ((sqrt k + 1)/(sqrt k - 1))^m / 2; verified that m >= sqrt(k) ln(2/eps)/2 suffices via ln((1+t)/(1-t)) >= 2t. Numerical check (python/numpy): CG on a 200x200 SPD matrix with kappa = 400 satisfies the bound at every step m = 1..39; the step-count claim holds for kappa in {10, 1e3, 1e6}, eps in {1e-2, 1e-8}. Lecture 38 = Conjugate Gradients confirmed from the Trefethen-Bau table of contents; Hestenes-Stiefel Crossref metadata match.
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
Current revision 538f15e6ea0943ef. Source file knowledge/records/theorem/conjugate-gradient-convergence.md in the content repository (readable there once it is public).