The Four Fundamental Subspaces: Rank, Nullspaces, and Their Dimensions

A concrete introduction to Strang's four fundamental subspaces, showing how rank determines their dimensions, why elimination preserves nullspaces and column dependencies, and how the formulas work for A = [1 2 3].

The Four Fundamental Subspaces

Section 3.5 of Gilbert Strang's Introduction to Linear Algebra brings together the column space, row space, nullspace, and left nullspace into one picture.

For an \(m\times n\) matrix \(A\) of rank \(r\), the four fundamental subspaces are

\[ \boxed{C(A),\quad C(A^T),\quad N(A),\quad N(A^T)}. \]

Their dimensions are

\[ \boxed{\dim C(A)=r} \]

\[ \boxed{\dim C(A^T)=r} \]

\[ \boxed{\dim N(A)=n-r} \]

\[ \boxed{\dim N(A^T)=m-r}. \]

The important point is that these formulas do not redefine dimension. Dimension still means:

\[ \boxed{\text{number of vectors in a basis of the space}.} \]

The quantities \(r\), \(n-r\), and \(m-r\) tell us how many vectors occur in natural bases for these spaces.

1. Where the four spaces live

If \(A\) is \(m\times n\), each column of \(A\) has \(m\) entries. Therefore

\[ \boxed{C(A)\subseteq\mathbb R^m}. \]

An input vector \(x\) in \(Ax\) has \(n\) entries. Therefore

\[ \boxed{N(A)\subseteq\mathbb R^n}. \]

The row space of \(A\) is the column space of \(A^T\), so

\[ \boxed{C(A^T)\subseteq\mathbb R^n}. \]

The left nullspace is

\[ \boxed{N(A^T)\subseteq\mathbb R^m}. \]

Thus the spaces naturally form two pairs:

\[ \boxed{\mathbb R^n:\quad C(A^T),\ N(A)} \]

and

\[ \boxed{\mathbb R^m:\quad C(A),\ N(A^T)}. \]

2. Why the column space has dimension r

The rank \(r\) is the number of pivots.

Those pivots identify \(r\) independent columns.

The corresponding pivot columns of the original matrix \(A\) are independent and span the column space.

Therefore they form a basis for \(C(A)\).

Since that basis contains \(r\) vectors,

\[ \boxed{\dim C(A)=r}. \]

3. Why the row space also has dimension r

After elimination, the nonzero rows of the echelon matrix \(R\) are independent and span the row space.

There are \(r\) nonzero pivot rows.

Therefore a basis for the row space contains \(r\) vectors:

\[ \boxed{\dim C(A^T)=r}. \]

This gives the important equality

\[ \boxed{\text{row rank}=\text{column rank}=r}. \]

4. Why the nullspace has dimension n-r

There are \(n\) variables in \(Ax=0\).

If there are \(r\) pivot variables, then the number of free variables is

\[ \boxed{n-r}. \]

Each free variable produces one special solution.

Those special solutions are independent and span the nullspace.

Therefore they form a basis for \(N(A)\).

So

\[ \boxed{\dim N(A)=n-r}. \]

This gives the counting relation

\[ \boxed{r+(n-r)=n}. \]

In dimension language,

\[ \boxed{\dim C(A)+\dim N(A)=n}. \]

This equation adds dimension counts. The spaces themselves generally live in different ambient spaces.

A geometrically cleaner pair inside \(\mathbb R^n\) is the row space and nullspace:

\[ \dim C(A^T)=r, \qquad \dim N(A)=n-r. \]

5. The left nullspace

The fourth fundamental subspace is

\[ \boxed{N(A^T)}. \]

It is found by solving

\[ A^Ty=0. \]

Because the columns of \(A^T\) are the rows of \(A\), this equation asks:

Which linear combinations of the rows of \(A\) give the zero row?

Thus there is a useful symmetry:

\[ \boxed{N(A):\text{ dependency relations among columns}} \]

\[ \boxed{N(A^T):\text{ dependency relations among rows}}. \]

It is called the left nullspace because

\[ A^Ty=0 \]

can be transposed to

\[ \boxed{y^TA=0^T}. \]

The vector \(y^T\) now appears on the left side of \(A\).

Since \(A^T\) has \(m\) columns and the same rank \(r\), its nullspace contains

\[ m-r \]

independent special solutions.

Therefore

\[ \boxed{\dim N(A^T)=m-r}. \]

6. Why row operations change the column space

Consider

\[ A= \begin{bmatrix} 1&1\\ 1&1 \end{bmatrix}. \]

Its columns are

\[ \begin{bmatrix}1\\1\end{bmatrix}, \quad \begin{bmatrix}1\\1\end{bmatrix}. \]

Therefore

\[ C(A)=\operatorname{span} \left\{ \begin{bmatrix}1\\1\end{bmatrix} \right\}. \]

Perform the row operation

\[ R_2\leftarrow R_2-R_1. \]

Then

\[ R= \begin{bmatrix} 1&1\\ 0&0 \end{bmatrix}. \]

Its columns are now

\[ \begin{bmatrix}1\\0\end{bmatrix}, \quad \begin{bmatrix}1\\0\end{bmatrix}. \]

Thus

\[ C(R)=\operatorname{span} \left\{ \begin{bmatrix}1\\0\end{bmatrix} \right\}. \]

Therefore

