Subspaces, Linear Combinations and the Linear Span
A vector space is usually too large to study all at once; the objects of real interest are its internal copies — subspaces — and the operations that build them out of a handful of vectors: linear combinations and span. This chapter develops the single most-used test in linear algebra (the subspace criterion) and proves the two structural facts every later chapter quietly relies on: span is always a subspace, and it is the smallest one containing the given vectors.
Have to hand: Chapter 1's vector space axioms and the proof style that goes with them (name every axiom used).
1. The Subspace Criterion
Definition (subspace). Let be a vector space over . A subset is a subspace of if is itself a vector space over under the addition and scalar multiplication inherited from .
Checking all eight vector space axioms directly would be wasteful — associativity, commutativity and the distributive laws are automatically inherited from , since they are identities that already hold for every vector in , hence in particular for vectors in . Only three things can actually fail for a subset, which gives a three-condition test.
Proposition (subspace test). is a subspace if and only if:
- (non-emptiness, anchored at the zero vector);
- (closure under addition);
- (closure under scalar multiplication).
Proof. () If is a subspace it is a vector space, hence has a zero vector; this zero vector must coincide with because the zero vector of satisfies for , and is the unique element of with this property (Chapter 1), so . Conditions 2 and 3 are immediate since is closed under its own operations by definition of being a vector space.
() Suppose conditions 1–3 hold. Associativity, commutativity of , and the four scalar-multiplication axioms (axioms 2–5 of Chapter 1) hold for all elements of , hence restrict to hold for all elements of — these are universally quantified identities, inherited for free. Condition 1 gives the additive identity inside . For additive inverses: given , condition 3 with gives , and Chapter 1 proved ; so . Conditions 2 and 3 are exactly closure. Hence satisfies every vector space axiom and is a vector space in its own right — a subspace.
In practice, conditions 2 and 3 are usually combined and checked together as a single step: for all , . This is logically equivalent to conditions 2+3 (take for condition 2, for condition 3) and is faster to verify.
Worked example. Let . Check: satisfies , so . If and , then the combination satisfies , using that both points satisfy the defining equation. So is a subspace — this is the general pattern: the solution set of a homogeneous linear equation (or system) is always a subspace, because the left-hand side is a linear expression in the coordinates.
2. Non-Subspace Examples and Why They Fail
- fails: although , we have but since . Closure under scalar multiplication fails because the defining equation is not linear.
- fails condition 1 immediately: , so . Any affine (shifted) set that does not pass through the origin is never a subspace.
- fails condition 3: but (Chapter 1, Exercise).
Key distinction. A subset can satisfy closure under addition without satisfying closure under scalar multiplication, or vice versa — the three conditions are logically independent and all three must be checked. A common shortcut, checking only condition 1, catches none of the genuinely interesting failures.
3. Linear Combinations and Span
Definition. A linear combination of vectors is any vector of the form with .
Definition (span). The span of a subset , written , is the set of all linear combinations of finitely many vectors of . By convention .
Theorem. For any , is a subspace of , and it is the smallest subspace of containing (i.e. if is any subspace with , then ).
Proof. Subspace. (empty combination, or for any if ). If and are two linear combinations of vectors of , then for , is again a (finite) linear combination of vectors of — this uses axioms 3, 4, 5 of Chapter 1 to redistribute the scalars — so is closed under the combined operation of condition 2+3 above, hence a subspace.
Smallest. Let be any subspace with . Every vector lies in . By the subspace criterion, is closed under linear combinations, so for , . Hence every element of lies in , i.e. .
This theorem is the precise sense in which "span is the subspace generated by ": it is simultaneously a subspace containing , and smaller than (contained in) every other such subspace.
Worked example. Let in . Then , the -plane. Checking the smallest-subspace property directly: any subspace containing and must, by closure, contain for every , so necessarily — the -plane cannot be avoided once those two generators are required to be in .
4. Sums of Subspaces
Definition. If are subspaces of , their sum is .
Proposition. is a subspace of , and in fact .
Proof sketch. Closure under the combined linear-combination operation follows entrywise exactly as for span. For the equality: every element of is manifestly a linear combination of elements of (namely ), so . Conversely, any linear combination of elements drawn from the can be regrouped, using closure of each under scalar multiplication and addition, into a sum of one element from each , giving the reverse inclusion.
5. Direct Sums
Definition. is the direct sum of subspaces , written , if and every can be written as () in exactly one way.
For two subspaces, uniqueness of decomposition reduces to a single clean test.
Theorem. if and only if and .
Proof. () Suppose with . Then (with ) and (with ) are two different decompositions of as (different because means the pairs and are distinct), contradicting uniqueness. So .
() Suppose and are two decompositions. Then . The left side lies in (subspace, closed under subtraction: ), the right side in ; since they're equal, this common vector lies in , forcing and .
A frequent confusion: for two subspaces, must genuinely be checked as an intersection of subspaces — it is not enough that the subspaces merely look different. For three or more subspaces, pairwise trivial intersection is not sufficient for a direct sum (a standard counterexample: three distinct lines through the origin in pairwise intersect only at , but their sum is all of and decompositions are not unique).
Common Exam Pitfalls
- Checking only and declaring a subspace. All three conditions are independent; a set can contain and still fail closure (e.g. , the union of the two axes, contains but is not in the set).
- Testing a nonlinear defining equation and expecting a subspace. Only homogeneous linear equations (and intersections of such) define subspaces; anything with squares, products of variables, or a nonzero constant term fails.
- Confusing span with union. contains far more than itself — all linear combinations, generically an entire plane through the origin, not just the two original vectors.
- Treating "sum" and "direct sum" as synonyms. always makes sense and is always a subspace; it is a direct sum only when , which must be separately verified.
- Assuming pairwise trivial intersection suffices for direct summands. The correct general criterion (developed further via dimension in Chapter 3) requires more than pairwise disjointness of intersections.
- Forgetting the "smallest subspace" half of the span theorem. Many students can show is a subspace but forget that proving it is the smallest one containing is an equally essential, separate half of the theorem.
Summary
- Subspace criterion: is a subspace iff , is closed under addition, and is closed under scalar multiplication; the remaining axioms (associativity and commutativity of , and axioms 2–5 of Chapter 1) are automatically inherited from .
- Linear (not affine, not polynomial) homogeneous equations define subspaces; a nonzero constant term or a nonlinear term breaks this.
- Span: is the set of all finite linear combinations of elements of ; it is always a subspace, and it is the smallest subspace containing — both halves require proof.
- Sum of subspaces: , always a subspace.
- Direct sum: iff and ; for summands, pairwise trivial intersection is not by itself sufficient.