Books
Theme
Text size
Width

[ and ] go to the previous and next page.

The standard bases of 𝐹𝑛, 𝐹𝑚×𝑛, and 𝐹[𝑥]≤𝑛 have 𝑛, 𝑚𝑛, and 𝑛+1 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 𝐯,𝑇𝐯,𝑇2𝐯,… ends in 𝟎, its nonzero vectors are independent, so an operator on an 𝑛-dimensional space that is eventually 0 is already 0 after 𝑛 steps. Any 𝑛2+1 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 𝐹𝑚

Intuition (Why the number of vectors should be fixed). A basis ℬ︀=𝐯1,…,𝐯𝑛 of 𝑉 names every vector by its coordinates [𝐯]ℬ︀∈𝐹𝑛, and the coordinate map 𝑉→𝐹𝑛 is a bijection that respects linear combinations (Proposition 1.6.16, Proposition 1.6.19). So a basis of length 𝑛 makes 𝑉 a copy of 𝐹𝑛 with the vectors renamed. If 𝑉 also had a basis of length 𝑚, it would be a copy of 𝐹𝑚 as well, and translating from one set of names to the other would give a bijection 𝐹𝑚→𝐹𝑛 that respects linear combinations, that is, an invertible linear map. Every linear map 𝐹𝑚→𝐹𝑛 is 𝑇𝐴 for a matrix 𝐴∈𝐹𝑛×𝑚 (Proposition 2.3.17), and invertible matrices are square (Corollary 3.5.15). So 𝑚=𝑛. The lecture runs this argument in the simplest case, 𝑉=𝐹𝑚, where no translation is needed.
Theorem 4.1.1 (Bases of 𝐹𝑚). Every basis of 𝐹𝑚 has exactly 𝑚 vectors.

Proof (via the Third Fundamental Theorem).routine

Uses. Theorem 3.5.14 (Third Fundamental Theorem, completed), Definition 1.6.1 (Basis)

Techniques. Translate between maps and matrices (Technique 2.3.27)

Hint 1. Put the vectors of a basis ℬ︀ of 𝐹𝑚 into a matrix as its columns. What is its size?
Hint 2. Condition (III) of Theorem 3.5.14 is a statement about the columns of a matrix. What does the “moreover” part of that theorem conclude?
Sketch. If ℬ︀=𝐯1,…,𝐯𝑛 is a basis of 𝐹𝑚, the 𝑚×𝑛 matrix with columns 𝐯1,…,𝐯𝑛 satisfies condition (III) of Theorem 3.5.14, so 𝑚=𝑛 by the “moreover” part.

Let ℬ︀=𝐯1,…,𝐯𝑛 be a basis of 𝐹𝑚, and let

𝐴=(𝐯1⋯𝐯𝑛)∈𝐹𝑚×𝑛

be the matrix whose columns are 𝐯1,…,𝐯𝑛. 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 rank𝐴≤min(𝑚,𝑛), which holds because the pivots of rref(𝐴) 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

Intuition (Trading spanning vectors for independent ones). Let 𝐮1,…,𝐮𝑚 be independent and let 𝐰1,…,𝐰𝑛 span 𝑉. Since the 𝐰𝑖 span, 𝐮1 is a linear combination of them, and since 𝐮1≠𝟎, some 𝐰𝑖 appears with a nonzero coefficient. Solving for that 𝐰𝑖 shows that it lies in the span of 𝐮1 and the other 𝐰’s, so we can trade it for 𝐮1 and still have a spanning list of length 𝑛. This is the exchange of Exercise 1.3.34 and Exercise 1.5.33. Now trade a second 𝐰 for 𝐮2, and so on. The independence of the 𝐮’s guarantees that each trade removes a 𝐰, and never one of the 𝐮’s brought in earlier. If there were more 𝐮’s than 𝐰’s, we would run out of 𝐰’s to trade.

Lemma 4.1.2 (Exchange lemma). Let 𝐮1,…,𝐮𝑚 be a linearly independent list in 𝑉, and let 𝐰1,…,𝐰𝑛 be a list that spans 𝑉. Then 𝑚≤𝑛. More precisely, the 𝐰𝑖 can be renumbered so that

𝐮1,…,𝐮𝑚,𝐰𝑚+1,…,𝐰𝑛

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).standard

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)

Hint 1. Prove by induction on 𝑘=0,1,…,𝑚: 𝑘≤𝑛, and after renumbering the 𝐰𝑖, the list 𝐮1,…,𝐮𝑘,𝐰𝑘+1,…,𝐰𝑛 spans 𝑉.
Hint 2. In the inductive step, insert 𝐮𝑘+1 right after 𝐮𝑘. Why is the longer list dependent, and what does Lemma 1.5.10 then let you delete?
Hint 3. The deleted entry is in the span of the entries before it. It cannot be one of 𝐮1,…,𝐮𝑘+1, which come first and form an independent list (Corollary 1.5.13). So it is a 𝐰, and in particular some 𝐰 was still there.
Sketch. Induct on 𝑘. Suppose ℬ︀𝑘=𝐮1,…,𝐮𝑘,𝐰𝑘+1,…,𝐰𝑛 spans 𝑉. Inserting 𝐮𝑘+1∈span(ℬ︀𝑘) after 𝐮𝑘 gives a dependent list that still spans. By Lemma 1.5.10, some entry lies in the span of the entries before it, and deleting it keeps the span. It is not among the independent 𝐮1,…,𝐮𝑘+1 at the front, so it is some 𝐰𝑖 with 𝑖>𝑘. Hence 𝑘+1≤𝑛, and after renumbering, deleting it gives ℬ︀𝑘+1. At 𝑘=𝑚 we get 𝑚≤𝑛.

We prove by induction on 𝑘∈{0,1,…,𝑚} the statement

𝑃(𝑘): 𝑘≤𝑛, and the 𝐰𝑖 can be renumbered so that ℬ︀𝑘=𝐮1,…,𝐮𝑘,𝐰𝑘+1,…,𝐰𝑛 spans 𝑉.

For 𝑘=𝑚 this is the lemma.

Base case. 𝑃(0) says that 0≤𝑛 and that 𝐰1,…,𝐰𝑛 spans 𝑉, which is the hypothesis.

Inductive step. Let 0≤𝑘<𝑚 and assume 𝑃(𝑘), with the 𝐰𝑖 numbered so that ℬ︀𝑘 spans 𝑉. Let

ℒ︀=𝐮1,…,𝐮𝑘,𝐮𝑘+1,𝐰𝑘+1,…,𝐰𝑛

be ℬ︀𝑘 with 𝐮𝑘+1 inserted after 𝐮𝑘. The list ℒ︀ spans 𝑉, since it contains every entry of ℬ︀𝑘 (Corollary 1.3.20). It is linearly dependent: 𝐮𝑘+1∈𝑉=span(ℬ︀𝑘), so the reordering ℬ︀𝑘,𝐮𝑘+1 of ℒ︀ is dependent by Corollary 1.5.13, and reordering does not affect independence (Proposition 1.5.18(a)).

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 𝑘+1 entries of ℒ︀ form the list 𝐮1,…,𝐮𝑘+1, 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 𝑘+1≤𝑖≤𝑛. In particular 𝑘+1≤𝑛. Renumber 𝐰𝑘+1,…,𝐰𝑛 so that this entry becomes 𝐰𝑘+1. Deleting it from ℒ︀ leaves

ℬ︀𝑘+1=𝐮1,…,𝐮𝑘+1,𝐰𝑘+2,…,𝐰𝑛,

whose span is span(ℒ︀)=𝑉. This is 𝑃(𝑘+1). □

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).standard

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)

Hint 1. Write each 𝐮𝑗 as a linear combination of 𝐰1,…,𝐰𝑛, and collect the coefficients into a matrix 𝐴. What is its size?
Hint 2. Suppose 𝑚>𝑛. Then the system 𝐴𝐱=𝟎 has more unknowns than equations. Turn a nonzero solution into a linear relation among the 𝐮𝑗.
Sketch. Write 𝐮𝑗=∑𝑖𝑎𝑖𝑗𝐰𝑖 and let 𝐴=(𝑎𝑖𝑗)∈𝐹𝑛×𝑚. If 𝑚>𝑛, some 𝐱≠𝟎 has 𝐴𝐱=𝟎 (Corollary 3.4.19). Regrouping, ∑𝑗𝑥𝑗𝐮𝑗=∑𝑖(𝐴𝐱)𝑖𝐰𝑖=𝟎, a nontrivial relation among the independent 𝐮𝑗.

Suppose, to the contrary, that 𝑚>𝑛. Since 𝐰1,…,𝐰𝑛 spans 𝑉, for each 𝑗 there are scalars 𝑎1𝑗,…,𝑎𝑛𝑗 with

𝐮𝑗=𝑎1𝑗𝐰1+⋯+𝑎𝑛𝑗𝐰𝑛.

Let 𝐴=(𝑎𝑖𝑗)∈𝐹𝑛×𝑚. It has more columns than rows, so by Corollary 3.4.19(a) there is 𝐱=(𝑥1,…,𝑥𝑚)≠𝟎 with 𝐴𝐱=𝟎. Regrouping the double sum by repeated use of Lemma 1.3.9,

∑𝑗=1𝑚𝑥𝑗𝐮𝑗=∑𝑗=1𝑚𝑥𝑗∑𝑖=1𝑛𝑎𝑖𝑗𝐰𝑖=∑𝑖=1𝑛(∑𝑗=1𝑚𝑎𝑖𝑗𝑥𝑗)𝐰𝑖=∑𝑖=1𝑛(𝐴𝐱)𝑖𝐰𝑖=𝟎,

where (𝐴𝐱)𝑖=∑𝑗𝑎𝑖𝑗𝑥𝑗 is the 𝑖-th entry of 𝐴𝐱 (Proposition 2.3.11). Since some 𝑥𝑗≠0, this is a nontrivial linear relation of 𝐮1,…,𝐮𝑚, contradicting their independence (Theorem 1.5.5). So 𝑚≤𝑛. □

Example 4.1.3 (The exchange, step by step). In ℝ3, let 𝐮1=(1,1,0) and 𝐮2=(0,1,1), which are independent since neither is a multiple of the other, and let 𝐰1,𝐰2,𝐰3=𝐞1,𝐞2,𝐞3.

Step 1. Insert 𝐮1 at the front: 𝐮1,𝐞1,𝐞2,𝐞3. The relation 𝐮1−𝐞1−𝐞2=𝟎 shows that 𝐞2∈span(𝐮1,𝐞1), and 𝐞2 is the first entry with this property, since 𝐞1∉span(𝐮1). Delete it: 𝐮1,𝐞1,𝐞3 spans ℝ3.

Step 2. Insert 𝐮2: 𝐮1,𝐮2,𝐞1,𝐞3. Now 𝐮2=𝐮1−𝐞1+𝐞3, so 𝐞3∈span(𝐮1,𝐮2,𝐞1). Here 𝐞3 is the only entry in the span of the earlier ones: 𝐮1 and 𝐮2 cannot be, and 𝐞1=(1,0,0)∉span(𝐮1,𝐮2), whose vectors 𝑎(1,1,0)+𝑏(0,1,1)=(𝑎,𝑎+𝑏,𝑏) have middle coordinate equal to the sum of the others. Delete 𝐞3: the list 𝐮1,𝐮2,𝐞1 spans ℝ3.

Two independent vectors pushed out two of the three standard basis vectors, and the one that survived, 𝐞1, was enough to complete 𝐮1,𝐮2 to a spanning list of ℝ3. (So would 𝐞2 or 𝐞3 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).routine

Uses. Lemma 4.1.2 (Exchange lemma), Proposition 1.6.7 (Standard bases), Proposition 1.6.2 (Bases are independent spanning lists)

Hint 1. Compare a basis ℬ︀ of 𝐹𝑚 of length 𝑛 with the standard basis 𝐞1,…,𝐞𝑚. Both lists are independent and both span.
Hint 2. Apply Lemma 4.1.2 twice, with the roles of the two lists swapped.
Sketch. ℬ︀ is independent and 𝐞1,…,𝐞𝑚 spans 𝐹𝑚, so 𝑛≤𝑚. The standard basis is independent and ℬ︀ spans, so 𝑚≤𝑛.
Let ℬ︀ be a basis of 𝐹𝑚 of length 𝑛. The standard basis 𝐞1,…,𝐞𝑚 is a basis of 𝐹𝑚 (Proposition 1.6.7). By Proposition 1.6.2 both lists are independent and both span 𝐹𝑚. Applying Lemma 4.1.2 to the independent list ℬ︀ and the spanning list 𝐞1,…,𝐞𝑚 gives 𝑛≤𝑚. Applying it to the independent list 𝐞1,…,𝐞𝑚 and the spanning list ℬ︀ gives 𝑚≤𝑛. Hence 𝑛=𝑚. □

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: rank𝐴≤min(𝑚,𝑛) because each pivot of rref(𝐴) 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.

Theorem 4.1.4 (All bases have the same length). Let 𝑉 be finite-dimensional. Any two bases of 𝑉 have the same length.

Proof (via coordinates).routine

Uses. Proposition 1.6.20 (Coordinates translate questions about 𝑉 into 𝐹𝑛), Theorem 4.1.1 (Bases of 𝐹𝑚)

Hint 1. Take bases ℬ︀ of length 𝑚 and 𝒞︀ of length 𝑛. Use ℬ︀-coordinates to move the list 𝒞︀ into 𝐹𝑚.
Hint 2. By Proposition 1.6.20(c), the coordinate vectors of a basis of 𝑉 form a basis of 𝐹𝑚. How long is every basis of 𝐹𝑚?
Sketch. If ℬ︀=𝐯1,…,𝐯𝑚 and 𝒞︀=𝐰1,…,𝐰𝑛 are bases, then [𝐰1]ℬ︀,…,[𝐰𝑛]ℬ︀ is a basis of 𝐹𝑚 by Proposition 1.6.20(c), so 𝑛=𝑚 by Theorem 4.1.1.
Let ℬ︀=𝐯1,…,𝐯𝑚 and 𝒞︀=𝐰1,…,𝐰𝑛 be bases of 𝑉. Since 𝒞︀ is a basis of 𝑉, Proposition 1.6.20(c), applied with the basis ℬ︀, shows that [𝐰1]ℬ︀,…,[𝐰𝑛]ℬ︀ is a basis of 𝐹𝑚. It has 𝑛 vectors, so 𝑛=𝑚 by Theorem 4.1.1. □

Proof (via the exchange lemma).routine

Uses. Lemma 4.1.2 (Exchange lemma), Proposition 1.6.2 (Bases are independent spanning lists)

Hint 1. A basis is both independent and spanning.
Hint 2. Apply Lemma 4.1.2 with ℬ︀ as the independent list and 𝒞︀ as the spanning list, and then the other way around.
Sketch. ℬ︀ is independent and 𝒞︀ spans, so 𝑚≤𝑛; symmetrically 𝑛≤𝑚.
Let ℬ︀ and 𝒞︀ be bases of 𝑉 of lengths 𝑚 and 𝑛. By Proposition 1.6.2, ℬ︀ is independent and 𝒞︀ spans 𝑉, so 𝑚≤𝑛 by Lemma 4.1.2. Exchanging the roles of ℬ︀ and 𝒞︀ gives 𝑛≤𝑚. □

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.

Definition 4.1.5 (Dimension). Let 𝑉 be a finite-dimensional vector space. The dimension of 𝑉, written dim𝑉, is the length of any basis of 𝑉. If dim𝑉=𝑛, we say that 𝑉 is 𝑛-dimensional. If 𝑉 is infinite-dimensional, we write dim𝑉=∞.

The symbol ∞ is shorthand and not a number we compute with. It lets us write statements such as “dim𝑉<∞” for “𝑉 is finite-dimensional”. Since {𝟎} has the basis () and every other space has a nonzero vector, which no basis of length 0 can represent, dim𝑉=0 exactly when 𝑉={𝟎}.

