Books
Theme
Text size
Width

[ and ] go to the previous and next page.

A linear map can be handled at four levels: as a map, through its values on a basis, through a matrix, or through the entries of that matrix. Once bases are fixed, all four carry the same information (Section 2.3.6), so most proofs in this chapter begin by choosing a level, and the choice decides how long the proof is. This section sorts the chapter’s proofs by the question they answer, compares the levels on examples from the chapter, and says when a tool is the wrong one. The exercises at the end practice one move at a time, and the problem set (Problems for Chapter 2) mixes them.

2.8.1Showing that a map is linear, or building one

There are three moves, and they answer different questions.

  • Check the definition. Expand 𝑇(𝑎𝐮+𝐯) and regroup, as in (iii) of Theorem 2.1.3. This verifies a map that is given by a formula, and it is the default for formulas in coordinates or coefficients (Example 2.1.7, Example 2.1.9).
  • Assemble the map from sums, scalar multiples, and composites of maps already known to be linear (Technique 2.1.26). This transfers linearity without computing, but it only covers the operations of L(𝑉,𝑊). A pointwise product of two linear maps, such as 𝑥↦𝑥⋅𝑥, is not covered, and neither is an inverse function, whose linearity needed its own argument (Proposition 2.7.7).
  • Define the map on a basis and extend it (Technique 2.2.4). This creates a map with prescribed behaviour, and linearity is free. It does not show that a given formula is linear: to identify a given map with the one built on the basis, we have to evaluate the given map at a general vector, which is the first move again. The exception is a formula that already has the form (2.2.1), as for the maps of 𝐹[𝑥] that move each coefficient to a fixed place (Proposition 2.2.20).

Constructions go wrong at the choices. A map defined by choosing a value for each vector separately is usually not linear (Non-example 2.7.10), and values prescribed on a spanning list must respect its linear relations (Proposition 2.2.11, Exercise 2.2.24, Exercise 2.2.26). Choices made on a basis are always safe. To show that a map is not linear, the tests 𝑇(𝟎) and 𝑇(2𝐯) catch most formulas, but not over 𝔽2, where 2=0 and every function that fixes 𝟎 is homogeneous. There, test additivity (Exercise 2.1.15(d), Exercise 2.8.5).

Example 2.8.1 (One map, three routes). The reflection 𝑆ℓ across a line ℓ through 𝟎 appeared three times in the chapter. In Example 2.1.11 it came with a coordinate formula, obtained from the double angle formulas, and the formula has the shape of Example 2.1.7, so 𝑆ℓ is linear by the first move. In Example 2.1.27(a) we noticed that 𝑆ℓ=2Prℓ−idℝ2, which proves linearity with no trigonometry, once Prℓ is known to be linear. In Example 2.2.3, for the line 𝑦=𝑥, we chose 𝐛1=(1,1) on the line and 𝐛2=(1,−1) across it, and defined 𝑆 by 𝑆(𝐛1)=𝐛1 and 𝑆(𝐛2)=−𝐛2. Linearity came for free, the formula 𝑆(𝑥,𝑦)=(𝑦,𝑥) came out of (2.2.1), and identities such as 𝑆2=id became one-line checks on the basis (Example 2.2.8).

The formula verifies a map that is already given, assembly transfers linearity from maps we trust, and the basis creates a map from a description of what it should do. The last route has a cost: the basis must exist and must be found. Over 𝔽2 the vectors (1,1) and (1,−1) coincide, and the construction of Example 2.2.3 breaks down, although (𝑥,𝑦)↦(𝑦,𝑥) is still linear there.

Practice: Exercise 2.8.5 and Exercise 2.8.7.

2.8.2Showing that two maps or two matrices are equal

For linear maps, the default is to compare them on a basis, or on any spanning list (Technique 2.2.7, Corollary 2.2.6); on 𝐹[𝑥] the monomials play the role of the basis (Proposition 2.2.20). Matrices can be compared entry by entry, column by column (𝐴=𝐵 as soon as 𝐴𝐞𝑗=𝐵𝐞𝑗 for every 𝑗, by Lemma 2.4.24(b)), or through their maps (𝐴=𝐵 as soon as 𝑇𝐴=𝑇𝐵, by Proposition 2.3.17). Two maps are also equal when their matrices in one pair of bases are (Theorem 2.3.20(a)). Often the shortest route compares no values at all and derives the identity from identities already known, with the algebra of Proposition 2.1.24 and Proposition 2.4.14.

Before checking on a basis, check two things. Both sides must be linear in the vector being tested. An identity between sums and composites of linear maps is, but a condition such as “𝑇(𝐯)∈span(𝐯)” is not, and it can hold on a basis without holding everywhere (Exercise 2.2.25). And the list must be a basis over the field at hand: (1,1),(1,−1) is a basis of 𝐹2 only when 1+1≠0 (Exercise 2.3.31).

Example 2.8.2 (𝑆2=id, three ways). Let ℓ be the line 𝑦=2𝑥 in ℝ2 and 𝑆=𝑆ℓ, whose standard matrix is 15(−3443) (Example 2.3.19).

Entries. 125(−3443)2=125(9+16−12+12−12+1216+9)=𝐼2. This settles one line; for a general line the same computation needs cos2𝜃+sin2𝜃=1 again.

On an adapted basis. With 𝐮1=(1,2) on ℓ and 𝐮2=(−2,1) across it, 𝑆(𝐮1)=𝐮1 and 𝑆(𝐮2)=−𝐮2 (Example 2.3.23). So 𝑆2 fixes both basis vectors, and 𝑆2=id by Corollary 2.2.6. This explains the identity: reflecting twice flips the perpendicular direction twice.

By algebra. 𝑆=2𝑃−id with 𝑃=Prℓ and 𝑃2=𝑃 (Exercise 2.1.42), so by Proposition 2.1.24,

𝑆2=4𝑃2−4𝑃+id=id.

This uses no basis and no coordinates, and it proves more: (2𝑃−id)2=id for every operator 𝑃 with 𝑃2=𝑃, on every vector space over every field.

Each route is the wrong one somewhere. The entries do not show why the identity holds, the adapted basis must be found first, and the algebra needs the right identity to start from. When no convenient identity is at hand, as for 𝐷𝑀−𝑀𝐷=id on 𝐹[𝑥], the computation has to be done, and the monomials are the natural place to do it (Exercise 2.4.51); the product rule gives another proof, but it is a fact about products of polynomials, which is more than the identity needs.

Practice: Exercise 2.8.6 and Exercise 2.8.8.

2.8.3Proving a matrix identity

The chapter proved its matrix identities in four ways, and many identities admit more than one.

  • Translate to maps (Technique 2.3.27). If both sides are built from products, sums, and scalar multiples, read them as composites and use a fact about maps. Associativity and distributivity came this way (first proof of Proposition 2.4.14), and all the work went into the dictionary, Theorem 2.4.2. The translation does not see entries, which depend on the bases while maps do not. So it does not reach the transpose, which needs more structure to mean anything for a map (Section 13.1).
  • Compute entry by entry (Technique 2.4.15). This is the tool for statements about entries: transposes (Proposition 2.4.23), traces (Proposition 2.4.28), triangular shapes (Proposition 2.4.36). It is mechanical, and it uses only the ring laws of the entries, which is why it also proves associativity for block matrices, whose entries do not commute (second proof of Proposition 2.4.14).
  • Use a view of the product (Proposition 2.4.8). Statements about the columns or rows of a product take one line in the right view: right multiplication recombines columns (Exercise 2.4.11), and left multiplication by a diagonal matrix scales rows (Example 2.4.10).
  • Split into blocks (Technique 2.4.35). This exploits zero blocks and identity blocks, and it sets up induction on the size.

When the identity is linear in one of the matrices, Technique 2.2.7 on the matrix units is a fifth option, as in the second proof of Proposition 2.4.28.

Example 2.8.3 (Strictly upper triangular matrices are nilpotent, three ways). Let 𝑁∈𝐹𝑛×𝑛 be strictly upper triangular, 𝑁𝑖𝑗=0 whenever 𝑖≥𝑗. We show 𝑁𝑛=0.

Maps. Let 𝑉𝑘=span(𝐞1,…,𝐞𝑘), with 𝑉0={𝟎}. Column 𝑗 of 𝑁 is zero from row 𝑗 down, so 𝑁𝐞𝑗∈𝑉𝑗−1. Hence 𝑁 maps 𝑉𝑘 into 𝑉𝑘−1 (Proposition 2.1.16), 𝑁𝑘 maps 𝑉𝑘 into 𝑉0, and 𝑁𝑛 kills 𝐹𝑛=𝑉𝑛. This is Exercise 2.2.36 for 𝑇𝑁.

