SECTION 1
Historical Context & Motivation
When mathematicians first studied systems of equations, they noticed something curious. Some systems had many solutions, while others had none at all. Understanding why this happened led to two powerful ideas: the kernel (what gets squished to zero) and the range (what outputs are possible). These ideas are central to linear algebra, a branch of math that powers everything from video game graphics to machine learning.
1750s • Early Systems of Equations
1844 • Grassmann's Linear Extension Theory
1888 • Peano Defines Vector Spaces
1900s–1940s • Modern Linear Algebra Takes Shape
Here is the key question these mathematicians were trying to answer: given a linear transformation (a special kind of function that uses multiplication and addition to map inputs to outputs), which inputs get mapped to the zero vector, and which outputs can the function actually reach? Understanding these two questions unlocks a deep understanding of how transformations behave.
SECTION 2
Core Principles & Definitions
Before we dive in, let's make sure we're on the same page about a few ideas. A linear transformation is a function T that takes vectors from one space (the domain) and maps them to vectors in another space (the codomain). It follows two rules: T(u + v) = T(u) + T(v) and T(c·v) = c·T(v). Think of it as a machine that stretches, rotates, or flattens vectors — but never bends or breaks them.
Kernel (Null Space)
Range (Image)
Nullity
Rank
Rank–Nullity Theorem
KEY TAKEAWAY
SECTION 3
Visual Explanation
The diagram below shows a linear transformation T mapping vectors from a 2D input space (the domain, on the left) to a 2D output space (the codomain, on the right). Notice how certain input vectors all land on the zero vector in the output — those inputs form the kernel. The colored region on the right shows the range — the set of outputs the transformation can actually reach.
Look at the left ellipse (the domain). The cyan dots along the dashed line represent vectors that all get sent to the single zero vector on the right. That whole collection is the kernel. Meanwhile, vectors like u₁ and u₂ (pink and purple dots) get sent to specific nonzero outputs on the right. The line those outputs lie on is the range. If the transformation "flattens" a 2D space into a 1D line, the range is that line and the kernel is the direction that got squished flat.
SECTION 4
Mathematical Framework
Most linear transformations can be represented by a matrix (a grid of numbers). If we call the matrix A, then the transformation T(v) = A·v multiplies the matrix by a vector. Finding the kernel and range becomes a problem of solving equations with that matrix.
KERNEL DEFINITION
The kernel is the solution set of the homogeneous equation A·v = 0. You find it by row-reducing the matrix A and solving for the free variables.
RANGE DEFINITION
The range equals the column space of A — the span of all column vectors in the matrix. Every output is a combination of those columns.
RANK–NULLITY THEOREM
Here n is the number of columns of A (the dimension of the domain). Rank is the dimension of the range, and nullity is the dimension of the kernel. They always add up to n.
How to Find the Kernel & Range
SECTION 5
How Kernel & Range Relate — A Detailed Breakdown
The kernel and range are like two sides of the same coin. If the kernel is large, the transformation crushes many inputs to zero and the range is small. If the kernel is tiny (just the zero vector itself), the transformation preserves more information and the range is as large as possible. The Rank–Nullity Theorem captures this tradeoff perfectly.
| Property | Kernel (Null Space) | Range (Image / Column Space) |
|---|---|---|
| What it answers | Which inputs get mapped to 0? | Which outputs can T produce? |
| How to find it | Solve A·v = 0 by row-reducing | Identify pivot columns after row-reducing A |
| Its dimension is called | Nullity | Rank |
| If it's large, then… | Many inputs collapse; T loses info | T covers many output directions |
| Always a subspace? | Yes, of the domain | Yes, of the codomain |
Side-by-side comparison of kernel and range
SECTION 6
Worked Example
Let's find the kernel and range of the linear transformation T: ℝ³ → ℝ² defined by the matrix A below. We'll row-reduce the matrix, identify the kernel, and then determine the range.
GIVEN MATRIX
This is a 2 × 3 matrix, so T maps ℝ³ to ℝ². Row 1 is [1, 2, 1] and Row 2 is [2, 4, 2].
Finding the Kernel and Range of A
- 1
Step 1 — Set Up the Homogeneous System
To find the kernel, we solve A·v = 0. Write the augmented matrix [A | 0]: [ 1 2 1 | 0 ] [ 2 4 2 | 0 ] - 2
Step 2 — Row-Reduce to RREF
Replace Row 2 with Row 2 − 2 × Row 1: [ 1 2 1 | 0 ] [ 0 0 0 | 0 ] Row 2 is now all zeros. The matrix is in reduced row echelon form with one pivot in column 1.One pivot column (column 1). Two free variables: x₂ and x₃. - 3
Step 3 — Solve for the Kernel
From Row 1: x₁ + 2x₂ + x₃ = 0, so x₁ = −2x₂ − x₃. Let x₂ = s and x₃ = t (free parameters). Then the general solution is: v = s·(−2, 1, 0) + t·(−1, 0, 1)ker(T) = span{(−2, 1, 0), (−1, 0, 1)}. The kernel is a 2-dimensional plane in ℝ³. The nullity = 2. - 4
Step 4 — Find the Range
The range equals the column space of A. Since column 1 has a pivot, the original column 1 of A is a basis vector for the range. The original column 1 is (1, 2). Columns 2 and 3 have no pivots, so they are dependent on column 1.range(T) = span{(1, 2)}. The range is a line in ℝ². The rank = 1. - 5
Step 5 — Verify with Rank–Nullity
The domain is ℝ³, so n = 3. Check: rank + nullity = 1 + 2 = 3 ✓. Everything checks out.rank(1) + nullity(2) = 3 = number of columns ✓
SECTION 7
Important Properties & Common Pitfalls
| Property / Fact | What It Means |
|---|---|
| Kernel always contains the zero vector | T(0) = 0 for any linear transformation, so 0 is always in the kernel. |
| T is one-to-one ⟺ kernel = {0} | If only the zero vector maps to zero, then no two different inputs produce the same output. |
| T is onto ⟺ range = entire codomain | Every vector in the codomain is an output of some input. |
| Kernel and range are both subspaces | They're closed under addition and scalar multiplication — they're not just random collections. |
| Rank–Nullity always holds | You can't increase the range without shrinking the kernel, and vice versa. |
Key properties of the kernel and range
COMMON PITFALL
SECTION 8
Connections to Advanced Topics
The kernel and range are your entry point into deeper ideas in linear algebra and beyond. Once you understand these, you can tackle eigenvalues, invertibility, and even applications in data science. Here's how the concepts connect.
| This Lesson's Concept | Advanced Extension |
|---|---|
| Kernel = {0} means T is one-to-one | An invertible matrix has a trivial kernel — you can "undo" the transformation. |
| Rank–Nullity Theorem | Generalizes to the First Isomorphism Theorem in abstract algebra: domain/kernel ≅ range. |
| Dimension of the kernel | Tells you how many free variables exist in a system — central to understanding solution sets. |
| Column space (range) | In data science, the column space reveals the directions of maximum variance (PCA). |
How kernel and range connect to more advanced topics
As you continue studying linear algebra, you'll see that virtually every major result — from the determinant to eigenvalues — connects back to how a transformation's kernel and range behave. Mastering them now gives you a powerful lens for everything that comes next.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
A linear transformation T maps input vectors to output vectors using matrix multiplication. The kernel (or null space) is the set of all inputs that T sends to the zero vector — you find it by solving A·v = 0. Its dimension is called the nullity. The range (or image) is the set of all possible outputs — it equals the column space of the matrix, and its dimension is called the rank.
The Rank–Nullity Theorem ties everything together: rank + nullity = number of columns in A. A larger kernel means more information is lost and the range shrinks. If the kernel is trivial (only contains the zero vector), the transformation is one-to-one and no information is lost. These ideas are the foundation for understanding invertibility, eigenvalues, and many real-world applications from data science to engineering.