SVD
Let's walk through an example of Singular Value Decomposition (SVD).
Example: SVD of a 2x2 Matrix#
Consider the matrix:
We will decompose this matrix using SVD.
Step 1: Compute the SVD of #
We want to find matrices
Where:
-
-
-
Step 2: Find and #
To compute the SVD, we first calculate
:
Now, compute
:
Now, compute
Step 3: Compute the Eigenvalues and Eigenvectors#
Now, we find the eigenvalues and eigenvectors of
- Eigenvalues of
:
The eigenvalues of are the singular values squared. We solve the characteristic equation :
Solving this determinant gives the eigenvalues
The singular values are the square roots of the eigenvalues of
Step 4: Find the Singular Vectors#
To find the singular vectors, we solve for the eigenvectors corresponding to the eigenvalues of
- Right singular vectors (columns of
): - For
, the eigenvector can be calculated as . - For
, the eigenvector is .
After normalization, these eigenvectors are:
So, the matrix
- Left singular vectors (columns of
): - The left singular vectors can be computed by finding the eigenvectors of
. After similar calculations, we find the left singular vectors:
So, the matrix
Step 5: Construct the SVD#
Now, we can construct the Singular Value Decomposition of the matrix
where:
Thus, the SVD of
Conclusion#
This decomposition reveals the singular values and vectors that describe how the matrix