Null Space and Kernel
Definition
The null space (or kernel) of a linear transformation is the set of all vectors in that map to the zero vector in :
where is the zero vector in .
Properties
Subspace: The null space of a linear transformation is a subspace of .
Dimension: The dimension of the null space is called the nullity of :
- Injectivity: A linear transformation is injective (one-to-one) if and only if , i.e., the null space contains only the zero vector.
- This means distinct inputs always yield distinct outputs
- By the Rank-Nullity Theorem, can only be injective if
Null Space of a Matrix
For a matrix , the null space of is the set of all vectors such that :
This corresponds to the null space of the linear transformation defined by .
Finding the Null Space of a Matrix
To find a basis for the null space of a matrix :
- Transform into row-reduced echelon form (RREF) using Gaussian elimination.
- Identify the free variables (variables that are not leading variables in the RREF).
- Express the leading variables in terms of the free variables.
- Write the general solution as a linear combination of vectors, each corresponding to setting one free variable to 1 and the others to 0.
- These vectors form a basis for the null space.
Example
Consider the matrix:
The RREF of is:
The equation becomes:
This gives us:
Solving for :
The general solution is:
Therefore, a basis for the null space of is:
And the nullity of is 2.
Rank-Nullity Theorem
The Rank-Nullity Theorem establishes a fundamental relationship between the null space and image:
Theorem: If is a linear transformation and is finite-dimensional, then:
where and .
This theorem provides powerful insights:
- The sum of the dimensions of the image and kernel equals the dimension of the domain
- Understanding one space helps characterize the other
- It directly connects to the concepts of injectivity and surjectivity
Interpretation
The Rank-Nullity Theorem tells us that the dimension of the domain equals the sum of:
- The dimension of the image (how much of the domain is "preserved" by the transformation)
- The dimension of the kernel (how much of the domain is "collapsed" to zero)
Matrix Form
For a matrix :
Applications
Systems of Linear Equations: The null space of a coefficient matrix represents the solution space of the homogeneous system.
Linear Independence: Vectors are linearly independent if and only if the null space of the matrix with these vectors as columns contains only the zero vector.
Eigenvalues and Eigenvectors: For a square matrix , the eigenvectors corresponding to eigenvalue form the null space of .
Differential Equations: The null space of a differential operator corresponds to the solution space of the homogeneous differential equation.
Exercise
Find a basis for the null space of the matrix:
Verify the Rank-Nullity Theorem for this matrix.