Subspaces
A subspace is a subset of a vector space that is itself a vector space under the very same addition and scalar multiplication. You never recheck all the axioms — you run one quick three-part test: it must contain the zero vector, and be closed under addition and under scalar multiplication.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
Select all of the following subsets that are subspaces of .
Let , a subspace of . Let and , both of which lie in . Compute and enter it as a vector; it should again lie in .
What you’ll be able to do
- State precisely what it means for a subset of a vector space to be a subspace of .
- Apply the three-part subspace test: contains , is closed under addition, and is closed under scalar multiplication.
- Decide whether a given subset of or is a subspace, and justify the conclusion with a proof or an explicit counterexample.
- Explain geometrically why lines and planes through the origin are subspaces, while shifted lines, the first quadrant, and curves are not.
- Recognize homogeneous linear equations and spans as automatic sources of subspaces.
In your course
· MATH2015 · Linear Algebra & Probability- Definition 2.1Vector space axioms (the 8 rules)
- Definition 2.2Vector subspace
- Theorem 2.1Subspace testA non-empty subset is a subspace iff (U1) and (U2) . Equivalently, for all and (closed under linear combinations).
- Corollary 2.1Every subspace contains the zero vector
- Remark 2.1The four kinds of subspace in ℝ³
From vector spaces to subspaces
You already know a vector space : a set of objects (vectors) that you can add together and scale by numbers (scalars), where all the usual rules hold — addition is commutative and associative, there is a zero vector , every vector has a negative, and scalar multiplication distributes nicely. The standard example is , the set of -tuples of real numbers.
Often we care about a smaller collection of vectors living inside — for example, all the points on a particular line in . The natural question is: is that smaller collection a vector space in its own right, using the exact same addition and scalar multiplication it inherits from ?
When the answer is yes, we call the subset a subspace. The key word is same operations: we do not get to invent a new way to add vectors — we must use 's addition and scaling and check that we never "fall out" of the subset.
Intuitively, a subspace is a subset that is self-contained: start with vectors inside it, add them or scale them, and you always land back inside it. Geometrically in and , this self-containment forces subspaces to be perfectly flat objects that pass through the origin.
The subspace test
Here is the beautiful shortcut. A subset of a vector space is a subspace if and only if it passes three checks:
- Contains the zero vector: . (In particular is nonempty.)
- Closed under addition: if and , then .
- Closed under scalar multiplication: if and is any scalar, then .
Why only three checks, when a vector space has many axioms? Because the other axioms (commutativity, associativity, distributivity, and so on) are identities that already hold for every vector in — so they automatically hold for the vectors in . The only thing that could go wrong is falling out of the set, and conditions 2 and 3 forbid exactly that. Condition 1 guarantees is nonempty and pins the zero vector inside; it also rules out the empty set.
A practical tip: check for first. If , you are done immediately — is not a subspace, no further work needed. Conditions 2 and 3 are sometimes bundled into a single line: is a subspace iff it is nonempty and for all and all scalars (closure under linear combinations).
The geometry: lines and planes through the origin
In low dimensions the subspaces are easy to picture, and the picture is instructive.
Subspaces of :
- the zero subspace (a single point, the origin);
- every line through the origin, e.g. ;
- all of .
Subspaces of :
- the zero subspace ;
- every line through the origin;
- every plane through the origin;
- all of .
Notice the recurring phrase: through the origin. This is forced by condition 1 of the test — a subspace must contain . A line or plane that misses the origin cannot be a subspace.
There is also a clean algebraic source of these objects. The solution set of a homogeneous linear equation such as (note the right-hand side is ) is always a subspace: the origin solves it, the sum of two solutions is a solution, and any scalar multiple of a solution is a solution. More generally, the solution set of any homogeneous linear system is a subspace — this is the null space of , which you will meet soon.
Spotting non-subspaces (common traps)
A single failed condition is enough to disqualify a set. The most common culprits:
-
Shifted lines/planes (missing the origin). The line in does not pass through , so it fails condition 1. Likewise any with .
-
The first quadrant . This one is sneaky: it does contain , and it is closed under addition. But it fails closure under scalar multiplication: take and multiply by to get , which is outside. One failure is fatal.
-
Curves. The unit circle does not even contain the origin, and is closed under neither operation.
-
Unions of subspaces. The union of the -axis and the -axis contains and is closed under scalar multiplication, yet fails closure under addition: lies on neither axis.
-
Sets defined by a nonlinear condition, like . It contains and is closed under scaling, but has , breaking closure under addition.
The moral: closure can fail on just one of the two operations, so you must check both — unless condition 1 already fails, which ends the discussion.
Let be a vector space. A subset is a subspace of if is itself a vector space under the addition and scalar multiplication inherited from .
A subset of a vector space is a subspace of if and only if all three conditions hold: (1) ; (2) for all , ; (3) for all and all scalars , .
If are vectors in a vector space , then their span — the set of all linear combinations — is a subspace of .
Worked examples
Show that the line is a subspace of .
- 1
Understand the set. Every point of has its second coordinate equal to twice its first. So we can write a typical element as for some real number . Geometrically this is the line through the origin with slope .
- 2
Condition 1 — does contain the zero vector? Put into the defining equation : we get , which is true. So . Condition 1 holds. (If this had failed, we would stop here.)
- 3
Condition 2 — closure under addition. Take any two elements of , say and . Add them: . The second coordinate is exactly times the first coordinate, so satisfies . Hence .
- 4
Condition 3 — closure under scalar multiplication. Take and any scalar . Then . Again the second coordinate is twice the first, so .
- 5
Conclude. All three conditions of the subspace test hold, so is a subspace of . (This matches the geometry: is a line through the origin.)
Determine whether the first quadrant is a subspace of .
Is the plane a subspace of ?