WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Singular Values in 2D

red vectors
blue vectors
angle between vectors
{1.0,0}
{1.0,1.0}
{1.0,0}
{0,1.0}
0.785398
length of red vectors
singular values of
1.00
1.00
0
1.00
length of red vectors - singular values
{
1.
,
1.41421
}
{1.61803,0.618034}
{
-0.618034
,
0.79618
}
angle of rotation
0
sheer factor k
1
Some square matrices are diagonalizable or even orthogonally diagonalizable. An important fact about diagonalization is that the resulting diagonal matrix contains the eigenvalues of the original matrix on the main diagonal. However, not all matrices are diagonalizable. In such a case, the singular value decomposition (SVD) still exists. If
A
is an
m×n
matrix, its singular values
σ
j
are the square roots of the eigenvalues of the matrix
AA
.
The term singular value relates to the distance of the given matrix to a singular matrix. The idea behind SVD is that every matrix
A
can be decomposed into a product
UV
, where
U
and
V
are orthogonal matrices and
ii
=
σ
i
and
ij,ij
=0
.
This Demonstration shows the singular values of certain linear transformations in
2
R
, including rotation, dilation, and the sheer transformation of factor
k
. The yellow square (with blue arrows) is the original region and the black region (with red arrows) is the transformed region. The singular values of the standard matrix affiliated with the transformation can be found when the transformed grid is orthogonal.
Choose a transformation and rotation of the grid until it appears to be orthogonal; the length of the red arrows approaches the singular values of the standard matrix.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.