Singular value decomposition

From Academic Kids

In linear algebra the singular value decomposition (SVD) is an important factorization of a rectangular real or complex matrix, with several applications in signal processing and statistics. This matrix decomposition is analogous to the diagonalization of symmetric or Hermitian square matrices using a basis of eigenvectors given by the spectral theorem.

Contents

Statement of the theorem

Suppose M is an m-by-n matrix whose entries come from the field K, which is either the field of real numbers or the field of complex numbers. Then there exists a factorization of the form

<math>M = U\Sigma V^* \,\!<math>

where U is an m-by-m unitary matrix over K, V is an n-by-n unitary matrix over K, V* denotes the conjugate transpose of V, and Σ is an m-by-n diagonal matrix whose diagonal entries Σi,i are non-negative real numbers. Such a factorization is called a singular-value decomposition of M.

One commonly insists that the values Σi,i be ordered in non-increasing fashion. In this case, the diagonal matrix Σ is uniquely determined by M (though the matrices U and V are not).

Singular values, singular vectors, and their relation to the SVD

A non-negative real number σ is a singular value for M if there exist non-zero vectors u in Km and v in Kn such that

<math>Mv = \sigma u \,\mbox{ and } M^*u = \sigma v \,\!<math>.

The vectors u and v are called right-singular and left-singular vectors for σ, respectively.

In any singular value decomposition

<math>M = U\Sigma V^* \,\!<math>

the diagonal entries of Σ are necessarily equal to the singular values of M. The columns of U and V are left- resp. right singular vectors for the corresponding singular values. Note that the singular vectors are not uniquely determined by a given singular value, and likewise the matrices U and V are not uniquely determined by the matrix M.

One can show that the non-zero singular values for M are precisely the square roots of the non-zero eigenvalues of the positive semi-definite matrix MM*, and these are precisely the square roots of the non-zero eigenvalues of M*M. Furthermore, the columns of U are eigenvectors of MM* and the columns of V are eigenvectors of M*M.

Geometric meaning

Because U and V are unitary, we know that the columns u1,...,um of U yield an orthonormal basis of Km and the columns v1,...,vn of V yield an orthonormal basis of Kn (with respect to the standard scalar products on these spaces).

The linear transformation T: KnKm 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: KnKm 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.

Rank determination

The number of non-zero singular values is equal to the rank r of M. 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.

Reduced SVD

If we focus only on these r nonzero singular values, we can construct a singular-value decomposition of the following type:

<math>M = GDH^* \,\!<math>

where G is an m-by-r orthonormal matrix over K, H is an n-by-r orthonormal matrix over K and D is an r-by-r diagonal matrix whose diagonal entries are positive real numbers.

Norms

The sum of the k largest singular values of M is a matrix norm, the Ky Fan k-norm of M. The Ky Fan 1-norm is just the operator norm of M as a linear operator with respect to the Euclidean norms of Km and Kn. The square root of the sum of squares of the singular values is the Frobenius norm of M.

Applications of the SVD

The SVD is applied extensively to the study of linear inverse problems, and is useful in the analysis or 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 out-put only modal analsis where the non scaled mode shapes can be determined from the singular vectors.

Computation of the SVD

The LAPACK subroutine DGESVD (http://www.netlib.org/lapack/double/dgesvd.f) represents a typical approach to the computation of the singular value decomposition. If the matrix has more rows than columns a QR decomposition is first performed. The factor R is then reduced to a bidiagonal matrix. The desired singular values and vectors are then found by performing a bidiagonal QR iteration, using the LAPACK routine DBDSQR (http://www.netlib.org/lapack/double/dbdsqr.f) (See Demmel and Kahan for details).

See also

External links

  • LAPACK users manual  (http://www.netlib.org/lapack/lug/node53.html) gives details of subroutines to calculate the SVD.
  • Applications of SVD (http://www.imm.dtu.dk/~pch/Projekter/tsvd.html) on PC Hansen's web site.
  • MIT Lecture (http://ocw.mit.edu/OcwWeb/Mathematics/18-06Linear-AlgebraFall2002/VideoLectures/index.htm) series by Gilbert Strang. See Lecture #29 on the SVD.
  • Java applet (http://klebanov.homeip.net/~pavel/fb//java/la_applets/SVD/index.html) demonstrating the SVD.
  • Java script  (http://users.pandora.be/paul.larmuseau/SVD.htm) demonstrating the SVD more extensively, paste your data from a spreadsheet.
  • Chapter from "Numerical Recipes in C" (http://www.library.cornell.edu/nr/bookcpdf/c2-6.pdf) gives more information about implementation and applications of SVD.

References

  • Strang G, Introduction to Linear Algebra, 3rd Edition, Wellesley-Cambridge Press, 1998, (Section 6.7) ISBN 0961408855
  • Golub, G. H. and Van Loan, C. F. Matrix Computations, 3rd ed., Johns Hopkins University Press, Baltimore, 1996, ISBN 0801854148
  • Hansen, PC, The truncated SVD as a method for regularization, BIT, 27, 1987, pp. 534-553.
  • Demmel J. and Kahan W. Computing Small Singular Values of Bidiagonal Matrices With Guaranteed High Relative Accuracy, SIAM J. Sci. Statist. Comput. vol. 11, no. 5, 1990 pp. 873-912.de:Singulärwertzerlegung
Navigation

Academic Kids Menu

  • Art and Cultures
    • Art (http://www.academickids.com/encyclopedia/index.php/Art)
    • Architecture (http://www.academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (http://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (http://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools