A subspace is a subset of a vector space that is itself a vector space under the same operations. Subspaces are among the most important objects in linear algebra because many problems reduce to understanding smaller vector spaces inside larger ones.
Lines through the origin, planes through the origin, solution spaces of homogeneous systems, null spaces, column spaces, and eigenspaces are all examples of subspaces.
The concept of subspace formalizes the idea of a linear part of a vector space.
18.1 Definition of a Subspace
Let be a vector space over a field . A subset is called a subspace of if is itself a vector space under the same addition and scalar multiplication operations as .
The operations are inherited from the ambient space. No new operations are introduced.
For to be a subspace, every vector operation performed inside must remain inside .
18.2 Subspace Test
The vector space axioms do not need to be checked one by one. A simpler criterion exists.
A nonempty subset is a subspace if and only if:
- whenever ,
- whenever and .
These conditions are called closure under addition and closure under scalar multiplication.
Since the subset already lies inside a vector space, the remaining vector space axioms are inherited automatically.
The condition that is nonempty is essential. Without it, the empty set would satisfy the closure conditions vacuously.
18.3 The Zero Vector
Every subspace contains the zero vector.
To see this, let . Since is closed under scalar multiplication,
But
Therefore
This gives a fast test for rejecting candidate subspaces. If a set does not contain the zero vector, then it cannot be a subspace.
For example,
is not a subspace because
18.4 Geometric Interpretation
In , the subspaces are:
| Subspace | Dimension |
|---|---|
| 0 | |
| Any line through the origin | 1 |
| 2 |
In , the subspaces are:
| Subspace | Dimension |
|---|---|
| 0 | |
| Lines through the origin | 1 |
| Planes through the origin | 2 |
| 3 |
The phrase “through the origin” is critical. A translated line or plane is generally not a subspace because it does not contain the zero vector.
For example,
is a subspace of , but
is not.
18.5 Examples of Subspaces
Consider the subset
We verify the subspace conditions.
First, the zero vector belongs to because
Next, let
be vectors in . Then
and
Their sum satisfies
Thus .
Finally, let . Then
so
Therefore is a subspace of .
Geometrically, this subspace is a plane through the origin.
18.6 Non-Examples
Many sets fail the subspace conditions in subtle ways.
Example 1
Consider
This set contains vectors lying on the coordinate axes.
Take
Both belong to , but
since
Thus is not closed under addition.
Example 2
Consider
The vector
but
Thus is not closed under scalar multiplication.
18.7 Trivial Subspaces
Every vector space has at least two subspaces:
| Subspace | Description |
|---|---|
| Zero subspace | |
| Whole space |
These are called the trivial subspaces.
The zero subspace contains only the zero vector. Its dimension is zero.
The whole space is always a subspace of itself.
18.8 Solution Spaces of Homogeneous Systems
One of the most important sources of subspaces comes from homogeneous linear equations.
Consider the system
The set of all solutions is called the null space or kernel of .
If and satisfy
and
then
Thus the solution set is closed under addition.
Similarly,
so the solution set is closed under scalar multiplication.
Therefore the solution set is a subspace.
This fact is fundamental. Linear equations naturally produce vector spaces.
18.9 Column Space
Let be an matrix with columns
The column space of is the set of all linear combinations of the columns:
Since spans are subspaces, the column space is a subspace of .
The column space describes every vector that can be written as
Thus the equation
has a solution exactly when
The column space measures the range of the linear transformation defined by .
18.10 Row Space
The row space of a matrix is the span of its row vectors.
If
then
The row space is a subspace of .
Row space and column space are closely related. Later chapters show that they always have the same dimension.
18.11 Null Space
The null space of a matrix is
This is a subspace of .
The null space measures directions collapsed by the transformation .
If the null space contains only the zero vector, then the transformation is injective.
If the null space contains nonzero vectors, then information is lost under the transformation.
18.12 Span as a Subspace
Every span is a subspace.
Let
By definition, every vector in has the form
If
and
then
Thus .
Similarly,
so .
Therefore is a subspace.
In fact, the span of a set is the smallest subspace containing that set.
18.13 Intersection of Subspaces
If and are subspaces of , then
is also a subspace of .
To prove this, let . Then both vectors belong to both subspaces.
Since each subspace is closed under addition,
and
Therefore
The same argument works for scalar multiplication.
Thus intersections preserve subspace structure.
18.14 Sum of Subspaces
Let and be subspaces of . Their sum is
The sum is also a subspace of .
This construction combines two vector spaces into a larger one.
For example, in , if is the -plane and is the -axis, then
18.15 Direct Sums
A sum
is called a direct sum if every vector in can be written uniquely as
where
This happens exactly when
Direct sums decompose vector spaces into independent pieces.
The notation is
This idea becomes important in eigenspaces, invariant subspaces, and canonical forms.
18.16 Subspaces Generated by Equations
Subspaces often arise as solution sets of linear equations.
For example,
defines a subspace of .
But
does not.
The reason is that homogeneous equations preserve the origin, while nonhomogeneous equations shift the solution set away from the origin.
The first equation defines a plane through the origin. The second defines a translated plane.
18.17 Finite-Dimensional Subspaces
Every subspace of a finite-dimensional vector space is finite-dimensional.
If
then
A line through the origin in has dimension . A plane through the origin has dimension .
No subspace of can have dimension greater than .
This fact later leads to the dimension theorem.
18.18 Polynomial Subspaces
Consider the set
This is a subspace of .
If
and
then
Also,
Thus the subspace conditions hold.
Every polynomial satisfying has the factor
Therefore
This subspace has dimension .
18.19 Function Subspaces
Function spaces contain many important subspaces.
The set of continuous functions on an interval forms a subspace of the space of all functions.
The set of differentiable functions forms another subspace.
The set of solutions of a linear differential equation also forms a subspace.
For example, the solutions of
form the subspace
This connection between differential equations and vector spaces is fundamental in analysis and physics.
18.20 Summary
A subspace is a subset of a vector space that remains closed under vector addition and scalar multiplication.
The key ideas are:
| Concept | Meaning |
|---|---|
| Subspace | A vector space inside another vector space |
| Closure | Operations stay inside the set |
| Zero vector | Must belong to every subspace |
| Span | Smallest subspace containing given vectors |
| Null space | Solutions of |
| Column space | Span of matrix columns |
| Row space | Span of matrix rows |
| Sum of subspaces | Combination of vector spaces |
| Direct sum | Unique decomposition into subspaces |
Subspaces organize vector spaces into smaller linear pieces. Much of linear algebra studies how these pieces interact, combine, and decompose under linear transformations.