4.1Dimension
The standard bases of , , and have , , and entries. Each of these spaces has many other bases (Section 1.6), and this section begins by showing that all of them have the same length. That length is the dimension of the space. We prove it twice: with the matrix machinery of Section 3.5, as the lecture does, and with the exchange lemma, which works inside and says more, namely that an independent list is never longer than a spanning list.
Dimension then turns many questions into counting. A list of the right length is a basis as soon as it is independent or spanning, every independent list extends to a basis, and a subspace is no bigger than the space around it. The counting has consequences well beyond bases. When a chain ends in , its nonzero vectors are independent, so an operator on an -dimensional space that is eventually is already after steps. Any matrices of size satisfy a linear relation, so every square matrix satisfies a polynomial equation. And over a field with elements, a space of dimension has exactly vectors.
Throughout, is a vector space over a field .
4.1.1Bases of
Proof (via the Third Fundamental Theorem).
Uses. Theorem 3.5.14 (Third Fundamental Theorem, completed), Definition 1.6.1 (Basis)
Techniques. Translate between maps and matrices (Technique 2.3.27)
Let be a basis of , and let
be the matrix whose columns are . Its columns form a basis of , which is condition (III) of Theorem 3.5.14. By the “moreover” part of that theorem, . □
The proof is two lines because the work was done in Section 3.5. The “moreover” part of Theorem 3.5.14 comes from the inequality , which holds because the pivots of occupy distinct rows and distinct columns (Proposition 3.5.2). So the theorem is really a count of pivots. To prove the corresponding statement in an arbitrary vector space without first choosing coordinates, we need a count that happens inside . That count is the exchange lemma.
4.1.2The exchange lemma
Lemma 4.1.2 (Exchange lemma). Let be a linearly independent list in , and let be a list that spans . Then . More precisely, the can be renumbered so that
spans .
In words: an independent list is never longer than a spanning list, and the independent list can replace an equal number of entries of the spanning list without losing the span. The result is often called the Steinitz exchange lemma. The first proof makes the trades of the intuition one at a time, and an induction keeps track of them.
Proof (by exchange).
Uses. Lemma 1.5.10 (Linear dependence lemma), Corollary 1.5.13 (Independence, one entry at a time), Corollary 1.5.17 (Sublists), Proposition 1.5.18 (Operations that preserve independence), Corollary 1.3.20 (Operations that preserve the span)
Techniques. Induction on the length of a list (Technique 1.6.9)
We prove by induction on the statement
: , and the can be renumbered so that
For this is the lemma.
Base case. says that and that spans , which is the hypothesis.
Inductive step. Let and assume , with the numbered so that spans . Let
be with inserted after . The list spans , since it contains every entry of (Corollary 1.3.20). It is linearly dependent:
By Lemma 1.5.10, some entry of lies in the span of the entries before it, and deleting that entry does not change the span. The first entries of form the list , which is independent as a sublist of an independent list (Corollary 1.5.17). By Corollary 1.5.13, none of them lies in the span of the entries before it. So the entry in question is for some with . In particular . Renumber so that this entry becomes . Deleting it from leaves
whose span is . This is . □
Each step of the induction removes a that is still present, so the steps assign to each a different , and is the pigeonhole principle. The second proof replaces the trades by a single linear system. It shows that , but not the renumbering statement.
Proof (via a homogeneous system).
Uses. Definition 1.3.12 (Spanning list), Corollary 3.4.19 (More unknowns than equations), Theorem 1.5.5 (Independence is decided at zero), Lemma 1.3.9 (Arithmetic of linear combinations), Proposition 2.3.11 (Entries of )
Techniques. Extremal choice and minimal counterexamples (Technique 1.5.9)
Suppose, to the contrary, that . Since spans , for each there are scalars with
Let
where
Example 4.1.3 (The exchange, step by step). In , let and , which are independent since neither is a multiple of the other, and let
Step 1. Insert at the front: . The relation shows that , and is the first entry with this property, since . Delete it: spans .
Step 2. Insert : . Now , so
Two independent vectors pushed out two of the three standard basis vectors, and the one that survived, , was enough to complete to a spanning list of . (So would or have been; the exchange simply found one.)
With the lemma, the theorem on has a proof that uses nothing but the standard basis.
Proof of Theorem 4.1.1 (via the exchange lemma).
Uses. Lemma 4.1.2 (Exchange lemma), Proposition 1.6.7 (Standard bases), Proposition 1.6.2 (Bases are independent spanning lists)
Intuition (Matrix machinery versus pure exchange). Both proofs of Theorem 4.1.1 are counting arguments, and they count different things. The first counts pivots: because each pivot of has a row and a column to itself. Behind it stands all of Gauss–Jordan elimination, and in return the proof is a computation: row reduce, and the pivots show which columns are independent and whether they span. The second counts trades: each pushes out a that has not been pushed out before. It never mentions matrices or coordinates, and the only tool it uses is the linear dependence lemma. That is why it works verbatim in , in spaces of functions, and in subspaces cut out by equations, where there is no matrix to reduce until a basis has been chosen. The price is that it is not a computation. It asserts that some can be removed, and finding one means testing membership in spans, which in practice is again a row reduction.
The second proof of the exchange lemma sits between the two. It uses coordinates, but only with respect to a spanning list, which need not be a basis, and the single fact about linear systems that it needs is that a homogeneous system with more unknowns than equations has a nonzero solution.
4.1.3Dimension
The theorem on extends to every finite-dimensional space, again in two ways. The lecture transports the question to by coordinates. The exchange lemma answers it in directly.
Proof (via coordinates).
Uses. Proposition 1.6.20 (Coordinates translate questions about into ), Theorem 4.1.1 (Bases of )
Proof (via the exchange lemma).
Uses. Lemma 4.1.2 (Exchange lemma), Proposition 1.6.2 (Bases are independent spanning lists)
The first proof reduces the question about to the same question about , and the dictionary of Proposition 1.6.20 guarantees that nothing is lost in translation. The second proof needs no dictionary. Both are worth knowing: transporting a problem to by coordinates is how most computations in abstract spaces are done, and arguing inside is how most proofs about them are written.
By Corollary 1.6.24 a finite-dimensional space has a basis, and by Theorem 4.1.4 all of its bases have the same length. So the following definition makes sense.
The symbol is shorthand and not a number we compute with. It lets us write statements such as “” for “ is finite-dimensional”. Since has the basis and every other space has a nonzero vector, which no basis of length can represent, exactly when .
- (a)By Proposition 1.6.7, , , and .
- (b)The plane
has the basis (Example 1.6.3(b)), so . - (c)If is a vector space over with and basis , then
is a basis of over . It is independent over by Exercise 1.5.37, and it spans over , since every is with . So ; for instance . - (d) is infinite-dimensional (Proposition 1.6.25), and so is over (Exercise 1.3.45). In both cases . For the set is a basis in the infinite sense of Aside (Bases of infinite-dimensional spaces). For over every such basis is uncountable, and none can be described explicitly; their existence rests on the axiom of choice (Section 15.1).
- (e)Linear maps correspond to matrices in (Theorem 2.3.20), and the correspondence respects sums and scalar multiples (Proposition 2.4.12). We will see in Section 4.5 that this makes
for all finite-dimensional and .
- (a)Every vector of the plane in (b) above has three coordinates, but . The dimension counts the vectors in a basis of , not the coordinates used to write down its elements.
- (b)The list spans but . A spanning list can be longer than the dimension, and Corollary 4.1.11 below shows that it can never be shorter.
- (c) and can be identified as sets with the same addition (Example 1.6.5), yet and . Without the field, “the dimension of ” is ambiguous.
Uses. Proposition 1.6.2 (Bases are independent spanning lists), Theorem 1.5.5 (Independence is decided at zero), Definition 4.1.5 (Dimension)
For all ,
so
4.1.4Lists of the right length
Once is known, the length of a list already says a good deal about it. The lecture proves the next theorem with coordinates and the First and Third Fundamental Theorems. The exchange lemma gives a second proof.
Theorem 4.1.10 (Independent lists are short). Let be finite-dimensional with , and let be a linearly independent list in .
- (a).
- (b)If , then is a basis of .
Proof (via coordinates and the Fundamental Theorems).
Uses. Proposition 1.6.20 (Coordinates translate questions about into ), Corollary 3.5.16 (Lists of vectors in ), Definition 4.1.5 (Dimension)
Fix a basis of ; it has length (Definition 4.1.5). By Proposition 1.6.20(a), the list
(a) By Corollary 3.5.16(a), applied to the matrix with these columns, .
(b) If , then by Corollary 3.5.16(c) the independent list
Proof (via the exchange lemma).
Uses. Lemma 4.1.2 (Exchange lemma), Proposition 1.5.14 (Appending a vector), Proposition 1.6.2 (Bases are independent spanning lists), Definition 4.1.5 (Dimension)
Techniques. Extremal choice and minimal counterexamples (Technique 1.5.9)
(a) A basis of spans and has length , so by Lemma 4.1.2.
(b) Suppose . If did not span , there would be some with , and would be an independent list of length by Proposition 1.5.14, contradicting (a). So spans , and being independent, it is a basis (Proposition 1.6.2). □
The contrapositive of (a) is used constantly: in an -dimensional space, every list of more than vectors is linearly dependent. For instance, any four vectors in are dependent, which is what the span explorer of Section 1.5.3 showed for three vectors in . Spanning lists satisfy the mirror-image statements.
Corollary 4.1.11 (Spanning lists are long). Let be finite-dimensional with , and let be a list of length that spans .
- (a).
- (b)If , then is a basis of .
Uses. Theorem 1.6.10 (Every spanning list contains a basis), Theorem 4.1.4 (All bases have the same length), Definition 4.1.5 (Dimension)
By Theorem 1.6.10, some sublist of is a basis of , and by Theorem 4.1.4 it has length .
(a) A sublist is obtained by deleting entries, so .
(b) If , then is obtained from by deleting entries, so , and is a basis. □
Part (a) also follows from Lemma 4.1.2, applied to a basis of and . Together, the two results say that for a list of length exactly , being independent, spanning, and being a basis are the same condition. So to check that a list of the right length is a basis, check whichever of the two properties is easier, and the other comes for free. In this is Corollary 3.5.16(c), now available in every finite-dimensional space.
- (a)Let and . The polynomials
are nonzero with distinct degrees , so they are independent (Proposition 1.5.24). There are of them, so they form a basis of by Theorem 4.1.10(b). We never had to show that every polynomial of degree at most is a combination of powers of . The coordinates of in this basis are the coefficients of its expansion in powers of , which over are the Taylor coefficients at ; Exercise 1.6.18 computed them for and . (b)In , consider
If
, then Adding and subtracting the diagonal entries gives , and the off-diagonal entries give and . So , the list is independent, and since it is a basis. (These are the Pauli matrices of quantum mechanics.)
Dimension also gives a convenient test for infinite dimension. It is the test promised after Proposition 1.6.25.
Uses. Theorem 4.1.10 (Independent lists are short), Proposition 1.5.14 (Appending a vector), Definition 1.6.23 (Finite-dimensional), Proposition 1.5.15 (Short lists, zeros, and repeats)
Techniques. Contrapositive (Technique 1.5.4)
() We prove the contrapositive. If is finite-dimensional, say , then by Theorem 4.1.10(a) there is no independent list of length in .
() Suppose is infinite-dimensional. We show by induction on that contains an independent list of length . For take (Proposition 1.5.15(a)). If is independent of length , then does not span , because no list spans (Definition 1.6.23). So there is with , and is independent of length by Proposition 1.5.14. □
Uses. Theorem 4.1.10 (Independent lists are short), Example 4.1.7 (Dimensions of the standard spaces), Theorem 1.5.5 (Independence is decided at zero)
Since (Example 4.1.7), by Theorem 4.1.10(b) it suffices to show that the four polynomials are independent. Suppose
Comparing coefficients of , , , and gives
Subtracting the first equation from the second gives , and then , , and . So the only relation is trivial (Theorem 1.5.5), and the list is a basis. Every step was valid over every field.
4.1.5Extending to a basis
A spanning list can be thinned to a basis (Theorem 1.6.10). Remark 1.6.26 described the opposite process: grow an independent list by appending vectors outside its span. It warned that growing need not stop, as in . In a finite-dimensional space it does stop, because Theorem 4.1.10 caps the length of an independent list. This is the lecture’s corollary, and the homework step of appending one vector (Proposition 1.5.14) is what drives it. We also record which vectors can be appended.
Theorem 4.1.16 (Extending to a basis). Let be finite-dimensional with , and let be a linearly independent list in . Then extends to a basis of : there are vectors such that
is a basis of . Moreover, if is any list that spans , the can be chosen among the entries of .
Uses. Theorem 4.1.10 (Independent lists are short), Proposition 1.5.14 (Appending a vector), Proposition 1.4.14 (The span is the smallest subspace containing a list), Theorem 4.1.4 (All bases have the same length), Definition 4.1.5 (Dimension)
Techniques. Induction on the length of a list (Technique 1.6.9)
Fix a spanning list of ; one exists because is finite-dimensional. By Theorem 4.1.10(a), every independent list in has length at most . We prove by induction on that every independent list of length extends to a basis of by appending entries of . Taking to be any spanning list proves the theorem, including the “moreover”.
Base case. If , then is independent of length , so it is a basis by Theorem 4.1.10(b), and we append nothing.
Inductive step. Let , assume the claim for , and let be independent of length . Then is not a basis of , since every basis has length (Theorem 4.1.4), so does not span . If every entry of were in , then, since is a subspace,
The lecture remarks that its argument “may be formalized as an induction on ”, where its is the dimension; our is that quantity. Unwound, the proof says: test the entries of one at a time and append each one that is not in the span of the list built so far. The list stays independent, and the process stops because its length cannot exceed . Finite dimension enters exactly there, in the cap on the length. In there is no spanning list to draw from, and appending vectors outside the span can go on forever (Remark 1.6.26). In infinite dimensions, an extension to a basis in the sense of Aside (Bases of infinite-dimensional spaces) needs Zorn’s lemma (Section 15.1).
Unwound in this way, the procedure is the sifting of Section 1.6.3 applied to the list . Since is independent, no entry of lies in the span of the entries before it (Corollary 1.5.13), so sifting keeps all of , and it keeps exactly the entries of not already accounted for. In , with , sifting is row reduction: by Corollary 3.3.19, the pivot columns of a matrix are exactly the columns that are not combinations of the columns before them.
Example 4.1.17 (Extending by row reduction). Extend and to a basis of . Row reduce the matrix with columns
The pivot columns are . So is a basis of . The free columns explain the rejections: column of the reduced matrix says , and column says (Corollary 3.3.19(b)).
Extension is most useful when the independent list is a basis of a subspace. Then the extended basis is adapted to the subspace: its first vectors describe the subspace, and the remaining ones describe “the rest” of , on which we are free to do as we like.
Technique 4.1.18 (Extend a basis of a subspace). To study a subspace of a finite-dimensional space , choose a basis of and extend it to a basis
Reach for it when you need a linear map with prescribed behavior on a subspace, when you need to compare a subspace with the whole space, or when you want coordinates in which a subspace looks like the span of the first few standard basis vectors. The canonical example is Proposition 4.1.19. Later the same move proves rank–nullity (Section 4.2), produces complements and the dimension formula for sums (Section 4.4), and starts the proof of triangularization (Section 7.5).
Used in 15 places and 5 practice exercises
Proposition 4.1.19, Theorem 4.2.11, Proposition 4.2.26, Proposition 4.4.16, Proposition 4.4.18, Theorem 4.4.19, Exercise 4.4.38, Exercise 4.4.42, Exercise 4.4.50, Corollary 4.5.22, Theorem 4.6.27, Problem 4.1, Problem 4.13, Problem 7.11, Proposition 8.4.19; 5 practice exercises.
Proposition 4.1.19 (Extending linear maps and separating vectors). Let be finite-dimensional, and let be a subspace of .
- (a)For every vector space and every linear map , there is a linear map with for all .
- (b)For every with , there is a linear map with for all and .
The proof uses that has a basis. That every subspace of a finite-dimensional space is finite-dimensional is Proposition 4.1.21(a) below, whose proof does not use this proposition.
Uses. Proposition 4.1.21 (Dimensions of subspaces), Theorem 4.1.16 (Extending to a basis), Theorem 2.2.1 (Linear maps are determined by a basis), Proposition 1.5.14 (Appending a vector)
Techniques. Extend a basis of a subspace (Technique 4.1.18), Construct a map by choosing it on a basis (Technique 2.2.4)
By Proposition 4.1.21(a), is finite-dimensional; let be a basis of . It is an independent list in .
(a) By Theorem 4.1.16 there are such that
as desired.
(b) Since
Part (b) says that a vector outside a subspace can always be told apart from the subspace by a linear function. It is the starting point of duality (Section 13.1). Neither part is automatic in infinite dimensions without Zorn’s lemma, which is needed even to extend a basis of (Section 15.1).
Uses. Theorem 4.1.16 (Extending to a basis), Proposition 1.5.14 (Appending a vector), Proposition 1.5.15 (Short lists, zeros, and repeats)
4.1.6Dimensions of subspaces
Every subspace of ought to have dimension , , , or . Proving that a subspace of a finite-dimensional space has dimension at most looks like a direct application of Theorem 4.1.10, but there is a gap: the theorem applies to a basis of , and we do not yet know that has one. A basis of is no help, since none of its vectors need lie in . (In , the line contains neither nor .) The lecture closes the gap by growing an independent list inside . The bound on independent lists in forces the growth to stop, and it can only stop at a basis of .
Proposition 4.1.21 (Dimensions of subspaces). Let be finite-dimensional with , and let be a subspace of .
- (a) is finite-dimensional, and .
- (b) if and only if .
Uses. Theorem 4.1.10 (Independent lists are short), Proposition 1.5.14 (Appending a vector), Proposition 1.6.2 (Bases are independent spanning lists), Proposition 1.4.14 (The span is the smallest subspace containing a list), Definition 1.4.1 (Subspace)
Techniques. Extremal choice and minimal counterexamples (Technique 1.5.9)
A linear relation among vectors of is computed with the operations of (Definition 1.4.1), so a list in is independent in if and only if it is independent in .
(a) By Theorem 4.1.10(a), every independent list in has length at most . The empty list is independent, so the lengths of the independent lists in form a nonempty set of integers between and . Choose an independent list in whose length is as large as possible. Suppose, to the contrary, that some is not in . Then is an independent list in (Proposition 1.5.14) of length , contradicting the choice of . So spans , and it is a basis of (Proposition 1.6.2). Hence is finite-dimensional, and .
(b) If , then . Conversely, suppose , and let be a basis of . It is an independent list in of length , so it is a basis of by Theorem 4.1.10(b). Since is a subspace containing the entries of , Proposition 1.4.14 gives . Hence . □
The lecture’s proof is the same argument told as a process: grow an independent list in , one vector at a time, and observe that the process cannot reach length . Choosing a longest list in advance replaces the process by an extremal choice (Technique 1.5.9), and then there is no need to say “and so on”.
Since every subspace is a vector space in its own right, (b) can be applied with in place of : if are subspaces of a finite-dimensional space and , then . This is how equality of subspaces is usually proved in practice. Show one containment, and compare dimensions. Equivalently, a proper subspace has strictly smaller dimension, so a subspace can be pinned down by squeezing its dimension between two bounds.
Example 4.1.22 (Squeezing a dimension). Let
lie in and are independent, since
Example 4.1.23 (The subspaces of ). Let be a subspace of . By Proposition 4.1.21, , and has a basis of that length:
- : ;
- : for some , a line through ;
- : for some independent , a plane through ;
- : , by Proposition 4.1.21(b).
Over these are the subspaces of that Section 1.4 anticipated: the origin, the lines and the planes through it, and . The proof of Theorem 1.4.25 for worked by cases on how many independent directions contains. Dimension is that count, and it settles for every at once.
Uses. Proposition 1.5.24 (Distinct degrees), Theorem 4.1.10 (Independent lists are short), Proposition 4.1.21 (Dimensions of subspaces)
4.1.7Nilpotent chains
Some operators become after finitely many applications. On , the shift
moves every entry one place up and pushes a in at the bottom, so . Following one vector,
so but . Over , differentiation on behaves the same way:
An operator with for some is called nilpotent; Chapter 10 studies these operators in depth (Section 10.1). In both examples the chain of images ends at after exactly steps, and the vectors in the chain form a basis. That is no accident. The vectors in such a chain are always independent, and the reason is a move worth naming.
Technique 4.1.25 (Apply an operator to a relation to kill terms). To show that is independent, take a relation
Reach for it when the vectors come with an operator that acts on them in simple and distinguishable ways: a power of along a chain ; differentiation or a shift on exponentials and geometric sequences (Example 1.5.27, Exercise 1.5.44); evaluation at a point for functions that vanish at all but one point; a dot product with one of the vectors when they are mutually orthogonal (Exercise 1.5.46). The canonical example is Proposition 4.1.26. The same move shows that eigenvectors for distinct eigenvalues are independent (Section 7.2), and it organizes the Jordan chains of Section 10.3.
Used in 25 places and 1 practice exercise
Example 1.5.27, Exercise 1.5.47, Proposition 4.1.26, Corollary 4.1.27, Exercise 4.1.45, Exercise 4.1.51, Exercise 4.1.60, Proposition 4.4.29, Exercise 4.5.50, Proposition 4.6.28, Exercise 4.8.5, Exercise 4.8.8, Exercise 4.8.14, Problem 4.3, Problem 4.5, Problem 4.8, Theorem 7.2.21, Proposition 7.2.37, Exercise 7.2.51, Exercise 7.7.9, Problem 7.1, Problem 7.3, Problem 7.4, Problem 7.12, Problem 7.15; 1 practice exercise.
Proposition 4.1.26 (Nilpotent chains are independent). Let , let , and let be such that
Then
Uses. Theorem 1.5.5 (Independence is decided at zero), Notation 2.1.18, Proposition 2.1.4 (Linear maps preserve and negatives), Proposition 1.2.35 (Zero products)
Techniques. Apply an operator to a relation to kill terms (Technique 4.1.25)
First, for every , because
We show by induction on that . Let be given and assume that for all , which is no assumption when . Then (4.1.1) reads
since every exponent in the last sum is at least . As , Proposition 1.2.35 gives . By induction all , so the list is independent by Theorem 1.5.5. □
The proposition did not assume that is finite-dimensional. Combined with the bound on independent lists, it bounds how long an operator on a finite-dimensional space can take to reach . The striking part is that the bound depends only on : nothing about the particular operator enters.
Uses. Proposition 4.1.26 (Nilpotent chains are independent), Theorem 4.1.10 (Independent lists are short), Theorem 2.4.2 (The matrix of a composite), Definition 2.3.15 (The linear map of a matrix)
Techniques. Apply an operator to a relation to kill terms (Technique 4.1.25)
Let . If , then . Suppose . The set of integers with contains , as , and contains no , as
This holds for every , so .
For , the linear map satisfies for all , by Theorem 2.4.2 and induction on . So , and by the first part . The columns of are the vectors
The exponent cannot be lowered in general: the shift on above has . And the corollary rules out operators that take longer. For instance, there is no with but , however cleverly its entries are chosen. In the plane, the corollary says that a nilpotent matrix satisfies .
Over a field in which some integer is , the derivative dies much sooner than in characteristic , sooner than steps.
Example 4.1.28 (Differentiation over ). Let be a prime and let be the formal derivative on (Example 2.1.9). Then
For , on the chains are
since and . Here although . The basis splits into two chains of length instead of one chain of length . How a nilpotent operator splits a space into chains is the subject of Section 10.3.
Uses. Corollary 4.1.27 (A nilpotent operator dies within steps)
Suppose and . By Corollary 4.1.27, , so . So no such exists for .
For , let have in positions
4.1.8Too many vectors
Theorem 4.1.10 also works in the other direction. To prove that some linear relation exists, without being able to write one down, it is enough to produce more vectors than the dimension of a space that contains them.
Technique 4.1.30 (Too many vectors force a dependence). If a list of more than vectors lies in a space of dimension at most , it is linearly dependent (Theorem 4.1.10(a)), so it has a nontrivial linear relation. The relation is the output: it is a statement about the vectors that we did not have to guess. Natural sources of many vectors in a space of known dimension are powers of a matrix, iterates of a vector, and powers of a number inside a space spanned by a few known quantities. Often the relation is then refined, for instance by choosing one with the smallest index of a nonzero coefficient (Technique 1.5.9).
Reach for it when you need an identity or an equation of a given shape and have no formula for it, but can count. The canonical example is Proposition 4.1.31. The iterates give eigenvalues without determinants in Section 7.3; the powers of lead to the minimal polynomial (Section 7.6); and the powers of a number lead to algebraic numbers (Section 14.2).
Used in 12 places and 3 practice exercises
Exercise 2.5.49, Proposition 4.1.31, Exercise 4.1.33, Exercise 4.1.56, Exercise 4.1.57, Exercise 4.1.60, Exercise 4.8.4, Exercise 4.8.9, Problem 4.15, Proposition 7.2.35, Theorem 7.3.27, Proposition 7.6.4; 3 practice exercises.
(a)Let with . There are
, not all , with - (b)Let be finite-dimensional with , and let . There are , not all , with
.
Uses. Example 4.1.7 (Dimensions of the standard spaces), Theorem 4.1.10 (Independent lists are short), Theorem 1.5.5 (Independence is decided at zero), Notation 2.4.16 (Powers of a matrix), Theorem 2.3.20 (Linear maps correspond to matrices)
Techniques. Too many vectors force a dependence (Technique 4.1.30), Translate between maps and matrices (Technique 2.3.27)
(a) The list
(b) Fix a basis of and let
By Theorem 2.3.20, a linear map is determined by its matrix with respect to , so
In the language of polynomials, is a root of the nonzero polynomial
Example 4.1.32 ( is a root of a rational polynomial). Regard as a vector space over (Example 1.2.20), and let . Expanding,
So all lie in , which has dimension at most by Corollary 4.1.11(a). Five vectors in a space of dimension at most are dependent: there are rationals , not all , with
To find one, note that the even powers lie in , and look for :
Taking and makes both brackets , so . Making the brackets is sufficient whether or not is independent over . (It is: with would make rational.)
Uses. Proposition 4.1.31 (Every square matrix satisfies a polynomial)
Techniques. Too many vectors force a dependence (Technique 4.1.30)
We have
Hence
4.1.9Dimension over a finite field
Over a finite field, dimension counts elements. In Exercise 1.5.43 and Exercise 1.6.38 we counted spans and bases in by hand; with dimension available, the counts hold in every finite-dimensional space and come with a short proof.
Proposition 4.1.34 (Size of a vector space over a finite field). Let be a finite field with elements, and let be a vector space over . Then is finite-dimensional if and only if is a finite set, and in that case
Uses. Proposition 1.6.16 (The coordinate map is a bijection), Definition 1.6.23 (Finite-dimensional), Definition 1.2.4 (The space ), Definition 4.1.5 (Dimension)
So every subspace of has a power of as its number of elements, and a subspace with elements has dimension . For instance, no subspace of has elements, and a subspace of with elements is -dimensional.
Corollary 4.1.35 (Counting independent lists and bases). Let be a finite field with elements, and let be a vector space over with . For , the number of linearly independent lists of length in is
In particular has exactly bases.
Uses. Proposition 4.1.34 (Size of a vector space over a finite field), Proposition 1.5.14 (Appending a vector), Corollary 1.5.17 (Sublists), Proposition 1.6.2 (Bases are independent spanning lists), Theorem 4.1.10 (Independent lists are short), Theorem 4.1.4 (All bases have the same length)
Techniques. Induction on the length of a list (Technique 1.6.9)
Let be the number of independent lists of length in . We show by induction on . For , the only list of length is , which is independent, and is the empty product.
Let . A list of length is independent if and only if is independent and : if it is independent, so is its sublist (Corollary 1.5.17), and then by Proposition 1.5.14; the converse is Proposition 1.5.14. For an independent of length , the subspace has as a basis (Proposition 1.6.2), so it has dimension and elements by Proposition 4.1.34. That leaves choices of for each of the choices of . So
Every basis of has length (Theorem 4.1.4) and is independent, and every independent list of length is a basis (Theorem 4.1.10(b)). So the bases of are the independent lists of length , and there are of them. □
By Theorem 3.5.14, a matrix in is invertible if and only if its columns form a basis of , and the columns determine the matrix. So there are exactly invertible matrices over a field with elements. Over this gives invertible matrices and invertible matrices.
Counting subspaces Beyond 21-242
Counting subspaces over finite fields is standard combinatorics, but it is not part of 21-242.
How many -dimensional subspaces does have? Each such subspace has many bases, and each independent list spans exactly one subspace. Counting the pairs (subspace, basis) in two ways answers the question, and the move is worth a name.
Technique 4.1.36 (Double counting). To count a set that is hard to list, find a second set of pairs with that is easy to count in another way. If every occurs in the same number of pairs, then , and . Its cousin, the pigeonhole principle, compares two sets through a one-to-one assignment: the proof by exchange of Lemma 4.1.2 assigns to each a different , which is why .
Reach for it when the objects to be counted are hard to enumerate but each one is described by many easy-to-count objects, such as subspaces by their bases. The canonical example is Proposition 4.1.37. Counting over finite fields returns in Section 14.3.
Used in 7 places and 1 practice exercise
Proposition 4.1.37, Exercise 4.1.54, Exercise 4.4.52, Exercise 4.7.63, Problem 4.10, Problem 4.14, Exercise 7.3.52; 1 practice exercise.
Proposition 4.1.37 (Counting subspaces). Let be a finite field with elements, let , and let . With as in Corollary 4.1.35, the number of -dimensional subspaces of is
Uses. Corollary 4.1.35 (Counting independent lists and bases), Theorem 1.6.10 (Every spanning list contains a basis), Definition 4.1.5 (Dimension)
Techniques. Double counting (Technique 4.1.36)
Let be the number of -dimensional subspaces of , and let be the set of pairs in which is a -dimensional subspace of and is a basis of . We count in two ways.
By subspaces. A -dimensional subspace is a vector space over of dimension , so by Corollary 4.1.35 it has bases. Hence
By lists. If , then is an independent list of length in , and is determined by . Conversely, every independent list of length in is a basis of the subspace (Theorem 1.6.10), which then has dimension , so . So the pairs in correspond to the independent lists of length in , and by Corollary 4.1.35.
Comparing,
Example 4.1.38 (The subspaces of ). For and : the number of -dimensional subspaces is
Each plane has elements and contains of the lines. Taking the lines as points and the planes as lines, with “lies in” as incidence, gives the Fano plane of combinatorics.
Uses. Proposition 4.1.34 (Size of a vector space over a finite field), Corollary 4.1.35 (Counting independent lists and bases)
(a) No. A vector space over with finitely many elements is finite-dimensional, so it has elements by Proposition 4.1.34, and is not a power of .
(b) A -dimensional subspace is a -dimensional vector space over , so it has elements.
(c) By Corollary 4.1.35, has
Exercises
Exercise 4.1.40. Find a basis and the dimension of each subspace.
- (a)
. - (b)
. - (c), the upper triangular matrices in , those with whenever .
Uses. Proposition 1.6.2 (Bases are independent spanning lists), Theorem 1.5.5 (Independence is decided at zero), Proposition 1.5.24 (Distinct degrees), Corollary 1.5.17 (Sublists), Proposition 1.6.7 (Standard bases)
(a) For we have , so
The three vectors lie in , so they span . A combination has first three coordinates , so it is only if all . So they form a basis (Proposition 1.6.2), and .
(b) Let
So spans , and it is independent because its entries are nonzero with distinct degrees (Proposition 1.5.24). Hence .
(c) An upper triangular is , so the six matrix units
Exercise 4.1.41. Let be a vector space with . Prove or disprove each statement.
- (a)Every list of vectors in spans .
- (b)Every list of vectors in is linearly independent.
- (c)If spans , then it is linearly independent.
- (d)If and are subspaces of with , then .
- (e)If are subspaces of with , then .
- (f) is a -dimensional subspace of .
Uses. Corollary 4.1.11 (Spanning lists are long), Proposition 4.1.21 (Dimensions of subspaces), Proposition 1.5.15 (Short lists, zeros, and repeats), Definition 1.4.1 (Subspace)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
(a) False. The list spans .
(b) False. The list is dependent (Proposition 1.5.15(c)).
(c) True. A spanning list of length is a basis by Corollary 4.1.11(b), so it is independent.
(d) False. Let be a basis of . Then and are both -dimensional, and they differ, since by independence.
(e) True. is a vector space with the operations of , and is a subspace of : it is a subset closed under the same operations (Definition 1.4.1). Since , Proposition 4.1.21(b), applied in , gives .
(f) False. The elements of are pairs and those of are triples, so is not a subset of . The subset is a -dimensional subspace of , with basis , and it is a copy of in a sense made precise in Section 4.5.
Uses. Theorem 4.1.16 (Extending to a basis), Proposition 1.5.14 (Appending a vector), Theorem 4.1.10 (Independent lists are short)
The vectors are independent over every field, since
Is in the span? We need , , and . The second gives , and then the third reads . Over this is false, so is kept. Over it is true, and indeed
Over . The vectors of have second coordinate , so is not among them and is kept. Now is independent (Proposition 1.5.14) of length , so it is a basis (Theorem 4.1.10(b)), and are deleted.
Over . Again is kept, because every vector of has second coordinate . The span of consists of the vectors . For we would need , , and , which is false in . So is kept, and is a basis of .
The answers differ because whether a vector lies in a span is a question about solving linear equations, and here the equations are solvable exactly when in .
Uses. Example 1.4.11 (Matrices), Theorem 4.1.10 (Independent lists are short), Proposition 4.1.21 (Dimensions of subspaces), Proposition 1.6.7 (Standard bases)
is a subspace by Example 1.4.11. The matrices with have trace , and so do the matrices with . Consider a combination
Its entry is for , its entry is for , and its entry is . If , all and are . So these matrices form an independent list in , and by Theorem 4.1.10(a), applied in . On the other hand, , so and by Proposition 4.1.21(b). Hence , and the independent list above, of length , is a basis of (Theorem 4.1.10(b)). For the list is empty and .
Uses. Corollary 4.1.27 (A nilpotent operator dies within steps), Proposition 2.4.14 (Algebra of matrices), Definition 2.5.12 (Invertible)
By Corollary 4.1.27, . Let
and in the same way
Exercise 4.1.45. Let be a set, and for let be the function with and for .
- (a)If has elements, show that is a basis of , so .
- (b)If is infinite, show that is infinite-dimensional.
Uses. Definition 1.2.9 (Function spaces), Theorem 1.5.5 (Independence is decided at zero), Proposition 1.6.2 (Bases are independent spanning lists), Corollary 4.1.13 (Detecting infinite dimension)
Techniques. Apply an operator to a relation to kill terms (Technique 4.1.25)
Let be distinct, and suppose
(a) For , the function
(b) If is infinite, then for every it contains distinct points, and the corresponding ’s form an independent list of length . By Corollary 4.1.13, is infinite-dimensional.
Exercise 4.1.46. Let . In , let be the symmetric matrices ( for all ) and the skew-symmetric matrices ( for all ), as in Exercise 1.4.36.
- (a)Show that .
- (b)Show that if in , and if .
Uses. Proposition 1.6.2 (Bases are independent spanning lists), Theorem 1.5.5 (Independence is decided at zero), Proposition 1.1.17 (No zero divisors)
(a) If , then
since both sides have entry for , and entry for . The matrices and () are symmetric, so they span . A combination
(b) Suppose . For , gives , so (Proposition 1.1.17). Then
Suppose . Then , so and the conditions defining and coincide. Hence and by (a).
Exercise 4.1.47. A matrix is Hermitian if for all , where is the complex conjugate of (Definition B.1.1). Let be the set of Hermitian matrices.
- (a)Show that is a subspace of regarded as a vector space over , but not a subspace of over .
- (b)Show that , while .
Uses. Definition B.1.1 (Complex conjugate), Theorem 1.4.3 (Subspace criterion), Proposition 1.6.2 (Bases are independent spanning lists), Example 4.1.7 (Dimensions of the standard spaces)
(a) The zero matrix is Hermitian. If and , then for all ,
since conjugation is additive and for real . So is a subspace over (Theorem 1.4.3). It is not a subspace over : , but has diagonal entry , while a Hermitian matrix has , so is real.
(b) For , let
since both sides have the same , , and entries. So these matrices span over . If a real combination
Since , Example 4.1.7(c) gives . So the Hermitian matrices are a real subspace of exactly half the real dimension.
Exercise 4.1.48. Find the error in the following argument, and decide whether the claim is true.
Claim. Let be a basis of , and let be a subspace of . Then the entries of that lie in form a basis of .
Proof. Let be the sublist of entries of that lie in . It is independent, as a sublist of an independent list. Let , and write
Uses. Proposition 4.1.21 (Dimensions of subspaces), Theorem 4.1.16 (Extending to a basis)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
The error is the sentence “each term lies in ”. A subspace is closed under sums, but a sum lying in says nothing about its terms. For instance
The claim is false. Take , , and . Neither nor is a multiple of , so , whose span is not . A basis of need not have any vectors in a given subspace, which is why the proof of Proposition 4.1.21 had to build a basis of from scratch. The correct relation goes the other way: a basis of can be extended to a basis of (Theorem 4.1.16), so some basis of contains a basis of .
Exercise 4.1.49. Let be linearly independent in , with , and let .
- (a)Show that is linearly dependent if and only if
for some scalars with . - (b)Show that
in all cases.
Uses. Theorem 1.5.5 (Independence is decided at zero), Theorem 4.1.10 (Independent lists are short), Lemma 1.3.9 (Arithmetic of linear combinations)
(a) For scalars with , Lemma 1.3.9 gives
() Suppose the form a nontrivial relation of the list, so . If , then , and independence forces every , which is false. So , and
() If with , then
(b) Let
Geometrically, (a) says the translated list is dependent exactly when lies on the affine hull of the , the “flat” through them (Section 4.7).
Exercise 4.1.50. Let .
- (a)Show that if are subspaces of , then .
- (b)Show that such a chain with exists, and that in every such chain for all . In particular and .
Uses. Proposition 4.1.21 (Dimensions of subspaces), Corollary 1.5.13 (Independence, one entry at a time), Definition 1.4.1 (Subspace)
(a) For , is a subset of closed under the operations, so it is a subspace of (Definition 1.4.1), and . By Proposition 4.1.21, applied in the finite-dimensional space ,
(b) Let be a basis of and
Now let be any chain with . By (a),
Exercise 4.1.51. Let and let be a field in which is nonzero, such as , , , or with . Let be the formal derivative on (Example 2.1.9).
- (a)Let have degree . Show that
is a basis of . - (b)Show that (a) fails for , , and .
Uses. Proposition 4.1.26 (Nilpotent chains are independent), Theorem 4.1.10 (Independent lists are short), Example 2.1.9 (Maps of polynomials), Proposition 1.1.17 (No zero divisors), Proposition 1.5.15 (Short lists, zeros, and repeats)
Techniques. Apply an operator to a relation to kill terms (Technique 4.1.25)
(a) By Example 2.1.9, for and . By induction on ,
Write
(b) Over , , so the list is . It contains , so it is dependent (Proposition 1.5.15(c)). Here , so the hypothesis fails, and the chain from reaches after one step instead of two.
Exercise 4.1.52. Let , and let satisfy and .
- (a)Show that there is such that
is a basis of . - (b)Find the matrix of with respect to the basis
.
Uses. Proposition 4.1.26 (Nilpotent chains are independent), Theorem 4.1.10 (Independent lists are short), Definition 2.3.1 (Matrix of a linear map), (1.6.1)
(a) Since , there is with , and . By Proposition 4.1.26 with , the list
(b) The list is a reordering of the basis in (a), so it is a basis. Write for . Then , and
the matrix with in positions and elsewhere. It is the matrix of the shift from the start of Section 4.1.7, so every such looks like the shift in a suitable basis. This is the simplest case of the Jordan form (Section 10.3).
- (a)What fraction of the matrices in are invertible?
- (b)Show that for every , more than a quarter of the matrices in are invertible.
Uses. Corollary 4.1.35 (Counting independent lists and bases), Theorem 3.5.14 (Third Fundamental Theorem, completed), Proposition 4.1.34 (Size of a vector space over a finite field)
By Theorem 3.5.14, is invertible if and only if its columns form a basis of , and is determined by its list of columns. So by Corollary 4.1.35 there are
(a) For :
(b) Dividing each of the factors by ,
First, if , then
With we get
(As the fraction decreases to about .)
- (a)For , find the number of -dimensional subspaces of .
- (b)Let have elements and . Show that has as many -dimensional subspaces as -dimensional ones.
Uses. Proposition 4.1.37 (Counting subspaces), Corollary 4.1.35 (Counting independent lists and bases)
Techniques. Double counting (Technique 4.1.36)
(a) With and , Proposition 4.1.37 gives
and of course one subspace each of dimensions and . So has subspaces.
(b) Factoring out of ,
For this reads
since
Exercise 4.1.55. Let , and let satisfy and . Show that commutes with , that is, , if and only if
for some .
Uses. Exercise 4.1.52, Corollary 2.2.6 (Agreeing on a spanning list), Proposition 2.1.24 (Algebra of composition)
Techniques. Check it on a basis (Technique 2.2.7)
() commutes with each power , since
() Suppose . By induction on , for all : if , then
and let
So and agree on every vector of a basis of , and therefore (Corollary 2.2.6).
Without the hypothesis the statement fails: for and , every commutes with , but the combinations of powers of are only the multiples of .
Exercise 4.1.56. Let be finite-dimensional, and let be injective.
- (a)Show that is invertible, and that
for some and scalars . - (b)Let be multiplication by (Example 2.1.9). Show that is injective but not surjective. Which step of (a) fails for ?
Uses. Proposition 4.1.31 (Every square matrix satisfies a polynomial), Proposition 2.1.24 (Algebra of composition), Definition 2.6.1 (Injective), Definition 2.5.12 (Invertible)
Techniques. Too many vectors force a dependence (Technique 4.1.30), Extremal choice and minimal counterexamples (Technique 1.5.9)
(a) If , then and . Otherwise , and by Proposition 4.1.31 there are (), not all , with . Let be the smallest index with , and let
so that
Since is a combination of powers of , it commutes with , so as well. So is invertible (Definition 2.5.12), and is a combination of
(b) If , then every coefficient of , which is a coefficient of shifted by one place, is ; so is injective. Every has constant coefficient , so , and is not surjective. The argument of (a) fails at its first step: there is no nontrivial relation , because applying it to gives , which forces all . The space is infinite-dimensional, and the powers of never become too many.
In particular, an injective operator on a finite-dimensional space is surjective. Section 4.2 proves this again with dimension counting (Corollary 4.2.18).
Exercise 4.1.57. Let be nonempty subsets of . Show that there are disjoint nonempty sets with
Uses. Theorem 4.1.10 (Independent lists are short), Theorem 1.5.5 (Independence is decided at zero), Example 4.1.7 (Dimensions of the standard spaces)
Techniques. Too many vectors force a dependence (Technique 4.1.30)
For each , let have -th entry if and otherwise; since . These are vectors in , and , so they are dependent (Theorem 4.1.10(a)): there are real , not all , with . Let and , which are disjoint. Moving the negative terms across,
where all coefficients now are positive.
Consider the -th entry of . On the left it is , a sum of positive numbers, which is positive if and otherwise. On the right, in the same way, it is positive exactly when . So the two unions are both equal to the set of with , and hence equal to each other.
It remains to see that and are nonempty. Not all are , so ; say . Pick and . Then , so , and the right side, an empty sum if , would be . So . The case is symmetric.
Uses. Theorem 1.6.10 (Every spanning list contains a basis), Lemma 2.4.24 (Matrix units), Definition 3.2.2 (Elementary matrices), Proposition 3.2.10 (Inverses of elementary matrices), Proposition 2.5.17 (Algebra of inverses), Theorem 4.1.10 (Independent lists are short)
For , the matrix is an invertible basis of . Let , and write . By Lemma 2.4.24,
Off-diagonal units. For , , so
Diagonal units. Fix and choose . Let be the elementary matrix that swaps rows and (Definition 3.2.2); it is invertible with (Proposition 3.2.10). Its -th column is , so
By the previous paragraph is invertible, so is a product of invertible matrices and is invertible (Proposition 2.5.17). And
So every matrix unit is a combination of finitely many invertible matrices, and these invertible matrices span , since the matrix units do. By Theorem 1.6.10, some sublist of them is a basis.
For , take
Each is invertible: the first three are and , , and the last is . A combination
Exercise 4.1.59. Let and be bases of , and fix . Show that there is an index such that both of the following are bases of :
- (a) with replaced by ;
- (b) with replaced by .
Uses. Exercise 1.5.33, Proposition 1.6.19 (Coordinates respect linear combinations), Definition 1.6.14 (Coordinates)
For , Exercise 1.5.33 says that replacing by in the independent list gives an independent list if and only if the coefficient of in , that is, the -th coordinate of , is nonzero, and that the span is then still . So the new list is a basis exactly in that case. Let be the -th coordinate of . Then (a) holds for if and only if .
In the same way, with the roles of the bases exchanged, write
Take the -th -coordinate of both sides of . On the left it is , since . On the right, by Proposition 1.6.19(c), it is . So
Uses. Corollary 4.1.27 (A nilpotent operator dies within steps), Theorem 4.1.10 (Independent lists are short), Theorem 1.5.5 (Independence is decided at zero), Proposition 2.1.17 (Compositions of linear maps are linear), Proposition 1.2.35 (Zero products), Definition 1.1.28 (Characteristic)
Techniques. Apply an operator to a relation to kill terms (Technique 4.1.25), Too many vectors force a dependence (Technique 4.1.30)
Let
For an integer , let , a linear map on ; here stands for . Then
Let , and suppose, to the contrary, that for . We show that is independent. Let , and fix . Apply the composite
which is for , because the product contains the factor . So applying to the relation leaves
The product is a product of nonzero integers, hence a nonzero integer, and in a field of characteristic a nonzero integer is a nonzero element. Since , Proposition 1.2.35 gives . As was arbitrary, the relation is trivial, and is an independent list of vectors in , contradicting Theorem 4.1.10(a).
So for some with , and Corollary 4.1.27 gives .
The hypothesis on is needed. Over , the matrices
satisfy (check it), while . In the proof, the integers are no longer distinct in , so cannot tell the powers of apart.
More practice
The practice bank has 35 exercises on this section’s topics.