The condition number of a matrix, the ratio of its largest to smallest singular value, bounds how much relative errors in data are amplified in the solution of a linear system. A backward-stable algorithm in floating point has forward error of order the condition number times the unit roundoff.
Established definitionMachine-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.
For an invertible A∈Cn×n the condition number (in the operator norm) is
κ(A)=∥A∥∞∥A−1∥∞=σmin(A)σmax(A)≥1,
and κ(A)=∞ for singular A. For Hermitian positive definite A it is
λmax/λmin.
Perturbation bound. If Ax=b=0 and A(x+δx)=b+δb, then
∥x∥∥δx∥≤κ(A)∥b∥∥δb∥,
because ∥δx∥=∥A−1δb∥≤∥A−1∥∥δb∥ and
∥b∥≤∥A∥∥x∥. The bound is attained when δb lies along the
singular vector of σmin and b along that of σmax. Perturbing A itself
gives, to first order, the same amplification factor.
Floating point. IEEE double precision represents every real number in its range with
relative error at most the unit roundoff u=2−53≈1.1×10−16. An algorithm
is backward stable if its computed output is the exact output for data perturbed by a
relative amount of order u. Combining this with the perturbation bound gives the rule of
thumb: a backward-stable solver loses about log10κ(A) of the roughly 16 significant
decimal digits. Gaussian elimination with partial pivoting, Householder QR and the standard
SVD and symmetric eigenvalue algorithms are backward stable (Householder QR and SVD
unconditionally; elimination up to a growth factor that is small in practice). See lectures
12–15 of Trefethen and Bau and chapters 1–2 of
Higham.
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 kappa = sigma_max/sigma_min, the right-hand-side perturbation bound and its attainment, the first-order bound for perturbations of A, and u = 2^-53 for IEEE double with round-to-nearest. The cited lecture numbers were checked against the Trefethen-Bau table of contents (author-hosted front matter): Lectures 12-15 are Conditioning, Floating Point Arithmetic, Stability, More on Stability; backward stability of Householder QR, Gaussian elimination (growth factor) and SVD is the subject of Lectures 16, 22 and 31 there. Book texts themselves (Trefethen-Bau, Higham) are not openly readable; statements are standard and were re-derived. 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 97cae3cb2a88548b. Source file knowledge/records/definition/condition-number.md in the content repository (readable there once it is public).