Study Music. Click to play or pause. After it starts, press the Space Bar to play or pause. If enabled, it will resume across pages.

The Singular Value Decomposition as the Geometry Engine of Linear Algebra

Singular value decomposition (SVD) is the piece of linear algebra that most cleanly turns abstract statements into geometry you can draw and computations you can trust. It tells you what a matrix does to the unit sphere, how far it stretches in each principal direction, and which directions are crushed nearly to zero. That single perspective connects least squares, pseudoinverses, conditioning, low‑rank approximation, and a large portion of practical numerical linear algebra.

This article builds the SVD from the ground up, explains why it is the correct notion of diagonalization for rectangular or nonnormal matrices, and shows how to use it to reason about stability, error, and structure without hiding behind slogans.

Featured Console Deal
Compact 1440p Gaming Console

Xbox Series S 512GB SSD All-Digital Gaming Console + 1 Wireless Controller, White

Microsoft • Xbox Series S • Console Bundle
Xbox Series S 512GB SSD All-Digital Gaming Console + 1 Wireless Controller, White
Good fit for digital-first players who want small size and fast loading

An easy console pick for digital-first players who want a compact system with quick loading and smooth performance.

$438.99
Price checked: 2026-03-23 18:31. Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply to the purchase of this product.
  • 512GB custom NVMe SSD
  • Up to 1440p gaming
  • Up to 120 FPS support
  • Includes Xbox Wireless Controller
  • VRR and low-latency gaming features
See Console Deal on Amazon
Check Amazon for the latest price, stock, shipping options, and included bundle details.

Why it stands out

  • Compact footprint
  • Fast SSD loading
  • Easy console recommendation for smaller setups

Things to know

  • Digital-only
  • Storage can fill quickly
See Amazon for current availability and bundle details
As an Amazon Associate I earn from qualifying purchases.

What the SVD states and why it is the right normal form

Let $A$ be a real $m\times n$ matrix. The SVD says there exist orthogonal matrices $U\in\mathbb{R}^{m\times m}$ and $V\in\mathbb{R}^{n\times n}$, and a diagonal matrix

$$ \Sigma = \operatorname{diag}(\sigma_1,\sigma_2,\dots,\sigma_r)\in\mathbb{R}^{m\times n}, $$

with $\sigma_1\ge\sigma_2\ge\cdots\ge\sigma_r>0$ and $r=\operatorname{rank}(A)$, such that

$$ A = U\,\Sigma\,V^{\mathsf T}. $$

The diagonal entries $\sigma_i$ are the singular values. The columns $u_i$ of $U$ are left singular vectors, and the columns $v_i$ of $V$ are right singular vectors.

Two features make this decomposition the correct normal form for general matrices.

  • It is always available, for every real matrix, square or rectangular.
  • It is orthogonally invariant: multiplying $A$ on the left or right by an orthogonal matrix does not change its singular values, only rotates singular vectors.

That invariance aligns with geometry. Orthogonal transformations preserve lengths and angles. So the singular values are the intrinsic stretch factors of the linear map, independent of the coordinate system.

The unit sphere picture: ellipsoids and principal stretches

Consider the unit sphere $S^{n-1} = \{x\in\mathbb{R}^n : \|x\|_2=1\}$. The image of this sphere under $A$ is an ellipsoid in $\mathbb{R}^m$ (possibly flattened). The SVD identifies its principal axes.

From $A v_i = \sigma_i u_i$, we see that:

  • each right singular vector $v_i$ is a direction in the domain,
  • $A$ sends $v_i$ \to a vector in the codomain aligned with $u_i$,
  • the length of that image is exactly $\sigma_i$.

So the ellipsoid has semiaxis lengths $\sigma_1,\dots,\sigma_r$ along directions $u_1,\dots,u_r$, and any component of the input in the nullspace direction is mapped to zero.

A helpful consequence is an exact variational characterization:

$$ \sigma_1 = \max_{\|x\|_2=1}\|Ax\|_2,\quad \sigma_n = \min_{\|x\|_2=1}\|Ax\|_2 \text{ (when }A\text{ is square and invertible).} $$

More generally, the set of singular values controls every induced Euclidean operator norm you care about.

How to derive the SVD from symmetric matrices

The SVD is often presented as a fact to memorize, but it is better understood as a consequence of spectral theory for symmetric matrices.

Start with $A^{\mathsf T}A$, which is an $n\times n$ symmetric positive semidefinite matrix. Therefore it has an orthonormal eigenbasis:

$$ A^{\mathsf T}A v_i = \lambda_i v_i,\quad \lambda_i\ge 0. $$

