Skip to content
  • Overview
  • Curriculum
    • FLUMental maths and numerical fluency
    • COMBCounting and combinatorics
    • PROBProbability
    • STATStatistics and inference
    • REGRegression and econometrics
    • TSTime series
    • LALinear algebra
      • 1Vectors and matrices

        • Rank, trace and determinant: what each one measures
      • 2Linear systems and spaces

        • The four fundamental subspaces, and when Ax = b has a solution
      • 3Orthogonality and projection

        • Orthogonality, QR and OLS as a projection
      • 4Eigenvalues and eigenvectors

        • Eigenvalues, diagonalisation and the spectral theorem
      • 5Definiteness and covariance

        • Definiteness, Cholesky and generating correlated normals
      • 6SVD and dimensionality reduction

        • PCA, covariance matrices and what an eigenvalue is telling you
      • 7Matrix calculus

        • Matrix calculus: the identities behind OLS, ridge and portfolios
    • SCStochastic calculus
    • MLMachine learning
    • SIGAlpha and signal research
    • CASEResearch case studies

Practise

  • Question bank
  • Mental arithmetic
  • Market simulator
  • Arbitrage trees
  • Horse racing
  • Bid book
  • Screening tests
  • Mock papers

Reference

  • Formula reference
  • Search

Your record

  • Review queue
  • Progress
  • Leaderboard
  • Profile
  • Invite friends
AccountSend feedback
  1. Curriculum
  2. /Quantitative research
  3. /Linear algebra
  4. /Linear systems and spaces

The four fundamental subspaces, and when Ax = b has a solution

LA · Chapter 2·11 min read·Asked at Two Sigma, Citadel, DE Shaw, Jane Street

Assumes Rank, trace and determinant: what each one measures.

After this lesson you should be able to

  • Name the four subspaces and how they fit together.
  • Say when a linear system has no solution, one, or infinitely many.
  • Connect the null space to multicollinearity.

Every matrix carves its input and output spaces into four pieces, and the whole theory of linear systems is a statement about how those pieces fit. It is worth carrying as a picture rather than a list, because the picture answers existence and uniqueness questions immediately.

SubspaceLives inDimensionMeaning
Column spaceRm\mathbb{R}^mRmrrrEverything AAA can produce
Null spaceRn\mathbb{R}^nRnn−rn - rn−rInputs that map to zero
Row spaceRn\mathbb{R}^nRnrrrOrthogonal complement of the null space
Left null spaceRm\mathbb{R}^mRmm−rm - rm−rOrthogonal complement of the column space
Table 2.1 · The four subspaces. For an m×nm \times nm×n matrix of rank rrr. The row and null spaces split the input; the column and left null spaces split the output — and each pair is orthogonal.

Proposition 2.2

Existence and uniqueness

A solution to Ax=bAx = bAx=b exists exactly when bbb lies in the column space, and it is unique exactly when the null space is trivial. Those are two independent conditions, which is why a system can have no solution, exactly one, or infinitely many — and never any other count.

Holds when

  • No solution: bbb is outside the column space. Least squares projects it in, which is what OLS does.
  • Infinitely many: the null space is non-trivial, so any null vector can be added to a solution.
  • Exactly one: bbb is reachable and nothing maps to zero.

Regression is the no-solution case. With more observations than regressors, yyy almost never lies in the column space of XXX — there is no coefficient vector that reproduces the data exactly, and that is the normal situation rather than a failure. Least squares does the only sensible thing: it finds the point *in* the column space closest to yyy, which is the orthogonal projection. The residual is then what is left over, living in the left null space, and it is orthogonal to every column by construction. The four-subspace picture is the geometry of regression.

Proposition 2.3

The null space is multicollinearity

If a linear combination of your regressors is exactly zero, that combination is a null vector of XXX — and you can add any multiple of it to the coefficient vector without changing a single fitted value. That is precisely why perfectly collinear regressors are not identified: infinitely many coefficient vectors give the identical fit.

Holds when

  • Near-collinearity means a nearly-null direction, so the coefficients are nearly unidentified and wildly unstable.
  • The dummy variable trap is exactly this: including every category plus an intercept makes the columns sum to the intercept.

The rest of this lesson is in Premium

You have read the opening. 10 more sections follow, including 4 worked examples and 3 quick checks.

Start the free 7-day trialSign in

Nothing is charged for 7 days, and you can cancel before then. Or read The law of large numbers and the central limit theorem in full, free.

← Rank, trace and determinant: what each one measuresOrthogonality, QR and OLS as a projection →
On this page
  • The four subspaces
  • Existence and uniqueness
  • The null space is multicollinearity

QuantMax · 141 lessons · 1342 questions · c5c0caa

  • Premium
  • Arbitrage trees
  • Horse racing
  • Invite friends
  • Account
  • About QuantMax
  • Terms
  • Privacy

Firm names identify publicly reported question patterns and nothing more. QuantMax is not affiliated with, endorsed by, or recruiting for any firm named in the curriculum. Everything you do in lessons and the question bank is kept to your account.