Kernel
BasisPrerequisites
When a linear map sends a vector to zero, it is effectively erasing it — compressing it into nothing. The kernel collects all such vectors and reveals exactly how much “information” a map destroys. Understanding the kernel tells you whether a map can be inverted, and it gives the structure of the solution set of a linear system.
Definition
For a linear map , the kernel (also called the null space) of is the set of all inputs that sends to zero:
The kernel lives in the domain . It is always non-empty, because by linearity, so in every case.
The kernel is a subspace
Claim: is a linear subspace of .
Proof: We already know , so is non-empty. Now take any and any . By linearity of :
So . By the subspace criterion, is a subspace.
The kernel of a matrix
For a matrix , the associated linear map is (as defined in Linear Map). Its kernel is
which is exactly the solution set of the homogeneous system introduced in Linear Equations.
Computing the kernel
To find , apply Gauss-Jordan elimination to itself (not the augmented matrix — since the right-hand side is , it stays throughout). In the RREF of :
- Variables corresponding to pivot columns are basic variables; express them in terms of the free variables.
- Variables corresponding to free columns are free variables; assign each a parameter ().
Write the general solution as a linear combination of vectors (one for each free variable). Those vectors form a basis of .
Worked example
Find for
Apply Gauss-Jordan: gives
This is already RREF. Column 1 is the only pivot column; columns 2 and 3 are free. Set and freely. Then . The general solution is:
So , a two-dimensional subspace of .
Injectivity
The kernel characterizes exactly when fails to be injective (one-to-one).
Theorem: is injective .
Proof: () If is injective and , then . () Suppose and . Then , so , giving .
Intuitively: a map is injective precisely when nothing “collides” at zero (or anywhere else). If the kernel is bigger than , then multiple distinct inputs land at the same output, and cannot be inverted.
For a matrix (square), injectivity is equivalent to the homogeneous system having only the trivial solution — i.e., every column of is a pivot column in its RREF.
Nullity
The nullity of is the dimension of its kernel:
For the example above, . The nullity counts how many “dimensions of freedom” are in the kernel — how many linearly independent directions get collapsed to zero by .
The relationship between nullity and the rank of (the dimension of the image) is made precise in the Rank-Nullity Theorem.
Summary
- The kernel of is , always a subspace of .
- For a matrix , the kernel is the solution set of the homogeneous system .
- Computing : reduce to RREF, assign parameters to free variables, and write the solution as a linear combination of basis vectors.
- is injective if and only if .
- The nullity is ; it counts the dimensions that get collapsed to zero.