Skip to main content
KetQat

Appearance

Definition · introductory

Condition number and backward stability

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×nA \in \C^{n \times n} the condition number (in the operator norm) is

κ(A)=∥A∥∞ ∥A−1∥∞=σmax⁡(A)σmin⁡(A)  ≥  1,\kappa(A) = \norm{A}_\infty\, \norm{A^{-1}}_\infty = \frac{\sigma_{\max}(A)}{\sigma_{\min}(A)} \;\ge\; 1 ,

and κ(A)=∞\kappa(A) = \infty for singular AA. For Hermitian positive definite AA it is λmax⁡/λmin⁡\lambda_{\max}/\lambda_{\min}.

Perturbation bound. If Ax=b≠0Ax = b \ne 0 and A(x+δx)=b+δbA(x + \delta x) = b + \delta b, then

∥δx∥∥x∥  ≤  κ(A) ∥δb∥∥b∥,\frac{\norm{\delta x}}{\norm{x}} \;\le\; \kappa(A)\, \frac{\norm{\delta b}}{\norm{b}} ,

because ∥δx∥=∥A−1δb∥≤∥A−1∥ ∥δb∥\norm{\delta x} = \norm{A^{-1}\delta b} \le \norm{A^{-1}}\,\norm{\delta b} and ∥b∥≤∥A∥ ∥x∥\norm{b} \le \norm{A}\,\norm{x}. The bound is attained when δb\delta b lies along the singular vector of σmin⁡\sigma_{\min} and bb along that of σmax⁡\sigma_{\max}. Perturbing AA 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−16u = 2^{-53} \approx 1.1 \times 10^{-16}. An algorithm is backward stable if its computed output is the exact output for data perturbed by a relative amount of order uu. Combining this with the perturbation bound gives the rule of thumb: a backward-stable solver loses about log⁡10κ(A)\log_{10}\kappa(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.

Part of
Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Lloyd N. Trefethen, David Bau III (1997). Numerical Linear Algebra. Society for Industrial and Applied Mathematics. doi:10.1137/1.9780898719574
  2. Nicholas J. Higham (2002). Accuracy and Stability of Numerical Algorithms (2nd edition). Society for Industrial and Applied Mathematics. doi:10.1137/1.9780898718027

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. 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

  1. 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).