Chapter 6.5 — Singular Values and Low Rank

(a)  the unit circle goes to an ellipseHere A is a 2×2 matrix built directly from its SVD: the sliders set σ₁ ≥ σ₂ and the angles of the input basis v₁, v₂ and the output basis u₁, u₂. On the left is the unit circle in the input space; on the right is its image under A, an ellipse whose semi-axes are σ₁u₁ and σ₂u₂. Drag the unit vector x or press sweep. The bar shows ‖Ax‖² split as σ₁²α₁² + σ₂²α₂², where αi = vi⊤x. The trace below it records ‖Ax‖ around the circle: it never leaves the band between σmin and σmax, and it touches each end exactly at x = ±vi.

σ₁1.80
σ₂0.60
v angle0.50
u angle1.10
–

(b)  least squares: errors amplified by 1/σminThe same matrix A from panel (a). The true parameters s produce outputs b = As, which are measured with an error e of length at most ε — the small gold disk on the left. Least squares recovers ŝ = A†(b + e) = s + A†e. The dots on the right are 300 such recoveries. They fill an ellipse with semi-axes ε/σ₁ along v₁ and ε/σ₂ along v₂, and the dashed circle is the bound ‖ŝ − s‖ ≤ ε/σmin. Lower σ₂ in panel (a) and watch the same tiny measurement error spread into a long streak along v₂: two noticeably different parameter vectors now give nearly the same outputs.

error ε0.12
–

(a)  a matrix, its rank-r truncation, and what is leftA 12×16 matrix A, drawn as a heat map (gold positive, blue negative), was built from a few strong patterns plus a little noise. Its SVD is computed live. The middle map is the truncation Ar, which keeps only the first r terms σiuivi⊤; the right map is the residual A − Ar, on the same color scale. Slide r up: the strong structure moves into Ar within a few terms, and the residual fades to faint noise. Hover any cell to read the three values.

rank r2
–

(b)  the error is exactly the tail, and nothing beats itThe bars are the singular values of A: the first r are kept (gold), the rest are the tail. Below them, the total squared entrywise error ‖A − Ar‖F² is computed by summing the residual cell by cell, next to Σi>rσi² computed from the bars; the two agree to rounding error. Then try to beat the truncation: each press builds 20 other matrices of rank at most r — perturbations of Ar’s factors, and the matrix that keeps only r columns of A — and plots their errors. Every one lands to the right of the gold line.

–