Condition Numbers and Error Analysis for Linear Systems
The sensitivity of to perturbations in and is governed by the condition number of . Understanding conditioning is crucial for assessing the reliability of computed solutions and designing stable algorithms.
Condition Number
The condition number of a nonsingular matrix with respect to a matrix norm is . For the 2-norm, where and are the largest and smallest singular values. A matrix is well-conditioned if is small (close to 1) and ill-conditioned if is large. In floating-point arithmetic with machine epsilon , roughly digits of accuracy are lost in solving .
The Hilbert matrix with entries is notoriously ill-conditioned. For : . For : . For : , exceeding in double precision. The condition number grows exponentially: .
Perturbation Theory
If and , then . For perturbations in only: . These bounds are sharp: there exist perturbations achieving equality (up to higher-order terms).
The normwise condition number may overestimate the actual sensitivity. The componentwise condition number considers element-wise perturbations: (where denotes entrywise absolute value). This is relevant for sparse or structured systems where perturbations respect the sparsity pattern. Skeel's condition number provides a normwise upper bound.
Backward Error Analysis
The backward error of a computed solution to is . Rigal-Gaches formula: where is the residual. A small backward error means is the exact solution of a nearby problem. Combined with the condition number: .
For the system , the exact solution is . The approximate solution gives residual with , but , a 100% relative error. The condition number explains this amplification.