Replacement Theorem (Steinitz Exchange Lemma)
The Replacement Theorem is the fundamental result that makes the concept of dimension well-defined. It shows that linearly independent sets cannot be larger than spanning sets.
Statement
Let be a vector space spanned by a set with . If is a linearly independent subset of , then , and there exists a subset with such that
In other words, we can "replace" elements of the spanning set by the independent set and still span .
The Replacement Theorem immediately implies:
-
Dimension is well-defined: Any two bases of have the same number of elements. (If and are bases with and , then (apply the theorem with , ) and (apply with roles reversed), so .)
-
Independent sets are small: Any linearly independent set has at most elements.
-
Spanning sets are large: Any spanning set has at least elements.
-
Basis extension: Every linearly independent set can be extended to a basis.
Examples
Let (standard basis) and . Then , , and we can replace one element of . For instance:
since are linearly independent. We replaced (we could also have replaced , but not since has in the third component and we would lose coverage of that direction).
spans and is linearly independent with . The theorem says () and we can replace all of by :
The set is empty.
spans with . The set is linearly independent (). The theorem guarantees we can keep one element of :
Indeed: and .
In , we cannot have 4 linearly independent vectors. If were independent and , the theorem gives , a contradiction.
The theorem requires to span . Consider , (not spanning), and . Here is independent and , but we cannot replace an element of and still span (since did not span to begin with).
The theorem is also known as the Steinitz Exchange Lemma, after Ernst Steinitz who proved it in 1913. The "exchange" viewpoint: if is a vector outside , we can add to and remove some element of while preserving the span.
The subset in the theorem is generally not unique. In with and , we can take or or . All three choices work.
In practice, the replacement is done one vector at a time. Given spanning and :
Since the coefficient of is nonzero, we can solve for : . So .
A linearly independent set in a finite-dimensional space is a basis if and only if . This follows from the Replacement Theorem: if and is any basis, then , so .
A spanning set for is a basis if and only if . If and were dependent, removing a vector gives a spanning set of size . But any basis has elements, contradicting that it can be extended from a subset of this smaller spanning set.
By the Replacement Theorem, the subspaces of have dimensions , or :
- : only
- : lines through the origin
- : planes through the origin
- : hyperplanes
- : itself
In infinite-dimensional spaces, the Replacement Theorem still holds for finite independent sets, but the full theory of dimension requires more care (Zorn's lemma for the existence of bases).
Proof
See the detailed proof.
The Replacement Theorem is the key tool for proving the Dimension Theorem and the Rank-Nullity Theorem.