Add two points of a flat plane, or stretch one. Watch where the results land: on the plane, or off it.
Why subspaces pass through zero
Add two points of a plane, or stretch one: do the results stay on it?
The plane x + y + z = 0: every point whose three coordinates add up to 0. It passes through the origin.
Describe this picture
A slowly turning view of 3-D space with axes , , and the tilted plane , starting at , so it passes through the origin. Two points on the plane grow as arrows from the origin, and . Then slides so that it starts at the tip of , and the sum is drawn: it lands on the plane. Last, a wide faded copy of stretches to , also on the plane. Readouts give the level and what the coordinates of and of add up to, with “on” or “off”. One control: a slider for the level , from to 1 in steps of 0.5. The plane slides along, and the two points ride with it, each lifted by along the axis, so their coordinates still add up to . Their sum and the stretched copy add up to : they leave the plane, drawn as open rings with a dashed drop to the plane.
Staying inside
Take the plane of all points whose three coordinates add up to 0, such as and . Add those two and you get . Its coordinates add up to 0 again, so the sum is still on the plane. Stretch by 2 and you get , still on the plane.
That is no accident. If for one point and for another, then adding them adds two zeros, and scaling by gives . Both are 0. Nothing you do with adding and scaling can carry you off this plane.
Now move the plane. Take the points whose coordinates add up to 3, such as . Add to itself and you get , whose coordinates add up to 6. The sum has left the plane. In the picture at the top of the page, move the level away from 0 and watch the sum and the stretched copy fly off.
Subspaces
A set of vectors is a subspace when adding and scaling never take you out of it. For every and in , and every number :
I write ” is in ” as . A set with this property is closed under adding and scaling.
One consequence is worth seeing at once. Take any in and scale it by . The result is , so it must be in . So every subspace contains the origin. That is why the plane only kept its points at : a plane that misses the origin fails the test before you add anything.
Here are the subspaces of the plane :
- the origin alone, ;
- any line through the origin;
- the whole plane.
In space, , add the planes through the origin. Every one of these is the span of some vectors, as in Linear combinations and span: a span is closed, because a combination of combinations is again a combination.
Watch out
A subspace is not just any piece of space, and it is not “a smaller copy of ”. The line is not a subspace, because it misses the origin. The half-plane of points with is not, because leaves it. The two axes together are not, because lies on neither axis.
Beyond arrows
The test never asked what the vectors look like. It only asked that you can add them and scale them. So the same idea works for things that are not arrows.
Signals. A signal of three samples is a vector in , as in Vectors: component is the sample , since matrix and vector entries count from 1 and samples from 0. The signals whose three samples add up to zero are exactly the plane from the picture. Add two such signals, or turn one up, and the total stays 0.
Polynomials. The polynomials of degree at most 2, such as or , can be added and scaled, and the result is again a polynomial of degree at most 2. They form a space with three numbers per member, just like .
Anything you can add and scale, with the usual rules of arithmetic, is called a vector space. is the example to keep in mind. I won’t list the rules here; adding and scaling as you already know them is all this course uses.
In signal processing · band-limited signals
The sampling theorem, in the signal processing course, works with band-limited signals, which contain nothing above some frequency . Add two signals with nothing above 3 kHz, or turn one up, and the result still has nothing above 3 kHz. So the band-limited signals form a subspace, and the theorem is a statement about it.
The column space
Every matrix brings a subspace with it. In A matrix moves the plane, was a combination of the columns of , with the entries of as weights. Collect every output the matrix can produce:
This is the column space of : the span of its columns. It is a subspace of the output side, because outputs add and scale: and .
The column space answers the question of Two pictures of a linear system once and for all: has a solution exactly when .
Take the matrix
It sends to . Every output has its third entry equal to the sum of the first two, so is the plane in space.
Column space
Every output of B = [1 0; 0 1; 1 1] lies on one plane. Which targets are on it?
The plane of all outputs Bx: every point whose third number is the sum of the first two.
Describe this picture
A slowly turning view of 3-D space with the plane of all outputs of : every point whose third number is the sum of the first two. Its two columns, and , grow as arrows from the origin. Then two steps of and three steps of walk tip to tail along the plane to the target , which is marked on it. Last, the target appears as an open ring, 1 below the plane, with a dashed gap up to it. Readouts say that is solved by and that has none. There is no control.
Watch the two targets as the view turns. The point stays in the plane from every side. The point only seems to touch it from some angles. has a solution, and has none.
Worked example
- A line through the origin. The line is a subspace. Sum: , and . Scaling: , on the line again.
- A shifted line. is not: at it gives , so it misses .
- A half-plane. is not: leaves it.
- Two axes. The set where is not: , and .
- The tilted plane. At , has total 0. At , has total .
- Column space. with : . The point is in it too, with . The point is not, because .
Predict before you drag: at which level do sums stay on the plane? Only at .
Where you’ll meet this
Band-limited audio. The signals with nothing above a given frequency form a subspace, as the callout above shows. A telephone channel keeps signals inside the one with nothing above about 3.4 kHz, and any mix of two voices stays inside it.
Removing the average. Subtracting a signal’s average moves it into the subspace of signals that add up to zero. The samples have average 3; take it away and you get , which adds up to 0.
What a system can produce. If a system is a matrix, its column space is the set of every output it can make. A target outside it can’t be reached exactly by any input, and the best you can do is come close.
Reference card
| Quantity | Formula | Notes |
|---|---|---|
| Subspace | and | closed under adding and scaling |
| Always inside | scale any member by 0 | |
| In the plane | , a line through , all of | in space, add the planes through |
| Not subspaces | ; ; the two axes | miss ; leave under ; leave under adding |
| Column space | the span of the columns | |
| Solvable | has a solution exactly when | the target must be an output |