Subspaces
A subspace is a subset of a vector space that is itself a vector space under the inherited operations. Subspaces are the natural "sub-objects" in linear algebra.
Definition and criterion
Let be a vector space over a field . A subset is a subspace of if is itself a vector space over with the same operations of addition and scalar multiplication.
A subset is a subspace if and only if:
- (nonempty, contains zero)
- for all (closed under addition)
- for all , (closed under scalar multiplication)
Equivalently, conditions (2) and (3) can be combined: and for all and .
If is a subspace, then (1)-(3) hold by the vector space axioms. Conversely, if (1)-(3) hold, then the axioms of commutativity, associativity, distributivity, etc., are inherited from since . Closure under scalar multiplication with gives existence of additive inverses.
Examples
For any vector space :
- is a subspace (the zero subspace or trivial subspace).
- itself is a subspace.
These are called the improper subspaces. All other subspaces are proper.
In :
- Any line through the origin is a subspace: for a fixed nonzero vector .
- Any plane through the origin is a subspace: for constants (not all zero).
- A line or plane not through the origin is not a subspace (it does not contain ).
Let . Then:
- is a subspace (symmetric matrices).
- is a subspace (skew-symmetric matrices).
When , we have via .
The set of diagonal matrices is a subspace of of dimension .
The set of upper triangular matrices is a subspace of of dimension .
is a subspace for each . Note that the set of polynomials of degree exactly is not a subspace (it does not contain , and it is not closed under addition: degree-2 polynomials).
In :
- is a subspace.
- is a subspace.
Every function decomposes as (even + odd).
For , the null space is a subspace of . If and , then .
is not a subspace. It contains but not , so it fails closure under scalar multiplication.
is not a subspace: , and .
is not a subspace because . However, is an affine subspace (a translate of the subspace ).
are nested subspaces. The differentiable functions form a subspace of the continuous functions, which form a subspace of all functions.
Operations on subspaces
If are subspaces of , their sum is
This is the smallest subspace of containing both and .
is the direct sum of subspaces and , written , if and . Equivalently, every can be written uniquely as with .
In , let (the -axis) and (the -plane). Then : every uniquely.
If and are finite-dimensional subspaces of , then
Subspaces correspond to certain linear maps: every subspace is the kernel of some linear map (namely, the projection ). The interplay between subspaces and linear maps is explored in Chapter 2.