67. Null Space

The null space (or kernel) of a matrix 𝑨 is the set of all vectors 𝑥 that satisfy:

𝑨𝑥=𝟎

For an 𝑚×𝑛 matrix 𝐴:

The null space is a subspace of 𝑛. By the Rank–Nullity Theorem:

dim(Null(𝐴))=𝑛rank(𝐴)

67.1. Computing the null space

Row-reduce 𝐴 to RREF. The non-pivot columns correspond to free variables; the pivot columns are expressed in terms of those free variables. A basis for the null space is built from one vector per free variable.

Example
𝑨=[111112344321]

Find 𝑥=[𝑥1𝑥2𝑥3𝑥4] with 𝑨𝑥=𝟎:

{1𝑥1+1𝑥2+1𝑥3+1𝑥4=01𝑥1+2𝑥2+3𝑥3+4𝑥4=04𝑥1+3𝑥2+2𝑥3+1𝑥4=0

Augmented matrix:

[111101234043210]

Row-reduce to find the null space. (See Gaussian Elimination.)

67.2. Nullity

The nullity of 𝐴 is the dimension of its null space:

nullity(𝐴)=dim(Null(𝐴))

After row-reducing 𝐴 to RREF, nullity equals the number of non-pivot columns (= number of free variables).

67.3. Kernel vs null space

For a linear transformation 𝑇(𝑥)=𝐴𝑥:

ker(𝑇)=Null(𝐴)

Same set, different names: kernel is the linear-map perspective, null space is the matrix perspective. See Kernel.

67.4. Left null space

The null space of 𝐴𝑇 is called the left null space of 𝐴:

Null(𝐴𝑇)={𝑦:𝑦𝑇𝐴=𝟎}

It’s orthogonal to the column space of 𝐴. Together with Null(𝐴) and Row(𝐴), these are the four fundamental subspaces.

67.5. See also