Remark 4.1.6 (The field is part of the data). Whether a list is a basis depends on which scalars are allowed (Example 1.6.5), so the dimension depends on the field. When the field matters we write dim𝐹𝑉. For example, dimℂℂ=1, with basis 1, while dimℝℂ=2, with basis 1,𝑖. The set and the addition are the same; only the scalars differ.
Example 4.1.7 (Dimensions of the standard spaces).
  1. (a)By Proposition 1.6.7, dim𝐹𝑛=𝑛, dim𝐹𝑚×𝑛=𝑚𝑛, and dim𝐹[𝑥]≤𝑛=𝑛+1.
  2. (b)The plane 𝑃={(𝑥,𝑦,𝑧)∈ℝ3|𝑥+𝑦+𝑧=0} has the basis (1,0,−1),(0,1,−1) (Example 1.6.3(b)), so dim𝑃=2.
  3. (c)If 𝑉 is a vector space over ℂ with dimℂ𝑉=𝑛 and basis 𝐯1,…,𝐯𝑛, then 𝐯1,𝑖𝐯1,…,𝐯𝑛,𝑖𝐯𝑛 is a basis of 𝑉 over ℝ. It is independent over ℝ by Exercise 1.5.37, and it spans 𝑉 over ℝ, since every 𝐯∈𝑉 is ∑𝑗(𝑎𝑗+𝑏𝑗𝑖)𝐯𝑗=∑𝑗(𝑎𝑗𝐯𝑗+𝑏𝑗(𝑖𝐯𝑗)) with 𝑎𝑗,𝑏𝑗∈ℝ. So dimℝ𝑉=2𝑛; for instance dimℝℂ𝑛=2𝑛.
  4. (d)𝐹[𝑥] is infinite-dimensional (Proposition 1.6.25), and so is ℝ over ℚ (Exercise 1.3.45). In both cases dim=∞. For 𝐹[𝑥] the set {1,𝑥,𝑥2,…} 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).
  5. (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 dimL(𝑉,𝑊)=(dim𝑉)(dim𝑊) for all finite-dimensional 𝑉 and 𝑊.
Non-example 4.1.8 (What the dimension does not count).
  1. (a)Every vector of the plane 𝑃 in (b) above has three coordinates, but dim𝑃=2. The dimension counts the vectors in a basis of 𝑃, not the coordinates used to write down its elements.
  2. (b)The list (1,0),(0,1),(1,1) spans ℝ2 but dimℝ2=2. A spanning list can be longer than the dimension, and Corollary 4.1.11 below shows that it can never be shorter.
  3. (c)ℂ and ℝ2 can be identified as sets with the same addition (Example 1.6.5), yet dimℂℂ=1 and dimℝℝ2=2. Without the field, “the dimension of ℂ” is ambiguous.
Exercise 4.1.9.routine Find a basis and the dimension of 𝑈={(𝑎,𝑏,𝑎+𝑏,𝑎−𝑏)|𝑎,𝑏∈𝐹}⊆𝐹4.

Solution.

Uses. Proposition 1.6.2 (Bases are independent spanning lists), Theorem 1.5.5 (Independence is decided at zero), Definition 4.1.5 (Dimension)

Hint 1. Split (𝑎,𝑏,𝑎+𝑏,𝑎−𝑏) into a part with 𝑎 and a part with 𝑏.
Hint 2. Check that the two vectors you get are independent by looking at their first two coordinates.
Sketch. (𝑎,𝑏,𝑎+𝑏,𝑎−𝑏)=𝑎(1,0,1,1)+𝑏(0,1,1,−1), so these two vectors span 𝑈. A relation 𝑎(1,0,1,1)+𝑏(0,1,1,−1)=𝟎 has first two coordinates 𝑎 and 𝑏, so it is trivial. Hence dim𝑈=2.

For all 𝑎,𝑏∈𝐹,

(𝑎,𝑏,𝑎+𝑏,𝑎−𝑏)=𝑎(1,0,1,1)+𝑏(0,1,1,−1),

so (1,0,1,1),(0,1,1,−1) lies in 𝑈 and spans it. If 𝑎(1,0,1,1)+𝑏(0,1,1,−1)=𝟎, then the first two coordinates give 𝑎=0 and 𝑏=0, so the list is independent (Theorem 1.5.5). It is a basis of 𝑈 by Proposition 1.6.2, and dim𝑈=2. This holds over every field, 𝔽2 included, where 𝑎−𝑏=𝑎+𝑏.

4.1.4Lists of the right length

Once dim𝑉 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 dim𝑉=𝑛, and let ℒ︀=𝐯1,…,𝐯𝑘 be a linearly independent list in 𝑉.

  1. (a)𝑘≤𝑛.
  2. (b)If 𝑘=𝑛, then ℒ︀ is a basis of 𝑉.

Proof (via coordinates and the Fundamental Theorems).routine

Uses. Proposition 1.6.20 (Coordinates translate questions about 𝑉 into 𝐹𝑛), Corollary 3.5.16 (Lists of vectors in 𝐹𝑚), Definition 4.1.5 (Dimension)

Hint 1. Fix a basis ℬ︀ of 𝑉, of length 𝑛, and pass to the coordinate vectors [𝐯1]ℬ︀,…,[𝐯𝑘]ℬ︀∈𝐹𝑛. Are they independent?
Hint 2. Corollary 3.5.16 describes independent and spanning lists in 𝐹𝑛. Apply (a) of it, and for 𝑘=𝑛 apply (c), then translate back with Proposition 1.6.20.
Sketch. With a basis ℬ︀ of length 𝑛, the coordinate vectors [𝐯𝑖]ℬ︀ form an independent list of length 𝑘 in 𝐹𝑛 (Proposition 1.6.20(a)), so 𝑘≤𝑛 by Corollary 3.5.16(a). If 𝑘=𝑛, they form a basis of 𝐹𝑛 by Corollary 3.5.16(c), so ℒ︀ is a basis of 𝑉 by Proposition 1.6.20(c).

Fix a basis ℬ︀ of 𝑉; it has length 𝑛 (Definition 4.1.5). By Proposition 1.6.20(a), the list [𝐯1]ℬ︀,…,[𝐯𝑘]ℬ︀ is linearly independent in 𝐹𝑛.

(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 [𝐯1]ℬ︀,…,[𝐯𝑛]ℬ︀ is a basis of 𝐹𝑛. By Proposition 1.6.20(c), ℒ︀ is a basis of 𝑉. □

Proof (via the exchange lemma).routine

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)

Hint 1. For (a), a basis of 𝑉 is a spanning list of length 𝑛.
Hint 2. For (b), suppose ℒ︀ does not span 𝑉. Append a vector outside its span and count.
Sketch. (a) A basis of 𝑉 spans and has length 𝑛, so 𝑘≤𝑛 by Lemma 4.1.2. (b) If an independent ℒ︀ of length 𝑛 did not span, appending 𝐰∉span(ℒ︀) would give an independent list of length 𝑛+1 (Proposition 1.5.14), contradicting (a).

(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 𝐰∉span(ℒ︀), and ℒ︀,𝐰 would be an independent list of length 𝑛+1 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 ℝ3 are dependent, which is what the span explorer of Section 1.5.3 showed for three vectors in ℝ2. Spanning lists satisfy the mirror-image statements.

Corollary 4.1.11 (Spanning lists are long). Let 𝑉 be finite-dimensional with dim𝑉=𝑛, and let 𝒮︀ be a list of length 𝑙 that spans 𝑉.

  1. (a)𝑙≥𝑛.
  2. (b)If 𝑙=𝑛, then 𝒮︀ is a basis of 𝑉.

Proof.routine

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)

Hint 1. Every spanning list contains a basis as a sublist (Theorem 1.6.10). How long is that basis?
Hint 2. For (b), a sublist with as many entries as the whole list is the whole list.
Sketch. 𝒮︀ has a sublist that is a basis, of length 𝑛 (Theorem 4.1.4), so 𝑛≤𝑙. If 𝑙=𝑛, that sublist has all 𝑙 entries, so it is 𝒮︀.

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 𝑙−𝑛=0 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 dim𝑉, 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.

Example 4.1.12 (Two bases for the price of one property).
  1. (a)Let 𝑐∈𝐹 and 𝑛≥0. The polynomials 1,𝑥−𝑐,(𝑥−𝑐)2,…,(𝑥−𝑐)𝑛 are nonzero with distinct degrees 0,1,…,𝑛, so they are independent (Proposition 1.5.24). There are 𝑛+1=dim𝐹[𝑥]≤𝑛 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 𝑛=2 and 𝑐=1.
  2. (b)In ℂ2×2, consider

    𝐼2=(1001),𝑋=(0110),𝑌=(0−𝑖𝑖0),𝑍=(100−1).

    If 𝑎𝐼2+𝑏𝑋+𝑐𝑌+𝑑𝑍=0, then

    (𝑎+𝑑𝑏−𝑖𝑐𝑏+𝑖𝑐𝑎−𝑑)=(0000).

    Adding and subtracting the diagonal entries gives 2𝑎=2𝑑=0, and the off-diagonal entries give 2𝑏=0 and 2𝑖𝑐=0. So 𝑎=𝑏=𝑐=𝑑=0, the list is independent, and since dimℂ2×2=4 it is a basis. (These are the Pauli matrices of quantum mechanics.)

Intuition (Halving the work, and where the halving comes from). For a list of length dim𝑉, independence and spanning are equivalent. In 𝐹𝑛 this was the square case of the Fundamental Theorems: for a square matrix, “pivot in every column” and “pivot in every row” both say that there are 𝑛 pivots. In general it is the exchange lemma: an independent list that did not span could be lengthened, and a spanning list that was dependent could be shortened, and either would produce a list whose length is on the wrong side of dim𝑉. The count only works when the length is exactly right. A list of length less than dim𝑉 is never spanning, one of length more is never independent, and these are the shape constraints of Corollary 3.5.16(a) and (b) in disguise.

Dimension also gives a convenient test for infinite dimension. It is the test promised after Proposition 1.6.25.

Corollary 4.1.13 (Detecting infinite dimension). A vector space 𝑉 is infinite-dimensional if and only if for every 𝑘≥0 it contains a linearly independent list of length 𝑘.

Proof.routine

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)

Hint 1. For (⇐), if 𝑉 were finite-dimensional with dim𝑉=𝑛, which length of independent list would be impossible?
Hint 2. For (⇒), build the lists by induction on 𝑘. If 𝑉 is infinite-dimensional, can an independent list span it?
Sketch. (⇐) If dim𝑉=𝑛, an independent list of length 𝑛+1 contradicts Theorem 4.1.10(a). (⇒) Induct on 𝑘, starting from (). An independent list ℒ︀ of length 𝑘 does not span 𝑉, since no list does, so appending some 𝐰∉span(ℒ︀) gives an independent list of length 𝑘+1 (Proposition 1.5.14).

(⇐) We prove the contrapositive. If 𝑉 is finite-dimensional, say dim𝑉=𝑛, then by Theorem 4.1.10(a) there is no independent list of length 𝑛+1 in 𝑉.

(⇒) Suppose 𝑉 is infinite-dimensional. We show by induction on 𝑘 that 𝑉 contains an independent list of length 𝑘. For 𝑘=0 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 𝐰∉span(ℒ︀), and ℒ︀,𝐰 is independent of length 𝑘+1 by Proposition 1.5.14. □

Example 4.1.14 (Function spaces are infinite-dimensional). Let 𝐼⊆ℝ be an infinite set, for instance ℝ or [0,1]. For each 𝑘, the functions 1,𝑡,𝑡2,…,𝑡𝑘 on 𝐼 are linearly independent in ℝ𝐼: if 𝑎0+𝑎1𝑡+⋯+𝑎𝑘𝑡𝑘=0 for every 𝑡∈𝐼, then the polynomial 𝑎0+𝑎1𝑥+⋯+𝑎𝑘𝑥𝑘 has infinitely many roots, so it is the zero polynomial (Proposition 7.1.22), and all 𝑎𝑖=0. By Corollary 4.1.13, ℝ𝐼 is infinite-dimensional. These functions are continuous, so the subspace 𝐶[0,1] of ℝ[0,1] is infinite-dimensional as well.
Exercise 4.1.15.routine Show that 1+𝑥,(1+𝑥)2,𝑥2+𝑥3,𝑥3 is a basis of 𝐹[𝑥]≤3 for every field 𝐹.

Solution.

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)

Hint 1. The list has 4=dim𝐹[𝑥]≤3 entries, so it suffices to check independence.
Hint 2. The degrees are 1,2,3,3, so Proposition 1.5.24 does not apply directly. Write out a relation and compare coefficients, starting from the constant and 𝑥 coefficients.
Sketch. Length 4=dim𝐹[𝑥]≤3, so independence suffices. In 𝑎(1+𝑥)+𝑏(1+2𝑥+𝑥2)+𝑐(𝑥2+𝑥3)+𝑑𝑥3=0, the constant term gives 𝑎+𝑏=0, the 𝑥 term 𝑎+2𝑏=0, so 𝑏=0=𝑎; then 𝑥2 gives 𝑐=0 and 𝑥3 gives 𝑑=0.

Since dim𝐹[𝑥]≤3=4 (Example 4.1.7), by Theorem 4.1.10(b) it suffices to show that the four polynomials are independent. Suppose

𝑎(1+𝑥)+𝑏(1+2𝑥+𝑥2)+𝑐(𝑥2+𝑥3)+𝑑𝑥3=0.

Comparing coefficients of 1, 𝑥, 𝑥2, and 𝑥3 gives

𝑎+𝑏=0,𝑎+2𝑏=0,𝑏+𝑐=0,𝑐+𝑑=0.

Subtracting the first equation from the second gives 𝑏=0, and then 𝑎=0, 𝑐=0, and 𝑑=0. 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 dim𝑉=𝑛, and let ℒ︀=𝐯1,…,𝐯𝑘 be a linearly independent list in 𝑉. Then ℒ︀ extends to a basis of 𝑉: there are vectors 𝐰1,…,𝐰𝑛−𝑘∈𝑉 such that

𝐯1,…,𝐯𝑘,𝐰1,…,𝐰𝑛−𝑘

is a basis of 𝑉. Moreover, if 𝒮︀ is any list that spans 𝑉, the 𝐰𝑗 can be chosen among the entries of 𝒮︀.

Proof.standard

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)

Hint 1. By Theorem 4.1.10, 𝑘≤𝑛, and if 𝑘=𝑛 there is nothing to do. Induct on 𝑛−𝑘.
Hint 2. If 𝑘<𝑛, then ℒ︀ does not span 𝑉. Why must some entry of 𝒮︀ lie outside span(ℒ︀)?
Hint 3. Append that entry. The new list is independent (Proposition 1.5.14) and one entry longer, so the inductive hypothesis applies to it.
Sketch. By Theorem 4.1.10, 𝑘≤𝑛; induct on 𝑑=𝑛−𝑘. If 𝑑=0, ℒ︀ is already a basis. If 𝑑>0, ℒ︀ is not a basis (wrong length), so it does not span. If every entry of 𝒮︀ were in span(ℒ︀), then 𝑉=span(𝒮︀)⊆span(ℒ︀); so some entry 𝐬 of 𝒮︀ is not. Then ℒ︀,𝐬 is independent of length 𝑘+1, and the inductive hypothesis extends it by entries of 𝒮︀.

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 𝑑≥0 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 𝑑=0, then ℒ︀ is independent of length 𝑛, so it is a basis by Theorem 4.1.10(b), and we append nothing.

Inductive step. Let 𝑑≥1, assume the claim for 𝑑−1, 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 span(ℒ︀), then, since span(ℒ︀) is a subspace, 𝑉=span(𝒮︀)⊆span(ℒ︀) by Proposition 1.4.14(b), which is false. So some entry 𝐬 of 𝒮︀ lies outside span(ℒ︀). By Proposition 1.5.14, ℒ︀,𝐬 is independent, of length 𝑘+1=𝑛−(𝑑−1). By the inductive hypothesis, it extends to a basis of 𝑉 by appending 𝑑−1 entries of 𝒮︀. Together with 𝐬, these are 𝑑 entries of 𝒮︀ appended to ℒ︀, as desired. □

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 𝒮︀=𝐞1,…,𝐞𝑛, 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 𝐯1=(1,1,0,0) and 𝐯2=(1,1,1,1) to a basis of ℚ4. Row reduce the matrix with columns 𝐯1,𝐯2,𝐞1,𝐞2,𝐞3,𝐞4:

(111000110100010010010001)⇝(10010−1010001001−10000001−1).

The pivot columns are 1,2,3,5. So 𝐯1,𝐯2,𝐞1,𝐞3 is a basis of ℚ4. The free columns explain the rejections: column 4 of the reduced matrix says 𝐞2=𝐯1−𝐞1, and column 6 says 𝐞4=−𝐯1+𝐯2−𝐞3 (Corollary 3.3.19(b)).

(111000110100010010010001)⇝(10010−1010001001−10000001−1)
The reduction of Example 4.1.17. The first two columns are 𝐯1,𝐯2 and the last four are 𝐞1,…,𝐞4. The pivot columns are the columns that survive sifting. Use “Edit” to put your own independent vectors in the first columns, or switch to 𝔽𝑝; as long as those vectors are independent over the chosen field, they always end up as pivot columns.

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 𝐮1,…,𝐮𝑘 of 𝑈 and extend it to a basis 𝐮1,…,𝐮𝑘,𝐰1,…,𝐰𝑟 of 𝑉 (Theorem 4.1.16). The new vectors are independent of 𝑈 in a strong sense: a combination of them lies in 𝑈 only if it is 𝟎. Since a linear map may be prescribed freely on a basis (Theorem 2.2.1), the extension lets us define maps that do one thing on 𝑈 and anything we like on the 𝐰𝑗. Since the extended list is a basis, it also lets us count: dim𝑉−dim𝑈 is the number 𝑟 of new vectors.

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).

Proposition 4.1.19 (Extending linear maps and separating vectors). Let 𝑉 be finite-dimensional, and let 𝑈 be a subspace of 𝑉.

  1. (a)For every vector space 𝑊 and every linear map 𝑆:𝑈→𝑊, there is a linear map 𝑇:𝑉→𝑊 with 𝑇(𝐮)=𝑆(𝐮) for all 𝐮∈𝑈.
  2. (b)For every 𝐯∈𝑉 with 𝐯∉𝑈, there is a linear map 𝑓:𝑉→𝐹 with 𝑓(𝐮)=0 for all 𝐮∈𝑈 and 𝑓(𝐯)=1.

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.

Proof.standard

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)

Hint 1. Take a basis 𝐮1,…,𝐮𝑘 of 𝑈 and extend it to a basis of 𝑉. A linear map on 𝑉 can be prescribed freely on this basis.
Hint 2. For (a), send 𝐮𝑖 to 𝑆(𝐮𝑖) and the new basis vectors to 𝟎. Why do 𝑇 and 𝑆 then agree on all of 𝑈?
Hint 3. For (b), first extend 𝐮1,…,𝐮𝑘,𝐯, which is independent because 𝐯∉𝑈.
Sketch. Take a basis 𝐮1,…,𝐮𝑘 of 𝑈. (a) Extend it to a basis 𝐮1,…,𝐮𝑘,𝐰1,…,𝐰𝑟 of 𝑉 and let 𝑇 send 𝐮𝑖↦𝑆(𝐮𝑖), 𝐰𝑗↦𝟎 (Theorem 2.2.1). Then 𝑇(∑𝑐𝑖𝐮𝑖)=∑𝑐𝑖𝑆(𝐮𝑖)=𝑆(∑𝑐𝑖𝐮𝑖). (b) 𝐯∉span(𝐮1,…,𝐮𝑘), so 𝐮1,…,𝐮𝑘,𝐯 is independent; extend it to a basis and let 𝑓 be 1 on 𝐯 and 0 on every other basis vector.