\[ \boxed{C(A)\neq C(R)}. \]

Row operations changed the actual column vectors.

But their dependency pattern stayed the same.

Before elimination,

\[ C_2=C_1. \]

After elimination,

\[ C_2'=C_1'. \]

So each matrix still has exactly one independent column.

Therefore

\[ \boxed{\dim C(A)=\dim C(R)}. \]

7. Why column dependencies survive elimination

Suppose the columns of \(A\) satisfy

\[ x_1C_1+x_2C_2+\cdots+x_nC_n=0. \]

This equation is exactly

\[ Ax=0. \]

Row elimination does not change the solutions of the homogeneous system, so

\[ \boxed{Ax=0\iff Rx=0}. \]

Therefore the same coefficient vector \(x\) describes a zero-producing dependency among the corresponding columns of \(R\).

So row operations can change where the columns point, but they do not change which combinations of columns give zero.

This explains why

\[ C(A)\neq C(R) \]

can coexist with

\[ \boxed{\dim C(A)=\dim C(R)=r}. \]

8. Why A and R have exactly the same nullspace

Because elimination preserves the solutions of

\[ Ax=0, \]

we have

\[ \boxed{N(A)=N(R)}. \]

This is stronger than saying they merely have the same dimension.

They contain exactly the same vectors.

For example,

\[ A= \begin{bmatrix} 1&2\\ 2&4 \end{bmatrix} \]

reduces to

\[ R= \begin{bmatrix} 1&2\\ 0&0 \end{bmatrix}. \]

Both equations

\[ Ax=0 \]

and

\[ Rx=0 \]

give

\[ x_1=-2x_2. \]

Therefore

\[ N(A)=N(R)= \operatorname{span} \left\{ \begin{bmatrix}-2\\1\end{bmatrix} \right\}. \]

9. Strang's example A = [1 2 3]

Consider

\[ A=\begin{bmatrix}1&2&3\end{bmatrix}. \]

This is a \(1\times3\) matrix, so

\[ m=1, \qquad n=3. \]

There is one pivot, therefore

\[ r=1. \]

Row space

The only row is

\[ [1\ 2\ 3]. \]

A basis is

\[ \boxed{\{[1\ 2\ 3]\}}. \]

So

\[ \boxed{\dim C(A^T)=1}. \]

The row space is a line in \(\mathbb R^3\).

Nullspace

Solve

\[ x_1+2x_2+3x_3=0. \]

The pivot variable is \(x_1\). The free variables are \(x_2,x_3\).

Thus

\[ x_1=-2x_2-3x_3. \]

Therefore

\[ x= x_2 \begin{bmatrix} -2\\1\\0 \end{bmatrix} + x_3 \begin{bmatrix} -3\\0\\1 \end{bmatrix}. \]

A basis for the nullspace is

\[ \boxed{ \left\{ \begin{bmatrix}-2\\1\\0\end{bmatrix}, \begin{bmatrix}-3\\0\\1\end{bmatrix} \right\}. } \]

There are two basis vectors, so

\[ \boxed{\dim N(A)=2=n-r}. \]

The nullspace is a plane in \(\mathbb R^3\).

Thus the row-space and nullspace dimensions satisfy

\[ \boxed{1+2=3=n}. \]

Column space

Because \(A\) has one row, each column belongs to \(\mathbb R^1\).

The columns are

\[ 1,\quad2,\quad3. \]

The vector \(1\) already spans all of \(\mathbb R^1\).

So

\[ \boxed{C(A)=\mathbb R^1} \]

and a basis is

\[ \boxed{\{1\}}. \]

Therefore

\[ \boxed{\dim C(A)=1=r}. \]

Left nullspace

Solve

\[ A^Ty=0. \]

Since

\[ A^T= \begin{bmatrix} 1\\2\\3 \end{bmatrix}, \]

we have

\[ \begin{bmatrix} 1\\2\\3 \end{bmatrix}y = \begin{bmatrix} 0\\0\\0 \end{bmatrix}. \]

The only solution is

\[ y=0. \]

Therefore

\[ \boxed{N(A^T)=\{0\}}. \]

Its basis is the empty set, so

\[ \boxed{\dim N(A^T)=0=m-r}. \]

The second dimension count is therefore

\[ \boxed{1+0=1=m}. \]

10. The Fundamental Theorem, Part 1

For every \(m\times n\) matrix of rank \(r\):

\[ \boxed{\dim C(A)=\dim C(A^T)=r} \]

and

\[ \boxed{\dim N(A)=n-r} \]

\[ \boxed{\dim N(A^T)=m-r}. \]

The two dimension counts are

\[ \boxed{r+(n-r)=n} \]

and

\[ \boxed{r+(m-r)=m}. \]

Core mental model

The rank \(r\) tells us how many independent directions survive in the rows and columns.

The remaining directions appear as freedom in the nullspaces.

So:

\[ \boxed{\text{row/column basis size}=r} \]

\[ \boxed{\text{nullspace basis size}=n-r} \]

\[ \boxed{\text{left-nullspace basis size}=m-r}. \]

Dimension still means only one thing:

\[ \boxed{\text{the number of vectors in a basis}.} \]


Note metadata

  • Note type: learning-note
  • Subject: learning-notes
  • Source: Introduction to Linear Algebra, 5th Edition — Section 3.5: Dimensions of the Four Subspaces

Related notes