In linear algebra, singular value decomposition (SVD) is an important factorization of a rectangular real or complex matrix, with several applications in signal processing and statistics.
The SVD can be seen as a generalization of the spectral theorem, which says that normal matrices can be diagonalized using a basis of eigenvectors, to arbitrary, not necessarily square, matrices.
A common convention is to order the values Σi,i in non-increasing fashion. In this case, the diagonal matrix Σ is uniquely determined by M (though the matrices U and V are not).
In any singular value decomposition
A singular value for which we can find two left (or right) singular vectors that are not linearly dependent is called degenerate.
Non-degenerate singular values always have unique left and right singular vectors, up to multiplication by a unit phase factor eiφ (for the real case up to sign). Consequently, if all singular values of M are non-degenerate and non-zero, then its singular value decomposition is unique, up to multiplication of a column of U by a unit phase factor and simultaneous multiplication of the corresponding column of V by the same unit phase factor.
Degenerate singular values, by definition, have non-unique singular vectors. Furthermore, if and are two left-singular vectors which both correspond to the singular value , then any normalized linear combination of the two vectors is also a left singular vector corresponding to the singular value . The similar statement is true for right singular vectors. Consequently, if M has degenerate singular values, then its singular value decomposition is not unique.
The singular value decomposition is very general in the sense that it can be applied to any m × n matrix. The eigenvalue decomposition, on the other hand, can only be applied to certain classes of square matrices. Nevertheless, the two decompositions are related.
In the special case that M is a Hermitian matrix which is positive semi-definite, i.e., all its eigenvalues are real and non-negative, then the singular values and singular vectors coincide with the eigenvalues and eigenvectors of M,
More generally, given an SVD of M, the following two relations hold:
The right hand sides of these relations describe the eigenvalue decompositions of the left hand sides. Consequently, the squares of the non-zero singular values of M are equal to the non-zero eigenvalues of either M*M or MM*. Furthermore, the columns of U (left singular vectors) are eigenvectors of MM* and the columns of V (right singular vectors) are eigenvectors of M*M.
The linear transformation T: Kn → Km that takes a vector x to Mx has a particularly simple description with respect to these orthonormal bases: we have T(vi) = σi ui, for i = 1,...,min(m,n), where σi is the i-th diagonal entry of Σ, and T(vi) = 0 for i > min(m,n).
The geometric content of the SVD theorem can thus be summarized as follows: for every linear map T: Kn → Km one can find orthonormal bases of Kn and Km such that T maps the i-th basis vector of Kn to a non-negative multiple of the i-th basis vector of Km, and sends the left-over basis vectors to zero. With respect to these bases, the map T is therefore represented by a diagonal matrix with non-negative real diagonal entries.
In applications it is quite unusual for the full SVD, including a full unitary decomposition of the null-space of the matrix, to be required. Instead, it is often sufficient (as well as faster, and more economical for storage) to compute a reduced version of the SVD. The following can be distinguished for an m×n matrix M of rank r:
Only the n column vectors of U corresponding to the row vectors of V* are calculated. The remaining column vectors of U are not calculated. This is significantly quicker and more economical than the full SVD if n<<m. The matrix Un is thus m×n, Σn is n×n diagonal, and V is n×n.
The first stage in the calculation of a thin SVD will usually be a QR decomposition of M, which can make for a significantly quicker calculation if n<<m.
Only the r column vectors of U and r row vectors of V* corresponding to the non-zero singular values Σr are calculated. The remaining vectors of U and V* are not calculated. This is quicker and more economical than the thin SVD if r<<n. The matrix Ur is thus m×r, Σr is r×r diagonal, and Vr* is r×n.
Only the t column vectors of U and t row vectors of V* corresponding to the t largest singular values Σr are calculated. The rest of the matrix is discarded. This can be much quicker and more economical than the thin SVD if t<<r. The matrix Ut is thus m×t, Σt is t×t diagonal, and Vt* is t×''n'.
Of course the truncated SVD is no longer an exact decomposition of the original matrix M, but as discussed below, the approximate matrix is in a very useful sense the closest approximation to M that can be achieved by a matrix of rank t.
The factorization can be extended to a bounded operator M on a separable Hilbert space H. Namely, for any bounded operator M, there exist a partial isometry U, an unitary V, a measure space (X, μ), and a non-negative measurable f such that
, where is the multiplication by f on .
This can be shown by mimicking the argument for the matricial case. is the unique positive square root of , as given by the Borel functional calculus for self adjoint operators. The reason why U need not be unitary is because, unlike the finite dimensional case, given a isometry with non trivial kernel, a suitable may not be found such that
is an unitary operator.
As for matrices, the singular value factorization is equivalent to the polar decomposition for operators: we can simply write and notice that is still a partial isometry while is positive.
To extend notion of singular values and left/right-singular eigenvectors to the operator case, one needs to restrict to compact operators. It is a general fact that compact operators on Banach spaces, therefore Hilbert spaces, have only discrete spectrum. If M is compact, so is . Therefore the unitary image of its positive square root has a set of orthonormal eigenvectors corresponding to strictly positive eigenvalues . For any ,
,where the series converges in the norm topology on H. Notice how this resembles the expression from the finite dimensional case. The 's are called the singular values of M. and can be considered the left- and right-singular vectors of M respectively.
The singular value decomposition can be used for computing the pseudoinverse of a matrix. Indeed, the pseudoinverse of the matrix M with singular value decomposition is
Another application of the SVD is that it provides an explicit representation of the range and null space of a matrix M. The right singular vectors corresponding to vanishing singular values of M span the null space of M. The left singular vectors corresponding to the non-zero singluar vectors of M span the range of M. As a consequence, the rank of M equals the number of non-zero singular values of M. Furthermore, the ranks of M, and must be the same. and have the same non-zero eigenvalues.
In numerical linear algebra the singular values can be used to determine the effective rank of a matrix, as rounding error may lead to small but non-zero singular values in a rank deficient matrix.
Some practical applications need to solve the problem of approximating a matrix with another matrix which has a specific rank . In the case that the approximation is based on minimizing the Frobenius norm of the difference between and under the constraint that it turns out that the solution is given by the SVD of , namely
where is the same matrix as except that it contains only the largest singular values (the other singular values are replaced by zero).
The SVD is also applied extensively to the study of linear inverse problems, and is useful in the analysis of regularization methods such as that of Tikhonov. It is widely used in statistics where it is related to principal component analysis, and in signal processing and pattern recognition. It is also used in output-only modal analysis, where the non-scaled mode shapes can be determined from the singular vectors.
One application of SVD to rather large matrices is in numerical weather prediction, where Lanczos methods are used to estimate the most linearly quickly growing few perturbations to the central numerical weather prediction over a given initial forward time period -- ie the singular vectors corresponding to the largest singular values of the linearised propagator for the global weather over that time interval. The output singular vectors in this case are entire weather systems! These perturbations are then run through the full nonlinear model to generate an ensemble forecast, giving a handle on some of the uncertainty that should be allowed for around the current central prediction.
The GNU Scientific Library offers four functions, one with the Golub-Rinsch algorithm, one with the modified Golub-Rinsch algorithm (faster for matrices with many more rows than columns), one with a one-sided Jacobi orthogonalization and one which uses only non-zero singular values. See the GSL manual page on SVD.
The singular value decomposition was originally developed by differential geometers, who wished to determine whether a real bilinear forms could be made equal to another by independent orthogonal transformations of the two spaces it acts on. Eugenio Beltrami and Camille Jordan discovered independently, in 1873 and 1874 respectively, that the singular values of the bilinear forms, represented as a matrix, form a complete set of invariants for bilinear forms under orthogonal substitutions. James Joseph Sylvester also arrived at the singular value decomposition for real square matrices in 1889, apparently independent of both Beltrami and Jordan. Sylvester called the singular values the canonical multipliers of the matrix A. The fourth mathematician to discover the singular value decomposition independently is Autonne in 1915, who arrived at it via the polar decomposition. The first proof of the singular value decomposition for rectangular and complex matrices seems to be by Eckart and Young in 1936; they saw it as a generalization of the principal axis transformation for Hermitian matrices.
In 1907, Erhard Schmidt defined an analog of singular values for integral operators (which are compact, under some weak technical assumptions); it seems he was unaware of the parallel work on singular values of finite matrices. This theory was further developed by Émile Picard in 1910, who is the first to call the numbers singular values (or rather, valeurs singulières).
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Singular value decomposition".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world