Skip to content

Singular Value Decomposition (SVD)

Mathematics Algebra Difficulty 2/5

Beginning of the lesson

1. Why SVD? — Transcending Eigendecomposition

The SVD Promise

Every matrix $A \in \mathbb{R}^{m \times n}$ — square or rectangular, full-rank or singular — admits a factorization

$$A = U\,\Sigma\,V^{\!\top}$$

where

  • $U \in \mathbb{R}^{m \times m}$ is an orthogonal matrix (its columns $\mathbf{u}_1,\dots,\mathbf{u}_m$ form an orthonormal basis of $\mathbb{R}^m$).
  • $V \in \mathbb{R}^{n \times n}$ is an orthogonal matrix (its columns $\mathbf{v}_1,\dots,\mathbf{v}_n$ form an orthonormal basis of $\mathbb{R}^n$).
  • $\Sigma \in \mathbb{R}^{m \times n}$ is a diagonal matrix with entries $\sigma_1 \ge \sigma_2 \ge \cdots \ge \sigma_{\min(m,n)} \ge 0$ on the diagonal.

The numbers $\sigma_i$ are the singular values. The columns of $U$ are the left singular vectors; the columns of $V$ are the right singular vectors.

The Geometric Sentence

Read the factorization right-to-left as a sequence of three operations on a vector $\mathbf{x}$:

$$A\mathbf{x} = U\,(\Sigma\,(V^{\!\top}\mathbf{x}))$$
  1. $V^{\!\top}$: Rotate (in the input space $\mathbb{R}^n$). Express $\mathbf{x}$ in the orthonormal basis $\{\mathbf{v}_1,\dots,\mathbf{v}_n\}$.

Continue this lesson on YourAIZone

The full lesson has the complete explanation, worked examples, common mistakes, tests with instant checking and an AI tutor. Start right away as a guest, or create an account to keep your progress.

In the full lesson

  • The complete explanation
  • Worked examples
  • Common mistakes and how to avoid them
  • Test questions: 15
  • AI tutor that answers questions about the topic
  • Progress tracking for students, parents and teachers