Singular Value Decomposition (SVD)

Overview

Singular Value Decomposition (SVD) is a fundamental linear algebraic technique that decomposes any given matrix ( A ) into three distinct matrices: ( U ), ( \Sigma ), and ( V ). The matrix ( \Sigma ) is a diagonal matrix that contains the singular values of ( A ). The matrix ( U ) contains the eigenvectors of ( A A^T ), while ( V ) contains the eigenvectors of ( A^T A ). SVD is widely used in various applications, including Principal Component Analysis (PCA) and solving linear systems.

Theorem and Proof

The SVD theorem states that any matrix ( A ) can be decomposed into the matrices ( U ), ( \Sigma ), and ( V ). The proof of this theorem involves demonstrating the properties of the matrices ( A^T A ) and ( A A^T ), which include symmetry, positive semidefiniteness, and the orthogonality of their eigenvectors. The proof is completed by showing that ( A ) can be expressed as the product of ( U ), ( \Sigma ), and ( V ).

Informal Proof

An informal proof of the SVD theorem involves a series of lemmas that establish the properties of the matrices involved in the decomposition. These properties include the symmetry and positive semidefiniteness of ( A^T A ) and ( A A^T ), the orthogonality of singular vectors, and the relationship between the eigenvalues and eigenvectors of these matrices.

SVD in Different Matrix Dimensions

More Rows than Columns

When the number of rows ( m ) in matrix ( A ) is greater than or equal to the number of columns ( n ), the SVD is performed by decomposing ( A ) into the matrices ( U ), ( \Sigma ), and ( V ). Here, ( U ) is an ( m \times m ) orthogonal matrix, ( \Sigma ) is an ( m \times n ) diagonal matrix, and ( V ) is an ( n \times n ) orthogonal matrix. The proof involves showing that ( A ) can be expressed as the product of these matrices.

Fewer Rows than Columns

In the case where the number of rows ( m ) in matrix ( A ) is less than or equal to the number of columns ( n ), the SVD is performed similarly to the case with more rows than columns. The matrix ( A ) is decomposed into ( U ), ( \Sigma ), and ( V ) matrices, and the proof follows similar lines to the case with more rows.

Applications of SVD

Rank of Matrices

The rank of a matrix can be determined using its SVD. It is equal to the number of nonzero singular values in the diagonal matrix ( \Sigma ). A matrix with full rank has as many nonzero singular values as its smallest dimension, while a degenerate matrix has fewer nonzero singular values.

Solving Arbitrary Linear Systems

SVD can be used to solve arbitrary linear systems, even when the matrix is not square. By decomposing the matrix into ( U ), ( \Sigma ), and ( V ), the system can be solved without inverting the matrix, using the orthogonality of ( U ) and ( V ) and the properties of the diagonal matrix ( \Sigma ). This method is numerically stable and provides the best-effort solution for nonsquare matrices.

Best Low-Rank Approximation of Matrices

SVD can be used to find the best low-rank approximation of a matrix by truncating its singular value decomposition. By keeping only the top ( r ) singular values and corresponding singular vectors, we obtain a rank ( r ) approximation that minimizes the Frobenius norm of the difference between the original matrix and its approximation.