Math

SVD Geometry

The singular value decomposition writes any matrix as rotation, axis scaling, then rotation. The singular values are the semi-axis lengths of the transformed unit circle.

8 minLevel 3/3The interactive stage stays ad-free.
σ₁1.888σ₂0.858Condition2.20|det|1.62

The transformed unit circle is an ellipse. Amber and rose arrows are the singular axes, with lengths σ₁ and σ₂. Green dashed vectors are the right singular directions in the input space; applying the matrix sends vᵢ to σᵢuᵢ.

What you are seeing

1

Apply the matrix to the unit circle. The image is an ellipse centered at the origin.

2

The right singular vectors v₁, v₂ are orthogonal directions in the input. The left singular vectors u₁, u₂ are their images, scaled by σ₁ and σ₂.

3

SVD orders σ₁ ≥ σ₂. Their ratio is the condition number, which measures how much the matrix distorts directions.

Why it matters

SVD powers PCA, recommender systems, image compression, noise reduction, and the pseudo-inverse. It is arguably the most useful matrix factorization.

Complexity & details

Dense SVD costs O(min(m²n, mn²)). For a 2×2 matrix, the singular values come from the eigenvalues of AᵀA.

Frequently asked questions

How are singular values related to eigenvalues?+

The singular values of A are the square roots of the eigenvalues of AᵀA. They are nonnegative even when A has negative eigenvalues.

What does a zero singular value mean?+

The matrix collapses at least one direction to zero. The ellipse becomes a line segment, and the matrix is singular.