Conditioning and Numerical Stability
Separate the problem's sensitivity from the algorithm's behavior
A condition number measures how relative perturbations in input can be amplified into relative perturbations in an output, under a stated norm and for a stated problem.
For a nonsingular matrix in a compatible norm, κ(A) = ||A|| ||A⁻¹||. A large condition number warns that even an ideal algorithm may return a solution whose forward error is sensitive to small data changes.
Forward error compares a computed answer with the exact answer to the original problem. Backward error asks how much the input would have to be changed for the computed answer to be exact.
A backward-stable algorithm produces the exact answer for a nearby input, but a nearby input can still lead to a noticeably different exact output for an ill-conditioned problem.
These ideas answer different questions. Conditioning belongs to the problem and chosen norm; stability belongs to the algorithm. Avoid attributing an ill-conditioned result solely to floating-point mechanics, and avoid promising a small forward error merely because an algorithm has a small backward error without considering the condition number.
A computed solution x̂ satisfies (A + ΔA)x̂ = b with a very small relative ||ΔA||/||A||. Which error description is directly supported?
Mark Yourself Question
- Grab a piece of paper and try this problem yourself.
- When you're done, check the "I have answered this question" box below.
- View the solution and report whether you got it right or wrong.
For a nonsingular matrix A, suppose ||A|| = 12 and ||A−1|| = 7 in a compatible norm. Compute κ(A) and state what the value means qualitatively.