By Proposition 4.1.21(a), 𝑈 is finite-dimensional; let 𝐮1,…,𝐮𝑘 be a basis of 𝑈. It is an independent list in 𝑉.

(a) By Theorem 4.1.16 there are 𝐰1,…,𝐰𝑟 such that 𝐮1,…,𝐮𝑘,𝐰1,…,𝐰𝑟 is a basis of 𝑉. By Theorem 2.2.1 there is a linear map 𝑇:𝑉→𝑊 with 𝑇(𝐮𝑖)=𝑆(𝐮𝑖) for all 𝑖 and 𝑇(𝐰𝑗)=𝟎 for all 𝑗. Let 𝐮∈𝑈, and write 𝐮=𝑐1𝐮1+⋯+𝑐𝑘𝐮𝑘. Since 𝑇 and 𝑆 are both linear,

𝑇(𝐮)=∑𝑖=1𝑘𝑐𝑖𝑇(𝐮𝑖)=∑𝑖=1𝑘𝑐𝑖𝑆(𝐮𝑖)=𝑆(𝐮),

as desired.

(b) Since 𝑈=span(𝐮1,…,𝐮𝑘) and 𝐯∉𝑈, the list 𝐮1,…,𝐮𝑘,𝐯 is independent by Proposition 1.5.14. By Theorem 4.1.16 it extends to a basis 𝐮1,…,𝐮𝑘,𝐯,𝐰1,…,𝐰𝑟 of 𝑉. By Theorem 2.2.1 there is a linear map 𝑓:𝑉→𝐹 with 𝑓(𝐯)=1 and with value 0 on every other vector of this basis. For 𝐮=∑𝑖𝑐𝑖𝐮𝑖∈𝑈, linearity gives 𝑓(𝐮)=∑𝑖𝑐𝑖𝑓(𝐮𝑖)=0. □

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).

Exercise 4.1.20.routine Extend (1,2,1) to a basis of 𝐹3 by appending standard basis vectors, (a) for 𝐹=ℚ, and (b) for 𝐹=𝔽3. Which standard basis vectors are appended?

Solution.

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)

Hint 1. Sift the list (1,2,1),𝐞1,𝐞2,𝐞3: keep each entry that is not in the span of the entries kept before it.
Hint 2. 𝐞1 is never a multiple of (1,2,1). For the third vector, describe span((1,2,1),𝐞1) and test 𝐞2.
Sketch. In both cases 𝐞1 is kept. span((1,2,1),𝐞1)={(𝑎+𝑏,2𝑎,𝑎)}, whose vectors have second coordinate 2 times the third; 𝐞2 fails this, so it is kept, and (1,2,1),𝐞1,𝐞2 is a basis in both cases, by length.
We follow the proof of Theorem 4.1.16 with 𝒮︀=𝐞1,𝐞2,𝐞3. The vector 𝐞1 is not a multiple of (1,2,1), since a multiple 𝑡(1,2,1) with third coordinate 0 has 𝑡=0. So (1,2,1),𝐞1 is independent (Proposition 1.5.15(d)). Its span consists of the vectors 𝑎(1,2,1)+𝑏𝐞1=(𝑎+𝑏,2𝑎,𝑎), whose second coordinate is 2 times the third. The vector 𝐞2=(0,1,0) fails this test, since 1≠2⋅0 in every field. So (1,2,1),𝐞1,𝐞2 is independent (Proposition 1.5.14), and as it has length 3=dim𝐹3, it is a basis. The same vectors are appended in (a) and (b): the computation used only that 1≠0.

4.1.6Dimensions of subspaces

Every subspace of 𝐹3 ought to have dimension 0, 1, 2, or 3. Proving that a subspace 𝑈 of a finite-dimensional space has dimension at most dim𝑉 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 ℝ2, the line span((1,1)) contains neither 𝐞1 nor 𝐞2.) 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 dim𝑉=𝑛, and let 𝑈 be a subspace of 𝑉.

  1. (a)𝑈 is finite-dimensional, and dim𝑈≤𝑛.
  2. (b)dim𝑈=𝑛 if and only if 𝑈=𝑉.

Proof.standard

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)

Hint 1. An independent list in 𝑈 is also an independent list in 𝑉, so it has length at most 𝑛. Choose an independent list in 𝑈 that is as long as possible.
Hint 2. If that list did not span 𝑈, what could you append to it?
Hint 3. For (b), a basis of 𝑈 of length 𝑛 is an independent list of length 𝑛 in 𝑉. Apply Theorem 4.1.10(b).
Sketch. Independent lists in 𝑈 are independent in 𝑉, so they have length at most 𝑛. Take one, ℒ︀, of maximal length. If some 𝐮∈𝑈 were outside span(ℒ︀), then ℒ︀,𝐮 would be a longer independent list in 𝑈. So ℒ︀ spans 𝑈 and is a basis of 𝑈 of length at most 𝑛. For (b), if dim𝑈=𝑛, a basis of 𝑈 is independent of length 𝑛 in 𝑉, hence a basis of 𝑉, so 𝑉=span(ℒ︀)⊆𝑈.

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 0 and 𝑛. Choose an independent list ℒ︀ in 𝑈 whose length 𝑘 is as large as possible. Suppose, to the contrary, that some 𝐮∈𝑈 is not in span(ℒ︀). Then ℒ︀,𝐮 is an independent list in 𝑈 (Proposition 1.5.14) of length 𝑘+1, contradicting the choice of ℒ︀. So ℒ︀ spans 𝑈, and it is a basis of 𝑈 (Proposition 1.6.2). Hence 𝑈 is finite-dimensional, and dim𝑈=𝑘≤𝑛.

(b) If 𝑈=𝑉, then dim𝑈=𝑛. Conversely, suppose dim𝑈=𝑛, 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 𝑉=span(ℒ︀)⊆𝑈. 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 𝑛+1. 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 dim𝑈=dim𝑊, 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 𝑈={𝐴∈𝐹2×2|tr𝐴=0}, the trace-zero matrices of Example 1.4.11. The matrices

𝑈12,𝑈21,𝑈11−𝑈22

lie in 𝑈 and are independent, since 𝑎𝑈12+𝑏𝑈21+𝑐(𝑈11−𝑈22)=(𝑐𝑎𝑏−𝑐) is 0 only if 𝑎=𝑏=𝑐=0. So dim𝑈≥3, by Theorem 4.1.10(a) applied in 𝑈. On the other hand 𝑈11∉𝑈, so 𝑈≠𝐹2×2 and dim𝑈<4 by Proposition 4.1.21(b). Hence dim𝑈=3, and by Theorem 4.1.10(b) the three matrices form a basis of 𝑈. We never checked that they span. The same squeeze shows that the trace-zero matrices in 𝐹𝑛×𝑛 have dimension 𝑛2−1 (Exercise 4.1.43).

Example 4.1.23 (The subspaces of 𝐹3). Let 𝑈 be a subspace of 𝐹3. By Proposition 4.1.21, dim𝑈∈{0,1,2,3}, and 𝑈 has a basis of that length:

  • dim𝑈=0: 𝑈={𝟎};
  • dim𝑈=1: 𝑈=span(𝐯) for some 𝐯≠𝟎, a line through 𝟎;
  • dim𝑈=2: 𝑈=span(𝐯,𝐰) for some independent 𝐯,𝐰, a plane through 𝟎;
  • dim𝑈=3: 𝑈=𝐹3, by Proposition 4.1.21(b).

Over ℝ these are the subspaces of ℝ3 that Section 1.4 anticipated: the origin, the lines and the planes through it, and ℝ3. The proof of Theorem 1.4.25 for 𝐹2 worked by cases on how many independent directions 𝑈 contains. Dimension is that count, and it settles 𝐹𝑛 for every 𝑛 at once.

Exercise 4.1.24.routine Let 𝑈={𝑝∈ℝ[𝑥]≤3|𝑝(2)=0}. Find dim𝑈 and a basis of 𝑈, by a squeeze.

Solution.

Uses. Proposition 1.5.24 (Distinct degrees), Theorem 4.1.10 (Independent lists are short), Proposition 4.1.21 (Dimensions of subspaces)

Hint 1. Find three independent polynomials in 𝑈; powers of 𝑥−2 are natural.
Hint 2. Find one polynomial of degree at most 3 that is not in 𝑈, and use Proposition 4.1.21(b).
Sketch. 𝑥−2, (𝑥−2)2, (𝑥−2)3 lie in 𝑈 and have distinct degrees, so dim𝑈≥3. The constant 1 is not in 𝑈, so dim𝑈<4. Hence dim𝑈=3, and the three polynomials form a basis.
The polynomials 𝑥−2, (𝑥−2)2, (𝑥−2)3 vanish at 2, so they lie in 𝑈, and they are independent by Proposition 1.5.24. So dim𝑈≥3 by Theorem 4.1.10(a), applied in 𝑈. The constant polynomial 1 does not vanish at 2, so 𝑈≠ℝ[𝑥]≤3, and dim𝑈<4 by Proposition 4.1.21(b). Hence dim𝑈=3, and the three polynomials, an independent list of length dim𝑈 in 𝑈, form a basis of 𝑈 by Theorem 4.1.10(b).

4.1.7Nilpotent chains

Some operators become 0 after finitely many applications. On 𝐹4, the shift

𝑁(𝑥1,𝑥2,𝑥3,𝑥4)=(𝑥2,𝑥3,𝑥4,0)

moves every entry one place up and pushes a 0 in at the bottom, so 𝑁4=0. Following one vector,

𝐞4⟶𝑁𝐞3⟶𝑁𝐞2⟶𝑁𝐞1⟶𝑁𝟎,

so 𝑁3≠0 but 𝑁4=0. Over ℝ, differentiation on ℝ[𝑥]≤3 behaves the same way:

𝑥3⟶𝐷3𝑥2⟶𝐷6𝑥⟶𝐷6⟶𝐷𝟎.

An operator 𝑇∈L(𝑉) with 𝑇𝑚=0 for some 𝑚≥1 is called nilpotent; Chapter 10 studies these operators in depth (Section 10.1). In both examples the chain of images ends at 𝟎 after exactly dim𝑉 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 𝐯1,…,𝐯𝑘 is independent, take a relation 𝑎1𝐯1+⋯+𝑎𝑘𝐯𝑘=𝟎 and apply a linear map 𝐿 that sends all but a few of the 𝐯𝑖 to 𝟎. Since 𝐿(𝟎)=𝟎, the result is a shorter relation, ideally a single term 𝑎𝑗𝐿(𝐯𝑗)=𝟎 with 𝐿(𝐯𝑗)≠𝟎, which forces 𝑎𝑗=0. Then repeat with another map, or on the shorter relation that remains.

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 𝐯,𝑇𝐯,𝑇2𝐯,…; 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.

Proposition 4.1.26 (Nilpotent chains are independent). Let 𝑇∈L(𝑉), let 𝐯∈𝑉, and let 𝑘≥0 be such that

𝑇𝑘𝐯≠𝟎and𝑇𝑘+1𝐯=𝟎.

Then 𝐯,𝑇𝐯,𝑇2𝐯,…,𝑇𝑘𝐯 is linearly independent.

Intuition. The chain 𝐯↦𝑇𝐯↦⋯↦𝑇𝑘𝐯↦𝟎 has a last nonzero vector. Applying 𝑇𝑘 to the chain kills every vector except the first, which it sends to that last nonzero vector 𝑇𝑘𝐯. So applying 𝑇𝑘 to a relation isolates the coefficient of 𝐯. Once that coefficient is known to be 0, applying 𝑇𝑘−1 isolates the next one, and so on down the chain.

Proof.standard

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)

Hint 1. Take a relation 𝑎0𝐯+𝑎1𝑇𝐯+⋯+𝑎𝑘𝑇𝑘𝐯=𝟎 and apply 𝑇𝑘. Which terms survive?
Hint 2. 𝑇𝑘(𝑇𝑗𝐯)=𝑇𝑘+𝑗𝐯, and this is 𝟎 for 𝑗≥1, since 𝑇𝑘+𝑗𝐯=𝑇𝑗−1(𝑇𝑘+1𝐯). So only 𝑎0𝑇𝑘𝐯 is left.
Hint 3. Prove 𝑎𝑖=0 by induction on 𝑖: if 𝑎0=⋯=𝑎𝑖−1=0, apply 𝑇𝑘−𝑖 to the relation.
Sketch. Let ∑𝑗=0𝑘𝑎𝑗𝑇𝑗𝐯=𝟎. Since 𝑇𝑙𝐯=𝟎 for all 𝑙≥𝑘+1, applying 𝑇𝑘 leaves 𝑎0𝑇𝑘𝐯=𝟎, so 𝑎0=0. If 𝑎0=⋯=𝑎𝑖−1=0, applying 𝑇𝑘−𝑖 to ∑𝑗≥𝑖𝑎𝑗𝑇𝑗𝐯=𝟎 leaves 𝑎𝑖𝑇𝑘𝐯=𝟎, so 𝑎𝑖=0.

First, 𝑇𝑙𝐯=𝟎 for every 𝑙≥𝑘+1, because 𝑇𝑙𝐯=𝑇𝑙−𝑘−1(𝑇𝑘+1𝐯)=𝑇𝑙−𝑘−1(𝟎)=𝟎 (Notation 2.1.18, Proposition 2.1.4). Suppose that

𝑎0𝐯+𝑎1𝑇𝐯+⋯+𝑎𝑘𝑇𝑘𝐯=𝟎.
(4.1.1)

We show by induction on 𝑖∈{0,1,…,𝑘} that 𝑎𝑖=0. Let 𝑖 be given and assume that 𝑎𝑗=0 for all 𝑗<𝑖, which is no assumption when 𝑖=0. Then (4.1.1) reads ∑𝑗=𝑖𝑘𝑎𝑗𝑇𝑗𝐯=𝟎. Apply the linear map 𝑇𝑘−𝑖 to both sides:

𝟎=∑𝑗=𝑖𝑘𝑎𝑗𝑇𝑘−𝑖+𝑗𝐯=𝑎𝑖𝑇𝑘𝐯+∑𝑗=𝑖+1𝑘𝑎𝑗𝑇𝑘+(𝑗−𝑖)𝐯=𝑎𝑖𝑇𝑘𝐯,

since every exponent 𝑘+(𝑗−𝑖) in the last sum is at least 𝑘+1. As 𝑇𝑘𝐯≠𝟎, Proposition 1.2.35 gives 𝑎𝑖=0. By induction all 𝑎𝑖=0, so the list is independent by Theorem 1.5.5. □

Table 4.1.1. The proof of Proposition 4.1.26 for 𝑘=3. Each row applies a power of 𝑇 to the relation 𝑎0𝐯+𝑎1𝑇𝐯+𝑎2𝑇2𝐯+𝑎3𝑇3𝐯=𝟎. Terms pushed past 𝑇3𝐯 become 𝟎; a dot marks a term whose coefficient is already known to be 0. Exactly one term survives in each row, and it is a multiple of 𝑇3𝐯≠𝟎.

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 0. The striking part is that the bound depends only on dim𝑉: nothing about the particular operator enters.

Corollary 4.1.27 (A nilpotent operator dies within dim𝑉 steps). Let 𝑉 be finite-dimensional with dim𝑉=𝑛, and let 𝑇∈L(𝑉) with 𝑇𝑚=0 for some 𝑚≥1. Then 𝑇𝑛=0. Similarly, if 𝐴∈𝐹𝑛×𝑛 and 𝐴𝑚=0 for some 𝑚≥1, then 𝐴𝑛=0.

Proof.standard

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)

Hint 1. Fix 𝐯≠𝟎. Since 𝑇𝑚𝐯=𝟎, there is a largest 𝑘 with 𝑇𝑘𝐯≠𝟎. What does Proposition 4.1.26 say about 𝐯,𝑇𝐯,…,𝑇𝑘𝐯?
Hint 2. That list has 𝑘+1 entries in an 𝑛-dimensional space, so 𝑘+1≤𝑛. Now compute 𝑇𝑛𝐯.
Sketch. For 𝐯≠𝟎, let 𝑘 be the largest integer with 𝑇𝑘𝐯≠𝟎; it exists, and 𝑘<𝑚, because 𝑇0𝐯=𝐯≠𝟎 and 𝑇𝑚𝐯=𝟎. By Proposition 4.1.26 the chain 𝐯,…,𝑇𝑘𝐯 is independent, so 𝑘+1≤𝑛. Hence 𝑇𝑛𝐯=𝑇𝑛−𝑘−1(𝑇𝑘+1𝐯)=𝟎. For matrices, apply this to 𝑇𝐴.

Let 𝐯∈𝑉. If 𝐯=𝟎, then 𝑇𝑛𝐯=𝟎. Suppose 𝐯≠𝟎. The set of integers 𝑗≥0 with 𝑇𝑗𝐯≠𝟎 contains 0, as 𝑇0𝐯=𝐯, and contains no 𝑗≥𝑚, as 𝑇𝑗𝐯=𝑇𝑗−𝑚(𝑇𝑚𝐯)=𝟎 for those. Let 𝑘 be its largest element. Then 𝑇𝑘𝐯≠𝟎 and 𝑇𝑘+1𝐯=𝟎, so by Proposition 4.1.26 the list 𝐯,𝑇𝐯,…,𝑇𝑘𝐯 is independent. It has 𝑘+1 entries, so 𝑘+1≤𝑛 by Theorem 4.1.10(a). Therefore

