Course contentsShow
← Mathematics
Lesson 2092 of 3,12143. Linear Algebra — Vectors and SpacesFree lesson

Dimension of Subspaces

Calculate dimensions of subspaces including the null space, column space, and row space of matrices.

Dimension of Subspaces

You'll learn how to calculate the dimension of important subspaces like null space, column space, and row space of matrices.

The Core Idea

The dimension of a subspace is simply the number of vectors in any basis for that subspace. While different bases might look different, they all contain the same number of vectors—that's the dimension. For subspaces that come from matrices, we have special names and techniques.

Key Subspaces of a Matrix

For any matrix A, three fundamental subspaces arise:

Column Space (Col A)

The span of all column vectors of A. Its dimension is called the rank of A.

  • How to find it: Row reduce A to echelon form. Count the number of pivot columns. That's the dimension.
  • The pivot columns from the original matrix form a basis for Col A.

Null Space (Nul A)

All solutions to Ax = 0. Its dimension is called the nullity of A.

  • How to find it: Solve Ax = 0. Count the number of free variables (non-pivot columns). That's the dimension.
  • The special solution vectors (one per free variable) form a basis.

Row Space (Row A)

The span of all row vectors of A. Its dimension equals the rank of A.

  • How to find it: The nonzero rows of the row-reduced form of A form a basis. Count them.

The Rank-Nullity Theorem

Here's a beautiful relationship: For an m×n matrix A,

rank(A) + nullity(A) = n

The number of pivot columns plus the number of free variables equals the total number of columns.

Key Takeaway: The dimension of a subspace is the number of vectors in its basis; for matrix subspaces, use pivot columns (for rank/column space) or free variables (for nullity/null space) to compute dimensions efficiently.