Entries. We claim (𝑁𝑘)𝑖𝑗=0 whenever 𝑗−𝑖<𝑘. For 𝑘=1 this is the hypothesis. If it holds for 𝑘, then a term of

(𝑁𝑘+1)𝑖𝑗=∑𝑙=1𝑛(𝑁𝑘)𝑖𝑙𝑁𝑙𝑗

can be nonzero only if 𝑙−𝑖≥𝑘 and 𝑗−𝑙≥1, so only if 𝑗−𝑖≥𝑘+1. For 𝑘=𝑛, every pair has 𝑗−𝑖≤𝑛−1<𝑛.

Blocks. We induct on 𝑛; for 𝑛=1, 𝑁=0. For 𝑛≥2, write 𝑁=(0𝐫𝖳𝟎𝑁′) with 𝐫∈𝐹𝑛−1 and 𝑁′ strictly upper triangular of size 𝑛−1. Block multiplication and induction on 𝑘 give 𝑁𝑘=(0𝐫𝖳𝑁′𝑘−1𝟎𝑁′𝑘), and by the induction hypothesis 𝑁′𝑛−1=0, so 𝑁𝑛=0.

The map proof explains the result: each application of 𝑁 pushes vectors one step down the chain 𝑉𝑛⊇⋯⊇𝑉0, so 𝑁𝑘 maps 𝑉𝑗 into 𝑉𝑗−𝑘, which is exactly the band of zeros (𝑁𝑘)𝑖𝑗=0 for 𝑗−𝑖<𝑘 that the entrywise proof computes. In the form of Exercise 2.2.36 it needs no particular basis: any basis in which each vector is sent into the span of the earlier ones will do, while the entrywise proof needs the matrix already in triangular shape. The entrywise proof, in turn, is the most mechanical, and needs no subspaces at all. For 𝑛≥2 the shift 𝑁=∑𝑖<𝑛𝐞𝑖𝐞𝑖+1𝖳 has (𝑁𝑛−1)1𝑛=1, so the bound 𝑛 cannot be lowered. The block proof is the longest here, but it is the template for every later induction on the size of a triangular matrix (Proposition 2.4.36).

Practice: Exercise 2.8.9 and Exercise 2.8.12.

2.8.4Proving injectivity, surjectivity, or invertibility

The chapter collected certificates for each property.

The kernel test is usually the shortest, but it proves injectivity and nothing else. Nothing in this chapter turns injectivity into surjectivity. For square matrices that is a theorem of the next chapter (Theorem 3.5.23), for operators on finite-dimensional spaces it is Corollary 4.2.18, and on 𝐹[𝑥] it is false (Example 2.6.4(e)).

Example 2.8.4 (One operator, four certificates). Let 𝑇=id+𝐷 on 𝐹[𝑥], over any field, where 𝐷 is differentiation.

The kernel test. For 𝑝≠𝟎 the degrees of 𝑝 and 𝐷(𝑝) differ, so 𝑇(𝑝) has the degree of 𝑝 and is nonzero (Example 2.6.13(a)). So 𝑇 is injective, and that is all this argument gives.

Values on a basis. On 𝐹[𝑥]≤2, 𝑇 sends 1,𝑥,𝑥2 to 1,1+𝑥,2𝑥+𝑥2. Their span contains 1, then 𝑥=(1+𝑥)−1, then 𝑥2=(2𝑥+𝑥2)−2𝑥, so it is 𝐹[𝑥]≤2. Together with the kernel test, Proposition 2.6.22 shows that 𝑇 is bijective on 𝐹[𝑥]≤2, and the same works on each 𝐹[𝑥]≤𝑛. Since every polynomial lies in some 𝐹[𝑥]≤𝑛, which 𝑇 maps onto itself, 𝑇 is surjective on 𝐹[𝑥] as well. This reaches 𝐹[𝑥] only through its finite pieces, and it gives no formula for the inverse.

A guessed inverse. The series 1/(1+𝑡)=1−𝑡+𝑡2−⋯ suggests 𝑆=id−𝐷+𝐷2−⋯. On a polynomial of degree at most 𝑑 the series stops, since 𝐷𝑑+1(𝑝)=𝟎 (Example 2.1.19(a)). So set 𝑆(𝑝)=∑𝑘=0𝑑(−1)𝑘𝐷𝑘(𝑝) for any 𝑑≥deg𝑝. The extra terms are 𝟎, so the choice of 𝑑 does not matter, and 𝑆 agrees on each 𝐹[𝑥]≤𝑑 with the linear map ∑𝑘≤𝑑(−1)𝑘𝐷𝑘, so 𝑆 is linear. For deg𝑝≤𝑑 the sum telescopes:

𝑇(𝑆(𝑝))=∑𝑘=0𝑑(−1)𝑘𝐷𝑘(𝑝)+∑𝑘=0𝑑(−1)𝑘𝐷𝑘+1(𝑝)=𝑝+(−1)𝑑𝐷𝑑+1(𝑝)=𝑝,

and 𝑆(𝑇(𝑝))=𝑝 in the same way, since 𝑇(𝑝) also has degree at most 𝑑. By Technique 2.5.16, 𝑇 is invertible on all of 𝐹[𝑥], with 𝑇−1=id−𝐷+𝐷2−⋯.

A matrix. In the basis 1,𝑥,𝑥2 of 𝐹[𝑥]≤2, the matrix of 𝑇 is upper triangular with every diagonal entry equal to 1, and back substitution solves every system (Example 2.7.17).

The kernel test cannot finish on 𝐹[𝑥], and the basis argument needs pieces 𝐹[𝑥]≤𝑛 that 𝑇 maps into themselves. The guessed inverse works on all of 𝐹[𝑥] at once and gives a formula. The heuristic behind it is not a proof. The same guess for id+𝑀, with 𝑀 multiplication by 𝑥, gives id−𝑀+𝑀2−⋯, which never stops; id+𝑀 does not map any 𝐹[𝑥]≤𝑛 into itself either, and indeed it is injective but not surjective: every value (1+𝑥)𝑞 vanishes at −1, and the constant 1 does not (Example 2.6.29). The series becomes a proof when it terminates.

Practice: Exercise 2.8.10 and Exercise 2.8.15.

2.8.5Proving that conditions are equivalent

The chapter’s equivalence theorems use each shape of Technique 2.7.1. Theorem 2.1.3 is a cycle: (i) ⇒ (iii) ⇒ (ii) are choices of special values, and (ii) ⇒ (i) is an induction on the length of a combination. Theorem 2.7.2 and Theorem 2.7.4 are hubs: the three spokes and the arrow (V) ⇒ (I) are earlier results read in the right language (Remark 2.7.3), and one arrow, the construction of a one-sided inverse, needs an idea. Theorem 2.7.8 inherits the equivalence of (I)–(IV) from the first two, since each of these conditions is the conjunction of the corresponding conditions there, and only (V) needs an argument of its own. Corollary 2.7.16 carries all three from 𝐹𝑛 to spaces with bases by composing with coordinate maps.

Two decisions shape such a proof. The first is where to spend the construction. Arrows out of a condition that hands us an object, such as a left inverse, are short (Proposition 2.5.4). Arrows into it are the hard ones, so they should start from whichever equivalent condition makes the construction easiest. For a left inverse that is (III) of Theorem 2.7.2, since independent columns can be completed to a basis. For a right inverse it is (II) of Theorem 2.7.4, since the solutions of 𝐴𝐱=𝐞𝑖 are exactly the values the construction needs. The second decision is to check connectivity. Two separately proved groups of equivalent statements say nothing about each other (Exercise 2.7.21), and no arrow may use the theorem it belongs to. Practice: Exercise 2.8.11.

2.8.6Reading the chapter’s proofs

Definitions that are theorems in disguise. The products 𝐴𝐱 and 𝐴𝐵 were not chosen. Each was derived from a statement we wanted to be true, Theorem 2.3.9 and Theorem 2.4.2, and shown to be the only choice that makes it true (Proposition 2.3.10, Proposition 2.4.3). So the entry formula ∑𝑘𝑎𝑖𝑘𝑏𝑘𝑗 is a consequence, not a convention to memorize, and every algebraic law of the product is a law of composition seen through coordinates. Associativity is the clearest case. The composite of three functions does not depend on how they are grouped, for trivial reasons, so (𝐴𝐵)𝐶=𝐴(𝐵𝐶) as soon as the dictionary is in place (first proof of Proposition 2.4.14). The failures come from composition too: 𝐴𝐵≠𝐵𝐴 and zero divisors are already visible for maps of the plane (Example 2.1.19, Exercise 2.1.40). The entrywise proof of associativity looks more elementary, but its reach is different: it uses only the ring laws of the entries, so it covers block matrices, where no single linear map is in sight (Section 2.4.8).