𝑇𝑛𝐯=𝑇𝑛−𝑘−1(𝑇𝑘+1𝐯)=𝑇𝑛−𝑘−1(𝟎)=𝟎.

This holds for every 𝐯, so 𝑇𝑛=0.

For 𝐴∈𝐹𝑛×𝑛, the linear map 𝑇𝐴:𝐹𝑛→𝐹𝑛 satisfies (𝑇𝐴)𝑗=𝑇𝐴𝑗 for all 𝑗≥1, by Theorem 2.4.2 and induction on 𝑗. So (𝑇𝐴)𝑚=𝑇𝐴𝑚=0, and by the first part 𝑇𝐴𝑛=(𝑇𝐴)𝑛=0. The columns of 𝐴𝑛 are the vectors 𝐴𝑛𝐞𝑗=𝑇𝐴𝑛(𝐞𝑗)=𝟎, so 𝐴𝑛=0. □

The exponent 𝑛 cannot be lowered in general: the shift 𝑁 on 𝐹4 above has 𝑁3≠0. And the corollary rules out operators that take longer. For instance, there is no 𝐴∈ℝ3×3 with 𝐴3≠0 but 𝐴4=0, however cleverly its entries are chosen. In the plane, the corollary says that a nilpotent 2×2 matrix satisfies 𝐴2=0.

The map of 𝑁=(1−11−1) (called 𝐴 in the interactive version) flattens the plane onto the line ℓ through (1,1), and it sends ℓ itself to 𝟎, since 𝑁(1,1)=𝟎. So 𝑁2=0. For any 𝐯 off ℓ, such as 𝐞1, the chain 𝐯,𝑁𝐯 ends at 𝟎; by Proposition 4.1.26 it is independent, and having length 2=dimℝ2, it is a basis (Theorem 4.1.10(b)). In the interactive version, move the columns: a nonzero 2×2 matrix is nilpotent exactly when it flattens the plane onto a line and sends that line to 𝟎.

Over a field in which some integer is 0, the derivative dies much sooner than in characteristic 0, sooner than dim𝑉 steps.

Example 4.1.28 (Differentiation over 𝔽𝑝). Let 𝑝 be a prime and let 𝐷 be the formal derivative on 𝔽𝑝[𝑥] (Example 2.1.9). Then 𝐷𝑝(𝑥𝑗)=𝑗(𝑗−1)⋯(𝑗−𝑝+1)𝑥𝑗−𝑝 for 𝑗≥𝑝, and the product of the 𝑝 consecutive integers 𝑗,𝑗−1,…,𝑗−𝑝+1 is divisible by 𝑝, so it is 0 in 𝔽𝑝. For 𝑗<𝑝, 𝐷𝑝(𝑥𝑗)=0 already. So 𝐷𝑝=0 on all of 𝔽𝑝[𝑥], an infinite-dimensional space.

For 𝑝=2, on 𝔽2[𝑥]≤3 the chains are

𝑥3⟶𝐷𝑥2⟶𝐷𝟎,𝑥⟶𝐷1⟶𝐷𝟎,

since 𝐷(𝑥3)=3𝑥2=𝑥2 and 𝐷(𝑥2)=2𝑥=0. Here 𝐷2=0 although dim𝔽2[𝑥]≤3=4. The basis 𝑥3,𝑥2,𝑥,1 splits into two chains of length 2 instead of one chain of length 4. How a nilpotent operator splits a space into chains is the subject of Section 10.3.

Exercise 4.1.29.routine For which 𝑛 is there a matrix 𝐴∈𝐹𝑛×𝑛 with 𝐴4≠0 and 𝐴5=0? For each such 𝑛, give one.

Solution.

Uses. Corollary 4.1.27 (A nilpotent operator dies within dim𝑉 steps)

Hint 1. If 𝑛≤4, what does Corollary 4.1.27 say about 𝐴𝑛, and hence about 𝐴4?
Hint 2. For 𝑛≥5, generalize the shift: send 𝐞5↦𝐞4↦⋯↦𝐞1↦𝟎 and kill the remaining standard basis vectors.
Sketch. If 𝑛≤4, then 𝐴5=0 gives 𝐴𝑛=0, so 𝐴4=𝐴4−𝑛𝐴𝑛=0. For 𝑛≥5, take 𝐴=𝑈12+𝑈23+𝑈34+𝑈45, with 𝐴𝐞𝑗+1=𝐞𝑗 for 𝑗≤4 and 𝐴𝐞𝑗=𝟎 otherwise; then 𝐴4𝐞5=𝐞1 and 𝐴5=0.

Suppose 𝑛≤4 and 𝐴5=0. By Corollary 4.1.27, 𝐴𝑛=0, so 𝐴4=𝐴4−𝑛𝐴𝑛=0. So no such 𝐴 exists for 𝑛≤4.

For 𝑛≥5, let 𝐴∈𝐹𝑛×𝑛 have 1 in positions (1,2),(2,3),(3,4),(4,5) and 0 elsewhere. Then 𝐴𝐞1=𝟎, 𝐴𝐞𝑗=𝐞𝑗−1 for 2≤𝑗≤5, and 𝐴𝐞𝑗=𝟎 for 𝑗≥6. Hence 𝐴4𝐞5=𝐞1≠𝟎, so 𝐴4≠0. And 𝐴5𝐞𝑗=𝟎 for every 𝑗: for 𝑗≤5 the vector 𝐞𝑗 reaches 𝟎 after 𝑗≤5 steps, and for 𝑗≥6 after one. Since 𝐴5 kills a basis, 𝐴5=0. So the answer is: exactly for 𝑛≥5.

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 𝐼,𝐴,𝐴2,… of a matrix, iterates 𝐯,𝑇𝐯,𝑇2𝐯,… of a vector, and powers 1,𝛼,𝛼2,… 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).

Proposition 4.1.31 (Every square matrix satisfies a polynomial).
  1. (a)Let 𝐴∈𝐹𝑛×𝑛 with 𝑛≥1. There are 𝑐0,𝑐1,…,𝑐𝑛2∈𝐹, not all 0, with

    𝑐0𝐼𝑛+𝑐1𝐴+𝑐2𝐴2+⋯+𝑐𝑛2𝐴𝑛2=0.
  2. (b)Let 𝑉 be finite-dimensional with dim𝑉=𝑛≥1, and let 𝑇∈L(𝑉). There are 𝑐0,…,𝑐𝑛2∈𝐹, not all 0, with 𝑐0id𝑉+𝑐1𝑇+⋯+𝑐𝑛2𝑇𝑛2=0.

Proof.routine

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)

Hint 1. Count the matrices 𝐼𝑛,𝐴,𝐴2,…,𝐴𝑛2, and recall dim𝐹𝑛×𝑛.
Hint 2. For (b), apply (a) to 𝐴=[𝑇]ℬ︀ℬ︀ for a basis ℬ︀ of 𝑉, and use [𝑇𝑗]ℬ︀ℬ︀=𝐴𝑗 (Notation 2.4.16).
Sketch. The list 𝐼𝑛,𝐴,…,𝐴𝑛2 has 𝑛2+1 entries in 𝐹𝑛×𝑛, which has dimension 𝑛2, so it is dependent, and a nontrivial relation is the claim. For (b), take the relation for 𝐴=[𝑇]ℬ︀ℬ︀; by Notation 2.4.16 it says [∑𝑐𝑗𝑇𝑗]ℬ︀ℬ︀=0=[0]ℬ︀ℬ︀, and a map is determined by its matrix.

(a) The list 𝐼𝑛,𝐴,𝐴2,…,𝐴𝑛2 has 𝑛2+1 entries, and it lies in 𝐹𝑛×𝑛, which has dimension 𝑛2 (Example 4.1.7). By Theorem 4.1.10(a) it is linearly dependent, so by Theorem 1.5.5 it has a nontrivial linear relation. That relation is the claim.

(b) Fix a basis ℬ︀ of 𝑉 and let 𝐴=[𝑇]ℬ︀ℬ︀∈𝐹𝑛×𝑛. Take 𝑐0,…,𝑐𝑛2, not all 0, as in (a). By Notation 2.4.16,

[𝑐0id𝑉+𝑐1𝑇+⋯+𝑐𝑛2𝑇𝑛2]ℬ︀ℬ︀=𝑐0𝐼𝑛+𝑐1𝐴+⋯+𝑐𝑛2𝐴𝑛2=0=[0]ℬ︀ℬ︀.

By Theorem 2.3.20, a linear map 𝑉→𝑉 is determined by its matrix with respect to ℬ︀, so 𝑐0id𝑉+𝑐1𝑇+⋯+𝑐𝑛2𝑇𝑛2=0. □

In the language of polynomials, 𝐴 is a root of the nonzero polynomial 𝑐0+𝑐1𝑥+⋯+𝑐𝑛2𝑥𝑛2. Evaluating polynomials at matrices and operators is made formal in Section 7.1 and Section 7.2, and Section 7.6 studies the polynomial of smallest degree that 𝐴 satisfies. The bound 𝑛2 is far from the truth: the Cayley–Hamilton theorem (Theorem 7.6.20) gives a nonzero polynomial of degree 𝑛. For now, the point is that the existence of some polynomial costs nothing beyond counting.

Example 4.1.32 (2+3 is a root of a rational polynomial). Regard ℝ as a vector space over ℚ (Example 1.2.20), and let 𝛼=2+3. Expanding,

𝛼2=5+26,𝛼3=112+93,𝛼4=49+206.

So 1,𝛼,𝛼2,𝛼3,𝛼4 all lie in 𝑊=spanℚ(1,2,3,6), which has dimension at most 4 by Corollary 4.1.11(a). Five vectors in a space of dimension at most 4 are dependent: there are rationals 𝑐0,…,𝑐4, not all 0, with 𝑐0+𝑐1𝛼+⋯+𝑐4𝛼4=0. Before computing anything, we know that 𝛼 is a root of a nonzero polynomial with rational coefficients and degree at most 4.

To find one, note that the even powers lie in spanℚ(1,6), and look for 𝛼4+𝑎𝛼2+𝑏=0:

49+206+𝑎(5+26)+𝑏=(49+5𝑎+𝑏)+(20+2𝑎)6.

Taking 𝑎=−10 and 𝑏=1 makes both brackets 0, so 𝛼4−10𝛼2+1=0. Making the brackets 0 is sufficient whether or not 1,6 is independent over ℚ. (It is: 𝑎′+𝑏′6=0 with 𝑏′≠0 would make 6 rational.)

Exercise 4.1.33.routine Let 𝐴=(1101). By Proposition 4.1.31, 𝐼2,𝐴,…,𝐴4 satisfy a nontrivial relation. Find a nontrivial relation among 𝐼2,𝐴,𝐴2 alone, and use it to compute 𝐴10.

Solution.

Uses. Proposition 4.1.31 (Every square matrix satisfies a polynomial)

Techniques. Too many vectors force a dependence (Technique 4.1.30)

Hint 1. Compute 𝐴2 and compare it with 𝐴 and 𝐼2.
Hint 2. From 𝐴2=2𝐴−𝐼2, show by induction that 𝐴𝑘=𝑘𝐴−(𝑘−1)𝐼2.
Sketch. 𝐴2=(1201)=2𝐴−𝐼2, so 𝐴2−2𝐴+𝐼2=0. Induction gives 𝐴𝑘=𝑘𝐴−(𝑘−1)𝐼2=(1𝑘01), so 𝐴10=(11001).

We have 𝐴2=(1201)=2𝐴−𝐼2, so 𝐴2−2𝐴+𝐼2=0 is a nontrivial relation. We show 𝐴𝑘=𝑘𝐴−(𝑘−1)𝐼2 for 𝑘≥1 by induction. For 𝑘=1 it reads 𝐴=𝐴. If it holds for 𝑘, then

𝐴𝑘+1=𝐴(𝑘𝐴−(𝑘−1)𝐼2)=𝑘𝐴2−(𝑘−1)𝐴=𝑘(2𝐴−𝐼2)−(𝑘−1)𝐴=(𝑘+1)𝐴−𝑘𝐼2.

Hence 𝐴10=10𝐴−9𝐼2=(11001).

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

|𝑉|=𝑞dim𝑉.

Proof.routine

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)

Hint 1. If 𝑉 is a finite set, find a spanning list directly.
Hint 2. If dim𝑉=𝑛, the coordinate map of a basis is a bijection 𝑉→𝐹𝑛. How many elements does 𝐹𝑛 have?
Sketch. A finite 𝑉 is spanned by the list of all its elements. Conversely, a basis of length 𝑛=dim𝑉 gives a bijection 𝑉→𝐹𝑛 (Proposition 1.6.16), and 𝐹𝑛 has 𝑞𝑛 elements, one for each choice of 𝑛 entries.
If 𝑉 is finite, the list of all elements of 𝑉 spans 𝑉, so 𝑉 is finite-dimensional. Conversely, suppose dim𝑉=𝑛, and let ℬ︀ be a basis of 𝑉. By Proposition 1.6.16, 𝐯↦[𝐯]ℬ︀ is a bijection 𝑉→𝐹𝑛. An element of 𝐹𝑛 is a list of 𝑛 entries, each chosen from 𝑞 elements, so |𝐹𝑛|=𝑞𝑛. Hence 𝑉 is finite and |𝑉|=𝑞𝑛. □

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 𝔽35 has 30 elements, and a subspace of 𝔽27 with 16 elements is 4-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 dim𝑉=𝑛. For 0≤𝑘≤𝑛, the number of linearly independent lists of length 𝑘 in 𝑉 is

𝑁𝑞(𝑛,𝑘)=(𝑞𝑛−1)(𝑞𝑛−𝑞)(𝑞𝑛−𝑞2)⋯(𝑞𝑛−𝑞𝑘−1).

In particular 𝑉 has exactly 𝑁𝑞(𝑛,𝑛) bases.

Proof.standard

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)

Hint 1. An independent list of length 𝑘+1 is an independent list ℒ︀ of length 𝑘 followed by a vector outside span(ℒ︀). How many vectors does span(ℒ︀) have?
Hint 2. ℒ︀ is a basis of span(ℒ︀), so |span(ℒ︀)|=𝑞𝑘 by Proposition 4.1.34. Induct on 𝑘. For bases, use Theorem 4.1.10(b).
Sketch. By Corollary 1.5.17 and Proposition 1.5.14, the independent lists of length 𝑘+1 are the lists ℒ︀,𝐰 with ℒ︀ independent of length 𝑘 and 𝐰∉span(ℒ︀). Since ℒ︀ is a basis of span(ℒ︀), that span has 𝑞𝑘 elements, leaving 𝑞𝑛−𝑞𝑘 choices of 𝐰. Induction on 𝑘 gives the product. The bases are exactly the independent lists of length 𝑛.

Let 𝐼𝑘 be the number of independent lists of length 𝑘 in 𝑉. We show 𝐼𝑘=𝑁𝑞(𝑛,𝑘) by induction on 𝑘. For 𝑘=0, the only list of length 0 is (), which is independent, and 𝑁𝑞(𝑛,0)=1 is the empty product.

Let 0≤𝑘<𝑛. A list ℒ︀,𝐰 of length 𝑘+1 is independent if and only if ℒ︀ is independent and 𝐰∉span(ℒ︀): if it is independent, so is its sublist ℒ︀ (Corollary 1.5.17), and then 𝐰∉span(ℒ︀) by Proposition 1.5.14; the converse is Proposition 1.5.14. For an independent ℒ︀ of length 𝑘, the subspace span(ℒ︀) 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

𝐼𝑘+1=𝐼𝑘(𝑞𝑛−𝑞𝑘)=𝑁𝑞(𝑛,𝑘)(𝑞𝑛−𝑞𝑘)=𝑁𝑞(𝑛,𝑘+1).

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 𝔽2 this gives 3⋅2=6 invertible 2×2 matrices and 7⋅6⋅4=168 invertible 3×3 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 𝔽23 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.

Proposition 4.1.37 (Counting subspaces). Let 𝐹 be a finite field with 𝑞 elements, let dim𝑉=𝑛, and let 0≤𝑘≤𝑛. With 𝑁𝑞 as in Corollary 4.1.35, the number of 𝑘-dimensional subspaces of 𝑉 is

𝑁𝑞𝑛,𝑘𝑁𝑞(𝑘,𝑘)=(𝑞𝑛−1)(𝑞𝑛−𝑞)⋯(𝑞𝑛−𝑞𝑘−1)(𝑞𝑘−1)(𝑞𝑘−𝑞)⋯(𝑞𝑘−𝑞𝑘−1).

Proof.standard

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)

Hint 1. Count the pairs (𝑈,ℒ︀), where 𝑈 is a 𝑘-dimensional subspace of 𝑉 and ℒ︀ is a basis of 𝑈.
Hint 2. Counted by 𝑈 first: each 𝑈 has 𝑁𝑞(𝑘,𝑘) bases. Counted by ℒ︀ first: which lists ℒ︀ occur, and in how many pairs?
Sketch. Let 𝑃 be the set of pairs (𝑈,ℒ︀) with dim𝑈=𝑘 and ℒ︀ a basis of 𝑈. Each 𝑘-dimensional 𝑈 has 𝑁𝑞(𝑘,𝑘) bases (Corollary 4.1.35 applied to 𝑈), so |𝑃|=𝑠⋅𝑁𝑞(𝑘,𝑘), where 𝑠 is the number of subspaces. Each independent list ℒ︀ of length 𝑘 in 𝑉 occurs in exactly one pair, with 𝑈=span(ℒ︀), so |𝑃|=𝑁𝑞(𝑛,𝑘).

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 𝑈=span(ℒ︀) is determined by ℒ︀. Conversely, every independent list ℒ︀ of length 𝑘 in 𝑉 is a basis of the subspace span(ℒ︀) (Theorem 1.6.10), which then has dimension 𝑘, so (span(ℒ︀),ℒ︀)∈𝑃. So the pairs in 𝑃 correspond to the independent lists of length 𝑘 in 𝑉, and |𝑃|=𝑁𝑞(𝑛,𝑘) by Corollary 4.1.35.

