Singular value decomposition (SVD) is a mathematical technique that breaks down a matrix into three separate matrices, allowing us to understand the underlying structure of the original matrix.
Given a matrix
where:
Suppose we have the following matrix
And we want to calculate its SVD.
To find a matrix of the eigenvectors of
After getting
Hence, the eigenvalues are
Now we have the eigenvalues, we need to find the corresponding eigenvectors. Let's suppose
This system of linear equation can have infinitely many solutions. One of the solutions is:
Hence,
Normalizing Eigenvectors:
This system of linear equation can have infinitely many solutions. One of the solutions is:
Hence,
Normalizing Eigenvectors:
Now, we can say that:
The eigenvalues we got are
To calculate
The final form of SVD after combining all the calculations is:
You can verify the calculations as follows:
SVD has vast applications in machine learning techniques such as dimensionality reduction, signal processing, or image compression. It can also be used to determine the transformation of an image matrix.
Note: Read about eigen value decomposition.
Free Resources