Uniqueness first, then existence. The proof of Theorem 2.2.1 assumed that a linear map with the given values exists and computed what it had to be. That proved uniqueness and produced the only candidate, which was then checked. The same move found the inverse of a bijective linear map, which can only be the inverse function (Proposition 2.7.7), and it compared a left and a right inverse through the single expression 𝑆𝑙𝑇𝑆𝑟 (Theorem 2.5.10).

Well-definedness. A definition that refers to a choice must not depend on it. When values are prescribed on a spanning list, a vector may have several representations, and the first proof of Proposition 2.2.11 checks that any two give the same value: two representations differ by a linear relation, and the hypothesis says that the prescribed values respect it. Skipping this check is the error in Exercise 2.2.24.

Which hypothesis was used where. Remark 2.2.2 and Remark 2.6.23 record which half of “basis” each argument used, and the record tells us how far a result extends: spanning alone gives uniqueness of a map and the surjectivity test, and independence alone gives existence on the span. In the same way, Proposition 2.4.30 uses 𝑛∗1≠0 at exactly one step, and over 𝔽𝑝 with 𝑝 dividing 𝑛 that step fails (Remark 2.4.31).

Forced and free. A left inverse of 𝑇 is forced on the image of 𝑇 and free off it. That is why an injective map that is not surjective has many left inverses, and why two different left inverses rule out a right inverse (Corollary 2.5.11, Remark 2.7.11). Counting the free choices counts the one-sided inverses (Problem 2.3).

2.8.7Common errors

Most of these appear in the chapter as find-the-error exercises.

  • Commuting factors. In general 𝐴𝐵≠𝐵𝐴 (Example 2.4.18), so (𝐴+𝐵)2≠𝐴2+2𝐴𝐵+𝐵2 (Exercise 2.4.17) and (𝐴𝐵)2≠𝐴2𝐵2 (Exercise 2.4.44(c)). Inside a trace, a product may be rotated but not rearranged (Exercise 2.4.32).
  • Cancelling. 𝐴𝐵=𝐴𝐶 gives 𝐵=𝐶 when 𝐴 is left-invertible (Corollary 2.5.6), but not in general (Example 2.4.19), and 𝐴𝐵=0 does not force 𝐴=0 or 𝐵=0 (Exercise 2.4.20). The idempotent version, 𝑃(𝑃−id)=0 hence 𝑃∈{0,id}, is Exercise 2.1.41, and cancelling on the side where no inverse exists is Exercise 2.8.15.
  • Inverting or transposing a product. (𝐴𝐵)−1=𝐵−1𝐴−1 and (𝐴𝐵)𝖳=𝐵𝖳𝐴𝖳, in reversed order (Exercise 2.8.14, Exercise 2.4.48).
  • One side for two. A one-sided inverse need not be an inverse: 𝐴𝐵=𝐼𝑚 does not give 𝐵𝐴=𝐼𝑛 (Exercise 2.5.34), and on ℚ[𝑥], 𝐷𝐽=id while 𝐽𝐷≠id (Example 2.5.24).
  • Injective for surjective. For operators on 𝐹[𝑥] neither implies the other: multiplication by 𝑥 is injective but not surjective, and its left inverse 𝐿 of Exercise 2.5.41 is surjective but not injective (Example 2.6.4(e), Exercise 2.6.37(e)). For square matrices the implication is a theorem that this chapter does not have (Theorem 3.5.23).
  • Swapped bases. [𝑇]𝒞︀ℬ︀ takes ℬ︀-coordinates to 𝒞︀-coordinates, so [id]ℰ︀ℬ︀ converts ℬ︀-coordinates into standard ones and not the other way (Exercise 2.3.30). In a product of matrices of maps, the inner subscripts must match (Exercise 2.8.13, Problem 2.2).
  • Tests that are not tests. A list that is a basis over one field need not be one over another (Exercise 2.3.31); a condition that is not linear in the vector cannot be checked on a basis (Exercise 2.2.25); and nonzero values on a basis do not make a map injective (Exercise 2.6.40).
  • Values on a dependent list. They must respect every relation of the list (Exercise 2.2.24, Exercise 2.2.26).
  • Integer multiples for all scalars. Additivity gives 𝑇(𝑛𝐯)=𝑛𝑇(𝐯) for integers 𝑛, not for all scalars (Exercise 2.1.35).
  • Partial equivalences and partial inverses. Equivalences proved inside two groups of conditions do not connect the groups (Exercise 2.7.21), and an inverse defined on the image of 𝑇 only is not a left inverse of 𝑇 (Exercise 2.7.24).
  • The kernel test without linearity. On ℝ, 𝑥↦𝑥2 sends only 0 to 0 and is not injective; for maps that are homogeneous but not additive the test fails as well (Problem 2.1).

Exercises

Exercise 2.8.5.routine Decide which of the following maps are linear, and give the shortest argument you can.

  1. (a)𝐹𝑛×𝑛→𝐹𝑛×𝑛, 𝑋↦𝐴𝑋𝐵−𝑋𝖳, where 𝐴,𝐵∈𝐹𝑛×𝑛 are fixed.
  2. (b)𝐹[𝑥]→𝐹[𝑥], 𝑝↦𝑝(𝑥+1)−2𝑝+𝑝(𝑥−1).
  3. (c)𝐹𝑛×𝑛→𝐹, 𝑋↦tr(𝑋2), where 𝑛≥1. (The answer depends on 𝐹.)

Solution.

Uses. Proposition 2.4.14 (Algebra of matrices), Proposition 2.4.22 (Transpose is a linear involution), Proposition 2.1.23 (L(𝑉,𝑊) is a vector space), Proposition 2.1.17 (Compositions of linear maps are linear), Exercise 2.1.32, Definition 2.4.26 (Trace), Lemma 2.4.24 (Matrix units)

Techniques. Assemble linear maps from linear pieces (Technique 2.1.26), Try small cases and small fields (Technique 1.2.38)

Hint 1. (a) and (b) are built from maps you already know to be linear. For (c), the formula is a product of entries, which suggests testing homogeneity with a scalar 𝑐. Which scalars satisfy 𝑐2=𝑐?
Hint 2. For (c) over 𝔽2, expand tr(𝑋2)=∑𝑖∑𝑘𝑥𝑖𝑘𝑥𝑘𝑖 and pair the term for (𝑖,𝑘) with the term for (𝑘,𝑖).
Sketch. (a) A difference of the composite 𝑋↦𝐴𝑋↦𝐴𝑋𝐵 and the transpose, all linear. (b) 𝐶𝑥+1−2id+𝐶𝑥−1, with the substitution maps of Exercise 2.1.32. (c) Over 𝔽2, the off-diagonal terms of tr(𝑋2) cancel in pairs and 𝑥𝑖𝑖2=𝑥𝑖𝑖, so tr(𝑋2)=tr𝑋, which is linear. Over any other field pick 𝑐∉{0,1}; then tr((𝑐𝐞1𝐞1𝖳)2)=𝑐2≠𝑐.

(a) Linear. The maps 𝑋↦𝐴𝑋 and 𝑋↦𝑋𝐵 are linear by Proposition 2.4.14(c) and (d), so their composite 𝑋↦𝐴𝑋𝐵 is linear (Proposition 2.1.17). The transpose is linear by Proposition 2.4.22, and a difference of linear maps is linear (Proposition 2.1.23).

(b) Linear. For 𝑞∈𝐹[𝑥], the substitution 𝐶𝑞:𝑝↦𝑝(𝑞) is linear (Exercise 2.1.32), so the map is 𝐶𝑥+1−2id𝐹[𝑥]+𝐶𝑥−1, a combination of linear maps.

(c) Write 𝜑(𝑋)=tr(𝑋2). By the entry formula,

𝜑(𝑋)=∑𝑖=1𝑛(𝑋2)𝑖𝑖=∑𝑖=1𝑛∑𝑘=1𝑛𝑥𝑖𝑘𝑥𝑘𝑖=∑𝑖=1𝑛𝑥𝑖𝑖2+∑𝑖<𝑘(𝑥𝑖𝑘𝑥𝑘𝑖+𝑥𝑘𝑖𝑥𝑖𝑘).

Over 𝔽2. Each pair in the last sum is (1+1)𝑥𝑖𝑘𝑥𝑘𝑖=0, and 𝑐2=𝑐 for both elements 𝑐 of 𝔽2. So 𝜑(𝑋)=∑𝑖𝑥𝑖𝑖=tr𝑋, and 𝜑 is linear by Proposition 2.4.27.

Over any other field. 𝐹 has an element 𝑐 with 𝑐≠0 and 𝑐≠1. Let 𝑋=𝐞1𝐞1𝖳, the matrix unit with a single 1 in position (1,1), so 𝑋2=𝑋 by Lemma 2.4.24(c). Then 𝜑(𝑐𝑋)=tr(𝑐2𝑋2)=𝑐2, while 𝑐𝜑(𝑋)=𝑐. Since 𝑐2−𝑐=𝑐(𝑐−1)≠0, 𝜑 is not homogeneous, so it is not linear.

