Orthogonal Complements: Why Row Space and Nullspace Complete Each Other
Starting point
Two subspaces can be orthogonal without being orthogonal complements.
The word orthogonal means that every vector in one subspace is perpendicular to every vector in the other.
The word complement adds something stronger: together, the two perpendicular subspaces contain enough independent directions to account for the entire surrounding vector space.
What does \(V^\perp\) mean?
Suppose \(V\) is a subspace.
The orthogonal complement of \(V\), written
\[ V^\perp, \]
is the collection of all vectors perpendicular to every vector in \(V\).
So
\[ \boxed{V^\perp=\{w:w\cdot v=0\text{ for every }v\in V\}}. \]
The symbol \(V^\perp\) is pronounced "V perp."
Example: the x-axis in three dimensions
Let
\[ V=\left\{\begin{bmatrix}a\\0\\0\end{bmatrix}:a\in\mathbb R\right\}. \]
This is the x-axis in \(\mathbb R^3\).
Now ask:
Which vectors are perpendicular to every vector on the x-axis?
A general vector is
\[ w=\begin{bmatrix}x\\y\\z\end{bmatrix}. \]
For it to be perpendicular to the x-axis, it must be perpendicular to
\[ \begin{bmatrix}1\\0\\0\end{bmatrix}. \]
So
\[ \begin{bmatrix}x\\y\\z\end{bmatrix}\cdot \begin{bmatrix}1\\0\\0\end{bmatrix}=0. \]
That gives
\[ x=0. \]
Therefore
\[ V^\perp= \left\{ \begin{bmatrix}0\\y\\z\end{bmatrix} :y,z\in\mathbb R \right\}. \]
This is the entire yz-plane.
So:
\[ \boxed{\text{x-axis}^\perp=\text{yz-plane}}. \]
Why call it a complement?
The x-axis has dimension
\[ 1. \]
The yz-plane has dimension
\[ 2. \]
Together,
\[ 1+2=3. \]
And \(3\) is the dimension of \(\mathbb R^3\).
So the yz-plane supplies all the independent directions missing from the x-axis.
That is the idea behind the word complement:
\[ \boxed{\text{all perpendicular directions needed to complete the whole space}}. \]
Orthogonal does not automatically mean orthogonal complement
Consider the x-axis and y-axis in \(\mathbb R^3\).
They are perpendicular:
\[ \text{x-axis}\perp\text{y-axis}. \]
But their dimensions are
\[ 1+1=2. \]
The surrounding space has dimension
\[ 3. \]
The z-direction is still missing.
So the x-axis and y-axis are orthogonal subspaces, but they are not orthogonal complements.
The full orthogonal complement of the x-axis is the entire yz-plane, not only the y-axis.
Connection to a matrix
Take
\[ A=\begin{bmatrix}1&0&0\end{bmatrix}. \]
The row space is
\[ C(A^T)=\operatorname{span}\left\{ \begin{bmatrix}1\\0\\0\end{bmatrix} \right\}. \]
So the row space is the x-axis.
Now find the nullspace.
Let
\[ x=\begin{bmatrix}x_1\\x_2\\x_3\end{bmatrix}. \]
Solve
\[ Ax=0. \]
Then
\[ \begin{bmatrix}1&0&0\end{bmatrix} \begin{bmatrix}x_1\\x_2\\x_3\end{bmatrix}=0, \]
so
\[ x_1=0. \]
The other two coordinates are free.
Therefore
\[ N(A)= \left\{ \begin{bmatrix}0\\x_2\\x_3\end{bmatrix} \right\}. \]
This is the yz-plane.
Thus
\[ \boxed{N(A)=C(A^T)^\perp}. \]
Why does \(N(A)=C(A^T)^\perp\)?
Suppose
\[ x\in N(A). \]
By definition,
\[ Ax=0. \]
But every entry of \(Ax\) is a dot product between one row of \(A\) and \(x\).
So
\[ \text{row}_i\cdot x=0 \]
for every row.
Therefore \(x\) is perpendicular to every row of \(A\), and hence to every linear combination of those rows.
But all linear combinations of the rows form the row space \(C(A^T)\).
Therefore
\[ x\perp C(A^T). \]
So every nullspace vector belongs to the orthogonal complement of the row space.
The reverse is also true.
If a vector is perpendicular to every row of \(A\), then every row-dot-vector product equals zero, which means
\[ Ax=0. \]
So that vector is in the nullspace.
Therefore the two sets are exactly equal:
\[ \boxed{N(A)=C(A^T)^\perp}. \]
Why can we reverse the relationship?
Since the nullspace is the full orthogonal complement of the row space,
\[ N(A)=C(A^T)^\perp. \]
The reverse relationship is
\[ \boxed{C(A^T)=N(A)^\perp}. \]
In the example,
\[ N(A)=\text{yz-plane}. \]
Which vectors are perpendicular to every vector in the yz-plane?
Only vectors along the x-axis.
That x-axis is exactly the row space.
So the two spaces completely determine one another.
Why does the dimension equation matter?
For an \(m\times n\) matrix of rank \(r\),
\[ \dim C(A^T)=r. \]
The nullspace dimension is
\[ \dim N(A)=n-r. \]
Therefore
\[ \boxed{r+(n-r)=n}. \]
Why is \(n\) important?
Because both the row space and nullspace live inside
\[ \mathbb R^n. \]
So the row space supplies \(r\) independent directions and the nullspace supplies the remaining \(n-r\) independent directions.
Together they provide exactly
\[ n \]
independent directions, enough to describe every vector in \(\mathbb R^n\).
This is what makes them complements rather than merely perpendicular subspaces.
Every vector can be split into two perpendicular pieces
Because the row space and nullspace are orthogonal complements, every vector
\[ x\in\mathbb R^n \]
can be written as
\[ \boxed{x=x_r+x_n}, \]
where
\[ x_r\in C(A^T) \]
and
\[ x_n\in N(A). \]
The first is the row-space component.
The second is the nullspace component.
Concrete decomposition
Using
\[ A=\begin{bmatrix}1&0&0\end{bmatrix}, \]
take
\[ x=\begin{bmatrix}3\\4\\5\end{bmatrix}. \]
The row-space part is
\[ x_r=\begin{bmatrix}3\\0\\0\end{bmatrix}. \]
The nullspace part is
\[ x_n=\begin{bmatrix}0\\4\\5\end{bmatrix}. \]
Then
\[ \begin{bmatrix}3\\4\\5\end{bmatrix} = \begin{bmatrix}3\\0\\0\end{bmatrix} + \begin{bmatrix}0\\4\\5\end{bmatrix}. \]
So
\[ \boxed{x=x_r+x_n}. \]
The two pieces are perpendicular because
\[ x_r\cdot x_n=0. \]
Why can every vector be split this way?
The row space contains
\[ r \]
independent basis directions.
The nullspace contains
\[ n-r \]
independent basis directions.
Together they provide
\[ r+(n-r)=n \]
independent directions.
Since \(\mathbb R^n\) has dimension \(n\), those combined directions form a basis for all of \(\mathbb R^n\).
Therefore every vector can be represented using some combination of row-space basis vectors and nullspace basis vectors.
That produces
\[ \boxed{x=x_r+x_n}. \]
Why is this decomposition unique?
Suppose the same vector had two decompositions:
\[ x=x_r+x_n \]
and
\[ x=x_r'+x_n'. \]
Set them equal:
\[ x_r+x_n=x_r'+x_n'. \]
Rearrange:
\[ x_r-x_r'=x_n'-x_n. \]
The left side belongs to the row space because the row space is closed under subtraction.
The right side belongs to the nullspace because the nullspace is also closed under subtraction.
Therefore this vector would belong to both the row space and the nullspace.
But orthogonal subspaces can share only the zero vector.
So
\[ x_r-x_r'=0, \]
which gives
\[ x_r=x_r'. \]
Similarly,
\[ x_n=x_n'. \]
Therefore the decomposition is unique.
\[ \boxed{\text{Every vector has exactly one row-space part and one nullspace part.}} \]
What does the matrix do to those two pieces?
Start with
\[ x=x_r+x_n. \]
Multiply by \(A\):
\[ Ax=A(x_r+x_n). \]
Because matrix multiplication is linear,
\[ Ax=Ax_r+Ax_n. \]
But
\[ x_n\in N(A), \]
so by definition
\[ Ax_n=0. \]
Therefore
\[ Ax=Ax_r+0, \]
and hence
\[ \boxed{Ax=Ax_r}. \]
So the matrix completely removes the nullspace component.
\[ \boxed{x_n\xrightarrow{A}0} \]
while the row-space component survives:
\[ \boxed{x_r\xrightarrow{A}Ax}. \]
This gives a deeper meaning to the nullspace: it contains precisely the input directions that the matrix cannot distinguish because they are sent to zero.
The second orthogonal-complement pair
There is an equivalent relationship on the output side:
\[ \boxed{N(A^T)=C(A)^\perp}. \]
The column space has dimension
\[ r, \]
and the left nullspace has dimension
\[ m-r. \]
Therefore
\[ r+(m-r)=m. \]
Since both spaces live in \(\mathbb R^m\), together they fill all output-space directions.
So the four fundamental subspaces form two orthogonal-complement pairs:
\[ \boxed{C(A^T)\perp N(A)\quad\text{inside }\mathbb R^n} \]
and
\[ \boxed{C(A)\perp N(A^T)\quad\text{inside }\mathbb R^m}. \]
Fundamental theorem viewpoint
Part 1 of the Fundamental Theorem of Linear Algebra gave the dimensions:
\[ \dim C(A^T)=r, \]
\[ \dim N(A)=n-r, \]
\[ \dim C(A)=r, \]
\[ \dim N(A^T)=m-r. \]
Part 2 adds the geometric relationship:
\[ \boxed{C(A^T)=N(A)^\perp} \]
and
\[ \boxed{C(A)=N(A^T)^\perp}. \]
So the dimensions tell us how many independent directions each space contains, while orthogonality tells us how those directions fit geometrically.
Main mental model
Inside the input space \(\mathbb R^n\):
\[ \boxed{\mathbb R^n=C(A^T)\oplus N(A)}. \]
The symbol \(\oplus\) means that the two subspaces combine without a nonzero overlap to form the whole space.
Because they are also perpendicular, this is an orthogonal direct sum.
Conceptually:
\[ \boxed{\text{row space}=\text{input directions that A responds to}} \]
and
\[ \boxed{\text{nullspace}=\text{input directions that A sends to zero}}. \]
Every input vector contains one part of each, and the matrix only sees the row-space component.
Note metadata
- Note type: learning-note
- Subject: learning-notes
- Source: Introduction to Linear Algebra, 5th Edition — Section 4.1 Orthogonality of the Four Subspaces
Related notes
- Orthogonality: From Linear Algebra to Quantum States (Post ID: 376)
- Four Fundamental Subspaces: Rank and Dimensions (Post ID: 353)
- Nullspace Meaning: Inputs Mapped to Zero (Post ID: 342)