Linear Algebra

Null Space & Column Space

Visualize the null space, column space, and rank-nullity theorem of a 2x2 transformation matrix.

Null Space & Column Space

Concept Overview

The Null Space and Column Space are fundamental subspaces associated with every linear transformation represented by a matrix. The Column Space represents the range of the transformation, showing all possible output vectors. The Null Space, conversely, represents all input vectors that are squashed down to the zero vector. The beautiful Rank-Nullity Theorem inextricably links the dimensions of these two spaces, proving that the sum of their dimensions equals the total dimension of the domain.

Mathematical Definition

Given an m × n matrix A (representing a linear transformation T: ℝn → ℝm):

Column Space (Col A):
Col A = { Ax : x ∈ ℝn }
This is the span of the column vectors of A. It is a subspace of ℝm.

Null Space (Nul A):
Nul A = { x ∈ ℝn : Ax = 0 }
This is the set of all solutions to the homogeneous equation. It is a subspace of ℝn.

Key Concepts

The Rank-Nullity Theorem

Also known as the Fundamental Theorem of Linear Maps, it states that for any matrix A with n columns:

dim(Col A) + dim(Nul A) = n
Where:
  • dim(Col A) is the Rank of the matrix.
  • dim(Nul A) is the Nullity of the matrix.

This theorem effectively states that the information contained in the n-dimensional domain must either be preserved in the output space (Rank) or completely lost by being mapped to zero (Nullity).

Row Space and Left Null Space

Every matrix actually has four fundamental subspaces. The Row Space is the span of the rows of A (equivalent to Col AT), and its dimension is exactly equal to the Rank of A. The Left Null Space contains the solutions to yTA = 0 (equivalent to Nul AT). The Row Space and Null Space are orthogonal complements in the domain, just as the Column Space and Left Null Space are in the codomain.

Historical Context

The formalization of vector spaces and their subspaces emerged in the late 19th and early 20th centuries through the work of Giuseppe Peano and Hermann Weyl. The concepts of rank and nullity have roots in solving systems of linear equations, where mathematicians like Carl Friedrich Gauss and Camille Jordan sought to understand when systems have unique solutions, infinitely many solutions, or no solutions at all.

The Rank-Nullity Theorem itself, in its modern abstract formulation, is often attributed to James Joseph Sylvester, who introduced the term "nullity" in 1884.

Real-world Applications

  • Control Systems: In control theory, the Null Space is critical for understanding unobservable states, while the Column Space describes the controllable states of a system.
  • Computer Graphics: When projecting 3D models onto a 2D screen, the "lost" dimension corresponds to the Null Space of the projection matrix—points along the same line of sight project to the same pixel.
  • Data Science and ML: Principal Component Analysis (PCA) effectively identifies a low-dimensional subspace (related to the Column Space) that captures most of the variance in high-dimensional data, treating the remainder as noise.
  • Cryptography: Error-correcting codes, like Hamming codes, utilize the Null Space. Valid codewords are specifically designed to lie in the Null Space of a parity-check matrix, allowing for the detection and correction of transmission errors.

Related Concepts

  • Linear Transformations — understanding how matrices map vectors between spaces.
  • Systems of Linear Equations — the Null Space explains homogeneous solutions, while the Column Space determines consistency.
  • Eigenvalues & Eigenvectors — related to specific invariant subspaces of the transformation.
  • Least Squares Approximation — projecting vectors onto the Column Space when exact solutions don't exist.

Experience it interactively

Adjust parameters, observe in real time, and build deep intuition with Riano’s interactive Null Space & Column Space module.

Try Null Space & Column Space on Riano →

More in Linear Algebra