Over 𝔽2 the squares collapse, since 𝑐2=𝑐 for both scalars, and the cross terms cancel in pairs; a product of two different inputs, such as (𝑥,𝑦)↦𝑥𝑦, is still not linear there (Exercise 2.1.15(d)). So the rule of thumb in Technique 2.1.26, that a product of inputs is a candidate for a counterexample, has exceptions over small fields, which is a reason to test them separately (Technique 1.2.38).

Exercise 2.8.6.standard Let 𝑈𝑖𝑗=𝐞𝑖𝐞𝑗𝖳∈𝐹𝑛×𝑛 be the matrix units.

  1. (a)Show that ∑𝑖=1𝑛∑𝑗=1𝑛𝑈𝑖𝑗𝐴𝑈𝑗𝑖=(tr𝐴)𝐼𝑛 for every 𝐴∈𝐹𝑛×𝑛, twice: by checking on the matrix units, and entry by entry.
  2. (b)Suppose 𝐴 commutes with every matrix in 𝐹𝑛×𝑛. Show that (𝑛∗1)𝐴=(tr𝐴)𝐼𝑛. Deduce that if 𝑛∗1≠0 in 𝐹, the matrices that commute with every matrix are exactly the scalar multiples of 𝐼𝑛.

Solution.

Uses. Lemma 2.4.24 (Matrix units), Proposition 2.4.27 (The trace is linear), Proposition 2.4.14 (Algebra of matrices), Corollary 2.2.6 (Agreeing on a spanning list)

Techniques. Check it on a basis (Technique 2.2.7), Compute entry by entry (Technique 2.4.15)

Hint 1. Both sides of (a) are linear functions of 𝐴. By Lemma 2.4.24(c), 𝑈𝑖𝑗𝑈𝑘𝑙=𝛿𝑗𝑘𝑈𝑖𝑙.
Hint 2. Entry by entry: 𝑈𝑖𝑗𝐴𝑈𝑗𝑖=𝐞𝑖(𝐞𝑗𝖳𝐴𝐞𝑗)𝐞𝑖𝖳, and the middle factor is a scalar. For (b), move 𝐴 to the right in each term.
Sketch. (a) On units: 𝑈𝑖𝑗𝑈𝑘𝑙𝑈𝑗𝑖=𝛿𝑗𝑘𝛿𝑙𝑗𝑈𝑖𝑖, which sums to 𝛿𝑘𝑙𝐼𝑛=(tr𝑈𝑘𝑙)𝐼𝑛; both sides are linear in 𝐴 and the units form a basis. Entrywise: 𝑈𝑖𝑗𝐴𝑈𝑗𝑖=𝑎𝑗𝑗𝑈𝑖𝑖, which sums to (∑𝑗𝑎𝑗𝑗)(∑𝑖𝑈𝑖𝑖)=(tr𝐴)𝐼𝑛. (b) If 𝐴 commutes with 𝑈𝑖𝑗, the term is 𝑈𝑖𝑗𝑈𝑗𝑖𝐴=𝑈𝑖𝑖𝐴, and the sum is 𝑛 copies of 𝐼𝑛𝐴.

(a) On the matrix units. The map 𝐴↦∑𝑖,𝑗𝑈𝑖𝑗𝐴𝑈𝑗𝑖 is a sum of maps 𝐴↦𝑈𝑖𝑗𝐴𝑈𝑗𝑖, each linear by Proposition 2.4.14(c) and (d), and 𝐴↦(tr𝐴)𝐼𝑛 is linear by Proposition 2.4.27. The matrix units form a basis of 𝐹𝑛×𝑛 (Lemma 2.4.24(a)), so by Corollary 2.2.6 it suffices to take 𝐴=𝑈𝑘𝑙. By Lemma 2.4.24(c), applied twice,

𝑈𝑖𝑗𝑈𝑘𝑙𝑈𝑗𝑖=𝛿𝑗𝑘𝑈𝑖𝑙𝑈𝑗𝑖=𝛿𝑗𝑘𝛿𝑙𝑗𝑈𝑖𝑖.

Summing over 𝑗 leaves only 𝑗=𝑘, with the factor 𝛿𝑙𝑘, and summing over 𝑖 then gives 𝛿𝑘𝑙∑𝑖𝑈𝑖𝑖=𝛿𝑘𝑙𝐼𝑛. On the other side, tr𝑈𝑘𝑙=𝛿𝑘𝑙. The two sides agree.

Entry by entry. By associativity and Lemma 2.4.24(b),

𝑈𝑖𝑗𝐴𝑈𝑗𝑖=𝐞𝑖(𝐞𝑗𝖳𝐴𝐞𝑗)𝐞𝑖𝖳=𝑎𝑗𝑗𝑈𝑖𝑖.

So the sum is ∑𝑖∑𝑗𝑎𝑗𝑗𝑈𝑖𝑖=(∑𝑗𝑎𝑗𝑗)(∑𝑖𝑈𝑖𝑖)=(tr𝐴)𝐼𝑛.

The second proof is shorter here, because each term collapses to a single entry of 𝐴. The first uses nothing but the multiplication table of the matrix units, and it is the version to use when the terms do not collapse so visibly.

(b) If 𝐴 commutes with every matrix, then 𝑈𝑖𝑗𝐴𝑈𝑗𝑖=𝑈𝑖𝑗𝑈𝑗𝑖𝐴=𝑈𝑖𝑖𝐴, since 𝑈𝑖𝑗𝑈𝑗𝑖=𝛿𝑗𝑗𝑈𝑖𝑖=𝑈𝑖𝑖. By (a),

(tr𝐴)𝐼𝑛=∑𝑗=1𝑛∑𝑖=1𝑛𝑈𝑖𝑖𝐴=∑𝑗=1𝑛𝐼𝑛𝐴=(𝑛∗1)𝐴.

If 𝑛∗1≠0, then 𝐴=(𝑛∗1)−1(tr𝐴)𝐼𝑛 is a scalar multiple of 𝐼𝑛. Conversely 𝑐𝐼𝑛 commutes with every matrix, since (𝑐𝐼𝑛)𝑋=𝑐𝑋=𝑋(𝑐𝐼𝑛) by Proposition 2.4.14(b) and (d).

Exercise 2.8.7.standard In ℚ4, let 𝐾=span((1,1,0,0),(0,0,1,1)) and 𝐿=span((1,0,1,0),(0,1,0,1)).

  1. (a)Construct 𝑇∈L(ℚ4) with ker𝑇=𝐾 and im𝑇=𝐿, and give its standard matrix.
  2. (b)Show that no 𝑇∈L(ℚ4) with ker𝑇=𝐾 and im𝑇=𝐿 satisfies 𝑇2=𝑇.

Solution.

Uses. Theorem 2.2.1 (Linear maps are determined by a basis), Proposition 2.1.16 (Linear maps preserve spans and linear relations), Definition 2.6.5 (Kernel), Definition 2.6.6 (Image), Proposition 2.3.17 (Every linear map 𝐹𝑛→𝐹𝑚 is some 𝑇𝐴)

Techniques. Construct a map by choosing it on a basis (Technique 2.2.4), Test injectivity at 𝟎 (Technique 2.6.12)

Hint 1. Complete (1,1,0,0),(0,0,1,1) to a basis of ℚ4 with two standard basis vectors. Send the first two vectors to 𝟎 and the other two to the spanning vectors of 𝐿.
Hint 2. For (b), look for a nonzero vector in 𝐾∩𝐿. What does 𝑇2=𝑇 do to a vector that is both a value of 𝑇 and in ker𝑇?
Sketch. (a) 𝐤1=(1,1,0,0), 𝐤2=(0,0,1,1), 𝐞1, 𝐞3 is a basis; let 𝑇 kill 𝐤1,𝐤2 and send 𝐞1,𝐞3 to 𝐥1=(1,0,1,0), 𝐥2=(0,1,0,1). Then 𝑇(𝑥)=(𝑥1−𝑥2)𝐥1+(𝑥3−𝑥4)𝐥2, a vector is killed exactly when its coefficients on 𝐞1 and 𝐞3 vanish, so ker𝑇=𝐾, and im𝑇=span(𝐥1,𝐥2)=𝐿. (b) 𝐮=(1,1,1,1)=𝐤1+𝐤2=𝐥1+𝐥2. If 𝐮=𝑇(𝐰) and 𝑇2=𝑇, then 𝐮=𝑇(𝑇(𝐰))=𝑇(𝐮)=𝟎.

