Consider the equation where
Find a singular value decomposition for using the Sage cell below. What are singular values of ?
What is , the rank of ? How can we identify an orthonormal basis for ?
Form the reduced singular value decomposition by constructing: the matrix , consisting of the first columns of ; the matrix , consisting of the first columns of ; and , a square diagonal matrix. Verify that .
You may find it convenient to remember that if
Bis a matrix defined in Sage, thenB.matrix_from_columns( list )andB.matrix_from_rows( list )can be used to extract columns or rows fromB. For instance,B.matrix_from_rows([0,1,2])provides a matrix formed from the first three rows ofB.How does the reduced singular value decomposition provide a matrix whose columns are an orthonormal basis for ?
Explain why a least-squares approximate solution satisfies
What is the product and why does it have this form?
Explain why is the least-squares approximate solution, and use this expression to find .
Austin, Understanding Linear Algebra, §7.5 Using Singular Value Decompositions, Activity 7.5.2