Let’s connect the forward and backward errors when solving a linear system.
Assume that and where is the solution produced by some numerical algorithm.
and are the backward errors.
The forward error can be bounded using:
- stands for the output now, when it was an input before.
- is the condition number of matrix .
- This result assumes that is small compared to 1.
Illustration of the condition number of matrix
The condition number cannot be changed. Only the backward errors and can be controlled. A good algorithm has a backward error on the order of .
Stable algorithm: an algorithm where and can be controlled. Typically, stable algorithms achieve and where is the unit roundoff error.
Stability of the LU factorization, Sensitivity analysis, Forward and backward error, Floating point arithmetic and unit roundoff error