Login
📚 Linear Algebra, Interactive Edition
Chapters ▾
⇩ Download ▾

2.3 Subspace or Not

The last two sections kept meeting the same kind of shape. Spans were flat, passed through the origin, and combining two of their points always produced another of their points; the red line of solutions in the previous section was flat but missed the origin, and adding two of its points threw you off it. It is time to name the property. A subspace of 3 is a set of vectors that contains the zero vector and is closed under the two operations that build spans: adding any two of its vectors lands back in the set, and scaling any of its vectors lands back in the set.

The definition sounds algebraic, but it is a test you can run by eye. The figure below offers three candidates. The first is the plane z=0.5x+0.3y, which passes through the marked origin. The second is its translate z=0.5x+0.3y+a, floating above or below on the slider a. The third, hidden until you reveal it, is the curved surface z=0.2xy — and it is the trap, because it does pass through the origin.

A flat plane passing through a marked origin point, with a second, parallel plane floating above or below it, controlled by a slider named a. A hidden saddle-shaped curved surface through the origin can be toggled on. Sliding a to 0 drops the floating plane onto the origin plane; the reader compares which of the three surfaces could be a subspace.Explore in 3D (opens in a new tab)
The plane z=0.5x+0.3y through the marked origin, and its translate z=0.5x+0.3y+a on the slider a. A curved surface z=0.2xy is hidden in the scene; reveal it to run the subspace test on all three candidates.

Explore the figure

  1. At the default a=1, orbit the two planes. Only the lower one contains the origin point — the translate already fails the easiest part of the test. Does any point of the translate look "reachable" by scaling another of its points down toward zero?
  2. Drag a to 0 and watch the translate drop onto the origin plane. Among all values of the slider, exactly one produces a subspace. Which failure returns the instant a leaves 0?
  3. Reveal the hidden surface labeled curved surface: z=0.2xy. Check by orbiting that it genuinely contains the origin. If containing the origin were the whole test, it would pass.
  4. Now test closure on the curved surface by eye: find the points above (1,0) and (0,1) — both sit at height z=0 — and locate their sum (1,1,0). Does the surface pass through it?

Running the test

The origin plane passes in full generality. If (x1,y1,z1) and (x2,y2,z2) both satisfy z=0.5x+0.3y, then their sum satisfies z1+z2=0.5(x1+x2)+0.3(y1+y2) — the same equation again, because the equation is linear with zero constant term. Scaling works the same way. In fact this plane is a span: every point of it is x(1,0,0.5)+y(0,1,0.3), so it is the span of two vectors, and every span passes the subspace test for exactly the reason above.

The translate fails at a0, and not only because it misses the origin. Take a=1: the points (0,0,1) and (2,0,2) both lie on it, but their sum (2,0,3) needs z=0.5·2+1=2, not 3. Closure fails because adding two points doubles the constant +1. A flat sheet in the wrong place is not a subspace — it is a subspace's translate, the shape solution sets of inhomogeneous systems take.

The three verdicts assemble into a picture worth keeping: the subspaces of 3 are exactly the origin alone, the lines through the origin, the planes through the origin, and all of 3. Flat, through the origin, closed under the span-building operations — any curvature or any offset breaks the test somewhere.

An original work of XYZ Homework, built around interactive XYZ 3D figures. Its chapter sequence is aligned to Interactive Linear Algebra (Margalit & Rabinoff, Georgia Tech, GNU FDL); this work is original, copies nothing from it, and is not affiliated with or endorsed by its authors. License: CC-BY-NC-SA-4.0.