Example: barber

A Singularly Valuable Decomposition: The SVD of a Matrix

A Singularly Valuable decomposition : The SVD of a MatrixDan KalmanThe American UniversityWashington, DC 20016 February 13, 2002 Every teacher of linear algebra should be familiar with the matrixsingular value decomposition (orSVD). It has interesting and attractive algebraic properties, and conveys important geometrical andtheoretical insights about linear transformations. The close connection between the SVD and the wellknown theory of diagonalization for symmetric matrices makes the topic immediately accessible to linearalgebra teachers, and indeed, a natural extension of what these teachers already know.

uniqueness result for the singular value decomposition. In any SVD of A, the right singular vectors (columns of V) must be the eigenvectors of ATA, the left singular vectors (columns of U) must be the eigenvectors of AAT, and the singular values must be the square roots of the nonzero eigenvalues common to these two symmetric matrices.

Tags:

  Value, Singular, Decomposition, Singular value decomposition

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of A Singularly Valuable Decomposition: The SVD of a Matrix

1 A Singularly Valuable decomposition : The SVD of a MatrixDan KalmanThe American UniversityWashington, DC 20016 February 13, 2002 Every teacher of linear algebra should be familiar with the matrixsingular value decomposition (orSVD). It has interesting and attractive algebraic properties, and conveys important geometrical andtheoretical insights about linear transformations. The close connection between the SVD and the wellknown theory of diagonalization for symmetric matrices makes the topic immediately accessible to linearalgebra teachers, and indeed, a natural extension of what these teachers already know.

2 At the sametime, the SVD has fundamental importance in several di erent applications of linear algebra. Strangwas aware of these facts when he introduced the SVD in his now classical text [22, page 142], observing:::it is not nearly as famous as it should and Van Loan ascribe a central signi cance to the SVD in their de nitive explication of numericalmatrix methods [8, page xiv] stating:::perhaps the most recurring theme in the book is the practical and theoretical value of [theSVD].Additional evidence of the signi cance of the SVD is its central role in a number of papers in recentyears inMathematics MagazineandThe American Mathematical Monthly(for example [2, 3, 17, 23]).

3 Although it is probably not feasible to include the SVD in the rst linear algebra course, it de nitelydeserves a place in more advanced undergraduate courses, particularly those with a numerical or appliedemphasis. My primary goals in this article are to bring the topic to the attention of a broad audience,and to reveal some of the facets that give it both practical and theoretical signi TheoryThe SVD is intimately related to the familiar theory of diagonalizing a symmetric Matrix . Recall thatifAis a symmetric realn nmatrix, there is an orthogonal matrixVand a diagonalDsuch thatA=VDVT.

4 Here the columns ofVare eigenvectors forAand form an orthonormal basis forRn; thediagonal entries ofDare the eigenvalues ofA. To emphasize the connection with the SVD, we will refertoVDVTas the eigenvalue decomposition , orEVD, the SVD we begin with an arbitrary realm nmatrixA:As we shall see, there are orthogonalmatricesUandVand a diagonal Matrix , this time denoted ;such thatA=U VT:In this case,Uism mandVisn n, so that is rectangular with the same dimensions asA. The diagonal entriesof ;that is the ii= i, can be arranged to be nonnegative and in order of decreasing positive ones are called thesingular valuesofA.

5 The columns ofUandVare called left and rightsingular vectors, analogy between the EVD for a symmetric Matrix and SVD for an arbitrary Matrix can beextended a little by thinking of matrices as linear transformations. For a symmetric matrixA;thetransformation takesRnto itself, and the columns ofVde ne an especially nice basis. When vectorsare expressed relative to this basis, we see that the transformation simply dilates some components andcontracts others, according to the magnitudes of the eigenvalues (with a re ection through the origintossed in for negative eigenvalues).

6 Moreover, the basis is orthonormal, which is the best kind of basisto let's look at the SVD for anm nmatrixA. Here the transformation takesRnto a di erentspace,Rm, so it is reasonable to ask for a natural basis for each of domain and range. The columnsofVandUprovide these bases. When they are used to represent vectors in the domain and rangeof the transformation, the nature of the transformation again becomes transparent: it simply dilatessome components and contracts others, according to the magnitudes of the singular values, and possiblydiscards components or appends zeros as needed to account for a change in dimension.

7 From thisperspective, the SVD tells us how to choose orthonormal bases so that the transformation is representedby a Matrix with the simplest possible form, that is, do we choose the basesfv1;v2; ;vngandfu1;u2; ;umgfor the domain and range? Thereis no di culty in obtaining a diagonal representation. For that, we need onlyAvi= iui, which is easilyarranged. Select an orthonormal basisfv1;v2; ;vngforRnso that the rstkelements span the rowspace ofAand the remainingn kelements span the null space ofA;wherekis the rank ofA:Then for1 i kde neuito be a unit vector parallel toAvi, and extend this to a basis forRm.

8 Relative tothese bases,Awill have a diagonal representation. But in general, although thev's are orthogonal, thereis no reason to expect theu's to be. The possibility of choosing thev{basis so that its orthogonality ispreserved underAis the key point. We show next that the EVD of then nsymmetric matrixATAprovides just such a basis, namely, the eigenvectors ofATA:LetATA=VDVT, with the diagonal entries iofDarranged in nonincreasing order, and let the2 columns ofV(which are eigenvectors ofATA) be the orthonormal basisfv1;v2; ;vng. ThenAvi Avj=(Avi)T(Avj)=vTiATAvj=vTi( jvj)= jvi vjso the image setfAv1;Av2; ;Avngis orthogonal, and the nonzero vectors in this set form a basisfor the range ofA.}

9 Thus, the eigenvectors ofATAand their images underAprovide orthogonal basesallowingAto be expressed in a diagonal complete the construction, we normalize the vectorsAvi. The eigenvalues ofATAagain appearin this step. Takingi=jin the calculation above givesjAvij2= i, which means i 0:Since theseeigenvalues were assumed to be arranged in nonincreasing order, we conclude that 1 2 k 0 and, since the rank ofAequalsk; i= 0 fori>k:The orthonormal basis for the range is thereforede ned byui=AvijAvij=1p iAvi;1 i kIfk<m;we extend this to an orthonormal basis completes the construction of the desired orthonormal bases forRnandRm.

10 Setting i=p iwe haveAvi= iuifor alli k:Assembling thevias the columns of a matrixVand theuito formU;this shows thatAV=U ;where has the same dimensions asA;has the entries ialong themain diagonal, and has all other entries equal to zero. Hence,A=U VT;which is the singular valuedecomposition ofA:In summary, anm nreal matrixAcan be expressed as the productU VT, whereVandUare orthogonal matrices and is a diagonal Matrix , as follows. The matrixVis obtained from thediagonal factorizationATA=VDVT;in which the diagonal entries ofDappear in non-increasingorder; the columns ofUcome from normalizing the nonvanishing images underAof the columns ofV;and extending (if necessary) to an orthonormal basis forRm; the nonzero entries of are the respectivesquare roots of corresponding diagonal entries ofD:The preceding construction demonstrates that the SVD exists, and gives some idea of what it tellsabout a Matrix .


Related search queries