- categories: Linear algebra, Definition
Definition
The condition number of a matrix is a measure of how sensitive the solution of a linear system is to changes in or perturbations in . It is defined as:
where is a matrix norm, commonly the Spectral Norm () or Frobenius Norm ().
For the spectral norm (2-norm), the condition number can be expressed in terms of the singular values and of :
where and are the largest and smallest singular values of .
Intuition
- The condition number describes how much the output (solution ) of the system changes for a small change in the input .
- A large condition number indicates that the matrix is ill-conditioned, meaning it amplifies numerical errors and leads to unstable solutions.
- A small condition number indicates the matrix is well-conditioned, and solutions are stable under perturbations.
Properties
-
Range of Values:
- for all invertible matrices .
- if and only if is a scalar multiple of an orthogonal matrix (e.g., rotations, reflections).
-
Invariance Under Scaling:
- for any scalar .
-
Relation to Matrix Singular Values:
- as , indicating near-singularity.
-
Sensitivity to Perturbations:
- For small perturbations , the relative change in the solution satisfies:
Examples
-
Diagonal Matrix:
For , the singular values are : -
Orthogonal Matrix:
If is an orthogonal matrix (), then : -
Nearly Singular Matrix:
For , , indicating instability in solutions.