Subspaces appear as soon as we notice that many linear problems do not use the whole ambient vector space. The solution set of a homogeneous system, the set of symmetric matrices, and the set of polynomials vanishing at a chosen point are all smaller collections inside larger vector spaces.
The point of this section is to decide exactly when such a subset still carries the full linear structure. A subspace is not merely a geometrically nice subset. It is a subset on which the inherited addition and scalar multiplication still satisfy the vector-space laws.
Why only a few axioms need checking
Suppose is already a vector space and . If we use on the same addition and scalar multiplication already defined on , then we do not need to reprove associativity, commutativity, or the distributive laws from the ground up. Those identities are already true in .
The real question is narrower:
- does addition of two vectors in stay inside ?
- does scalar multiplication stay inside ?
- does still contain the vectors needed for the vector-space structure, especially the zero vector?
That is why the subspace test is a closure test.
Definition
Subspace definition
Let be a vector space. A subset is called a subspace of if:
- is nonempty;
- for all ;
- for all and all .
The tutorial packet also emphasizes an equivalent formulation that is often more convenient in proofs.
Theorem
Equivalent subspace test
Let be a vector space and . Then is a subspace of if and only if:
-
;
-
for every and every , the vector
also belongs to .
Proof
Why the equivalent test works
Standard examples from equations
The master notes begin with subsets defined by simple linear equations. These examples matter because they show exactly what "through the origin" and "homogeneous" mean in linear algebra.
Worked example
A line through the origin in
Let
To prove that is a subspace of , check the three defining conditions.
-
is nonempty because
(0, 0)satisfies . -
If , then and . Therefore
so .
-
If and , then , so
which means .
Hence is a subspace of .
The geometry matches the algebra: is a line through the origin. The phrase "through the origin" is not decorative. It is the visible sign that the zero vector belongs to the set.
Worked example
A plane cut out by one homogeneous equation
Now let
Again we check the definition.
-
is nonempty because
(0, 0, 0)satisfies the equation. -
If and lie in , then
Adding these equations gives
so .
-
If and , then
so .
Thus is a subspace of .
This example is the model case for a set defined by a homogeneous linear equation. The zero right-hand side is what makes the closure argument work.
After proving a few examples by hand, use the checker below to compare a genuine subspace with common lookalikes that fail one part of the test.
Read and try
Run one subspace test
The live checker compares common subsets and marks exactly where the subspace test passes or fails.
This set passes the full subspace test.
Contains 0
Passes
(0, 0) satisfies y = 2x.
Closed under addition
Passes
Adding two points on the line keeps you on the same line.
Closed under scalar multiplication
Passes
Scaling a point on the line still gives y = 2x.
Consequences of the subspace test
Once is known to be a subspace, several facts follow immediately.
Theorem
Every subspace contains 0 and additive inverses
Let be a subspace of a vector space . Then:
- ;
- if , then .
Proof
Proof of the first consequences
Two immediate examples now become unavoidable:
{0}is a subspace of every vector space, so it is the smallest subspace;- itself is a subspace of , so it is the largest subspace.
Null spaces are subspaces
The first important family of subspaces coming from matrix theory is the null space.
Theorem
The null space of a matrix is a subspace
Let be an matrix, and let
Then N(A) is a subspace of .
Proof
Why N(A) is a subspace
This theorem explains why the phrase null space is not just convenient terminology. The solution set to a homogeneous system really is a vector space.
Worked example
A homogeneous equation defines a null space
Let
Then
So the plane from the earlier example is exactly the null space of a matrix.
Solving for x gives
and therefore every vector in the null space has the form
So this subspace is a plane through the origin generated by two vectors.
A broader pattern: matrix conditions that preserve subspaces
The tutorial sheet includes a stronger example than a null space. Instead of requiring , it considers vectors whose images under land inside an already known subspace.
Worked example
Preimage of a subspace under matrix multiplication
Let be a matrix, let be a subspace of , and define
Then is a subspace of .
The proof is a direct application of the subspace test:
-
because , and ;
-
if , then , so
which means ;
-
if and , then , so
which means .
The null space is the special case where .
This viewpoint is worth remembering. Many subspaces are best described not by listing their elements, but by writing a condition that is preserved by linear operations.
Common ways a subset fails
The subspace test is short, but it is unforgiving. A set can fail in more than one way.
Common mistake
Containing 0 is necessary, but not sufficient
The set
is not a subspace because it does not contain (0, 0).
But failing to contain 0 is not the only danger. The tutorial also gives a
quadratic example
which may contain 0 and still fail to be a subspace. The reason is that for
,
and the cross term need not vanish. So closure under addition can
break even when a set looks symmetric and still contains 0.
In practice, the safest habit is this:
- check
0; - check addition;
- check scalar multiplication.
Do not rely on pictures or intuition alone.
Quick checks
Quick check
Why is a subspace of ?
Use the value at as the quantity that has to stay unchanged under the subspace test.
Solution
Solution
Quick check
Let . Why does this set form a subspace?
Treat the defining equation the same way you treated .
Solution
Solution
Quick check
Why is not a subspace, even though it is still a line?
Answer this without drawing a graph.
Solution
Solution
Read this first
This section depends on 6.1 Vector spaces for the axioms and on 4.1 Homogeneous systems and null space for the meaning of .
Continue with
The next section, 6.3 Linear combinations and span, uses subspaces as the natural output of a generating process.