wanna mathMath ain't scary (not anymore)
4-Tier Textbook Index • Vol → Mod → Ch → Lab

Engineering Mathematics Volumes I–VI

6 Volumes • 20 Modules • 85 ChaptersFull Matrix →
4-Tier Statistics Index • Vol S → Mod → Ch → Lab

Interactive Statistics (S.1–S.6)

6 Modules • 18 ChaptersStatistics Index →
CHAPTER 2.3.3 • 2D + 3DPublished Interactive Labs~30 min study

Singular Value Decomposition (SVD) Geometry

Factor any matrix A = U Σ Vᵀ into an input rotation Vᵀ, principal axis stretch Σ, and output rotation U.

Engineering & Physical Application Context

Principal Component Analysis (PCA), low-rank image compression, pseudoinverse robot kinematics A⁺, and latent semantic recommendation matrices.

Governing Mathematical Formulation
A=UΣVT=∑i=1rσiuiviTA = U\Sigma V^T = \sum_{i=1}^{r} \sigma_i \mathbf{u}_i \mathbf{v}_i^T
Volume II • Module 2.31 Interactive Lab(s)

The Question You Should Ask

What happens when a matrix is rectangular or defective and lacks an eigenbasis—is there still an orthogonal coordinate decomposition that always works?

In Simple Words & Math

Singular Value Decomposition factors every matrix AA (square, rectangular, or singular) as A=UΣVTA = U\Sigma V^T: an input orthonormal rotation/reflection VTV^T, axis-aligned non-negative stretches σi=λi(ATA)\sigma_i = \sqrt{\lambda_i(A^T A)}, and an output orthonormal frame UU.

Geometrically, SVD shows that every linear transformation turns orthogonal axes {vi}\{\mathbf{v}_i\} into the orthogonal semi-axes {σiui}\{\sigma_i\mathbf{u}_i\} of a stretched hyperellipse, unlocking optimal low-rank data compression.

4-Step Pedagogical Chapter Rhythm • Geometric Intuition First
Ch. 2.3.3
STEP 1 • GEOMETRIC QUESTION

How can ANY matrix—even a rank-deficient shear or rectangular matrix with zero eigenvectors—always turn an orthogonal pair of input axes into an orthogonal pair of ellipse semi-axes?

STEP 2 • INTERACTIVE LAB EXPLORATION

Step continuously from Stage 0 to Stage 3 (x → Vᵀx → ΣVᵀx → UΣVᵀx) and toggle the rank-1 outer product σ₁u₁v₁ᵀ overlay to inspect compression energy capture.

STEP 3 • SYMBOLIC FORMALIZATION
A=UΣVT=∑i=1rσiuiviT,Avi=σiuiA = U\Sigma V^T = \sum_{i=1}^{r} \sigma_i \mathbf{u}_i \mathbf{v}_i^T, \qquad A\mathbf{v}_i = \sigma_i\mathbf{u}_i
STEP 4 • EDGE CASES & NEXT BRIDGE

While SVD generalizes orthogonal axes to arbitrary rectangular matrices, complex square operators split into Hermitian, Skew-Hermitian, and Unitary spectral classes unified by the Cayley–Hamilton Theorem in Chapter 2.3.4.

Interactive Laboratories in Chapter 2.3.3
Initializing Interactive Laboratory
LOADING MODULE

Preparing interactive canvas & numerical solver…

wanna math drafting viewport

Universal Matrix Anatomy: Singular Value Decomposition & Low-Rank Approximation

1. ROTATE → STRETCH → ROTATE
A=UΣVT,Avi=σiuiA = U\Sigma V^T,\qquad A\mathbf{v}_i = \sigma_i\mathbf{u}_i

Every matrix—even non-square or defective—maps an orthonormal input basis {vi}\{\mathbf{v}_i\} onto orthogonal semi-axes {σiui}\{\sigma_i\mathbf{u}_i\}.

2. SYMMETRIC GRAM CONNECTION
ATA=VΣTΣVT,σi=λi(ATA)A^T A = V\Sigma^T\Sigma V^T,\qquad \sigma_i = \sqrt{\lambda_i(A^T A)}

Right singular vectors diagonalize ATAA^TA, guaranteeing orthogonal principal directions with non-negative stretches σi≥0\sigma_i \ge 0.

3. ECKART–YOUNG BEST RANK-1
A1=σ1u1v1T,∥A−A1∥2=σ2A_1 = \sigma_1\mathbf{u}_1\mathbf{v}_1^T,\qquad \|A - A_1\|_2 = \sigma_2

Dropping smaller singular terms yields the provably optimal low-rank compression across image, PCA, and recommender pipelines.

SVD Anatomy & Pseudoinverses • Ch. 2.3.3

Four-Subspace SVD Bases, Condition Number, Pseudoinverse & Eckart–Young

Open SVD & Projections Formulas →
1. CONSTRUCTING U, Σ, V FOR ANY m × n
ATAvi=σi2vi,ui=1σiAvi(σ1≥⋯≥σr>0)A^T A \mathbf{v}_i = \sigma_i^2 \mathbf{v}_i,\qquad \mathbf{u}_i = \frac{1}{\sigma_i} A \mathbf{v}_i\quad (\sigma_1 \ge \dots \ge \sigma_r > 0)

Diagonalizing the symmetric positive-semidefinite Gram matrix ATAA^T A yields ordered singular values σi\sigma_i and orthonormal inputs vi\mathbf{v}_i. Mapping each positive direction forward produces unit vectors ui\mathbf{u}_i, which extend to orthonormal bases of Rm\mathbb{R}^m and Rn\mathbb{R}^n.

2. ORTHONORMAL FOUR SUBSPACES
C(A)=span⁡{u1,…,ur},N(A)=span⁡{vr+1,…,vn}\mathcal{C}(A) = \operatorname{span}\{\mathbf{u}_1,\dots,\mathbf{u}_r\},\qquad \mathcal{N}(A) = \operatorname{span}\{\mathbf{v}_{r+1},\dots,\mathbf{v}_n\}

The first rr columns of VV span row space C(AT)\mathcal{C}(A^T) while the remaining n−rn-r span N(A)\mathcal{N}(A); in output space, the last m−rm-r columns of UU span left nullspace N(AT)\mathcal{N}(A^T), giving orthogonal bases for all four fundamental subspaces.

3. CONDITIONING, PSEUDOINVERSE & RANK-k
κ2(A)=σ1σr,A+=VΣ+UT,∥A−Ak∥2=σk+1\kappa_2(A) = \frac{\sigma_1}{\sigma_r},\qquad A^+ = V\Sigma^+ U^T,\qquad \|A - A_k\|_2 = \sigma_{k+1}

The spectral condition number κ2(A)\kappa_2(A) measures sensitivity to perturbation, while the Moore–Penrose pseudoinverse A+A^+ returns the minimum-norm least-squares solution. By Eckart–Young–Mirsky, rank-kk truncation achieves optimal error ∥A−Ak∥2=σk+1\|A - A_k\|_2 = \sigma_{k+1} and ∥A−Ak∥F=∑i>kσi2\|A - A_k\|_F = \sqrt{\sum_{i>k}\sigma_i^2}.

Chapter 2.3.3 Laboratory Specifications

1 Interactive Lab(s)
LAB 2.3.3.1Component: SVDThreeStageLab

Three-Stage SVD Unit Circle → Hyperellipse Decomposition Lab

Step through Vᵀ (rotate), Σ (stretch by σ₁, σ₂), and U (rotate).

Avi=σiuiA\mathbf{v}_i = \sigma_i\mathbf{u}_i