Master's · Master's

Singular value decomposition (SVD)

A = UΣVᵀ

The idea

Every matrix = a rotation, a stretch along the axes, another rotation.

The board

  1. A = UΣVT: V rotates, Σ stretches (the singular values), U rotates.
  2. It works for any matrix — even a rectangular one.
  3. The large singular values carry the main information.
  4. Keep only the largest → photo compression, Netflix recommendations, PCA.

The most common mistake

Confusing them with eigenvalues. Singular values are always ≥ 0 and always exist.

The trick

A 1000 × 1000 photo with only the first 50 singular values looks almost the same with 10 times less data.

Problems

SVD decomposes any matrix into…

  • two diagonal ones
  • rotation · stretch · rotation
  • eigenvectors only
  • inverses
Show the answer

rotation · stretch · rotation — UΣVᵀ.

Singular values are…

  • negative
  • complex
  • ≥ 0
  • always integers
Show the answer

≥ 0 — Stretches.

Take the lesson · exercises and XPFree, no sign-up needed.

You need to know