Linear Subspace
BasisPrerequisites
Not every subset of a vector space is itself a vector space. A random subset can fail to contain the zero vector, or it can “escape” the subset when you add two of its elements. Linear subspaces are the subsets that preserve the vector space structure — and they appear naturally everywhere in linear algebra: as kernels, as images, as solution sets of homogeneous systems.
Definition
Let be a vector space over a field . A non-empty subset is a linear subspace (also simply called a subspace) of if it satisfies all three of the following conditions:
- (the zero vector belongs to )
- (closed under addition)
- (closed under scalar multiplication)
When these hold, is a vector space in its own right, using the same operations as . All the vector space axioms — associativity, distributivity, etc. — are inherited automatically from , because ‘s elements and operations are simply those of restricted to . The three conditions above are the only ones you need to verify.
The subspace criterion
Conditions 2 and 3 together say that is closed under all linear combinations. This leads to a compact test:
Subspace criterion: A non-empty subset is a subspace of if and only if
(Closed under all linear combinations.)
The condition also implies without needing to check it separately: since is non-empty, there exists some ; taking gives . So you only need to verify that is non-empty and closed under linear combinations.
Examples
The trivial subspace
is the smallest possible subspace of any vector space. It contains only the zero vector. It clearly satisfies all three conditions.
The whole space
itself is trivially a subspace — it is the largest.
Lines and planes through the origin in
- Any line through the origin in — a set of the form for a fixed nonzero — is a one-dimensional subspace.
- Any plane through the origin in — a set of the form for linearly independent — is a two-dimensional subspace.
Notice the requirement “through the origin”: a line or plane that does not pass through the origin is not a subspace (it does not contain ).
Solution sets of homogeneous systems
If , the solution set of the homogeneous system is a subspace of . Check: (zero is a solution); if and then ; if then . This subspace is the kernel of , developed in Kernel.
Non-example
A line in that does not pass through the origin, say , is not a subspace: it does not contain , and adding two points on it gives — wait, more concretely: lies on the line, but does not lie on . The closure conditions fail.
Spans and bases
From Linear Span, the span of any subset is automatically a subspace — the smallest subspace containing . This gives a rich supply of subspaces from any set of vectors.
Bases of a subspace
A basis of a subspace is a subset that is:
- Linearly independent (as defined in Linearly Dependent).
- Spanning: .
A basis is a “minimal spanning set” and simultaneously a “maximal independent set” inside . The number of elements in any basis of is always the same — this common number is the dimension of , written .
Summary
- A subspace is a non-empty subset closed under addition and scalar multiplication; equivalently, closed under all linear combinations .
- Being non-empty and closed under linear combinations automatically ensures and all vector space axioms.
- Key examples: , itself, lines/planes through the origin, and solution sets of homogeneous systems.
- A subset that does not contain (such as a shifted affine subspace) is not a subspace.
- The span of any set (Linear Span) is the smallest subspace containing .
- A basis of is a linearly independent spanning set; its size is .