Comparing, 𝑠⋅𝑁𝑞(𝑘,𝑘)=𝑁𝑞(𝑛,𝑘). Since 𝑁𝑞(𝑘,𝑘)≥1 (a 𝑘-dimensional space has a basis), we may divide. □

Example 4.1.38 (The subspaces of 𝔽23). For 𝑞=2 and 𝑛=3: the number of 1-dimensional subspaces is 𝑁2(3,1)/𝑁2(1,1)=7/1=7, one for each nonzero vector, since a line over 𝔽2 is {𝟎,𝐯}. The number of 2-dimensional subspaces is

𝑁23,2𝑁2(2,2)=7⋅63⋅2=7.

Each plane has 22=4 elements and contains 3 of the 7 lines. Taking the 7 lines as points and the 7 planes as lines, with “lies in” as incidence, gives the Fano plane of combinatorics.

Exercise 4.1.39.routine (a) Can a vector space over 𝔽5 have exactly 100 elements? (b) How many elements does a 3-dimensional subspace of 𝔽57 have? (c) How many bases does 𝔽32 have?

Solution.

Uses. Proposition 4.1.34 (Size of a vector space over a finite field), Corollary 4.1.35 (Counting independent lists and bases)

Hint 1. By Proposition 4.1.34, a finite vector space over 𝔽5 has 5𝑛 elements for some 𝑛.
Hint 2. For (c), use 𝑁3(2,2)=(32−1)(32−3).
Sketch. (a) No: 100 is not a power of 5. (b) 53=125. (c) (9−1)(9−3)=48.

(a) No. A vector space over 𝔽5 with finitely many elements is finite-dimensional, so it has 5dim𝑉 elements by Proposition 4.1.34, and 100=22⋅52 is not a power of 5.

(b) A 3-dimensional subspace is a 3-dimensional vector space over 𝔽5, so it has 53=125 elements.

(c) By Corollary 4.1.35, 𝔽32 has 𝑁3(2,2)=(9−1)(9−3)=48 bases.

Exercises

Exercise 4.1.40.routine Find a basis and the dimension of each subspace.

  1. (a)𝑈1={𝐱∈𝐹4|𝑥1+𝑥2+𝑥3+𝑥4=0}.
  2. (b)𝑈2={𝑝∈𝐹[𝑥]≤3|𝑝(0)=𝑝(1)=0}.
  3. (c)𝑈3, the upper triangular matrices in 𝐹3×3, those with 𝑎𝑖𝑗=0 whenever 𝑖>𝑗.

Solution.

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)

Hint 1. In each case solve the defining conditions for some of the coordinates and write a general element as a combination of fixed vectors with the remaining coordinates as coefficients.
Hint 2. In (a), 𝑥4=−𝑥1−𝑥2−𝑥3. In (b), 𝑝(0) is the constant term and 𝑝(1) is the sum of the coefficients. In (c), use matrix units.
Sketch. (a) 𝐱=𝑥1(𝐞1−𝐞4)+𝑥2(𝐞2−𝐞4)+𝑥3(𝐞3−𝐞4); dimension 3. (b) 𝑝=𝑎2(𝑥2−𝑥)+𝑎3(𝑥3−𝑥); dimension 2. (c) The six 𝑈𝑖𝑗 with 𝑖≤𝑗; dimension 6.

(a) For 𝐱∈𝑈1 we have 𝑥4=−𝑥1−𝑥2−𝑥3, so

𝐱=𝑥1(𝐞1−𝐞4)+𝑥2(𝐞2−𝐞4)+𝑥3(𝐞3−𝐞4).

The three vectors 𝐞𝑖−𝐞4 lie in 𝑈1, so they span 𝑈1. A combination ∑𝑖=13𝑐𝑖(𝐞𝑖−𝐞4) has first three coordinates 𝑐1,𝑐2,𝑐3, so it is 𝟎 only if all 𝑐𝑖=0. So they form a basis (Proposition 1.6.2), and dim𝑈1=3.

(b) Let 𝑝=𝑎0+𝑎1𝑥+𝑎2𝑥2+𝑎3𝑥3. Then 𝑝(0)=𝑎0 and 𝑝(1)=𝑎0+𝑎1+𝑎2+𝑎3, so 𝑝∈𝑈2 if and only if 𝑎0=0 and 𝑎1=−𝑎2−𝑎3, that is,

𝑝=𝑎2(𝑥2−𝑥)+𝑎3(𝑥3−𝑥).

So 𝑥2−𝑥,𝑥3−𝑥 spans 𝑈2, and it is independent because its entries are nonzero with distinct degrees (Proposition 1.5.24). Hence dim𝑈2=2.

(c) An upper triangular 𝐴 is ∑𝑖≤𝑗𝑎𝑖𝑗𝑈𝑖𝑗, so the six matrix units 𝑈11,𝑈12,𝑈13,𝑈22,𝑈23,𝑈33 span 𝑈3. They are a sublist of the standard basis of 𝐹3×3 (Proposition 1.6.7), hence independent (Corollary 1.5.17). So dim𝑈3=6.

Exercise 4.1.41.routine Let 𝑉 be a vector space with dim𝑉=4. Prove or disprove each statement.

  1. (a)Every list of 5 vectors in 𝑉 spans 𝑉.
  2. (b)Every list of 3 vectors in 𝑉 is linearly independent.
  3. (c)If 𝐯1,…,𝐯4 spans 𝑉, then it is linearly independent.
  4. (d)If 𝑈 and 𝑊 are subspaces of 𝑉 with dim𝑈=dim𝑊, then 𝑈=𝑊.
  5. (e)If 𝑈⊆𝑊 are subspaces of 𝑉 with dim𝑈=dim𝑊, then 𝑈=𝑊.
  6. (f)ℝ2 is a 2-dimensional subspace of ℝ3.

Solution.

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)

Hint 1. Length alone can force a property only in one direction: a list longer than dim𝑉 cannot be independent, and a list shorter than dim𝑉 cannot span. It never forces a list to span or to be independent.
Hint 2. For (d), think of two different lines in a plane. For (e), apply Proposition 4.1.21(b) inside 𝑊. For (f), what are the elements of ℝ2?
Sketch. (a) False: five copies of 𝟎. (b) False: three copies of 𝟎. (c) True by Corollary 4.1.11(b). (d) False: two different 1-dimensional subspaces. (e) True: 𝑈 is a subspace of the vector space 𝑊 of full dimension. (f) False: ℝ2 is not a subset of ℝ3, though {(𝑥,𝑦,0)} is a 2-dimensional subspace.

(a) False. The list 𝟎,𝟎,𝟎,𝟎,𝟎 spans {𝟎}≠𝑉.

(b) False. The list 𝟎,𝟎,𝟎 is dependent (Proposition 1.5.15(c)).

(c) True. A spanning list of length 4=dim𝑉 is a basis by Corollary 4.1.11(b), so it is independent.

(d) False. Let 𝐯1,…,𝐯4 be a basis of 𝑉. Then span(𝐯1) and span(𝐯2) are both 1-dimensional, and they differ, since 𝐯2∉span(𝐯1) 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 dim𝑈=dim𝑊, Proposition 4.1.21(b), applied in 𝑊, gives 𝑈=𝑊.

(f) False. The elements of ℝ2 are pairs and those of ℝ3 are triples, so ℝ2 is not a subset of ℝ3. The subset {(𝑥,𝑦,0)|𝑥,𝑦∈ℝ} is a 2-dimensional subspace of ℝ3, with basis 𝐞1,𝐞2, and it is a copy of ℝ2 in a sense made precise in Section 4.5.

Exercise 4.1.42.routine Let 𝐯1=(0,0,1,2) and 𝐯2=(1,0,2,1). Extend 𝐯1,𝐯2 to a basis of 𝐹4 by sifting the list 𝐯1,𝐯2,𝐞1,𝐞2,𝐞3,𝐞4, first for 𝐹=ℚ and then for 𝐹=𝔽3. Explain why the answers differ.

Solution.

Uses. Theorem 4.1.16 (Extending to a basis), Proposition 1.5.14 (Appending a vector), Theorem 4.1.10 (Independent lists are short)

Hint 1. The span of 𝐯1,𝐯2 consists of the vectors (𝑏,0,𝑎+2𝑏,2𝑎+𝑏). Is 𝐞1 of this form?
Hint 2. For 𝐞1 you need 𝑏=1, 𝑎=−2, and 2𝑎+𝑏=0, that is, −3=0. Which field allows this? Stop sifting as soon as you have 4 vectors.
Sketch. 𝐞1∈span(𝐯1,𝐯2) exactly when 3=0; indeed 𝐯1+𝐯2=(1,0,3,3), which is 𝐞1 in 𝔽34. Over ℚ sifting keeps 𝐞1 and 𝐞2 (all of span(𝐯1,𝐯2,𝐞1) has second coordinate 0). Over 𝔽3 it deletes 𝐞1 and keeps 𝐞2 and 𝐞3.

The vectors 𝐯1,𝐯2 are independent over every field, since 𝑎𝐯1+𝑏𝐯2=(𝑏,0,𝑎+2𝑏,2𝑎+𝑏) is 𝟎 only if 𝑏=0 and then 𝑎=0. Their span consists of the vectors (𝑏,0,𝑎+2𝑏,2𝑎+𝑏).

Is 𝐞1 in the span? We need 𝑏=1, 𝑎+2=0, and 2𝑎+1=0. The second gives 𝑎=−2, and then the third reads −3=0. Over ℚ this is false, so 𝐞1 is kept. Over 𝔽3 it is true, and indeed 𝐯1+𝐯2=(1,0,3,3)=𝐞1 there, so 𝐞1 is deleted.

Over ℚ. The vectors of span(𝐯1,𝐯2,𝐞1) have second coordinate 0, so 𝐞2 is not among them and is kept. Now 𝐯1,𝐯2,𝐞1,𝐞2 is independent (Proposition 1.5.14) of length 4=dimℚ4, so it is a basis (Theorem 4.1.10(b)), and 𝐞3,𝐞4 are deleted.

Over 𝔽3. Again 𝐞2 is kept, because every vector of span(𝐯1,𝐯2) has second coordinate 0. The span of 𝐯1,𝐯2,𝐞2 consists of the vectors (𝑏,𝑑,𝑎+2𝑏,2𝑎+𝑏). For 𝐞3=(0,0,1,0) we would need 𝑏=0, 𝑎=1, and 2𝑎=0, which is false in 𝔽3. So 𝐞3 is kept, and 𝐯1,𝐯2,𝐞2,𝐞3 is a basis of 𝔽34.

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 3=0 in 𝐹.

Exercise 4.1.43.routine Let 𝑛≥1. Show that the trace-zero matrices 𝑈={𝐴∈𝐹𝑛×𝑛|tr𝐴=0} form a subspace of dimension 𝑛2−1, and find a basis of 𝑈.

Solution.

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)

Hint 1. Generalize Example 4.1.22. Which matrix units lie in 𝑈, and which combinations of diagonal ones do?
Hint 2. Use 𝑈𝑖𝑗 for 𝑖≠𝑗 and 𝑈𝑖𝑖−𝑈𝑛𝑛 for 𝑖<𝑛 to get a lower bound, and 𝑈11∉𝑈 for an upper bound.
Sketch. The 𝑛2−𝑛 matrices 𝑈𝑖𝑗 (𝑖≠𝑗) and the 𝑛−1 matrices 𝑈𝑖𝑖−𝑈𝑛𝑛 (𝑖<𝑛) lie in 𝑈 and are independent, since a combination of them has these coefficients as its off-diagonal and first 𝑛−1 diagonal entries. So dim𝑈≥𝑛2−1. Since tr𝑈11=1, 𝑈≠𝐹𝑛×𝑛, so dim𝑈<𝑛2. Hence dim𝑈=𝑛2−1 and the list is a basis.

𝑈 is a subspace by Example 1.4.11. The 𝑛2−𝑛 matrices 𝑈𝑖𝑗 with 𝑖≠𝑗 have trace 0, and so do the 𝑛−1 matrices 𝑈𝑖𝑖−𝑈𝑛𝑛 with 1≤𝑖<𝑛. Consider a combination

𝐴=∑𝑖≠𝑗𝑎𝑖𝑗𝑈𝑖𝑗+∑𝑖=1𝑛−1𝑐𝑖(𝑈𝑖𝑖−𝑈𝑛𝑛).

Its (𝑖,𝑗) entry is 𝑎𝑖𝑗 for 𝑖≠𝑗, its (𝑖,𝑖) entry is 𝑐𝑖 for 𝑖<𝑛, and its (𝑛,𝑛) entry is −(𝑐1+⋯+𝑐𝑛−1). If 𝐴=0, all 𝑎𝑖𝑗 and 𝑐𝑖 are 0. So these 𝑛2−1 matrices form an independent list in 𝑈, and dim𝑈≥𝑛2−1 by Theorem 4.1.10(a), applied in 𝑈. On the other hand, tr𝑈11=1≠0, so 𝑈≠𝐹𝑛×𝑛 and dim𝑈<𝑛2 by Proposition 4.1.21(b). Hence dim𝑈=𝑛2−1, and the independent list above, of length dim𝑈, is a basis of 𝑈 (Theorem 4.1.10(b)). For 𝑛=1 the list is empty and 𝑈={0}.

Exercise 4.1.44.routine Let 𝐴∈𝐹𝑛×𝑛 with 𝐴𝑚=0 for some 𝑚≥1. Show that 𝐼𝑛−𝐴 is invertible with inverse 𝐼𝑛+𝐴+𝐴2+⋯+𝐴𝑛−1, however large 𝑚 is.

Solution.

Uses. Corollary 4.1.27 (A nilpotent operator dies within dim𝑉 steps), Proposition 2.4.14 (Algebra of matrices), Definition 2.5.12 (Invertible)

Hint 1. First replace 𝑚 by 𝑛 using Corollary 4.1.27.
Hint 2. Multiply out (𝐼𝑛−𝐴)(𝐼𝑛+𝐴+⋯+𝐴𝑛−1); the sum telescopes.
Sketch. By Corollary 4.1.27, 𝐴𝑛=0. Then (𝐼𝑛−𝐴)(𝐼𝑛+𝐴+⋯+𝐴𝑛−1)=𝐼𝑛−𝐴𝑛=𝐼𝑛, and the product in the other order telescopes in the same way.

By Corollary 4.1.27, 𝐴𝑛=0. Let 𝐵=𝐼𝑛+𝐴+⋯+𝐴𝑛−1. By distributivity (Proposition 2.4.14),

(𝐼𝑛−𝐴)𝐵=(𝐼𝑛+𝐴+⋯+𝐴𝑛−1)−(𝐴+𝐴2+⋯+𝐴𝑛)=𝐼𝑛−𝐴𝑛=𝐼𝑛,

and in the same way 𝐵(𝐼𝑛−𝐴)=𝐼𝑛−𝐴𝑛=𝐼𝑛, since 𝐴 commutes with its powers. So 𝐵 is a two-sided inverse of 𝐼𝑛−𝐴 (Definition 2.5.12). Exercise 2.5.39 gave the inverse 𝐼𝑛+𝐴+⋯+𝐴𝑚−1; the point here is that the terms from 𝐴𝑛 on are all 0, so at most 𝑛 terms are needed.

Exercise 4.1.45.routine Let 𝑋 be a set, and for 𝑥∈𝑋 let 𝛿𝑥∈𝐹𝑋 be the function with 𝛿𝑥(𝑥)=1 and 𝛿𝑥(𝑦)=0 for 𝑦≠𝑥.

  1. (a)If 𝑋={𝑥1,…,𝑥𝑛} has 𝑛 elements, show that 𝛿𝑥1,…,𝛿𝑥𝑛 is a basis of 𝐹𝑋, so dim𝐹𝑋=𝑛.
  2. (b)If 𝑋 is infinite, show that 𝐹𝑋 is infinite-dimensional.

Solution.

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)

Hint 1. To show that 𝛿𝑥1,…,𝛿𝑥𝑘 is independent for distinct points, evaluate a relation at 𝑥𝑗. Which terms survive?
Hint 2. For spanning in (a), compare 𝑓 with ∑𝑖𝑓(𝑥𝑖)𝛿𝑥𝑖 at each point. For (b), use Corollary 4.1.13.
Sketch. For distinct 𝑥1,…,𝑥𝑘, evaluating ∑𝑎𝑖𝛿𝑥𝑖=0 at 𝑥𝑗 kills every term but the 𝑗-th and gives 𝑎𝑗=0. In (a), 𝑓=∑𝑖𝑓(𝑥𝑖)𝛿𝑥𝑖 because both sides agree at every 𝑥𝑗. In (b), 𝑋 has 𝑘 distinct points for every 𝑘, so 𝐹𝑋 has independent lists of every length.

Let 𝑥1,…,𝑥𝑘∈𝑋 be distinct, and suppose ∑𝑖=1𝑘𝑎𝑖𝛿𝑥𝑖=0, the zero function. Evaluating at 𝑥𝑗, and using that 𝛿𝑥𝑖(𝑥𝑗) is 1 for 𝑖=𝑗 and 0 for 𝑖≠𝑗, gives 𝑎𝑗=0. So 𝛿𝑥1,…,𝛿𝑥𝑘 is independent (Theorem 1.5.5). Evaluation at 𝑥𝑗 is a linear map 𝐹𝑋→𝐹 that kills every 𝛿𝑥𝑖 except 𝛿𝑥𝑗, which is the move of Technique 4.1.25.