Define $\sigma_i = \sqrt{\lambda_i}$. For each eigenvector with $\sigma_i>0$, define

$$ u_i = \frac{A v_i}{\sigma_i}. $$

Then $u_i$ has unit length because

$$ \|u_i\|_2^2 = \frac{\|A v_i\|_2^2}{\sigma_i^2} = \frac{v_i^{\mathsf T}A^{\mathsf T}A v_i}{\lambda_i} = \frac{\lambda_i}{\lambda_i}=1. $$

One can also check orthogonality: distinct eigenvectors of $A^{\mathsf T}A$ are orthogonal, and the corresponding $u_i$ become orthogonal as well. Completing $\{u_i\}$ \to an orthonormal basis of $\mathbb{R}^m$ yields $U$, and taking $V$ as the eigenvector matrix yields the decomposition.

This proof matters because it reveals a chain of ideas.

  • SVD reduces to diagonalizing a symmetric matrix.
  • Singular values are square roots of eigenvalues of $A^{\mathsf T}A$ and $A A^{\mathsf T}$.
  • Numerical methods for symmetric eigenproblems become methods for SVD.

Rank, nullspace, and the four fundamental subspaces

SVD organizes the classical four subspaces picture in a way that is computationally concrete.

Let $A = U\Sigma V^{\mathsf T}$ and $r=\operatorname{rank}(A)$.

  • The column space $\operatorname{Col}(A)$ is spanned by the first $r$ columns of $U$.
  • The row space $\operatorname{Row}(A)$ is spanned by the first $r$ columns of $V$.
  • The nullspace $\mathcal{N}(A)$ is spanned by the last $n-r$ columns of $V$.
  • The left nullspace $\mathcal{N}(A^{\mathsf T})$ is spanned by the last $m-r$ columns of $U$.

This is not only conceptual; it is actionable. If you want a stable basis for the nullspace, the last right singular vectors provide one. If you want an orthonormal basis for the range, the first left singular vectors provide one.

The SVD also makes orthogonal projectors explicit:

$$ P_{\operatorname{Col}(A)} = U_r U_r^{\mathsf T},\quad P_{\operatorname{Row}(A)} = V_r V_r^{\mathsf T}, $$

where $U_r$ and $V_r$ collect the first $r$ singular vectors.

Least squares, pseudoinverses, and what the solution really is

Least squares problems appear everywhere: fit a model, solve an inconsistent linear system, recover a signal. Given $A\in\mathbb{R}^{m\times n}$ and $b\in\mathbb{R}^m$, the least squares problem is

$$ \min_x \|Ax-b\|_2. $$

If $A$ has full column rank, the normal equations $A^{\mathsf T}A x = A^{\mathsf T}b$ have a unique solution. But using the normal equations directly squares the condition number and can be numerically fragile. The SVD provides a clearer and safer representation.

Write $A = U\Sigma V^{\mathsf T}$. Then

$$ \|Ax-b\|_2 = \|U\Sigma V^{\mathsf T}x – b\|_2 = \|\Sigma V^{\mathsf T}x – U^{\mathsf T}b\|_2, $$

because $U$ is orthogonal. Let $y = V^{\mathsf T}x$ and $c = U^{\mathsf T}b$. The problem becomes

$$ \min_y \|\Sigma y – c\|_2. $$

Since $\Sigma$ is diagonal, the minimization decouples coordinatewise. For $i\le r$, the best choice is $y_i = c_i/\sigma_i$. For $i>r$, the choice of $y_i$ does not affect the residual because those directions lie in the nullspace. The minimum‑norm solution sets them to zero.

This yields the Moore–Penrose pseudoinverse:

$$ A^+ = V\Sigma^+ U^{\mathsf T}, $$

where $\Sigma^+$ has diagonal entries $1/\sigma_i$ for $i\le r$ and zeros elsewhere. The minimum‑norm least squares solution is $x_* = A^+ b$.

A table captures what the pseudoinverse does in each singular direction.

| Direction in domain | Matrix action | Contribution to solution |

|—|—|—|

| $v_i$ with large $\sigma_i$ | strong, stable stretch | $y_i=c_i/\sigma_i$ stays controlled |

| $v_i$ with tiny $\sigma_i$ | near‑collapse | $y_i=c_i/\sigma_i$ can blow up, amplifying noise |

| nullspace directions | mapped to zero | set to zero for minimum norm |

This table is the moral reason SVD is central to inverse problems: small singular values are where instability lives.

Conditioning: the honest measure of sensitivity

For a square invertible matrix $A$, the 2‑norm condition number is

$$ \kappa_2(A) = \|A\|_2\,\|A^{-1}\|_2 = \frac{\sigma_1}{\sigma_n}. $$

