The **null space**, or **kernel** of a matrix *A* is the set of vectors such that

The basis of the null space will be the vectors spanned by the basic solutions of the solution to *AX = 0*. In terms of linear transformations, the null space of a transformation matrix *A* is the set of all vectors that are transformed to the zero vector.

For example, suppose we have the matrix and its reduced form

The fourth variable is the non-leading, and can be replaced by the parameter *s*, yielding a basic solution.

Since *s* is a free variable, this is the same as

Because the basis has only one vector, the dimension of the null space or nullity is equal to one. By the rank theorem, the dimension of the column and row space will be three.