(a) For 𝑓∈𝐹𝑋, the function 𝑔=∑𝑖=1𝑛𝑓(𝑥𝑖)𝛿𝑥𝑖 satisfies 𝑔(𝑥𝑗)=𝑓(𝑥𝑗) for every 𝑗, so 𝑔=𝑓. So 𝛿𝑥1,…,𝛿𝑥𝑛 spans 𝐹𝑋, and with the independence above it is a basis (Proposition 1.6.2). Hence dim𝐹𝑋=𝑛. For 𝑋={1,…,𝑛}, these functions are the standard basis vectors of 𝐹𝑛 (Remark 1.2.11).

(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.standard Let 𝑛≥1. In 𝐹𝑛×𝑛, let 𝑆 be the symmetric matrices (𝑎𝑖𝑗=𝑎𝑗𝑖 for all 𝑖,𝑗) and 𝐾 the skew-symmetric matrices (𝑎𝑖𝑗=−𝑎𝑗𝑖 for all 𝑖,𝑗), as in Exercise 1.4.36.

  1. (a)Show that dim𝑆=𝑛(𝑛+1)/2.
  2. (b)Show that dim𝐾=𝑛(𝑛−1)/2 if 1+1≠0 in 𝐹, and dim𝐾=𝑛(𝑛+1)/2 if 1+1=0.

Solution.

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)

Hint 1. A symmetric matrix is determined by its entries on and above the diagonal. Find one matrix in 𝑆 for each such position.
Hint 2. For 𝐾, look at the diagonal: 𝑎𝑖𝑖=−𝑎𝑖𝑖 means (1+1)𝑎𝑖𝑖=0. When 1+1=0, compare the conditions defining 𝑆 and 𝐾.
Sketch. (a) Basis 𝑈𝑖𝑖 (1≤𝑖≤𝑛) and 𝑈𝑖𝑗+𝑈𝑗𝑖 (𝑖<𝑗): 𝑛+𝑛(𝑛−1)/2 matrices. (b) If 1+1≠0, the diagonal of a skew-symmetric matrix is 0, and 𝑈𝑖𝑗−𝑈𝑗𝑖 (𝑖<𝑗) is a basis. If 1+1=0, then −𝑎=𝑎 for all 𝑎, so 𝐾=𝑆.

(a) If 𝐴∈𝑆, then

𝐴=∑𝑖=1𝑛𝑎𝑖𝑖𝑈𝑖𝑖+∑𝑖<𝑗𝑎𝑖𝑗(𝑈𝑖𝑗+𝑈𝑗𝑖),

since both sides have (𝑖,𝑗) entry 𝑎𝑖𝑗 for 𝑖≤𝑗, and (𝑗,𝑖) entry 𝑎𝑖𝑗=𝑎𝑗𝑖 for 𝑖<𝑗. The matrices 𝑈𝑖𝑖 and 𝑈𝑖𝑗+𝑈𝑗𝑖 (𝑖<𝑗) are symmetric, so they span 𝑆. A combination ∑𝑖𝑐𝑖𝑖𝑈𝑖𝑖+∑𝑖<𝑗𝑐𝑖𝑗(𝑈𝑖𝑗+𝑈𝑗𝑖) has (𝑖,𝑗) entry 𝑐𝑖𝑗 for 𝑖≤𝑗, so it is 0 only if all coefficients are 0. So these matrices form a basis of 𝑆, and

dim𝑆=𝑛+𝑛𝑛−12=𝑛𝑛+12.

(b) Suppose 1+1≠0. For 𝐴∈𝐾, 𝑎𝑖𝑖=−𝑎𝑖𝑖 gives (1+1)𝑎𝑖𝑖=0, so 𝑎𝑖𝑖=0 (Proposition 1.1.17). Then 𝐴=∑𝑖<𝑗𝑎𝑖𝑗(𝑈𝑖𝑗−𝑈𝑗𝑖), as both sides have (𝑖,𝑗) entry 𝑎𝑖𝑗 and (𝑗,𝑖) entry −𝑎𝑖𝑗=𝑎𝑗𝑖 for 𝑖<𝑗, and zero diagonal. The matrices 𝑈𝑖𝑗−𝑈𝑗𝑖 lie in 𝐾 and are independent, since a combination of them has (𝑖,𝑗) entry equal to the coefficient of 𝑈𝑖𝑗−𝑈𝑗𝑖 for 𝑖<𝑗. So dim𝐾=𝑛(𝑛−1)/2.

Suppose 1+1=0. Then −1=1, so −𝑎𝑗𝑖=𝑎𝑗𝑖 and the conditions defining 𝐾 and 𝑆 coincide. Hence 𝐾=𝑆 and dim𝐾=𝑛(𝑛+1)/2 by (a).

Exercise 4.1.47.standard A matrix 𝐴∈ℂ𝑛×𝑛 is Hermitian if 𝑎𝑗𝑖=𝑎𝑖𝑗 for all 𝑖,𝑗, where 𝑧 is the complex conjugate of 𝑧 (Definition B.1.1). Let 𝐻 be the set of Hermitian matrices.

  1. (a)Show that 𝐻 is a subspace of ℂ𝑛×𝑛 regarded as a vector space over ℝ, but not a subspace of ℂ𝑛×𝑛 over ℂ.
  2. (b)Show that dimℝ𝐻=𝑛2, while dimℝℂ𝑛×𝑛=2𝑛2.

Solution.

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)

Hint 1. Conjugation satisfies 𝑧+𝑤=𝑧+𝑤 and 𝑡𝑧=𝑡𝑧 for real 𝑡, but 𝑖𝑧=−𝑖𝑧. What does 𝑎𝑖𝑖=𝑎𝑖𝑖 say about diagonal entries?
Hint 2. For (b), a Hermitian matrix is determined by 𝑛 real diagonal entries and the complex entries above the diagonal, each of which carries two real parameters. Find a matrix in 𝐻 for each real parameter.
Sketch. (a) The conditions are preserved by sums and real multiples because conjugation is additive and fixes reals; 𝐼𝑛∈𝐻 but 𝑖𝐼𝑛∉𝐻. (b) Basis over ℝ: 𝑈𝑘𝑘, and for 𝑘<𝑙 both 𝑈𝑘𝑙+𝑈𝑙𝑘 and 𝑖(𝑈𝑘𝑙−𝑈𝑙𝑘): 𝑛+2⋅𝑛(𝑛−1)/2=𝑛2 matrices. And dimℝℂ𝑛×𝑛=2dimℂℂ𝑛×𝑛=2𝑛2.

(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 𝑎11=𝑎11, so 𝑎11 is real.

(b) For 𝑘<𝑙, let 𝑋𝑘𝑙=𝑈𝑘𝑙+𝑈𝑙𝑘 and 𝑌𝑘𝑙=𝑖(𝑈𝑘𝑙−𝑈𝑙𝑘). These are Hermitian: the (𝑘,𝑙) and (𝑙,𝑘) entries are 1,1 and 𝑖,−𝑖, which are conjugate pairs, and the other entries are 0. So are the 𝑈𝑘𝑘. Let 𝐴∈𝐻. Its diagonal entries are real, and for 𝑘<𝑙 write 𝑎𝑘𝑙=𝑥𝑘𝑙+𝑖𝑦𝑘𝑙 with 𝑥𝑘𝑙,𝑦𝑘𝑙∈ℝ, so that 𝑎𝑙𝑘=𝑥𝑘𝑙−𝑖𝑦𝑘𝑙. Then

𝐴=∑𝑘=1𝑛𝑎𝑘𝑘𝑈𝑘𝑘+∑𝑘<𝑙(𝑥𝑘𝑙𝑋𝑘𝑙+𝑦𝑘𝑙𝑌𝑘𝑙),

since both sides have the same (𝑘,𝑘), (𝑘,𝑙), and (𝑙,𝑘) entries. So these matrices span 𝐻 over ℝ. If a real combination ∑𝑘𝑟𝑘𝑈𝑘𝑘+∑𝑘<𝑙(𝑠𝑘𝑙𝑋𝑘𝑙+𝑡𝑘𝑙𝑌𝑘𝑙) is 0, its (𝑘,𝑘) entries give 𝑟𝑘=0, and its (𝑘,𝑙) entry 𝑠𝑘𝑙+𝑖𝑡𝑘𝑙=0 gives 𝑠𝑘𝑙=𝑡𝑘𝑙=0, because 𝑠𝑘𝑙,𝑡𝑘𝑙 are real. So they form a basis of 𝐻 over ℝ, and

dimℝ𝐻=𝑛+2⋅𝑛(𝑛−1)2=𝑛2.

Since dimℂℂ𝑛×𝑛=𝑛2, Example 4.1.7(c) gives dimℝℂ𝑛×𝑛=2𝑛2. So the Hermitian matrices are a real subspace of exactly half the real dimension.

Exercise 4.1.48.standard Find the error in the following argument, and decide whether the claim is true.

Claim. Let ℬ︀=𝐯1,…,𝐯𝑛 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 𝐮=𝑎1𝐯1+⋯+𝑎𝑛𝐯𝑛. Since 𝐮∈𝑈 and 𝑈 is a subspace, each term 𝑎𝑖𝐯𝑖 lies in 𝑈. So 𝑎𝑖=0 whenever 𝐯𝑖∉𝑈, and 𝐮∈span(ℬ︀′). Hence ℬ︀′ spans 𝑈.

Solution.

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)

Hint 1. If a sum lies in a subspace, must its terms?
Hint 2. Try 𝑉=ℝ2 with the standard basis and 𝑈=span((1,1)).
Sketch. The step “each term 𝑎𝑖𝐯𝑖 lies in 𝑈” is wrong: a sum can lie in a subspace without its terms doing so. The claim is false: in ℝ2, no standard basis vector lies in 𝑈=span((1,1)), so ℬ︀′=(), which does not span 𝑈. What is true is the reverse: a basis of 𝑈 extends to a basis of 𝑉 (Theorem 4.1.16).

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 (1,0)+(0,1)∈span((1,1)), while neither term is.

The claim is false. Take 𝑉=ℝ2, ℬ︀=𝐞1,𝐞2, and 𝑈=span((1,1)). Neither 𝐞1 nor 𝐞2 is a multiple of (1,1), 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.standard Let 𝐯1,…,𝐯𝑚 be linearly independent in 𝑉, with 𝑚≥1, and let 𝐰∈𝑉.

  1. (a)Show that 𝐯1−𝐰,…,𝐯𝑚−𝐰 is linearly dependent if and only if 𝐰=𝑡1𝐯1+⋯+𝑡𝑚𝐯𝑚 for some scalars with 𝑡1+⋯+𝑡𝑚=1.
  2. (b)Show that dimspan(𝐯1−𝐰,…,𝐯𝑚−𝐰)≥𝑚−1 in all cases.

Solution.

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)

Hint 1. Rewrite ∑𝑖𝑎𝑖(𝐯𝑖−𝐰)=𝟎 as ∑𝑖𝑎𝑖𝐯𝑖=(∑𝑖𝑎𝑖)𝐰. Split into the cases ∑𝑖𝑎𝑖=0 and ∑𝑖𝑎𝑖≠0.
Hint 2. For (b), the differences (𝐯𝑖−𝐰)−(𝐯𝑚−𝐰) lie in the span. Are they independent?
Sketch. (a) A relation ∑𝑎𝑖(𝐯𝑖−𝐰)=𝟎 says ∑𝑎𝑖𝐯𝑖=𝑠𝐰 with 𝑠=∑𝑎𝑖. If 𝑠=0 the relation is trivial by independence of the 𝐯𝑖; so a nontrivial one has 𝑠≠0 and gives 𝐰=∑(𝑎𝑖/𝑠)𝐯𝑖. Conversely, coefficients 𝑡𝑖 with sum 1 give the nontrivial relation ∑𝑡𝑖(𝐯𝑖−𝐰)=𝐰−𝐰=𝟎. (b) The 𝑚−1 vectors 𝐯𝑖−𝐯𝑚 (𝑖<𝑚) lie in the span and are independent.

(a) For scalars 𝑎1,…,𝑎𝑚 with 𝑠=𝑎1+⋯+𝑎𝑚, Lemma 1.3.9 gives

∑𝑖=1𝑚𝑎𝑖(𝐯𝑖−𝐰)=∑𝑖=1𝑚𝑎𝑖𝐯𝑖−𝑠𝐰.

(⇒) Suppose the 𝑎𝑖 form a nontrivial relation of the list, so ∑𝑖𝑎𝑖𝐯𝑖=𝑠𝐰. If 𝑠=0, then ∑𝑖𝑎𝑖𝐯𝑖=𝟎, and independence forces every 𝑎𝑖=0, which is false. So 𝑠≠0, and 𝐰=∑𝑖(𝑎𝑖/𝑠)𝐯𝑖, where the coefficients 𝑡𝑖=𝑎𝑖/𝑠 satisfy ∑𝑖𝑡𝑖=𝑠/𝑠=1.

(⇐) If 𝐰=∑𝑖𝑡𝑖𝐯𝑖 with ∑𝑖𝑡𝑖=1, then ∑𝑖𝑡𝑖(𝐯𝑖−𝐰)=𝐰−1𝐰=𝟎, and not all 𝑡𝑖 are 0 since they sum to 1. So the list is dependent.

(b) Let 𝑊=span(𝐯1−𝐰,…,𝐯𝑚−𝐰), which is finite-dimensional. If 𝑚=1 there is nothing to prove. For 𝑚≥2 and 𝑖<𝑚, the vector 𝐯𝑖−𝐯𝑚=(𝐯𝑖−𝐰)−(𝐯𝑚−𝐰) lies in 𝑊. These 𝑚−1 vectors are independent: if ∑𝑖<𝑚𝑐𝑖(𝐯𝑖−𝐯𝑚)=𝟎, then ∑𝑖<𝑚𝑐𝑖𝐯𝑖−(∑𝑖<𝑚𝑐𝑖)𝐯𝑚=𝟎, and independence of 𝐯1,…,𝐯𝑚 gives 𝑐𝑖=0 for all 𝑖<𝑚. By Theorem 4.1.10(a), applied in 𝑊, dim𝑊≥𝑚−1.

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.standard Let dim𝑉=𝑛.

  1. (a)Show that if 𝑈0⊊𝑈1⊊⋯⊊𝑈𝑘 are subspaces of 𝑉, then 𝑘≤𝑛.
  2. (b)Show that such a chain with 𝑘=𝑛 exists, and that in every such chain dim𝑈𝑖=𝑖 for all 𝑖. In particular 𝑈0={𝟎} and 𝑈𝑛=𝑉.

Solution.

Uses. Proposition 4.1.21 (Dimensions of subspaces), Corollary 1.5.13 (Independence, one entry at a time), Definition 1.4.1 (Subspace)

Hint 1. Each 𝑈𝑖−1 is a subspace of 𝑈𝑖 and differs from it. What does Proposition 4.1.21(b), applied in 𝑈𝑖, say about their dimensions?
Hint 2. The dimensions form a strictly increasing sequence of integers between 0 and 𝑛. For existence, use the spans of the first 𝑖 vectors of a basis.
Sketch. 𝑈𝑖−1 is a proper subspace of 𝑈𝑖, so dim𝑈𝑖−1<dim𝑈𝑖. Hence dim𝑈𝑖≥dim𝑈0+𝑖≥𝑖, and 𝑘≤dim𝑈𝑘≤𝑛. For a basis 𝐛1,…,𝐛𝑛, the spans 𝑈𝑖=span(𝐛1,…,𝐛𝑖) increase strictly. If 𝑘=𝑛, then 𝑛≥dim𝑈𝑛≥dim𝑈0+𝑛 forces dim𝑈0=0 and equality throughout.

(a) For 1≤𝑖≤𝑘, 𝑈𝑖−1 is a subset of 𝑈𝑖 closed under the operations, so it is a subspace of 𝑈𝑖 (Definition 1.4.1), and 𝑈𝑖−1≠𝑈𝑖. By Proposition 4.1.21, applied in the finite-dimensional space 𝑈𝑖, dim𝑈𝑖−1<dim𝑈𝑖. So the integers dim𝑈0<dim𝑈1<⋯<dim𝑈𝑘 increase strictly, which gives dim𝑈𝑖≥dim𝑈0+𝑖≥𝑖. In particular 𝑘≤dim𝑈𝑘≤𝑛, again by Proposition 4.1.21.

(b) Let 𝐛1,…,𝐛𝑛 be a basis of 𝑉 and 𝑈𝑖=span(𝐛1,…,𝐛𝑖) for 0≤𝑖≤𝑛. Then 𝑈𝑖−1⊆𝑈𝑖, and 𝑈𝑖−1≠𝑈𝑖 because 𝐛𝑖∉𝑈𝑖−1 (Corollary 1.5.13). So this is a chain with 𝑘=𝑛.

Now let 𝑈0⊊⋯⊊𝑈𝑛 be any chain with 𝑘=𝑛. By (a), 𝑛≥dim𝑈𝑛≥dim𝑈0+𝑛, so dim𝑈0=0, and then 𝑖≤dim𝑈𝑖≤dim𝑈𝑛−(𝑛−𝑖)≤𝑖 for every 𝑖, using the strict increase once more. So dim𝑈𝑖=𝑖. In particular 𝑈0={𝟎}, and 𝑈𝑛=𝑉 by Proposition 4.1.21(b).

