Definition
Condition number measures the sensitivity of a mathematical problem to changes or errors in the input data. For a matrix in the equation , it is defined as:
- How to read: “The condition number c equals the norm of A times the norm of A inverse.”
- Meaning: Measures sensitivity of 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, .
- 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 , a small error in can be amplified by up to in the solution . Roughly decimal digits of accuracy are lost.
- Well-conditioned vs. Ill-conditioned:
- Well-conditioned: is small (near 1). Orthogonal matrices have .
- Ill-conditioned: is large. A nearly singular matrix has an infinite condition number.
- Norm Dependency: The value depends on the choice of matrix norm ().