(a) Let 𝐤1=(1,1,0,0), 𝐤2=(0,0,1,1), 𝐥1=(1,0,1,0), and 𝐥2=(0,1,0,1). The list 𝐤1,𝐤2,𝐞1,𝐞3 is a basis of ℚ4: the equation

(𝑥1,𝑥2,𝑥3,𝑥4)=𝑎𝐤1+𝑏𝐤2+𝑐𝐞1+𝑑𝐞3=(𝑎+𝑐,𝑎,𝑏+𝑑,𝑏)

has exactly one solution, 𝑎=𝑥2, 𝑏=𝑥4, 𝑐=𝑥1−𝑥2, 𝑑=𝑥3−𝑥4. By Theorem 2.2.1 there is a linear map 𝑇 with

𝑇(𝐤1)=𝑇(𝐤2)=𝟎,𝑇(𝐞1)=𝐥1,𝑇(𝐞3)=𝐥2,

and (2.2.1) gives

𝑇(𝑥1,𝑥2,𝑥3,𝑥4)=(𝑥1−𝑥2)𝐥1+(𝑥3−𝑥4)𝐥2=(𝑥1−𝑥2,𝑥3−𝑥4,𝑥1−𝑥2,𝑥3−𝑥4).

Kernel. 𝑇 kills 𝐤1 and 𝐤2, so it kills 𝐾. Conversely, if 𝑇(𝐯)=𝟎 for 𝐯=𝑎𝐤1+𝑏𝐤2+𝑐𝐞1+𝑑𝐞3, then 𝑐𝐥1+𝑑𝐥2=(𝑐,𝑑,𝑐,𝑑)=𝟎, so 𝑐=𝑑=0 and 𝐯∈𝐾.

Image. By Proposition 2.1.16, im𝑇 is spanned by the values on the basis, 𝟎,𝟎,𝐥1,𝐥2, so im𝑇=𝐿.

The standard matrix has the columns 𝑇(𝐞𝑗):

[𝑇]ℰ︀ℰ︀=(1−100001−11−100001−1).

(b) The vector 𝐮=(1,1,1,1) is 𝐤1+𝐤2∈𝐾 and 𝐥1+𝐥2∈𝐿. Let 𝑇 have kernel 𝐾 and image 𝐿, and suppose 𝑇2=𝑇. Since 𝐮∈im𝑇, 𝐮=𝑇(𝐰) for some 𝐰, and then

𝐮=𝑇(𝐰)=𝑇(𝑇(𝐰))=𝑇(𝐮)=𝟎,

because 𝐮∈ker𝑇. This is a contradiction. The construction in (a) needed nothing about how 𝐾 and 𝐿 sit relative to each other, but an operator with 𝑇2=𝑇 fixes its image pointwise, so its kernel and image can share only 𝟎.

Exercise 2.8.8.standard Let 𝑝 be a prime and 𝐷 differentiation on 𝔽𝑝[𝑥].

  1. (a)Show that 𝐷𝑝=0.
  2. (b)Let 𝑛≥1, and let 𝑁 be the matrix of 𝐷 on 𝔽𝑝[𝑥]≤𝑛 with respect to 1,𝑥,…,𝑥𝑛. Show that 𝑁𝑝=0 without multiplying matrices. Show also that over ℚ the corresponding matrix satisfies 𝑁𝑛≠0.
  3. (c)Show that id+𝐷 is invertible on 𝔽𝑝[𝑥], with inverse (id+𝐷)𝑝−1. You may use the binomial theorem for commuting operators, which has the same proof as for numbers, and that 𝑝 divides (𝑝𝑘) for 0<𝑘<𝑝.

Solution.

Uses. Example 2.1.9 (Maps of polynomials), Proposition 2.2.20 (Linear maps out of 𝐹[𝑥]), Notation 2.4.16 (Powers of a matrix), Theorem 2.3.20 (Linear maps correspond to matrices), Proposition 2.1.24 (Algebra of composition)

Techniques. Check it on a basis (Technique 2.2.7), Translate between maps and matrices (Technique 2.3.27)

Hint 1. 𝐷𝑝 is linear, so it is enough to compute 𝐷𝑝(𝑥𝑘). Show by induction on 𝑗 that 𝐷𝑗(𝑥𝑘)=𝑘(𝑘−1)⋯(𝑘−𝑗+1)𝑥𝑘−𝑗 for 𝑗≤𝑘, and 𝐷𝑗(𝑥𝑘)=𝟎 for 𝑗>𝑘.
Hint 2. Among 𝑝 consecutive integers, one is divisible by 𝑝. For (b), translate 𝐷𝑝=0 into a statement about matrices with Notation 2.4.16. For (c), expand (id+𝐷)𝑝.
Sketch. (a) For 𝑘<𝑝, 𝐷𝑝(𝑥𝑘)=𝟎 because 𝐷 kills constants; for 𝑘≥𝑝, 𝐷𝑝(𝑥𝑘)=𝑘(𝑘−1)⋯(𝑘−𝑝+1)𝑥𝑘−𝑝, and the integer coefficient is a product of 𝑝 consecutive integers, hence divisible by 𝑝. So 𝐷𝑝 vanishes on the monomials. (b) 𝐷 maps 𝔽𝑝[𝑥]≤𝑛 into itself, and 𝑁𝑝 is the matrix of the restriction of 𝐷𝑝, which is 0. Over ℚ, 𝐷𝑛(𝑥𝑛)=𝑛!≠0. (c) (id+𝐷)𝑝=id+𝐷𝑝=id, so (id+𝐷)𝑝−1 is a two-sided inverse.

(a) By Example 2.1.9, 𝐷(𝑥𝑘)=(𝑘∗1)𝑥𝑘−1 for 𝑘≥1 and 𝐷(1)=𝟎. By induction on 𝑗,

𝐷𝑗(𝑥𝑘)=(𝑘(𝑘−1)⋯(𝑘−𝑗+1)∗1)𝑥𝑘−𝑗(𝑗≤𝑘),𝐷𝑗(𝑥𝑘)=𝟎(𝑗>𝑘):

one more application of 𝐷 multiplies by the current exponent 𝑘−𝑗 and lowers it by one, and once the constant 𝐷𝑘(𝑥𝑘)=𝑘!∗1 is reached, the next application gives 𝟎. Now take 𝑗=𝑝. If 𝑘<𝑝, then 𝐷𝑝(𝑥𝑘)=𝟎. If 𝑘≥𝑝, the integer 𝑘(𝑘−1)⋯(𝑘−𝑝+1) is a product of 𝑝 consecutive integers, one of which is divisible by 𝑝, so its image in 𝔽𝑝 is 0 and 𝐷𝑝(𝑥𝑘)=𝟎. So the linear map 𝐷𝑝 agrees with 0 on every monomial, and 𝐷𝑝=0 by the uniqueness in Proposition 2.2.20.

(b) 𝐷 lowers degrees, so it maps 𝑉=𝔽𝑝[𝑥]≤𝑛 into itself; call the restriction 𝐷𝑉. Then 𝐷𝑉𝑝 is the restriction of 𝐷𝑝=0, so 𝐷𝑉𝑝=0. By Notation 2.4.16, 𝑁𝑝=[𝐷𝑉𝑝]ℬ︀ℬ︀=[0]ℬ︀ℬ︀=0, where ℬ︀=1,𝑥,…,𝑥𝑛.

Over ℚ, the computation in (a) gives 𝐷𝑛(𝑥𝑛)=𝑛!≠0, so 𝐷𝑉𝑛≠0, and its matrix 𝑁𝑛 is not 0 by Theorem 2.3.20. (In both cases 𝑁𝑛+1=0, since 𝐷𝑉𝑛+1 kills every polynomial of degree at most 𝑛.) So over 𝔽𝑝 with 𝑝≤𝑛, the matrix 𝑁 dies earlier than the size forces it to.

(c) The operators id and 𝐷 commute, so the binomial theorem gives

(id+𝐷)𝑝=∑𝑘=0𝑝(𝑝𝑘)𝐷𝑘=id+𝐷𝑝=id,

because the coefficients (𝑝𝑘) with 0<𝑘<𝑝 are 0 in 𝔽𝑝, and 𝐷𝑝=0 by (a). Hence

(id+𝐷)(id+𝐷)𝑝−1=(id+𝐷)𝑝−1(id+𝐷)=(id+𝐷)𝑝=id,

and by Technique 2.5.16, id+𝐷 is invertible with inverse (id+𝐷)𝑝−1. This agrees with the inverse id−𝐷+𝐷2−⋯ found in Example 2.8.4, as it must, since an inverse is unique: over 𝔽𝑝 the series stops at 𝐷𝑝−1 for every polynomial.

Exercise 2.8.9.standard Let 𝑝,𝑞,𝑟≥1, let 𝐴∈𝐹𝑝×𝑞, 𝐵∈𝐹𝑝×𝑟, and 𝐶∈𝐹𝑞×𝑟, and let

