Mathematics · core

Rank, Basis & Subspaces

Column space, rank, independence — why matrices are often low-rank in practice.

mathematicslinear-algebra

Mental model

Rank counts independent directions the matrix reaches. Regression lives in the column space of X; residuals are orthogonal to that subspace.

How to study Rank, Basis & Subspaces

Begin by restating the mental model in your own words, then connect it to a concrete system you have built or operated. Name the mechanism, the constraint it addresses, and the trade-off it introduces. Use 3Blue1Brown — Span and linear independence to check details, but close the source before writing your explanation. Retrieval is the learning step; rereading is only preparation.

Next, compare Rank, Basis & Subspaces with PCA & Projection, Linear Regression, Eigenvalues & Matrix Decomposition. Ask what changes in correctness, latency, resource use, operability, and failure recovery. Complete Identify rank and column space and preserve the command, input, output, and one failed attempt as evidence. Finish by explaining the idea without jargon to someone who has not studied the track.

Proof of understanding

  • Explain the mechanism from first principles and identify the state it reads or changes.
  • Give one situation where the concept is the right choice and one where it is not.
  • Predict a realistic failure mode before running the drill, then compare the prediction with evidence.
  • Connect the result to a roadmap or build artifact instead of treating the concept as isolated trivia.

Where it matters

PCA, embeddings, recommender factorizations.

Common mistakes

  • Confusing rank with row count
  • OLS when X is rank-deficient
  • Ignoring near-collinearity

Learn from primary sources

Practice and explain it back

Identify rank and column space

A = [[1,2,3],[2,4,6],[1,1,0]]. What is rank(A)? Describe the column space in one sentence. Can you solve Ax=b for b=(3,6,2)?

Expected evidence: rank=2 (row2=2×row1). Column space is span{(1,2,1),(2,4,1)}. Ax=b consistent — b is in column space.

Open the interactive drill →

Review prompts

  • What is matrix rank?

Build evidence

Use a roadmap capstone to turn this concept into working evidence.

Prerequisites

Related concepts

Learning paths