Euler Hall — free maths guides

Identify the left nullspace as the orthogonal complement of the column space

Write the defining equation of the left nullspace as AT y = 0 and place it in Rm. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

Plain words first

For anm×nm\times n matrixAA, the left nullspace is the nullspace ofATA^T:

N(AT)={y∈Rm:ATy=0}.N(A^T)=\{y\in\mathbb{R}^m: A^Ty=\mathbf{0}\}.

Three facts worth memorising together, because each one is used to check the others.

  1. 1. The equation isATy=0A^Ty=\mathbf{0} — a transpose, notAA itself.
  2. 2. The ambient space isRm\mathbb{R}^m:yy has one entry per row ofAA, which is one entry per column ofATA^T.
  3. 3. It is the orthogonal complement of the column space:ATy=0A^Ty=0 says every column ofAA dotsyy to zero.

"Why left?" Becauseyy multiplies on the left:yTA=0y^TA=\mathbf{0} is the same statement written as a row.

Why the ambient space isRm\mathbb{R}^m

This is the part people get wrong under time pressure, so here is the size bookkeeping explicitly.

AA ism×nm\times n. ThenATA^T isn×mn\times m. The equationATy=0A^Ty=\mathbf{0} involves multiplying ann×mn\times m matrix byyy, soyy must havemm entries — the number of columns ofATA^T, which is the number of rows ofAA.

Equivalently, a solution is a way to combine the rows ofATA^T — the columns ofAA — to get zero:

ATy=y1 col1(A)+y2 col2(A)+⋯+ym colm(A).A^Ty=y_1\,\text{col}_1(A)+y_2\,\text{col}_2(A)+\cdots+y_m\,\text{col}_m(A).

Withmm columns ofAA available,yy needsmm weights. A dependence among the columns is exactly a vector inN(AT)N(A^T), which is why it is sometimes called the space of "column dependencies".

Note what this is not.N(A)N(A) records dependencies among the columns in the equationAx=0A\mathbf{x}=0 — but therex\mathbf{x} weights the columns ofAA, so it hasnn entries. Two different spaces, two different ambient sizes, and confusing them is the classic error.

Worked, different numbers

TakeA=[102013]A=\begin{bmatrix}1&0&2\\0&1&3\end{bmatrix}, som=2m=2,n=3n=3, rank22.

The left nullspace lives inR2\mathbb{R}^2 with dimension2−2=02-2=0, so

N(AT)={0}.N(A^T)=\{\mathbf{0}\}.

Why?ATA^T is3×23\times2: AT=[100123].A^T=\begin{bmatrix}1&0\\0&1\\2&3\end{bmatrix}.ATy=0A^Ty=0 meansy1=0y_1=0,y2=0y_2=0, and2y1+3y2=02y_1+3y_2=0 — the first two already forcey=0y=\mathbf{0}.

The consistency check. The columns(1,0)(1,0) and(0,1)(0,1) span all ofR2\mathbb{R}^2, so some combination gives anyb\mathbf{b} — nothing can be perpendicular to everything except zero. And that is exactly whatdim⁡N(AT)=0\dim N(A^T)=0 says:Ax=bA\mathbf{x}=\mathbf{b} is solvable for everyb\mathbf{b}.

By the end you can
  • Write the defining equation of the left nullspace as A^T y = 0 and place it in R^m
  • Compute its dimension as m - r and check it against dim C(A) + dim N(A^T) = m
  • Use a vector of the left nullspace as a certificate that a system has no solution
Check yourself

LetAA be5×35\times3 of rank11.

What isdim⁡N(AT)\dim N(A^T)? And ifb∈R5\mathbf{b}\in\mathbb{R}^5 is not in the column space, what space does the "error"b−Ax^\mathbf{b}-A\hat{\mathbf{x}} live in, and what is its dimension?

Answers

dim⁡N(AT)=5−1=4\dim N(A^T)=5-1=4. The column space has dimension 1, so four independent directions are unreachable.

An error vectorb−Ax^\mathbf{b}-A\hat{\mathbf{x}} lives inR5\mathbb{R}^5 — it is a difference of two vectors ofR5\mathbb{R}^5. Its unreachable component lies inN(AT)N(A^T), of dimension 4, which is exactly why an arbitraryb\mathbf{b} almost never lies in a 1-dimensional column space. The best possible fit removes theN(AT)N(A^T) part and leaves the error perpendicular to the column space.

Work out where to start — free, no accountAnswer six real questions — free, no account