Exercise 4.1.51.standard Let 𝑛≥0 and let 𝐹 be a field in which 𝑛!=1⋅2⋯𝑛 is nonzero, such as ℚ, ℝ, ℂ, or 𝔽𝑝 with 𝑝>𝑛. Let 𝐷 be the formal derivative on 𝐹[𝑥] (Example 2.1.9).

  1. (a)Let 𝑝∈𝐹[𝑥] have degree 𝑛. Show that 𝑝,𝐷𝑝,𝐷2𝑝,…,𝐷𝑛𝑝 is a basis of 𝐹[𝑥]≤𝑛.
  2. (b)Show that (a) fails for 𝐹=𝔽2, 𝑛=2, and 𝑝=𝑥2.

Solution.

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)

Hint 1. Show that 𝐷𝑗(𝑥𝑘)=𝑘(𝑘−1)⋯(𝑘−𝑗+1)𝑥𝑘−𝑗 for 𝑗≤𝑘, and 𝐷𝑗(𝑥𝑘)=0 for 𝑗>𝑘. What are 𝐷𝑛𝑝 and 𝐷𝑛+1𝑝?
Hint 2. 𝐷𝑛𝑝 is the constant 𝑛!𝑎𝑛, where 𝑎𝑛≠0 is the leading coefficient. Apply Proposition 4.1.26 with 𝑇=𝐷 and 𝑘=𝑛, then count.
Sketch. By induction on 𝑗, 𝐷𝑗𝑥𝑘=𝑘(𝑘−1)⋯(𝑘−𝑗+1)𝑥𝑘−𝑗 for 𝑗≤𝑘, so 𝐷𝑛𝑝=𝑛!𝑎𝑛≠0 and 𝐷𝑛+1𝑝=0. By Proposition 4.1.26 the 𝑛+1 polynomials 𝑝,…,𝐷𝑛𝑝 are independent. They lie in 𝐹[𝑥]≤𝑛, which has dimension 𝑛+1, so they form a basis. Over 𝔽2, 𝐷(𝑥2)=2𝑥=0, and the list 𝑥2,0,0 contains 𝟎.

(a) By Example 2.1.9, 𝐷(𝑥𝑘)=𝑘𝑥𝑘−1 for 𝑘≥1 and 𝐷(1)=0. By induction on 𝑗, 𝐷𝑗(𝑥𝑘)=𝑘(𝑘−1)⋯(𝑘−𝑗+1)𝑥𝑘−𝑗 for 0≤𝑗≤𝑘; in particular 𝐷𝑘(𝑥𝑘)=𝑘! is a constant, and hence 𝐷𝑗(𝑥𝑘)=0 for 𝑗>𝑘.

Write 𝑝=𝑎0+𝑎1𝑥+⋯+𝑎𝑛𝑥𝑛 with 𝑎𝑛≠0. By linearity, 𝐷𝑛𝑝=∑𝑘𝑎𝑘𝐷𝑛(𝑥𝑘)=𝑛!𝑎𝑛, since the terms with 𝑘<𝑛 vanish. This is nonzero, since 𝑛!≠0 and 𝑎𝑛≠0 (Proposition 1.1.17). And 𝐷𝑛+1𝑝=𝐷(𝑛!𝑎𝑛)=0. By Proposition 4.1.26, applied to 𝑇=𝐷∈L(𝐹[𝑥]), 𝐯=𝑝, and 𝑘=𝑛, the list 𝑝,𝐷𝑝,…,𝐷𝑛𝑝 is independent. Each 𝐷𝑗𝑝 has degree at most 𝑛, so the list lies in 𝐹[𝑥]≤𝑛. It has 𝑛+1=dim𝐹[𝑥]≤𝑛 entries, so it is a basis by Theorem 4.1.10(b).

(b) Over 𝔽2, 𝐷(𝑥2)=2𝑥=0, so the list is 𝑥2,0,0. It contains 𝟎, so it is dependent (Proposition 1.5.15(c)). Here 2!=2=0, so the hypothesis fails, and the chain from 𝑥2 reaches 𝟎 after one step instead of two.

Exercise 4.1.52.standard Let dim𝑉=𝑛≥1, and let 𝑇∈L(𝑉) satisfy 𝑇𝑛−1≠0 and 𝑇𝑛=0.

  1. (a)Show that there is 𝐯∈𝑉 such that 𝐯,𝑇𝐯,…,𝑇𝑛−1𝐯 is a basis of 𝑉.
  2. (b)Find the matrix of 𝑇 with respect to the basis ℬ︀=𝑇𝑛−1𝐯,…,𝑇𝐯,𝐯.

Solution.

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)

Hint 1. Since 𝑇𝑛−1≠0, some 𝐯 has 𝑇𝑛−1𝐯≠𝟎. What is 𝑇𝑛𝐯?
Hint 2. For (b), write 𝐛𝑖=𝑇𝑛−𝑖𝐯 and compute 𝑇𝐛𝑖 in terms of the 𝐛’s. The 𝑖-th column of the matrix is [𝑇𝐛𝑖]ℬ︀.
Sketch. (a) Choose 𝐯 with 𝑇𝑛−1𝐯≠𝟎; since 𝑇𝑛𝐯=𝟎, the chain 𝐯,…,𝑇𝑛−1𝐯 is independent (Proposition 4.1.26) of length 𝑛, hence a basis. (b) With 𝐛𝑖=𝑇𝑛−𝑖𝐯: 𝑇𝐛1=𝟎 and 𝑇𝐛𝑖=𝐛𝑖−1 for 𝑖≥2. So the matrix has 1′s just above the diagonal and 0′s elsewhere.

(a) Since 𝑇𝑛−1≠0, there is 𝐯∈𝑉 with 𝑇𝑛−1𝐯≠𝟎, and 𝑇𝑛𝐯=𝟎. By Proposition 4.1.26 with 𝑘=𝑛−1, the list 𝐯,𝑇𝐯,…,𝑇𝑛−1𝐯 is independent. It has 𝑛=dim𝑉 entries, so it is a basis (Theorem 4.1.10(b)).

(b) The list ℬ︀ is a reordering of the basis in (a), so it is a basis. Write 𝐛𝑖=𝑇𝑛−𝑖𝐯 for 1≤𝑖≤𝑛. Then 𝑇𝐛1=𝑇𝑛𝐯=𝟎, and 𝑇𝐛𝑖=𝑇𝑛−𝑖+1𝐯=𝐛𝑖−1 for 2≤𝑖≤𝑛. So [𝑇𝐛1]ℬ︀=𝟎 and, by (1.6.1), [𝑇𝐛𝑖]ℬ︀=𝐞𝑖−1 for 𝑖≥2. These are the columns of [𝑇]ℬ︀ℬ︀ (Definition 2.3.1), so

[𝑇]ℬ︀ℬ︀=(010⋯0001⋯0⋮⋱⋮000⋯1000⋯0),

the matrix with 1 in positions (𝑖,𝑖+1) and 0 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).

Exercise 4.1.53.standard
  1. (a)What fraction of the matrices in 𝔽23×3 are invertible?
  2. (b)Show that for every 𝑛≥1, more than a quarter of the matrices in 𝔽2𝑛×𝑛 are invertible.

Solution.

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)

Hint 1. A matrix is invertible exactly when its columns form a basis (Theorem 3.5.14), so there are 𝑁2(𝑛,𝑛) invertible matrices out of 2𝑛2.
Hint 2. Write the fraction as ∏𝑗=1𝑛(1−2−𝑗). Keep the factor 1/2 and bound the rest with ∏(1−𝑎𝑗)≥1−∑𝑎𝑗 for 0≤𝑎𝑗≤1.
Sketch. (a) 168/512=21/64. (b) The fraction is ∏𝑖=0𝑛−1(2𝑛−2𝑖)/2𝑛=∏𝑗=1𝑛(1−2−𝑗). By induction, ∏(1−𝑎𝑗)≥1−∑𝑎𝑗 when all 𝑎𝑗∈[0,1], so ∏𝑗=2𝑛(1−2−𝑗)≥1−(1/2−2−𝑛)>1/2, and the fraction exceeds 1/4.

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 𝑁2(𝑛,𝑛)=∏𝑖=0𝑛−1(2𝑛−2𝑖) invertible matrices in 𝔽2𝑛×𝑛, out of 2𝑛2 in all (Proposition 4.1.34).

(a) For 𝑛=3: (8−1)(8−2)(8−4)=168, out of 29=512, so the fraction is 168/512=21/64≈0.33.

(b) Dividing each of the 𝑛 factors by 2𝑛,

𝑁2𝑛,𝑛2𝑛2=∏𝑖=0𝑛−1(1−2𝑖−𝑛)=∏𝑗=1𝑛(1−2−𝑗).

First, if 𝑎2,…,𝑎𝑛∈[0,1], then ∏𝑗=2𝑛(1−𝑎𝑗)≥1−∑𝑗=2𝑛𝑎𝑗. This is clear for an empty product, and if 𝑃 is the product of the first factors and 𝑆 their sum, with 𝑃≥1−𝑆, then, since 1−𝑎≥0,

𝑃(1−𝑎)≥(1−𝑆)(1−𝑎)=1−(𝑆+𝑎)+𝑆𝑎≥1−(𝑆+𝑎).

With 𝑎𝑗=2−𝑗 we get ∑𝑗=2𝑛2−𝑗=1/2−2−𝑛<1/2, so

∏𝑗=1𝑛(1−2−𝑗)=12∏𝑗=2𝑛(1−2−𝑗)≥12(12+2−𝑛)>14.

(As 𝑛→∞ the fraction decreases to about 0.289.)

Exercise 4.1.54.standardBeyond 21-242
  1. (a)For 0≤𝑘≤4, find the number of 𝑘-dimensional subspaces of 𝔽24.
  2. (b)Let 𝐹 have 𝑞 elements and dim𝑉=𝑛. Show that 𝑉 has as many 𝑘-dimensional subspaces as (𝑛−𝑘)-dimensional ones.

Solution.

Uses. Proposition 4.1.37 (Counting subspaces), Corollary 4.1.35 (Counting independent lists and bases)

Techniques. Double counting (Technique 4.1.36)

Hint 1. Use Proposition 4.1.37 with 𝑞=2, 𝑛=4.
Hint 2. For (b), factor 𝑞𝑖 out of each factor 𝑞𝑛−𝑞𝑖 in 𝑁𝑞(𝑛,𝑘), and write the count as a ratio of products of factors 𝑞𝑗−1.
Sketch. (a) 1,15,35,15,1, so 67 subspaces in all. (b) 𝑁𝑞(𝑛,𝑘)=𝑞𝑘(𝑘−1)/2∏𝑗=𝑛−𝑘+1𝑛(𝑞𝑗−1), so the count is [𝑛]!/([𝑘]![𝑛−𝑘]!) with [𝑚]!=∏𝑗=1𝑚(𝑞𝑗−1), which is symmetric in 𝑘 and 𝑛−𝑘.

(a) With 𝑞=2 and 𝑛=4, Proposition 4.1.37 gives

𝑘=1:151=15,𝑘=2:15⋅143⋅2=35,𝑘=3:15⋅14⋅127⋅6⋅4=15,

and of course one subspace each of dimensions 0 and 4. So 𝔽24 has 1+15+35+15+1=67 subspaces.

(b) Factoring 𝑞𝑖 out of 𝑞𝑛−𝑞𝑖,

𝑁𝑞(𝑛,𝑘)=∏𝑖=0𝑘−1𝑞𝑖(𝑞𝑛−𝑖−1)=𝑞𝑘(𝑘−1)/2∏𝑗=𝑛−𝑘+1𝑛(𝑞𝑗−1).

For 𝑛=𝑘 this reads 𝑁𝑞(𝑘,𝑘)=𝑞𝑘(𝑘−1)/2∏𝑗=1𝑘(𝑞𝑗−1). Writing [𝑚]!=∏𝑗=1𝑚(𝑞𝑗−1), with [0]!=1, the number of 𝑘-dimensional subspaces is therefore

𝑁𝑞𝑛,𝑘𝑁𝑞(𝑘,𝑘)=∏𝑗=𝑛−𝑘+1𝑛(𝑞𝑗−1)[𝑘]!=[𝑛]![𝑘]! [𝑛−𝑘]!,

since ∏𝑗=𝑛−𝑘+1𝑛(𝑞𝑗−1)=[𝑛]!/[𝑛−𝑘]!. The last expression does not change when 𝑘 is replaced by 𝑛−𝑘. (Duality explains the symmetry: sending 𝑈 to the functionals that vanish on 𝑈 matches the 𝑘-dimensional subspaces of 𝑉 with the (𝑛−𝑘)-dimensional subspaces of the dual space, which has the same dimension as 𝑉 (Section 13.1).)

Exercise 4.1.55.hard Let dim𝑉=𝑛≥1, and let 𝑁∈L(𝑉) satisfy 𝑁𝑛−1≠0 and 𝑁𝑛=0. Show that 𝑆∈L(𝑉) commutes with 𝑁, that is, 𝑆𝑁=𝑁𝑆, if and only if

𝑆=𝑐0id𝑉+𝑐1𝑁+⋯+𝑐𝑛−1𝑁𝑛−1

for some 𝑐0,…,𝑐𝑛−1∈𝐹.

Solution.

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)

Hint 1. By Exercise 4.1.52 there is 𝐯 with 𝐯,𝑁𝐯,…,𝑁𝑛−1𝐯 a basis. Expand 𝑆𝐯 in this basis.
Hint 2. If 𝑆𝐯=∑𝑐𝑖𝑁𝑖𝐯, let 𝑃=∑𝑐𝑖𝑁𝑖. Compare 𝑆 and 𝑃 on each basis vector 𝑁𝑗𝐯, using that both commute with 𝑁𝑗.
Sketch. Polynomials in 𝑁 commute with 𝑁. Conversely, take 𝐯 with 𝐯,…,𝑁𝑛−1𝐯 a basis, write 𝑆𝐯=∑𝑖𝑐𝑖𝑁𝑖𝐯, and let 𝑃=∑𝑖𝑐𝑖𝑁𝑖. Since 𝑆 and 𝑃 commute with 𝑁𝑗, 𝑆𝑁𝑗𝐯=𝑁𝑗𝑆𝐯=𝑁𝑗𝑃𝐯=𝑃𝑁𝑗𝐯. So 𝑆 and 𝑃 agree on a basis, and 𝑆=𝑃.

(⇐) 𝑁 commutes with each power 𝑁𝑖, since 𝑁𝑁𝑖=𝑁𝑖+1=𝑁𝑖𝑁. By the distributive laws of Proposition 2.1.24, 𝑁 commutes with every combination ∑𝑖𝑐𝑖𝑁𝑖.

(⇒) Suppose 𝑆𝑁=𝑁𝑆. By induction on 𝑗, 𝑆𝑁𝑗=𝑁𝑗𝑆 for all 𝑗≥0: if 𝑆𝑁𝑗=𝑁𝑗𝑆, then 𝑆𝑁𝑗+1=(𝑆𝑁)𝑁𝑗=𝑁𝑆𝑁𝑗=𝑁𝑁𝑗𝑆=𝑁𝑗+1𝑆. By Exercise 4.1.52 there is 𝐯∈𝑉 such that 𝐯,𝑁𝐯,…,𝑁𝑛−1𝐯 is a basis of 𝑉. Expand 𝑆𝐯 in it:

𝑆𝐯=𝑐0𝐯+𝑐1𝑁𝐯+⋯+𝑐𝑛−1𝑁𝑛−1𝐯,

and let 𝑃=𝑐0id𝑉+𝑐1𝑁+⋯+𝑐𝑛−1𝑁𝑛−1, so that 𝑆𝐯=𝑃𝐯. For each 𝑗, using that 𝑆 and 𝑃 both commute with 𝑁𝑗,

𝑆(𝑁𝑗𝐯)=𝑁𝑗(𝑆𝐯)=𝑁𝑗(𝑃𝐯)=𝑃(𝑁𝑗𝐯).

So 𝑆 and 𝑃 agree on every vector of a basis of 𝑉, and therefore 𝑆=𝑃 (Corollary 2.2.6).

Without the hypothesis 𝑁𝑛−1≠0 the statement fails: for 𝑛≥2 and 𝑁=0, every 𝑆 commutes with 𝑁, but the combinations of powers of 0 are only the multiples of id𝑉.

Exercise 4.1.56.hard Let 𝑉 be finite-dimensional, and let 𝑇∈L(𝑉) be injective.

  1. (a)Show that 𝑇 is invertible, and that 𝑇−1=𝑏0id𝑉+𝑏1𝑇+⋯+𝑏𝑑𝑇𝑑 for some 𝑑≥0 and scalars 𝑏0,…,𝑏𝑑.
  2. (b)Let 𝑀∈L(𝐹[𝑥]) be multiplication by 𝑥 (Example 2.1.9). Show that 𝑀 is injective but not surjective. Which step of (a) fails for 𝑀?

Solution.

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)

Hint 1. By Proposition 4.1.31 there is a nontrivial relation ∑𝑗=0𝑁𝑐𝑗𝑇𝑗=0. Let 𝑟 be the smallest index with 𝑐𝑟≠0 and factor out 𝑇𝑟.
Hint 2. 𝑇𝑟 is injective, so 𝑇𝑟𝑅=0 forces 𝑅=0. Now 𝑅=𝑐𝑟id𝑉+𝑇𝑄 for a combination 𝑄 of powers of 𝑇. Solve for id𝑉.
Sketch. Take ∑𝑗=𝑟𝑁𝑐𝑗𝑇𝑗=0 with 𝑐𝑟≠0. Then 𝑇𝑟𝑅=0 with 𝑅=∑𝑗≥𝑟𝑐𝑗𝑇𝑗−𝑟, and 𝑇𝑟 is injective, so 𝑅=0. Writing 𝑅=𝑐𝑟id𝑉+𝑇𝑄 gives 𝑇(−𝑐𝑟−1𝑄)=id𝑉, and 𝑄 commutes with 𝑇, so −𝑐𝑟−1𝑄 is a two-sided inverse. For 𝑀: 1∉im𝑀; the step that fails is the existence of a relation among id,𝑀,𝑀2,…, since these are independent (𝑀𝑗(1)=𝑥𝑗).

