Null Spaces, Column Spaces and Linear Transformations
The null space is every input a matrix sends to zero, and the column space is every output it can reach. For an matrix they live in different places: the null space in the input space , the column space in the output space . For general linear transformations they're called the kernel and the range.
What the symbols mean
- Kernel
Inputs sent to zero.
- Range
Every possible output.
Explanation
The null space of a matrix is simply the set of all inputs it sends to zero, and the column space is the set of all outputs it can produce. "Null" means zero, so the null space is everything the matrix wipes out. The column space gets its name because every output is a mix of 's columns ( times the first column, plus times the second, and so on), so "everything you can reach" and "every combination of the columns" are the same set. Together they tell you what a matrix destroys and what it can reach, which is exactly what decides whether has a solution and whether it's the only one. All we're really saying with and is that for an matrix, inputs have entries (so that's where the null space lives) and outputs have entries (so that's where the column space lives). Two sets, one on each side of the matrix; bear with it.
Both are subspaces, and last lesson's three checks show it. If and , then and . And sums and multiples of combinations of the columns are still combinations of the columns.
Two different tests:
- Is in ? Compute and see if it's . That's quick.
- Is in ? Solve and see if it's consistent. That takes row reduction.
A common mistake. It's tempting to think and live in the same space, because they come from the same matrix. They don't: for a matrix, the null space is made of vectors with 5 entries and the column space of vectors with 3 entries. Asking whether one vector is in both usually doesn't even make sense.
Linear transformations in general. None of this needs a matrix. For , the kernel is and the range is . Take differentiation on . Its kernel is the constant polynomials, since those are the only ones with derivative zero. Its range is , since every polynomial of degree at most 2 is the derivative of something in (just integrate it).
There's an animation further down that shows both spaces as shadows on the ground.
See it
Worked examples
Is in the null space of ?
- 1
Multiply it out: , the zero vector.
Yes.
Practice
Type your answer and check it. Solve them all to complete the lesson.
is . is a subspace of . What is ?
For the same , is a subspace of . What is ?
Is in ?
What is the dimension of the kernel of differentiation on ?
Is in ?
A game engine draws sun shadows by flattening each 3D point onto the ground with . The points whose shadow falls exactly at the origin form ; they all lie on one sunbeam. Find the one with .
The hardest one here. Get it, and you've got this lesson.
For which does have ?
Where it's used
The null space of a structural matrix reveals mechanisms (ways a frame can move with no force); the column space of a sensor matrix tells you which measurements are even possible.