What are the four fundamental subspaces of a matrix A∈Rm×n of rank r, how do they pair up as orthogonal complements, and how does the SVD A=UΣV⊤ give an orthonormal basis for every one of them?

Linear algebra and optimisation, SVD and subspaces
Level L3 Intermediate. Length Medium. Nature Th+Mat Both.

What's being asked

Whether you understand the full geometric picture of a linear map (Strang's four subspaces) and how the SVD decomposes both domain and codomain.

Key idea

The row space C(A⊤) and null space N(A) are orthogonal complements in Rn (dimensions r and n−r), while the column space C(A) and left null space N(A⊤) are orthogonal complements in Rm (dimensions r and m−r); splitting U=[Ur Um−r] and V=[Vr Vn−r] at the r non-zero singular values gives orthonormal bases for all four.

Steps

  1. List the four subspaces and their dimensions: in Rn (domain), the row space C(A⊤) has dimension r and the null space N(A) has dimension n−r; in Rm (codomain), the column space C(A) has dimension r and the left null space N(A⊤) has dimension m−r.
  2. Prove orthogonal complementarity: x∈N(A)  ⟺  Ax=0  ⟺   every row of A is orthogonal to x  ⟺  x⊥C(A⊤). Since their dimensions sum to r+(n−r)=n, C(A⊤)⊥=N(A). Applying the same argument to A⊤ gives C(A)⊥=N(A⊤) in Rm.
  3. Write the full SVD A=UΣV⊤=∑i=1rσiuivi⊤ with σ1≥⋯≥σr>0 and σr+1=⋯=0.
  4. Read off the orthonormal bases: Avi=σiui for i≤r and Avi=0 for i>r, so the first r columns of V (Vr) span C(A⊤) and the last n−r columns (Vn−r) span N(A).
  5. Similarly, A⊤ui=σivi for i≤r and A⊤ui=0 for i>r, so the first r columns of U (Ur) span C(A) and the last m−r columns (Um−r) span N(A⊤).

Common mistakes

How long your answer should be

Half to two-thirds of a page; 5 minutes.

Last checked on 4 December 2026.

Read this

Previous in Linear algebra and optimisation: Why does rank⁡(AB)≤min⁡(rank⁡(A),rank⁡(B)) hold, why is rank⁡(A⊤A)=rank⁡(A) for every real matrix A, and what does this imply for the consistency of the normal equations A⊤Ax=A⊤b?
Next in Linear algebra and optimisation: Is it true that (a) a uniformly sampled mini-batch gradient is an unbiased estimator of the full-batch gradient, (b) every SGD step decreases the training objective, and (c) SGD with a fixed learning rate converges to the exact minimum, and why?