𝑀=(𝐼𝑝𝐴𝐵0𝐼𝑞𝐶00𝐼𝑟).
  1. (a)Write 𝑀=𝐼+𝑁, compute 𝑁2 and 𝑁3 by block multiplication, and deduce 𝑀−1.
  2. (b)For numbers,

    (1𝑎𝑏01𝑐001)−1=(1−𝑎𝑎𝑐−𝑏01−𝑐001),

    and the corner entry 𝑎𝑐−𝑏 could also be written 𝑐𝑎−𝑏. Which block version is correct, and why does the other one fail?

Solution.

Hint 1. 𝑁=(0𝐴𝐵00𝐶000). Only one block of 𝑁2 is nonzero.
Hint 2. Since 𝑁3=0, the geometric series 𝐼−𝑁+𝑁2 is a candidate for 𝑀−1. Check the sizes of 𝐴𝐶 and 𝐶𝐴.
Sketch. 𝑁2 has the single nonzero block 𝐴𝐶 in position (1,3), and 𝑁3=0. So (𝐼+𝑁)(𝐼−𝑁+𝑁2)=𝐼+𝑁3=𝐼 in both orders, and 𝑀−1=(𝐼𝑝−𝐴𝐴𝐶−𝐵0𝐼𝑞−𝐶00𝐼𝑟). The product 𝐶𝐴 is defined only when 𝑟=𝑝, and the corner of 𝑀−1 is 𝑝×𝑟, which 𝐴𝐶 is.

(a) 𝑀=𝐼+𝑁 with

𝑁=(0𝐴𝐵00𝐶000).

By Theorem 2.4.34, the (𝐼,𝐽) block of 𝑁2 is ∑𝐾𝑁𝐼𝐾𝑁𝐾𝐽, and a term is nonzero only if 𝐼<𝐾<𝐽. So the only nonzero block of 𝑁2 is in position (1,3), and it equals 𝑁12𝑁23=𝐴𝐶:

𝑁2=(00𝐴𝐶000000).

The only nonzero block row of 𝑁2 is the first, and its only nonzero block sits in block column 3, which multiplies the third block row of 𝑁, which is zero. So 𝑁3=𝑁2𝑁=0. Since 𝐼 commutes with 𝑁,

(𝐼+𝑁)(𝐼−𝑁+𝑁2)=𝐼−𝑁+𝑁2+𝑁−𝑁2+𝑁3=𝐼,

and the product in the other order is the same expansion. By Technique 2.5.16 (this is Exercise 2.5.39 with 𝑘=3),

𝑀−1=𝐼−𝑁+𝑁2=(𝐼𝑝−𝐴𝐴𝐶−𝐵0𝐼𝑞−𝐶00𝐼𝑟).

(b) 𝐴𝐶−𝐵 is correct. The product 𝐶𝐴 is defined only when 𝑟=𝑝, since 𝐶 has 𝑟 columns and 𝐴 has 𝑝 rows, and even then it is not the right block. As a check, the (1,3) block of 𝑀𝑀−1 is

𝐼𝑝(𝐴𝐶−𝐵)+𝐴(−𝐶)+𝐵𝐼𝑟=𝐴𝐶−𝐵−𝐴𝐶+𝐵=0,

which works because 𝐴𝐶 appears twice in the same order. In the scalar formula the order did not matter, and that is exactly the information the scalar formula loses.

Exercise 2.8.10.standard Let 𝑐∈𝐹, and let 𝑀 and 𝐷 be multiplication by 𝑥 and differentiation on 𝐹[𝑥].

  1. (a)Show that 𝑀−𝑐id is injective but not surjective.
  2. (b)Suppose 𝑐≠0. Show that 𝐷−𝑐id is invertible, and find its inverse.
  3. (c)Explain why the kernel test alone could not have decided (b).

Solution.

Uses. Theorem 2.6.11 (Injectivity is decided at 𝟎), Proposition 1.2.18 (Degree and evaluation versus the operations), Example 2.6.29 (Evaluation at 0, and multiplication by 𝑥), Example 2.1.19 (Composites), Proposition 2.1.24 (Algebra of composition)

Techniques. Test injectivity at 𝟎 (Technique 2.6.12), Guess the inverse, then check both products (Technique 2.5.16)

Hint 1. (a) Compare degrees for injectivity. For surjectivity, evaluate a value (𝑀−𝑐id)(𝑞) at 𝑐.
Hint 2. (b) 𝐷−𝑐id=−𝑐(id−𝑐−1𝐷). Expand 1/(1−𝑡) as a geometric series, and use that 𝐷𝑑+1 kills polynomials of degree at most 𝑑.
Sketch. (a) For 𝑞≠𝟎 of degree 𝑑, 𝑥𝑞 has degree 𝑑+1 and 𝑐𝑞 degree at most 𝑑, so (𝑀−𝑐id)(𝑞)≠𝟎. Every value vanishes at 𝑐, and 1 does not. (b) 𝑆=−∑𝑘≥0𝑐−𝑘−1𝐷𝑘, a finite sum on each polynomial; (𝐷−𝑐id)𝑆 and 𝑆(𝐷−𝑐id) telescope to id. (c) Both maps are injective by the kernel test, but only one is surjective.

(a) Injective. Let 𝑞≠𝟎 have degree 𝑑. Then 𝑥𝑞 has degree 𝑑+1 and 𝑐𝑞 has degree at most 𝑑, so their degrees differ and (𝑀−𝑐id)(𝑞)=𝑥𝑞−𝑐𝑞 has degree 𝑑+1 (Proposition 1.2.18(a)). In particular it is not 𝟎, and 𝑀−𝑐id is injective by Theorem 2.6.11.

Not surjective. Every value (𝑀−𝑐id)(𝑞)=𝑥𝑞−𝑐𝑞 vanishes at 𝑐 (Example 2.6.29). The constant polynomial 1 does not, so it is not a value.

(b) Since 𝐷−𝑐id=−𝑐(id−𝑐−1𝐷) and 1/(1−𝑡)=1+𝑡+𝑡2+⋯, the candidate is

𝑆=−𝑐−1∑𝑘≥0𝑐−𝑘𝐷𝑘=−∑𝑘≥0𝑐−𝑘−1𝐷𝑘.

On a polynomial of degree at most 𝑑 only the terms with 𝑘≤𝑑 can be nonzero, since 𝐷𝑑+1 kills it (Example 2.1.19(a)). So define 𝑆(𝑓)=−∑𝑘=0𝑑𝑐−𝑘−1𝐷𝑘(𝑓) for any 𝑑≥deg𝑓; the choice of 𝑑 does not matter, and on 𝐹[𝑥]≤𝑑, 𝑆 agrees with a linear combination of powers of 𝐷, so 𝑆 is linear. For deg𝑓≤𝑑,

(𝐷−𝑐id)(𝑆(𝑓))=−∑𝑘=0𝑑𝑐−𝑘−1𝐷𝑘+1(𝑓)+∑𝑘=0𝑑𝑐−𝑘𝐷𝑘(𝑓)=𝑓−𝑐−𝑑−1𝐷𝑑+1(𝑓)=𝑓,

since the two sums cancel except for the term 𝑘=0 of the second and the term 𝑘=𝑑 of the first. The same computation gives 𝑆((𝐷−𝑐id)(𝑓))=𝑓, because (𝐷−𝑐id)(𝑓) also has degree at most 𝑑. By Technique 2.5.16, 𝐷−𝑐id is invertible and (𝐷−𝑐id)−1=−∑𝑘≥0𝑐−𝑘−1𝐷𝑘.

(c) The kernel test proves that 𝐷−𝑐id is injective for 𝑐≠0: if 𝐷(𝑓)=𝑐𝑓 with 𝑓≠𝟎, the left side has smaller degree than the right. But it proves the same about 𝑀−𝑐id, which is not surjective. On 𝐹[𝑥] injectivity does not imply surjectivity, so a second argument was needed, and the guessed inverse supplied both halves at once.

Exercise 2.8.11.standard Let 𝑛≥1, 𝐴∈𝐹𝑛×𝑛, and 𝑈𝑖𝑗=𝐞𝑖𝐞𝑗𝖳. Show that the following are equivalent, and arrange the proof so that as many arrows as possible are citations of earlier results.
  1. (i)𝐴=𝜆𝐼𝑛 for some 𝜆∈𝐹.
  2. (ii)𝐴𝑋=𝑋𝐴 for every 𝑋∈𝐹𝑛×𝑛.
  3. (iii)𝐴𝑈𝑖𝑗=𝑈𝑖𝑗𝐴 for all 𝑖,𝑗.
  4. (iv)𝐴𝐱∈span(𝐱) for every 𝐱∈𝐹𝑛.
  5. (v)[𝑇𝐴]ℬ︀ℬ︀=𝐴 for every basis ℬ︀ of 𝐹𝑛 of length 𝑛.

