Singular Value Decomposition
Last updated
Last updated
Here, is an matrix, is an orthogonal matrix, is a diagonal matrix and is an orthogonal matrix.
The entries in the diagonal matrix consist of the square roots of the non-zero eigenvalues of the matrix , ordered from greatest to least. They are called the Singular Values of M, denoted .
The columns of are the normalized eigenvectors belonging to the previously mentioned eigenvalues, also ordered from greatest to least. These column vectors are called the right singular vectors of M Note: should be an orthogonal matrix, so you may need to apply the Gram-Schmidt process to orthogonalize the eigenvectors.
The columns of , called the left singular vectors of M, are calculated with the following formula, where are the column vectors of :
The columns of should add up to be an orthonormal basis for . If > , you will need to apply the Gram-Schmidt process (or insight) to complete the basis.
The SVD splits the transformation into three distinct consecutive moves: a rotation (), a scaling () and a final rotation ().