Understanding the kernel and range of linear transformation is a cornerstone of linear algebra, bridging the gap between abstract vector spaces and concrete matrix computations. These two subspaces—the kernel (or null space) and the range (or column space/image)—reveal the fundamental behavior of a linear map: what information it preserves, what it discards, and how it reshapes the geometry of the input space. Mastering these concepts is essential for solving systems of linear equations, analyzing differential equations, and working with data transformations in machine learning.
Defining the Linear Transformation
Before diving into the kernel and range, we must establish the setting. A linear transformation $T$ is a function mapping vectors from a vector space $V$ (the domain) to a vector space $W$ (the codomain) such that for all vectors $\mathbf{u}, \mathbf{v} \in V$ and scalars $c$:
- $T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})$ (Additivity)
- $T(c\mathbf{u}) = cT(\mathbf{u})$ (Homogeneity)
When $V = \mathbb{R}^n$ and $W = \mathbb{R}^m$, every linear transformation can be represented by an $m \times n$ matrix $A$ such that $T(\mathbf{x}) = A\mathbf{x}$. The kernel and range are subspaces derived directly from this matrix representation, yet their definitions remain purely structural, independent of the choice of basis.
Basically the bit that actually matters in practice.
The Kernel: The Anatomy of Information Loss
The kernel of a linear transformation $T: V \to W$, denoted $\ker(T)$ or $N(T)$, is the set of all vectors in the domain $V$ that map to the zero vector in the codomain $W$.
$ \ker(T) = { \mathbf{v} \in V \mid T(\mathbf{v}) = \mathbf{0}_W } $
Geometric and Algebraic Significance
Geometrically, the kernel represents the "blind spot" of the transformation. If you apply $T$ to any vector in the kernel, the result vanishes. In the context of a matrix $A$, the kernel is the null space $N(A)$, the solution set to the homogeneous equation $A\mathbf{x} = \mathbf{0}$ Took long enough..
- Trivial Kernel: If $\ker(T) = {\mathbf{0}}$, the transformation is injective (one-to-one). No two distinct inputs produce the same output. The columns of the matrix $A$ are linearly independent.
- Non-Trivial Kernel: If the kernel contains non-zero vectors, the transformation "collapses" entire lines, planes, or hyperplanes onto the origin. The transformation is not injective; distinct inputs $\mathbf{x}$ and $\mathbf{x} + \mathbf{k}$ (where $\mathbf{k} \in \ker(T)$) yield the exact same output.
Finding a Basis for the Kernel
To compute the kernel of a matrix $A$:
-
- Think about it: 3. Identify the free variables (columns without pivots). In real terms, write the general solution as a linear combination of vectors where each free variable acts as a parameter. Row reduce $A$ to its Reduced Row Echelon Form (RREF).
- This leads to 5. These vectors form a basis for the kernel. But express the basic variables (pivot columns) in terms of the free variables. The number of vectors in this basis is the nullity of $T$.
The Range: The Landscape of Possible Outputs
The range of a linear transformation $T: V \to W$, denoted $\text{range}(T)$, $R(T)$, or $\text{Im}(T)$ (Image), is the set of all possible outputs in the codomain $W$ Turns out it matters..
$ \text{range}(T) = { T(\mathbf{v}) \in W \mid \mathbf{v} \in V } = { \mathbf{w} \in W \mid \exists \mathbf{v} \in V, T(\mathbf{v}) = \mathbf{w} } $
Geometric and Algebraic Significance
The range represents the "reach" of the transformation. It is the subspace of the codomain that is actually hit by the map The details matter here..
- Full Range: If $\text{range}(T) = W$, the transformation is surjective (onto). Every vector in the codomain has at least one pre-image in the domain. For a matrix $A$, this means the columns span $\mathbb{R}^m$ (full row rank).
- Proper Subspace: If the range is a proper subspace of $W$, the transformation maps the entire domain into a lower-dimensional "shadow" within the codomain. Vectors in $W$ outside this subspace have no solution to $T(\mathbf{v}) = \mathbf{w}$.
For a matrix $A$, the range is the column space $C(A)$—the span of the column vectors of $A$ The details matter here..
Finding a Basis for the Range
There are two standard methods to find a basis for the range (column space) of a matrix $A$:
Method 1: The Pivot Column Method (Preferred)
- Row reduce $A$ to RREF (or just Row Echelon Form).
- Identify the pivot columns in the reduced matrix.
- The corresponding columns in the original matrix $A$ form a basis for the range.
- Crucial Note: Do not use the columns from the RREF; row operations change the column space. They preserve the linear dependencies among columns, which is why the indices of the pivot columns tell us which original columns to keep.
Method 2: The Transpose Method
- Transpose the matrix: $A^T$.
- Row reduce $A^T$ to RREF.
- The non-zero rows of the RREF of $A^T$ form a basis for the row space of $A^T$, which is the column space of $A$. This method yields a basis that often looks "cleaner" (with leading 1s) but consists of vectors that are linear combinations of the original columns.
The number of vectors in the basis for the range is the rank of $T$.
The Rank-Nullity Theorem: The Unifying Principle
The relationship between the kernel and range is governed by one of the most elegant theorems in linear algebra: the Rank-Nullity Theorem (also known as the Dimension Theorem).
For a linear transformation $T: V \to W$ where $V$ is finite-dimensional:
$ \dim(V) = \text{rank}(T) + \text{nullity}(T) $
Or, in matrix terms for an $m \times n$ matrix $A$:
$ n = \text{rank}(A) + \text{nullity}(A) $
Why This Matters
This theorem quantifies a conservation law for linear maps. Day to day, the dimension of the domain ($n$) is split perfectly into two orthogonal components (conceptually):
- Rank (Dimension of Range): The number of "effective" dimensions preserved in the output. This equals the number of pivot columns.
- Nullity (Dimension of Kernel): The number of dimensions "crushed" to zero. This equals the number of free variables.
Most guides skip this. Don't.
If you know the rank, you instantly know the nullity, and vice versa. This allows for rapid sanity checks: if a $5 \times 5$ matrix has a 2-dimensional kernel, its range must be 3-dimensional Easy to understand, harder to ignore. Nothing fancy..
Kernel and Range in the Context of Linear Systems
The practical utility of these subspaces shines when solving linear systems $A\mathbf{x} = \mathbf{b}$.
Consistency and the Range
The system $A