(a) If 𝑉={𝟎}, then 𝑇=id𝑉 and 𝑇−1=id𝑉. Otherwise 𝑛=dim𝑉≥1, and by Proposition 4.1.31 there are 𝑐0,…,𝑐𝑁 (𝑁=𝑛2), not all 0, with ∑𝑗=0𝑁𝑐𝑗𝑇𝑗=0. Let 𝑟 be the smallest index with 𝑐𝑟≠0, and let

𝑅=𝑐𝑟id𝑉+𝑐𝑟+1𝑇+⋯+𝑐𝑁𝑇𝑁−𝑟,

so that ∑𝑗=𝑟𝑁𝑐𝑗𝑇𝑗=𝑇𝑟𝑅 by Proposition 2.1.24. Thus 𝑇𝑟𝑅=0. The map 𝑇𝑟 is injective, as a composite of injective maps. For every 𝐮∈𝑉, 𝑇𝑟(𝑅𝐮)=𝟎=𝑇𝑟(𝟎), so 𝑅𝐮=𝟎. Hence 𝑅=0. Let 𝑄=𝑐𝑟+1id𝑉+𝑐𝑟+2𝑇+⋯+𝑐𝑁𝑇𝑁−𝑟−1 (an empty sum is 0), so that 𝑅=𝑐𝑟id𝑉+𝑇𝑄, and let 𝑆=−𝑐𝑟−1𝑄. Then 𝑅=0 gives

𝑇𝑆=−𝑐𝑟−1𝑇𝑄=−𝑐𝑟−1(𝑅−𝑐𝑟id𝑉)=id𝑉.

Since 𝑆 is a combination of powers of 𝑇, it commutes with 𝑇, so 𝑆𝑇=𝑇𝑆=id𝑉 as well. So 𝑇 is invertible (Definition 2.5.12), and 𝑇−1=𝑆 is a combination of id𝑉,𝑇,…,𝑇𝑁−𝑟−1.

(b) If 𝑥𝑝=0, then every coefficient of 𝑝, which is a coefficient of 𝑥𝑝 shifted by one place, is 0; so 𝑀 is injective. Every 𝑥𝑝 has constant coefficient 0, so 1∉im𝑀, and 𝑀 is not surjective. The argument of (a) fails at its first step: there is no nontrivial relation ∑𝑗𝑐𝑗𝑀𝑗=0, because applying it to 1 gives ∑𝑗𝑐𝑗𝑥𝑗=0, which forces all 𝑐𝑗=0. The space L(𝐹[𝑥]) 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.hard Let 𝐴1,…,𝐴𝑛+1 be nonempty subsets of {1,…,𝑛}. Show that there are disjoint nonempty sets 𝐼,𝐽⊆{1,…,𝑛+1} with

⋃𝑖∈𝐼𝐴𝑖=⋃𝑗∈𝐽𝐴𝑗.

Solution.

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)

Hint 1. Encode 𝐴𝑖 as the vector 𝐱𝑖∈ℝ𝑛 whose 𝑡-th entry is 1 if 𝑡∈𝐴𝑖 and 0 otherwise. There are 𝑛+1 of these.
Hint 2. Take a nontrivial relation and move the terms with negative coefficients to the other side. When is the 𝑡-th entry of a combination of the 𝐱𝑖 with positive coefficients positive?
Sketch. The 𝑛+1 indicator vectors in ℝ𝑛 are dependent. Split a nontrivial relation as ∑𝑖∈𝐼𝑐𝑖𝐱𝑖=∑𝑗∈𝐽𝑑𝑗𝐱𝑗 with all 𝑐𝑖,𝑑𝑗>0, where 𝐼 and 𝐽 are the indices with positive and negative coefficients. Both are nonempty, since a positive combination of nonzero vectors with entries ≥0 is nonzero. The 𝑡-th entry of the left side is positive exactly when 𝑡∈⋃𝐼𝐴𝑖, and likewise on the right.

For each 𝑖, let 𝐱𝑖∈ℝ𝑛 have 𝑡-th entry 1 if 𝑡∈𝐴𝑖 and 0 otherwise; 𝐱𝑖≠𝟎 since 𝐴𝑖≠∅. These are 𝑛+1 vectors in ℝ𝑛, and dimℝ𝑛=𝑛, so they are dependent (Theorem 4.1.10(a)): there are real 𝑎1,…,𝑎𝑛+1, not all 0, with ∑𝑖𝑎𝑖𝐱𝑖=𝟎. Let 𝐼={𝑖|𝑎𝑖>0} and 𝐽={𝑗|𝑎𝑗<0}, 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 0 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 𝑦𝑡>0, and hence equal to each other.

It remains to see that 𝐼 and 𝐽 are nonempty. Not all 𝑎𝑖 are 0, so 𝐼∪𝐽≠∅; say 𝐼≠∅. Pick 𝑖0∈𝐼 and 𝑡∈𝐴𝑖0. Then 𝑦𝑡≥𝑎𝑖0>0, so 𝐲≠𝟎, and the right side, an empty sum if 𝐽=∅, would be 𝟎. So 𝐽≠∅. The case 𝐽≠∅ is symmetric.

Exercise 4.1.58.hard Show that for every field 𝐹 and every 𝑛≥1, the space 𝐹𝑛×𝑛 has a basis consisting of invertible matrices. Write one down for 𝔽22×2.

Solution.

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)

Hint 1. It is enough to show that the invertible matrices span 𝐹𝑛×𝑛, since a spanning list contains a basis. Write each matrix unit as a difference of two invertible matrices.
Hint 2. For 𝑖≠𝑗, 𝑈𝑖𝑗=(𝐼+𝑈𝑖𝑗)−𝐼. For 𝑈𝑖𝑖, pick 𝑗≠𝑖 and let 𝑃=𝐸𝑖𝑗 be the swap. Show 𝑃+𝑈𝑖𝑖=𝑃(𝐼+𝑈𝑗𝑖).
Sketch. For 𝑛=1 take (1). For 𝑛≥2: if 𝑖≠𝑗 then (𝐼+𝑈𝑖𝑗)(𝐼−𝑈𝑖𝑗)=𝐼 because 𝑈𝑖𝑗2=0, so 𝑈𝑖𝑗=(𝐼+𝑈𝑖𝑗)−𝐼 is a difference of invertibles. For 𝑈𝑖𝑖, take 𝑗≠𝑖 and the swap 𝑃=𝐸𝑖𝑗; then 𝑃𝑈𝑖𝑖=𝑈𝑗𝑖, so 𝑃+𝑈𝑖𝑖=𝑃(𝐼+𝑈𝑗𝑖) is invertible and 𝑈𝑖𝑖=(𝑃+𝑈𝑖𝑖)−𝑃. So finitely many invertible matrices span, and a basis can be extracted from them. Over 𝔽2: 𝐼2, 𝐼2+𝑈12, 𝐼2+𝑈21, (1110).

For 𝑛=1, the matrix (1) is an invertible basis of 𝐹1×1. Let 𝑛≥2, and write 𝐼=𝐼𝑛. By Lemma 2.4.24, 𝑈𝑖𝑗𝑈𝑘𝑙=𝑈𝑖𝑙 if 𝑗=𝑘 and 0 otherwise.

Off-diagonal units. For 𝑖≠𝑗, 𝑈𝑖𝑗2=0, so (𝐼+𝑈𝑖𝑗)(𝐼−𝑈𝑖𝑗)=𝐼−𝑈𝑖𝑗2=𝐼 and likewise (𝐼−𝑈𝑖𝑗)(𝐼+𝑈𝑖𝑗)=𝐼. So 𝐼+𝑈𝑖𝑗 is invertible, and 𝑈𝑖𝑗=(𝐼+𝑈𝑖𝑗)−𝐼.

Diagonal units. Fix 𝑖 and choose 𝑗≠𝑖. Let 𝑃=𝐸𝑖𝑗 be the elementary matrix that swaps rows 𝑖 and 𝑗 (Definition 3.2.2); it is invertible with 𝑃−1=𝑃 (Proposition 3.2.10). Its 𝑖-th column is 𝐞𝑗, so 𝑃𝑈𝑖𝑖=𝑃𝐞𝑖𝐞𝑖𝖳=𝐞𝑗𝐞𝑖𝖳=𝑈𝑗𝑖. Hence

𝑃(𝐼+𝑈𝑗𝑖)=𝑃+𝑃𝑈𝑗𝑖=𝑃+𝑃(𝑃𝑈𝑖𝑖)=𝑃+𝑈𝑖𝑖.

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 𝔽22×2, take

𝐼2=(1001),(1101),(1011),(1110).

Each is invertible: the first three are 𝐼2 and 𝐼2+𝑈12, 𝐼2+𝑈21, and the last is 𝐸12+𝑈11. A combination 𝑎𝐼2+𝑏(𝐼2+𝑈12)+𝑐(𝐼2+𝑈21)+𝑑(𝐸12+𝑈11) has (1,1) entry 𝑎+𝑏+𝑐+𝑑 and (2,2) entry 𝑎+𝑏+𝑐, so if it is 0 then 𝑑=0; its (1,2) and (2,1) entries are then 𝑏 and 𝑐, so 𝑏=𝑐=0, and finally 𝑎=0. Four independent vectors in the 4-dimensional space 𝔽22×2 form a basis (Theorem 4.1.10(b)).

Exercise 4.1.59.hard Let ℬ︀=𝐛1,…,𝐛𝑛 and 𝒞︀=𝐜1,…,𝐜𝑛 be bases of 𝑉, and fix 𝑖. Show that there is an index 𝑗 such that both of the following are bases of 𝑉:

  1. (a)ℬ︀ with 𝐛𝑖 replaced by 𝐜𝑗;
  2. (b)𝒞︀ with 𝐜𝑗 replaced by 𝐛𝑖.

Solution.

Uses. Exercise 1.5.33, Proposition 1.6.19 (Coordinates respect linear combinations), Definition 1.6.14 (Coordinates)

Hint 1. By Exercise 1.5.33, replacing 𝐛𝑖 by 𝐰 gives a basis exactly when the 𝑖-th ℬ︀-coordinate of 𝐰 is nonzero. Express both conditions (a) and (b) by coordinates.
Hint 2. Let 𝛽𝑗 be the 𝑗-th 𝒞︀-coordinate of 𝐛𝑖 and 𝛾𝑗 the 𝑖-th ℬ︀-coordinate of 𝐜𝑗. Take the 𝑖-th ℬ︀-coordinate of both sides of 𝐛𝑖=∑𝑗𝛽𝑗𝐜𝑗.
Sketch. By Exercise 1.5.33, (a) holds iff 𝛾𝑗≠0 and (b) holds iff 𝛽𝑗≠0, where 𝐛𝑖=∑𝑗𝛽𝑗𝐜𝑗 and 𝛾𝑗 is the 𝑖-th ℬ︀-coordinate of 𝐜𝑗. Taking 𝑖-th ℬ︀-coordinates of 𝐛𝑖=∑𝑗𝛽𝑗𝐜𝑗 gives 1=∑𝑗𝛽𝑗𝛾𝑗, so some 𝛽𝑗𝛾𝑗≠0.

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 𝛾𝑗≠0.

In the same way, with the roles of the bases exchanged, write [𝐛𝑖]𝒞︀=(𝛽1,…,𝛽𝑛), that is, 𝐛𝑖=∑𝑗𝛽𝑗𝐜𝑗. Then (b) holds for 𝑗 if and only if 𝛽𝑗≠0.

Take the 𝑖-th ℬ︀-coordinate of both sides of 𝐛𝑖=∑𝑗𝛽𝑗𝐜𝑗. On the left it is 1, since [𝐛𝑖]ℬ︀=𝐞𝑖. On the right, by Proposition 1.6.19(c), it is ∑𝑗𝛽𝑗𝛾𝑗. So ∑𝑗=1𝑛𝛽𝑗𝛾𝑗=1≠0, and some term 𝛽𝑗𝛾𝑗 is nonzero. For that 𝑗, both 𝛽𝑗≠0 and 𝛾𝑗≠0, so (a) and (b) both hold.

Exercise 4.1.60.challenge Let 𝐹 be a field of characteristic 0 (Definition 1.1.28), such as ℚ, ℝ, or ℂ, and let 𝐴,𝐵∈𝐹𝑛×𝑛 satisfy 𝐴𝐵−𝐵𝐴=𝐴. Show that 𝐴𝑛=0.

Solution.

Uses. Corollary 4.1.27 (A nilpotent operator dies within dim𝑉 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)

Hint 1. Let 𝜑:𝐹𝑛×𝑛→𝐹𝑛×𝑛, 𝜑(𝑋)=𝑋𝐵−𝐵𝑋. Show that 𝜑 is linear and that 𝜑(𝐴𝑘)=𝑘𝐴𝑘 for all 𝑘≥1.
Hint 2. Suppose 𝐴1,…,𝐴𝑁 are all nonzero, with 𝑁=𝑛2+1. Show they are independent: to isolate the coefficient of 𝐴𝑚 in a relation, apply the composite of the maps 𝜑−𝑗id for 𝑗≠𝑚.
Hint 3. So some 𝐴𝑘 with 𝑘≤𝑛2+1 is 0. Finish with Corollary 4.1.27.
Sketch. 𝜑(𝑋)=𝑋𝐵−𝐵𝑋 is linear, and 𝜑(𝐴𝑘+1)=𝐴𝜑(𝐴𝑘)+𝜑(𝐴)𝐴𝑘 gives 𝜑(𝐴𝑘)=𝑘𝐴𝑘. If 𝐴,…,𝐴𝑁 (𝑁=𝑛2+1) were all nonzero, applying ∏𝑗≠𝑚(𝜑−𝑗id) to a relation ∑𝑐𝑘𝐴𝑘=0 would leave 𝑐𝑚∏𝑗≠𝑚(𝑚−𝑗)𝐴𝑚=0, and ∏𝑗≠𝑚(𝑚−𝑗) is a nonzero integer, nonzero in 𝐹. So 𝑐𝑚=0 for all 𝑚, and 𝑁>𝑛2 independent matrices is impossible. Hence 𝐴 is nilpotent, and 𝐴𝑛=0.

Let 𝜑:𝐹𝑛×𝑛→𝐹𝑛×𝑛 be 𝜑(𝑋)=𝑋𝐵−𝐵𝑋. It is linear, since (𝑋+𝑐𝑌)𝐵−𝐵(𝑋+𝑐𝑌)=(𝑋𝐵−𝐵𝑋)+𝑐(𝑌𝐵−𝐵𝑌). We show 𝜑(𝐴𝑘)=𝑘𝐴𝑘 for 𝑘≥1 by induction. For 𝑘=1 this is the hypothesis. If it holds for 𝑘, then

𝜑(𝐴𝑘+1)=𝐴𝐴𝑘𝐵−𝐵𝐴𝐴𝑘=𝐴(𝐴𝑘𝐵−𝐵𝐴𝑘)+(𝐴𝐵−𝐵𝐴)𝐴𝑘=𝐴(𝑘𝐴𝑘)+𝐴𝐴𝑘=(𝑘+1)𝐴𝑘+1.

For an integer 𝑗, let 𝐿𝑗=𝜑−𝑗id, a linear map on 𝐹𝑛×𝑛; here 𝑗 stands for 𝑗⋅1∈𝐹. Then 𝐿𝑗(𝐴𝑘)=(𝑘−𝑗)𝐴𝑘, and therefore 𝐿𝑗(𝑐𝐴𝑘)=𝑐(𝑘−𝑗)𝐴𝑘 for every scalar 𝑐.

Let 𝑁=𝑛2+1, and suppose, to the contrary, that 𝐴𝑘≠0 for 𝑘=1,…,𝑁. We show that 𝐴,𝐴2,…,𝐴𝑁 is independent. Let ∑𝑘=1𝑁𝑐𝑘𝐴𝑘=0, and fix 𝑚∈{1,…,𝑁}. Apply the composite 𝐿=𝐿1⋯𝐿𝑚−1𝐿𝑚+1⋯𝐿𝑁, which is linear (Proposition 2.1.17). Applying the factors one at a time,

𝐿(𝐴𝑘)=(∏𝑗≠𝑚(𝑘−𝑗))𝐴𝑘,

which is 0 for 𝑘≠𝑚, because the product contains the factor 𝑘−𝑘=0. So applying 𝐿 to the relation leaves

𝑐𝑚(∏𝑗≠𝑚(𝑚−𝑗))𝐴𝑚=0.

The product is a product of nonzero integers, hence a nonzero integer, and in a field of characteristic 0 a nonzero integer is a nonzero element. Since 𝐴𝑚≠0, Proposition 1.2.35 gives 𝑐𝑚=0. As 𝑚 was arbitrary, the relation is trivial, and 𝐴,…,𝐴𝑁 is an independent list of 𝑛2+1 vectors in 𝐹𝑛×𝑛, contradicting Theorem 4.1.10(a).

So 𝐴𝑘=0 for some 𝑘 with 1≤𝑘≤𝑛2+1, and Corollary 4.1.27 gives 𝐴𝑛=0.

The hypothesis on 𝐹 is needed. Over 𝔽3, the matrices

𝐴=(010001100),𝐵=(000010002)

satisfy 𝐴𝐵−𝐵𝐴=𝐴 (check it), while 𝐴3=𝐼3. In the proof, the integers 1,2,3,… are no longer distinct in 𝔽3, so 𝜑 cannot tell the powers of 𝐴 apart.

More practice

The practice bank has 35 exercises on this section’s topics.