In Partial pivoting, we saw how some linear algebraic computations are sensitive to round off error made by a computer. A singular value decomposition can help us understand when this situation can occur.
For instance, consider the matrices The entries in these matrices are quite close to one another, but is invertible while is not. It seems like is almost singular. In fact, we can measure how close a matrix is to being singular by forming the condition number, , the ratio of the largest to smallest singular value. If were singular, the condition number would be undefined because the singular value . Therefore, we will think of matrices with large condition numbers as being close to singular.
Define the matrix and find a singular value decomposition. What is the condition number of ?
Define the left singular vectors and . Compare the results when
.
.
Notice how a small change in the vector leads to a small change in .
Now compare the results when
.
.
Notice now how a small change in leads to a large change in .
Previously, we saw that, if we write in terms of left singular vectors , then we have If we write , explain why is sensitive to small changes in .
Generally speaking, a square matrix with a large condition number will demonstrate this type of behavior so that the computation of is likely to be affected by round off error. We call such a matrix ill-conditioned.
Austin, Understanding Linear Algebra, §7.5 Using Singular Value Decompositions, Exercise 8