A large condition number means small perturbations in $b$ or rounding in computation can cause large changes in the solution of $Ax=b$.

The SVD explains this without handwaving. In the coordinates $y = V^{\mathsf T}x$, solving $Ax=b$ becomes $\Sigma y = U^{\mathsf T}b$. Each coordinate divides by $\sigma_i$. If $\sigma_n$ is tiny, division amplifies errors in that coordinate.

One practical response is regularization. A common choice is Tikhonov (ridge) regularization:

$$ \min_x \|Ax-b\|_2^2 + \lambda\|x\|_2^2. $$

In SVD coordinates, this becomes

$$ y_i = \frac{\sigma_i}{\sigma_i^2+\lambda} c_i. $$

Small singular directions are damped instead of amplified. The parameter $\lambda$ trades bias for stability.

Best low‑rank approximation and the meaning of “signal”

Suppose you want to approximate $A$ by a matrix of rank at most $k$, perhaps for compression or noise reduction. The SVD gives the best answer in the 2‑norm and Frobenius norm.

Write

$$ A = \sum_{i=1}^r \sigma_i u_i v_i^{\mathsf T}. $$

The truncated SVD

$$ A_k = \sum_{i=1}^k \sigma_i u_i v_i^{\mathsf T} $$

is the best rank‑$k$ approximation, with errors

$$ \|A-A_k\|_2 = \sigma_{k+1},\quad \|A-A_k\|_F^2 = \sum_{i>k}\sigma_i^2. $$

This theorem (Eckart–Young–Mirsky) says singular values measure the energy of the matrix across orthogonal modes. Keeping the largest $k$ modes preserves as much as possible, while discarding the smallest modes removes directions that contribute least in a normed sense.

A practical interpretation stays close to geometry.

  • If $\sigma_{k+1}$ is much smaller than $\sigma_k$, the matrix has an effective rank near $k$.
  • If the singular values decay slowly, compression requires losing significant structure.

Polar decomposition: separating rotation and stretch

Another perspective that clarifies geometry is polar decomposition. For any $A\in\mathbb{R}^{m\times n}$, one can write

$$ A = Q H, $$

where $Q$ has orthonormal columns (a partial isometry) and $H = (A^{\mathsf T}A)^{1/2}$ is symmetric positive semidefinite.

Using the SVD, the stretch part is $H = V\Sigma^{\mathsf T}\Sigma V^{\mathsf T}$ square‑rooted, and the length‑preserving part is built from the singular vector frames. Conceptually:

  • $H$ is the pure stretch in the domain directions.
  • $Q$ is the length‑preserving transformation that places that stretched object into the codomain.

This separation prevents common conceptual mistakes. Many complicated matrices are not mysterious rotations with some scaling added. They are rotations composed with a symmetric stretch.

A worked micro‑example you can compute by hand

Take

$$ A = \begin{pmatrix} 2 & 0\\ 1 & 1 \end{pmatrix}. $$

Compute

$$ A^{\mathsf T}A = \begin{pmatrix} 5 & 1\\ 1 & 1 \end{pmatrix}. $$

The eigenvalues of this symmetric matrix are

$$ \lambda_{\pm} = 3 \pm \sqrt{5}. $$

So the singular values are

$$ \sigma_1 = \sqrt{3+\sqrt{5}},\quad \sigma_2 = \sqrt{3-\sqrt{5}}. $$

The corresponding eigenvectors (normalized) give $V$. Then $u_i = Av_i/\sigma_i$ gives the left singular vectors. Even in this small example, the point is visible: the singular values are not arbitrary constants; they are forced by the symmetric form $A^{\mathsf T}A$, and they quantify the stretching of the unit circle into an ellipse.

Practical takeaways that stay true across contexts

SVD is not merely a decomposition, it is a method for asking stable questions.

  • If you need a reliable basis for a subspace attached \to $A$, use singular vectors.
  • If you care about sensitivity, look at the ratio $\sigma_1/\sigma_r$ over the active rank.
  • If a computed solution is unstable, inspect small singular values rather than guessing.
  • If you need to compress or denoise a matrix, truncate the SVD and measure the discarded tail.

Linear algebra is often taught as manipulation of symbols. SVD returns it to its true content: geometry of linear maps with a numerical conscience. Once you internalize that the singular values are the axes of the image ellipsoid, many puzzles of least squares and instability stop being puzzles and become visible.

Books by Drew Higgins

Explore this field
Linear Algebra
Library Linear Algebra
Algebra
Abstract Algebra
Representation Theory
Analysis and Partial Differential Equations
Category Theory
Combinatorics
Dynamical Systems
Geometry
Science
Mathematics

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *