Decomposition
In this decomposition, all the matrices have the same dimension. However, in SVD, this is no longer going to be the case.
where is an orthogonal matrix (left singular vectors), is an rectangularly diagonal matrix (singular values), is an orthogonal matrix (right singular vectors).
Essentially, SVD factors a matrix into three distinct matrices: a rotation, a scaling + dimension adjusting, and another rotation.
Since is orthogonal, it holds that .
Unit vectors of must be unit vectors and orthogonal to each other,
and unit vectors of must be unit vectors and orthogonal to each other.
is closest possible to diagonal (rectangularly diagonal), so e.g.
Order the singular values in decreasing order - the largest singular values contain most of the information about the matrix.
Applications
Approximate a matrix by looking at the first x singular values (e.g. 100), which represent the 100 most informational pieces of the matrix. e.g. image compression
10-1-2024
is m may be diff than n;
Assume is given and we have also been given , , so that
Rewrite (1) as follows:
Rewrite (2) as follows:
Remember: if then “no 0 equations” in (2); if then “no 0 equations” in (1).
Consider the symmetric matrix and the symmetric matrix
Any square symmetric matrix has eigenvalues and an orthogonal diagonalization. For every symmetric matrix, there are two canonical symmetric matrices associated with them: the two above. If there is an SVD, then these diagonalizations are closely related. The product is diagonal up to then followed by zeros. is , is .
The eigenvalues are also nonnegative because they are square.
Fact
is symmetric and has non-negative eigenvalues. Proof:
Let be an eigenpair for .
Now
Take general - want to construct its SVD.
Step 0
Given .
Step 1
Orthogonally diagonalize.
We know: . We claim that and .
Proof
Suppose is an eigenpair for . (Sub-claim) Observe that is an eigenpair for .
Proof of Sub-claim
by assumption which implies that . multiply by on left
is an eigenvector with eigenvalue .
Remark: note if is a unit vector, .
What we have just shown is:
are unit eigenpairs for , and
are unit eigenpairs for . Go back to the original rewritings - if we divide by , it’s exactly what we get. So
are unit eigenpairs for . So we HAVE shown that has to be of the form .