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?

Linear algebra and optimisation, Vector spaces and rank
Level L3 Intermediate. Length Medium. Nature Th+Mat Both.

What's being asked

Whether you can prove the two fundamental rank laws via subspaces and explain why the normal equations always have a solution.

Key idea

Every column of AB is a linear combination of the columns of A, and A⊤A has the exact same null space as A because A⊤Ax=0  ⟹  ∥Ax∥22=0; this guarantees A⊤b always lies in C(A⊤A).

Steps

  1. Prove rank⁡(AB)≤rank⁡(A): for any vector x, ABx=A(Bx) lies in the column space C(A), so C(AB)⊆C(A) and rank⁡(AB)=dim⁡C(AB)≤dim⁡C(A)=rank⁡(A).
  2. Prove rank⁡(AB)≤rank⁡(B): using rank⁡(M)=rank⁡(M⊤), apply the first result to (AB)⊤=B⊤A⊤: rank⁡(AB)=rank⁡(B⊤A⊤)≤rank⁡(B⊤)=rank⁡(B). Combining both gives the minimum bound.
  3. Prove N(A⊤A)=N(A) for A∈Rm×n: if Ax=0 then A⊤Ax=0. Conversely, if A⊤Ax=0, left-multiply by x⊤ to get 0=x⊤A⊤Ax=∥Ax∥22, forcing Ax=0.
  4. Deduce rank⁡(A⊤A)=rank⁡(A): both A and A⊤A have n columns and identical null spaces, so by rank–nullity, rank⁡(A⊤A)=n−dim⁡N(A⊤A)=n−dim⁡N(A)=rank⁡(A).
  5. Implication for A⊤Ax=A⊤b: since C(A⊤A)⊆C(A⊤) and both subspaces have dimension rank⁡(A), they are equal. Hence A⊤b∈C(A⊤)=C(A⊤A), so the normal equations are always consistent even when A is rank-deficient.

Common mistakes

How long your answer should be

Half a page; 4–5 minutes.

Last checked on 4 December 2026.

Read this

Previous in Linear algebra and optimisation: How do you prove that every real symmetric matrix A∈Rn×n has only real eigenvalues and that eigenvectors corresponding to distinct eigenvalues are orthogonal?
Next in Linear algebra and optimisation: 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?