SVD
Suppose is an matrix with singular values and . Then has the decomposition where, \Sigma = \b{D\\0_{m-n,n}} \quad \quad D=\b{\sigma_1 &0 & \dots &0 \\ 0 & \sigma_2 & \dots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 &0&\dots & \sigma_n} is a orthogonal matrix, and is a orthogonal matrix. If then \Sigma= \b{D & 0_{m,n-m}}^T with everything else being the same.
Proof
Geometric Interpretation
Computing
Suppose is and has rank .
- Compute the squared singular values of , and construct .
- Compute the unit singular vectors of , use them to form .
- Compute an orthonormal basis for using, If necessary, extend the set to form an orthonormal basis for and use the basis to form .
Example
Find the SVD of A=\b{2&0\\0&-3\\0&0\\0&0}. A^TA=\b{4&0\\0&9}, \lambda_1=9, \lambda_2=4, \sigma_1=3 ,\sigma_2=2 So, \boxed{\Sigma = \b{3&0\\0&2\\0&0\\0&0}} Now find the right-singular vectors (i.e. eigenvectors of ) for , Hence, \boxed{V=\b{0&1\\1&0}} Finally find using the left-singular vectors (i.e. orthonormal basis for ). This can be found by using .
You may note that are arbitrary, and this is true. They are any orthonormal vectors to due to .
\boxed{ A= \b{0&1&0&0\\-1&0&0&0\\0&0&1&0\\0&0&0&1} \b{3&0\\0&2\\0&0\\0&0} \b{0&1\\1&0} }Note: For finding if we have the vectors in , and they are not enough to make an matrix, then we will create any arbitrary vectors that are orthonormal to the vectors that you already have. Then we will run the Gram-Schmidt Process on these newly found vectors. All the vectors must be normalized at the end.
Properties of and
For
- is an orthonormal basis for .
- is an orthonormal basis for .
- is an orthonormal basis for .
- is an orthonormal basis for .