The subspaces of inputs sent to zero and outputs that can occur, together with their dimensions.
Every linear map has two associated subspaces: the kernel, which holds the inputs sent to 0 and the image, which holds the outputs that occur. This page defines both, shows they are subspaces and introduces their dimensions, nullity and rank.
Let V be a vector space over F. A subset S⊆V is a subspace of V when it is a vector space over the same field F and uses the addition and scalar multiplication inherited from V. A proper subspace is a subspace that is not equal to V.
The same set is also called the null space. If A∈Fm×n
is regarded as the map Fn→Fm, then
ker(A)={x∈Fn:Ax=0}.
The kernel lies in the domain because it records which inputs are sent to the zero vector. For the dot-product mapTu(x)=u⋅x with u=0, the kernel is the subspace of vectors orthogonal to u.
Nullity counts the independent input directions that are lost completely.
For a matrix, it is the dimension of the solution subspace of Ax=0: the
number of free parameters after Gaussian elimination and back substitution,
or the number of non-pivot columns in a row-echelon form. In the
kernel-of-a-matrix example above, the single spanning vector is a basis for
the kernel, so nullity(A)=1.
The columns of a matrix A are linearly independent if and only if nullity(A)=0.
A linear dependence among the columns is exactly a non-trivial solution of Ax=0. Thus the columns are independent precisely when the kernel contains only the zero vector.
The image lies in the codomain because it collects the outputs that can occur. For the dot-product mapTu(x)=u⋅x with u=0, every real number occurs: for α∈R,
the image is the span of its columns. The first two columns,
(20),(23),
are linearly independent: if c1(2,0)T+c2(2,3)T=0, the second
coordinate gives c2=0 and then the first gives c1=0. They therefore
form a basis for R2. Hence
For a matrix, rank is also the maximum number of linearly independent
columns, or the number of pivot columns in a row-echelon form. In the
image-of-a-matrix example above, the two displayed columns form a basis of
the image, so rank(A)=2.
“Pivot columns” refers to positions in the echelon form. When row operations
have been used, take the columns in those positions from the original matrix
to obtain a basis for the image.
The kernel and image can lie in different spaces: for T:V→W, the kernel is a subspace of the domain V and the image is a subspace of the codomain W. Nullity measures the first and rank the second. Rank-nullity relates both to the dimension of the domain.