Subspaces
Subspaces inherit vector-space operations and can be tested by closure.
A subspace is a subset that is itself a vector space under the operations it inherits. This page reduces the ten axioms to a three-condition test and applies it to vectors, polynomials and matrices.
Inheriting the vector-space structure
Vector space
A vector space over a field is a non-empty set of vectors equipped with an addition rule and a scalar-multiplication rule satisfying:
- Closure under addition: if , then .
- Associativity of addition: .
- Commutativity of addition: .
- Zero vector: there is a such that .
- Additive inverses: for every , there is a such that .
- Closure under scalar multiplication: if and , then .
- Associativity of scalar multiplication: .
- Multiplication by one: .
- Scalar distributivity: .
- Vector distributivity: .
Subspace
Let be a vector space over . A subset is a subspace of when it is a vector space over the same field and uses the addition and scalar multiplication inherited from . A proper subspace is a subspace that is not equal to .
Two elements of are added as they are in and scalar multiplication uses the same scalars. The sets and are always subspaces of . When , the standard embedding
identifies with the coordinate subspace . For , a plane through the origin in is another example.
Testing closure
Most axioms hold in automatically because they hold in , so there is no need to check all ten again.
Subspace test
Let be a subset of a vector space over , with the operations inherited from . Then is a subspace of if and only if:
- is non-empty;
- is closed under vector addition: implies ;
- is closed under scalar multiplication: and imply .
Non-emptiness and scalar closure supply the zero vector and additive inverses, so these three conditions are enough.
If is a subspace, the three properties are part of the vector-space axioms. Conversely, the inherited operations already satisfy associativity, commutativity and distributivity because they do so in . Choose using non-emptiness. Scalar closure gives
and, for every ,
Thus has the zero vector and additive inverses, while the three listed properties provide the remaining requirements.
- [1]:Subspace test
The zero-vector check
Every subspace contains the zero vector of its underlying vector space. Therefore, a subset that does not contain is not a subspace.
Keep and distinct. The set has one element and is a subspace; the empty set has none and fails the non-emptiness condition.
Examples and non-examples
A line through the origin
For a fixed non-zero direction vector , consider
The zero vector is in by taking . If and , then
For ,
The subspace test shows that is a subspace of .
[routine]
- [1]:Subspace test
The same test applies when membership is a homogeneous condition on a polynomial or a matrix.
Polynomials satisfying a homogeneous condition
Consider
The zero polynomial belongs to . If , then
and if and , then
Thus is a subspace of . It is not merely ; for example, .
[routine]
- [1]:Subspace test
Matrices annihilating a fixed vector
For a fixed , let
The zero matrix belongs to . If , then
If and , then
Therefore is a subspace of .
[routine]
- [1]:Subspace test
To reject a proposed subspace, one failed check is enough: a missing zero vector or a failed closure condition.
Sets that are not subspaces
For a fixed non-zero , the set
is not closed under addition: belongs to it but does not.
The affine line
does not contain the zero vector. Likewise, neither
contains the zero polynomial. Finally, the invertible matrices in do not form a subspace because the zero matrix is not invertible.
Replacing the right-hand side by gives homogeneous conditions such as for every or and these do define subspaces. The same contrast between homogeneous and non-homogeneous conditions returns with kernels of linear transformations.
[routine]
Spans build a subspace from chosen vectors.