Solution.

Uses. Proposition 2.4.14 (Algebra of matrices), Lemma 2.4.24 (Matrix units), Example 2.3.28 (Translating in both directions), Exercise 2.3.40, Proposition 2.3.16 (The matrix of 𝑇𝐴), Proposition 2.3.17 (Every linear map 𝐹𝑛→𝐹𝑚 is some 𝑇𝐴), Example 2.3.6 (The zero map and the identity map), Proposition 2.4.12 (Matrices of sums and scalar multiples)

Techniques. Proving TFAE (Technique 2.7.1), Compute entry by entry (Technique 2.4.15)

Hint 1. Use (i) as a hub. Which spokes are already in the chapter? Look at Example 2.3.28(b) and Exercise 2.3.40.
Hint 2. For (iii) ⇒ (i), compute both sides of 𝐴𝑈𝑖𝑗=𝑈𝑖𝑗𝐴: one has only column 𝑗 nonzero, the other only row 𝑖.
Sketch. Hub at (i). The cycle (i) ⇒ (ii) ⇒ (iii) ⇒ (i): scalars commute with everything, (iii) is a special case of (ii), and 𝐴𝑈𝑖𝑗 has column 𝑗 equal to column 𝑖 of 𝐴 while 𝑈𝑖𝑗𝐴 has row 𝑖 equal to row 𝑗 of 𝐴, which forces 𝑎𝑘𝑖=0 for 𝑘≠𝑖 and 𝑎𝑖𝑖=𝑎𝑗𝑗. (i) ⇔ (iv) is Example 2.3.28(b) plus a one-line converse. (i) ⇔ (v): since [𝑇𝐴]ℰ︀ℰ︀=𝐴, (v) says that the matrix of 𝑇𝐴 is the same in every basis, which is Exercise 2.3.40.

We use (i) as a hub. Each spoke is either a citation or a short computation.

(i) ⇒ (ii) ⇒ (iii) ⇒ (i). If 𝐴=𝜆𝐼𝑛, then 𝐴𝑋=𝜆𝑋=𝑋𝐴 by Proposition 2.4.14(b) and (d). (iii) is the special case 𝑋=𝑈𝑖𝑗 of (ii). For (iii) ⇒ (i), fix 𝑖 and 𝑗. By associativity and Lemma 2.4.24(b),

𝐴𝑈𝑖𝑗=(𝐴𝐞𝑖)𝐞𝑗𝖳,𝑈𝑖𝑗𝐴=𝐞𝑖(𝐞𝑗𝖳𝐴).

The first matrix has column 𝑗 equal to column 𝑖 of 𝐴 and every other column zero. The second has row 𝑖 equal to row 𝑗 of 𝐴 and every other row zero. If they are equal, then column 𝑗 of the first, 𝐴⋅,𝑖, is zero outside row 𝑖, so 𝑎𝑘𝑖=0 for 𝑘≠𝑖; and comparing the entries in position (𝑖,𝑗) gives 𝑎𝑖𝑖=𝑎𝑗𝑗. As 𝑖 and 𝑗 range over all indices, 𝐴 is diagonal with all diagonal entries equal to 𝑎11, so 𝐴=𝑎11𝐼𝑛.

(i) ⇔ (iv). If 𝐴=𝜆𝐼𝑛, then 𝐴𝐱=𝜆𝐱∈span(𝐱). The converse is Example 2.3.28(b).

(i) ⇔ (v). By Proposition 2.3.16, [𝑇𝐴]ℰ︀ℰ︀=𝐴, so (v) says that [𝑇𝐴]ℬ︀ℬ︀ is the same matrix for every basis ℬ︀ of length 𝑛. By Exercise 2.3.40, this holds if and only if 𝑇𝐴=𝜆id for some 𝜆, that is, 𝑇𝐴=𝑇𝜆𝐼𝑛, which by Proposition 2.3.17 means 𝐴=𝜆𝐼𝑛. (For the direction (i) ⇒ (v) one can also compute directly: [𝜆id]ℬ︀ℬ︀=𝜆𝐼𝑛 by Example 2.3.6 and Proposition 2.4.12.)

Every condition is connected to the hub in both directions, so all five are equivalent. Only one arrow, (iii) ⇒ (i), needed new work; the others were earlier results read as statements about 𝐴.

Exercise 2.8.12.standard Let 𝑛≥1.

  1. (a)Show that there are no 𝐴,𝐵∈ℝ𝑛×𝑛 with 𝐴𝐵−𝐵𝐴=𝐴𝐴𝖳+𝐼𝑛.
  2. (b)Show that the statement of (a) is false over ℂ and over 𝔽2.
  3. (c)Show that tr(𝐴𝐴𝖳)=0 forces 𝐴=0 for 𝐴∈ℝ𝑛×𝑛, but find nonzero 𝐴∈ℂ2×2 and 𝐴∈𝔽22×2 with tr(𝐴𝐴𝖳)=0.

Solution.

Uses. Proposition 2.4.28 (Cyclicity of the trace), Proposition 2.4.27 (The trace is linear), Definition 2.4.26 (Trace), Definition 2.4.21 (Transpose)

Techniques. Cyclicity of trace (Technique 2.4.29)

Hint 1. Take the trace of both sides. The left side has trace 0.
Hint 2. tr(𝐴𝐴𝖳)=∑𝑗,𝑘𝑎𝑗𝑘2. Over ℝ this is a sum of squares. Over ℂ and 𝔽2, find 𝐴 with 𝐴𝐴𝖳=−𝐼𝑛.
Sketch. (a) tr(𝐴𝐵−𝐵𝐴)=0 by cyclicity, while tr(𝐴𝐴𝖳+𝐼𝑛)=∑𝑗,𝑘𝑎𝑗𝑘2+𝑛≥𝑛>0. (b) 𝐴=𝑖𝐼𝑛 over ℂ and 𝐴=𝐼𝑛 over 𝔽2 give 𝐴𝐴𝖳=−𝐼𝑛, so with 𝐵=0 both sides are 0. (c) Over ℝ a sum of squares is 0 only if every term is. Over ℂ, 𝐴=(1𝑖00); over 𝔽2, 𝐴=(1100).

The (𝑗,𝑗) entry of 𝐴𝐴𝖳 is ∑𝑘𝑎𝑗𝑘(𝐴𝖳)𝑘𝑗=∑𝑘𝑎𝑗𝑘2, so

tr(𝐴𝐴𝖳)=∑𝑗=1𝑛∑𝑘=1𝑛𝑎𝑗𝑘2.

(a) By Proposition 2.4.27 and Proposition 2.4.28, tr(𝐴𝐵−𝐵𝐴)=tr(𝐴𝐵)−tr(𝐵𝐴)=0. Over ℝ, every 𝑎𝑗𝑘2≥0, so tr(𝐴𝐴𝖳+𝐼𝑛)=tr(𝐴𝐴𝖳)+𝑛≥𝑛>0. The two sides have different traces, so they are not equal.

(b) Over ℂ, let 𝐴=𝑖𝐼𝑛 and 𝐵=0. Then 𝐴𝐵−𝐵𝐴=0 and 𝐴𝐴𝖳+𝐼𝑛=𝑖2𝐼𝑛+𝐼𝑛=0. Over 𝔽2, let 𝐴=𝐼𝑛 and 𝐵=0; then 𝐴𝐴𝖳+𝐼𝑛=(1+1)𝐼𝑛=0=𝐴𝐵−𝐵𝐴.

(c) Over ℝ, a sum of squares of real numbers is 0 only if every square is 0, so tr(𝐴𝐴𝖳)=0 gives every 𝑎𝑗𝑘=0. Over ℂ, 𝐴=(1𝑖00) has tr(𝐴𝐴𝖳)=12+𝑖2=0. Over 𝔽2, 𝐴=(1100) has tr(𝐴𝐴𝖳)=1+1=0.

The trace argument used one fact beyond cyclicity, the positivity of sums of real squares, and (c) shows exactly where that fact lives. The same positivity drives the inner products of Section 6.1, where tr(𝐴𝖳𝐴) is the squared length of 𝐴.

Exercise 2.8.13.routine Let 𝑇∈L(ℚ2), 𝑇(𝑥,𝑦)=(𝑦,𝑥), and let ℬ︀ be the basis 𝐛1=(1,0), 𝐛2=(1,1). Find the error in the following computation, and compute [𝑇]ℬ︀ℬ︀ correctly.

Computation. Let 𝑃=[id]ℰ︀ℬ︀=(1101), whose columns are 𝐛1 and 𝐛2. Changing from the standard basis to ℬ︀ means applying 𝑃, so

