A system whose coefficient matrix is singular has no unique solution. What if the matrix is almost singular?
The LU equivalent has a very small element in position (3, 3), and the inverse has elements very large in comparison to :
Matrix is nonsingular but is almost singular
Suppose we solve the system , with equal to
. The solution is
.
Now suppose that we make a small change in just the first element of the -vector :
. We get
. The solution now is
which also differs.
A system whose coefficient matrix is nearly singular is called
ill-conditioned. When a system is ill-conditioned, the solution is very sensitive to changes in the right-hand vector. It is also sensitive to small changes in the coefficients.
is changed from 3.02 to 3.00, original b-vector, a large change in the solution
. This means that it is also very sensitive to round-off error.