LINEAR-ALGEBRA ยท Interactive Practice
| Formula | Name | Description |
|---|---|---|
| SVD factorization | Orthonormal ; diagonal | |
| Right singular vectors | Eigenvectors of ; eigenvalues are | |
| Sign-locked | Defines from โ fixes the sign | |
| Rank from spectrum | Zero singular values null space |
A matrix stretches the unit circle into an ellipse whose semi-axis lengths are its singular values.
When the input direction maps to the origin โ the ellipse degenerates to the column space of , a single line.
SVD hands you orthonormal bases for all four fundamental subspaces at once โ sorted by which singular values vanish.
The number of zero singular values equals the dimension of the null space โ and of the left null space.
The equation fixes the sign of ; the wrong sign breaks the factorization.
The wrong-sign is still a unit eigenvector of โ always anchor through , not alone.
Question 1
For the matrix , we computed .
Its eigenvalues are and . What are the singular values of ?
โ Correct! Singular values are square roots of 's eigenvalues, and .
โ Not quite. Remember: , not itself.
Solution:
The eigenvalues of are the squared singular values:
So and . A zero singular value is perfectly well-defined โ it's just telling you the matrix has a 1-dimensional null space.
Question 2
In Example 1, we found and . Computing gave .
A student writes because that's a unit eigenvector of . Is this a valid SVD column?
โ Correct! Signs in are locked by , not free.
โ Not quite. Both and are unit eigenvectors of , but only one satisfies the SVD constraint.
Solution:
We need . With and :
The vector is also a unit eigenvector of (eigenvectors come in pairs), but it gives the wrong sign โ assembling with does not reproduce .
โ Wrong: โ sign mismatch.
The correct choice is .
Question 3
A matrix has singular values , , .
What is the dimension of the null space of ?
โ Correct! .
โ Not quite. Use rank-nullity: , where = number of nonzero singular values.
Solution:
The rank-nullity theorem says , where is the number of columns.
Don't be fooled by the "3" listed singular values โ for a matrix there are singular values, but the null space of lives in and has dimension . The columns of corresponding to zero singular values plus the columns beyond the listed ones (here, and , which automatically have ) all span the null space.
Question 4
For the rank-one matrix with , , , :
Which expression correctly reconstructs ?
โ Correct! A zero singular value kills its rank-one piece โ that's how SVD records rank deficiency.
โ Not quite. Multiply out and notice what happens to the term with .
Solution:
The SVD expands as a sum of rank-one outer products:
When , that term vanishes, so only one rank-one piece remains:
Note the order: (column times row) gives a matrix, while has the wrong shape pattern. This "one term suffices" idea is exactly why SVD powers low-rank approximation and PCA.
Solved: 0 / 4