Singular-Value-Decomposition (Svd)

07-09-2022 || 04:03
Tags: #linear-algebra

singular-value-decomposition (SVD)

eigendecomposition can be a method to decompose or factor a matrix in different parts, but the problem with eigendecomposition is that it can work only with the square matrix for the calculation of the inverse matrix, which makes it applicable to a very small set of data.

So there come singular value decomposition which can work with mostly any type of matrix of any shape.

The SVD of matrix $A^{n*m}$ is defined by,

$$A = U D V^T$$
where $U^{nn}$ and $V^{mm}$ are orthogonal-matrix and $D^{n*m}$ is the diagonal-matrix

The columns of $U$ is called as left singular vector and the columns of $V$ is called as right singular vector.

The columns of $U$ are the eigenvectors of $AA^T$ and the columns of V are the eigenvectors of $A^TA$.
The diagonal values of $D$ are the eigenvalues of $AA^T$ or $A^TA$

The eigenvalue or eigenvectors can be calculate using the formula described on eigenvalue-eigenvector.

One small example of SVD can be seen here.