[𝑇]ℬ︀ℬ︀=𝑃[𝑇]ℰ︀ℰ︀𝑃−1=(1101)(0110)(1−101)=(101−1).

Solution.

Uses. Theorem 2.4.2 (The matrix of a composite), Definition 2.3.1 (Matrix of a linear map), Example 2.5.21 (Change of coordinates is invertible)

Techniques. Translate between maps and matrices (Technique 2.3.27)

Hint 1. Write 𝑇=id∘𝑇∘id and apply Theorem 2.4.2 with the bases chosen so that the inner subscripts match.
Hint 2. Which way does 𝑃=[id]ℰ︀ℬ︀ convert coordinates? Check the answer by computing 𝑇(𝐛1) and 𝑇(𝐛2) in ℬ︀-coordinates.
Sketch. [𝑇]ℬ︀ℬ︀=[id]ℬ︀ℰ︀[𝑇]ℰ︀ℰ︀[id]ℰ︀ℬ︀=𝑃−1[𝑇]ℰ︀ℰ︀𝑃=(−1011). The computation multiplied in the wrong order: 𝑃 converts ℬ︀-coordinates to standard ones, so it must act first. Directly, 𝑇(𝐛1)=(0,1)=−𝐛1+𝐛2 and 𝑇(𝐛2)=𝐛2.

The error. By Theorem 2.4.2, applied to 𝑇=id∘𝑇∘id with the bases arranged so that the inner subscripts match,

[𝑇]ℬ︀ℬ︀=[id]ℬ︀ℰ︀[𝑇]ℰ︀ℰ︀[id]ℰ︀ℬ︀=𝑃−1[𝑇]ℰ︀ℰ︀𝑃,

where [id]ℬ︀ℰ︀=𝑃−1 by Example 2.5.21. The matrix 𝑃=[id]ℰ︀ℬ︀ converts ℬ︀-coordinates into standard coordinates, so it is applied first, on the right; the computation put it on the left. In 𝑃[𝑇]ℰ︀ℰ︀𝑃−1 the subscripts do not match: the factor 𝑃=[id]ℰ︀ℬ︀ expects ℬ︀-coordinates, but it receives the standard coordinates produced by [𝑇]ℰ︀ℰ︀.

The correct matrix.

𝑃−1(0110)𝑃=(1−101)(0110)(1101)=(1−101)(0111)=(−1011).

As a check, 𝑇(𝐛1)=(0,1)=−𝐛1+𝐛2 and 𝑇(𝐛2)=(1,1)=𝐛2, whose ℬ︀-coordinates (−1,1) and (0,1) are the columns found.

The wrong answer is not meaningless: 𝑃[𝑇]ℰ︀ℰ︀𝑃−1 is the matrix of 𝑇 in the basis (1,0),(−1,1) formed by the columns of 𝑃−1. That is one way to see that the error produces a plausible-looking matrix, which is why checking one column directly is worth the effort.

Exercise 2.8.14.routine Find the error in the following argument, show that its claim is false, and determine exactly when its conclusion holds.

Claim. If 𝐴,𝐵∈𝐹𝑛×𝑛 are invertible, then (𝐴𝐵)−1=𝐴−1𝐵−1.

Proof. By associativity, (𝐴𝐵)(𝐴−1𝐵−1)=𝐴𝐴−1𝐵𝐵−1=𝐼𝑛, and similarly (𝐴−1𝐵−1)(𝐴𝐵)=𝐼𝑛. So (𝐴𝐵)−1=𝐴−1𝐵−1 by Technique 2.5.16.

Solution.

Hint 1. Associativity moves parentheses. Does it move factors past each other?
Hint 2. (𝐴𝐵)−1=𝐵−1𝐴−1 always. When is 𝐵−1𝐴−1=𝐴−1𝐵−1? Invert both sides.
Sketch. Associativity gives (𝐴𝐵)(𝐴−1𝐵−1)=𝐴𝐵𝐴−1𝐵−1; replacing 𝐵𝐴−1 by 𝐴−1𝐵 needs commutativity. With 𝐴=(1101), 𝐵=(1011), 𝐴−1𝐵−1=(2−1−11)≠(1−1−12)=(𝐴𝐵)−1. The conclusion holds exactly when 𝐴𝐵=𝐵𝐴: (𝐴𝐵)−1=𝐵−1𝐴−1, and 𝐵−1𝐴−1=𝐴−1𝐵−1 iff, inverting both sides, 𝐴𝐵=𝐵𝐴.

The error. Associativity regroups a product but keeps the order of its factors: (𝐴𝐵)(𝐴−1𝐵−1)=𝐴𝐵𝐴−1𝐵−1. The step to 𝐴𝐴−1𝐵𝐵−1 moves 𝐴−1 past 𝐵, which requires 𝐵𝐴−1=𝐴−1𝐵.

The claim is false. Take 𝐴=(1101) and 𝐵=(1011), as in Exercise 2.5.19. There, (𝐴𝐵)−1=𝐵−1𝐴−1=(1−1−12), while 𝐴−1𝐵−1=(2−1−11).

When it holds. By Proposition 2.5.17(d), the matrix version of (b), (𝐴𝐵)−1=𝐵−1𝐴−1 always. So the conclusion holds if and only if 𝐵−1𝐴−1=𝐴−1𝐵−1. By the same result together with Proposition 2.5.17(a), both sides are invertible, with inverses 𝐴𝐵 and 𝐵𝐴, and two invertible matrices are equal exactly when their inverses are. So the conclusion holds if and only if 𝐴𝐵=𝐵𝐴. In particular it holds for every pair when 𝑛=1, and fails for some pair whenever 𝑛≥2 (put the example above in the top left corner).

Exercise 2.8.15.standard Find the error in the following argument, show that its claim is false, and add a hypothesis under which the argument becomes correct.

Claim. If 𝑇∈L(𝑉) has a left inverse, then 𝑇 is invertible.

Proof. Let 𝑆𝑇=id𝑉. Then 𝑇𝑆𝑇=𝑇=id𝑉𝑇, so (𝑇𝑆−id𝑉)𝑇=0=0𝑇. Cancelling 𝑇 on the right gives 𝑇𝑆−id𝑉=0. So 𝑇𝑆=id𝑉, and 𝑆 is a two-sided inverse of 𝑇.

Solution.

Uses. Corollary 2.5.6 (One-sided cancellation), Exercise 2.5.41, Exercise 2.5.33, Theorem 3.5.23 (One-sided inverses of square matrices)

Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)

Hint 1. Which property of 𝑇 allows cancelling it on the right (Corollary 2.5.6)? Does 𝑇 have it?
Hint 2. Try 𝑉=𝐹[𝑥] and 𝑇=𝑀, multiplication by 𝑥, with the left inverse 𝐿 of Exercise 2.5.41.
Sketch. Cancelling 𝑇 on the right requires 𝑇 to be right-invertible, which is what the argument is trying to prove. On 𝐹[𝑥], 𝐿𝑀=id but 𝑀𝐿(1)=𝟎, and 𝑀 is not surjective, so it has no right inverse. If 𝑇 is surjective, then (𝑇𝑆−id)𝑇=0 says that 𝑇𝑆−id vanishes on im𝑇=𝑉, and the argument is correct (Exercise 2.5.33(a)).

The error. By Corollary 2.5.6(b), 𝑇 can be cancelled on the right when 𝑇 is right-invertible. That is exactly what the argument is trying to prove, so the cancellation assumes the conclusion. The first two steps are fine; only the cancellation is not.

The claim is false. Let 𝑉=𝐹[𝑥], let 𝑀 be multiplication by 𝑥, and let 𝐿(𝑎0+𝑎1𝑥+⋯+𝑎𝑛𝑥𝑛)=𝑎1+𝑎2𝑥+⋯+𝑎𝑛𝑥𝑛−1. Then 𝐿𝑀=id𝐹[𝑥] (Exercise 2.5.41), so 𝑀 has a left inverse. But 𝑀 is not surjective, since every value 𝑥𝑞 has constant term 0, so 𝑀 has no right inverse (Proposition 2.5.5) and is not invertible. Indeed (𝑀𝐿−id)(1)=𝑀(𝟎)−1=−1≠𝟎, although (𝑀𝐿−id)𝑀=𝑀(𝐿𝑀)−𝑀=0.

A repair. Suppose in addition that 𝑇 is surjective. Then (𝑇𝑆−id𝑉)𝑇=0 says that 𝑇𝑆−id𝑉 vanishes at every 𝑇(𝐯), that is, on im𝑇=𝑉, so 𝑇𝑆=id𝑉. This is Exercise 2.5.33(a). For 𝑉=𝐹𝑛 the claim itself is true (Theorem 3.5.23), but the argument above does not prove it, because it never uses that 𝑉 is finite-dimensional.