Basis, Dimension and Coordinates in a Basis
Span (Chapter 2) tells us how to generate a subspace from a set of vectors, but says nothing about efficiency — a spanning set can carry redundant vectors. This chapter isolates the notion of a maximally efficient, non-redundant spanning set — a basis — and proves the single theorem that makes "dimension" a well-defined number rather than a vague intuition: the Steinitz exchange lemma. Everything that follows in this course (rank-nullity, matrix representations, eigenspaces) is stated in terms of dimension, so this chapter's proofs are load-bearing for the rest of the block.
Have to hand: span and the subspace test (Chapter 2), and comfort manipulating finite lists of vectors and linear combinations.
1. Linear Independence
Definition. A list of vectors is linearly independent if the only solution of (in scalars ) is . A list that is not linearly independent is linearly dependent: some nontrivial combination (not all ) equals .
Equivalently (and this is the form used constantly in proofs): are linearly dependent if and only if some is a linear combination of the others. (Proof: if with some , solve for , using that exists since is a field. Conversely if , then is a nontrivial relation, since the coefficient of is .)
A single nonzero vector is always linearly independent (if with , then : if it would have an inverse , giving , a contradiction). Any list containing the zero vector is linearly dependent: is a nontrivial relation (coefficient on the zero vector).
Worked example. Are linearly independent in ? Solve : componentwise, , , . From the first, ; from the second, ; substituting into the third, , automatically satisfied. So for any — e.g. gives the nontrivial relation (check: ✓). The list is linearly dependent.
2. Basis
Definition. A list of vectors in is a basis of if it is linearly independent and spans .
A basis is simultaneously "just enough" to span (linear independence rules out redundancy) and "enough" to span (the spanning condition). The standard basis of (with having in position and elsewhere) is the model example: independence and spanning are both immediate from writing uniquely.
Proposition (uniqueness of representation). is a basis of if and only if every can be written as for a unique choice of scalars .
Proof. () Spanning gives existence of some representation. For uniqueness, suppose . Subtracting, ; by linear independence, for every , so . () Existence of a representation for every is exactly the spanning condition. For independence: if , this is a representation of ; but is also a representation of , so by uniqueness for all .
This is the practical meaning of a basis: it turns every vector into a unique list of numbers (its coordinates), which is what makes matrix computations possible at all (Chapter 5).
3. The Steinitz Exchange Lemma
This is the technical heart of the chapter — the single lemma from which "dimension is well-defined" and "every independent list extends to a basis" both follow.
Theorem (Steinitz Exchange Lemma). Suppose is linearly independent in and spans . Then , and (after reordering the if necessary) spans .
Proof (by induction on , showing at each stage that spans , after suitable reordering of the remaining 's).
Base case : spans by hypothesis.
Inductive step: suppose and that, after reordering the 's, the list spans (here ). Since this list spans , write If every here, then is a linear combination of alone, giving a nontrivial relation among (coefficient on ), contradicting linear independence of . This also shows must hold at this point (if there would be no left to supply a nonzero , forcing the contradiction immediately — this is exactly where is captured: the induction cannot proceed past , so it must terminate with ). So some ; reorder so . Then can be solved for: . Since spans and is itself a linear combination of , substituting shows also spans . This completes the induction.
Corollary (dimension is well-defined). Any two bases of a finite-dimensional vector space have the same number of elements.
Proof. Let and both be bases. Since is independent and spans, the exchange lemma gives . Symmetrically, since is independent and spans, . Hence .
Definition. This common number is the dimension of , written . (A vector space with a finite spanning list is called finite-dimensional; otherwise infinite-dimensional — and for infinite are the standard examples of the latter, and are outside the scope of the exchange-lemma argument above, which assumes a finite spanning list exists.)
4. Existence of a Basis; Extension and Reduction
Theorem (spanning list reduces to a basis). Every finite spanning list of a nonzero vector space contains a sub-list that is a basis of .
Proof sketch. If the spanning list is already independent, it is a basis. Otherwise some is a linear combination of the others (Section 1); removing it leaves a strictly shorter list that still spans (any combination using can be rewritten using only the others). Repeat; since the list is finite and shrinks each time, the process terminates in an independent spanning list — a basis.
Theorem (independent list extends to a basis). Every linearly independent list in a finite-dimensional extends to a basis of .
Proof sketch. If does not already span , some is not in ; then is still independent (if a relation involved with nonzero coefficient, could be solved for in terms of the , contradicting ; if not, the relation reduces to one among the alone, contradicting their independence). Repeat; the exchange lemma bounds the length of any independent list by , so the process terminates in a basis.
Worked example. Extend to a basis of . Since , it's independent. Is ? No — is the line , and is not of this form. So is independent. Is , i.e. all vectors with third coordinate ? No. So is independent, and since and we have independent vectors, by the exchange lemma applied with the spanning standard basis ( forces the list itself spans, else it could be extended past dimension , contradiction) — is a basis.
5. Dimension Formulas for Subspaces
Proposition. If is a subspace of a finite-dimensional , then is finite-dimensional and , with equality iff .
Proof sketch. Any independent list in is independent in , hence has length by the exchange lemma; so has a longest independent list, which must span (else it could be extended, Section 4), giving a basis of of length . If , a basis of is an independent list in of length ; by the exchange lemma argument, it must already span (an independent list of length that failed to span could be extended to a longer independent list, exceeding , a contradiction), so .
Proposition (dimension of a direct sum). If (both finite-dimensional), then .
Proof sketch. Let be a basis of and a basis of . The combined list spans (any , , is a combination of the and ). For independence: if , then , so and separately; independence of each basis forces all . So the combined list is a basis of of length .
Common Exam Pitfalls
- Treating "spans" and "basis" as synonyms. A spanning list need not be independent; a basis is a spanning list that is also independent — both properties must be checked.
- Checking only spanning, or only independence, when asked to verify a basis. Both halves of the definition are required, and each needs its own argument.
- Forgetting that dimension is only well-defined because of the exchange lemma. "Two bases of the same space always have the same size" is a theorem, not an obvious fact — citing it without the lemma is incomplete.
- Assuming any vectors in an -dimensional space form a basis. This is false: a dependent list of vectors is not a basis even though it has the "right" count. What is true (by the exchange lemma and the extension theorem of Section 4) is that a list of exactly vectors is a basis if and only if it is independent, if and only if it spans — but one of the two properties must still be verified.
- Misapplying the exchange lemma's inequality direction. It is the independent list's length that is bounded by the spanning list's length (), not the other way around.
- Losing track of uniqueness of coordinates. A vector has a unique representation only relative to a fixed basis; changing the basis changes the coordinates entirely (the subject of Chapter 5).
Summary
- Linear independence: all ; equivalently, no is a combination of the others.
- Basis: a linearly independent spanning list; equivalently, a list giving every vector a unique coordinate representation.
- Steinitz exchange lemma: an independent list of length and a spanning list of length satisfy , and 's can replace 's one at a time while preserving spanning.
- Dimension is well-defined: any two bases of have the same length , a direct corollary of the exchange lemma applied both ways.
- Every finite spanning list reduces to a basis; every independent list extends to a basis (in finite dimension).
- for a subspace , with equality iff ; and .