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

  1. Range of Values:

    • for all invertible matrices .
    • if and only if is a scalar multiple of an orthogonal matrix (e.g., rotations, reflections).
  2. Invariance Under Scaling:

    • for any scalar .
  3. Relation to Matrix Singular Values:

    • as , indicating near-singularity.
  4. Sensitivity to Perturbations:

    • For small perturbations , the relative change in the solution satisfies:

Examples

  1. Diagonal Matrix:
    For , the singular values are :

  2. Orthogonal Matrix:
    If is an orthogonal matrix (), then :

  3. Nearly Singular Matrix:
    For , , indicating instability in solutions.