Andromeda
Note

Condition Number

Definition

Condition number cc measures the sensitivity of a mathematical problem to changes or errors in the input data. For a matrix AA in the equation Ax=bAx = b, it is defined as: c=AA1c = \|A\| \|A^{-1}\|

  • How to read: “The condition number c equals the norm of A times the norm of A inverse.”
  • Meaning: Measures sensitivity of Ax=bAx = b to input errors—how much relative output error can be amplified from relative input error.

Why It Matters

It determines whether a numerical calculation is ‘trustworthy’ or if tiny rounding errors will explode into massive, incorrect answers.

Core Concepts

  • Singular Values: In terms of SVD, c=σmax/σminc = \sigma_{\max} / \sigma_{\min}.
    • How to read: “The condition number c equals the ratio of sigma max to sigma min.”
    • Meaning: Ratio of largest to smallest stretching direction—large ratio means nearly singular (ill-conditioned).
  • Accuracy Loss: If c(A)=10kc(A) = 10^k, a small error in bb can be amplified by up to 10k10^k in the solution xx. Roughly kk decimal digits of accuracy are lost.
  • Well-conditioned vs. Ill-conditioned:
    • Well-conditioned: cc is small (near 1). Orthogonal matrices have c=1c = 1.
    • Ill-conditioned: cc is large. A nearly singular matrix has an infinite condition number.
  • Norm Dependency: The value depends on the choice of matrix norm (1,2,\ell^1, \ell^2, \ell^\infty).

Connected Concepts