Books
Theme
Text size
Width

[ and ] go to the previous and next page.

These problems combine the sections of Chapter 2 with each other, and several combine them with Chapters 1 and 3. The first three are review prompts: state a main result, prove it without looking, and then answer a question that the text did not ask. The rest are ordered roughly by difficulty. Problems of kind “competition” are harder than anything the course expects. Some problems multiply polynomials, which Section 7.1 develops; each of them says what may be used. Section 2.8 compares the techniques these problems call for.

Review: state and prove

Problem 2.1.standard
  1. (a)State Theorem 2.6.11 and Proposition 2.6.14.
  2. (b)Prove both.
  3. (c)The proof of the theorem uses only part of linearity. Show that its statement holds for every additive map 𝑇:𝑉→𝑊, with ker𝑇={𝐯∈𝑉|𝑇(𝐯)=𝟎} as before. Then show that it fails for homogeneous maps: find a function 𝑇:𝔽22→𝔽2 with 𝑇(𝑎𝐯)=𝑎𝑇(𝐯) for all 𝑎∈𝔽2 and 𝐯∈𝔽22, such that 𝑇(𝐯)=0 only for 𝐯=𝟎, but 𝑇 is not injective.

Solution.

Uses. Definition 2.6.1 (Injective), Definition 2.6.5 (Kernel), Proposition 2.1.4 (Linear maps preserve 𝟎 and negatives), Theorem 1.5.5 (Independence is decided at zero), Proposition 1.5.15 (Short lists, zeros, and repeats), Definition 2.1.1 (Linear map)

Techniques. Test injectivity at 𝟎 (Technique 2.6.12), Fix an arbitrary element and chase it (Technique 1.3.13)

Hint 1. For the theorem, 𝑇(𝐯)=𝑇(𝐯′) should become a statement about 𝐯−𝐯′. For the proposition, pull a relation among the 𝑇(𝐯𝑖) back through 𝑇.
Hint 2. For (c), list the facts about 𝑇 that the proof used: 𝑇(𝟎)=𝟎 and 𝑇(𝐯−𝐯′)=𝑇(𝐯)−𝑇(𝐯′). Over 𝔽2, a function with 𝑇(𝟎)=0 is automatically homogeneous.
Sketch. (b) If 𝑇 is injective and 𝑇(𝐯)=𝟎=𝑇(𝟎), then 𝐯=𝟎; if ker𝑇={𝟎} and 𝑇(𝐯)=𝑇(𝐯′), then 𝑇(𝐯−𝐯′)=𝟎. For independence: ∑𝑎𝑖𝑇(𝐯𝑖)=𝟎 gives ∑𝑎𝑖𝐯𝑖∈ker𝑇; conversely a nonzero 𝐯∈ker𝑇 is an independent list with dependent image. (c) Additivity alone gives 𝑇(𝟎)=𝟎 and 𝑇(𝐯−𝐯′)=𝑇(𝐯)−𝑇(𝐯′). Over 𝔽2, 𝑇(𝟎)=0 and 𝑇(𝐯)=1 otherwise is homogeneous, has only 𝟎 in its kernel, and has 𝑇(𝐞1)=𝑇(𝐞2).

(a) Theorem 2.6.11: a linear map 𝑇∈L(𝑉,𝑊) is injective if and only if ker𝑇={𝟎}. Proposition 2.6.14: 𝑇∈L(𝑉,𝑊) is injective if and only if 𝑇 sends every linearly independent list 𝐯1,…,𝐯𝑘 in 𝑉 to a linearly independent list 𝑇(𝐯1),…,𝑇(𝐯𝑘).

(b) The theorem. Suppose 𝑇 is injective, and let 𝐯∈ker𝑇. Then 𝑇(𝐯)=𝟎=𝑇(𝟎) by Proposition 2.1.4, so 𝐯=𝟎. Conversely, suppose ker𝑇={𝟎}, and let 𝑇(𝐯)=𝑇(𝐯′). By Proposition 2.1.4, 𝑇(𝐯−𝐯′)=𝑇(𝐯)−𝑇(𝐯′)=𝟎, so 𝐯−𝐯′∈ker𝑇, that is, 𝐯=𝐯′.

The proposition. Suppose 𝑇 is injective, let 𝐯1,…,𝐯𝑘 be independent, and let ∑𝑖𝑎𝑖𝑇(𝐯𝑖)=𝟎. By linearity, 𝑇(∑𝑖𝑎𝑖𝐯𝑖)=𝟎, so ∑𝑖𝑎𝑖𝐯𝑖∈ker𝑇={𝟎}, and independence gives every 𝑎𝑖=0. So the image list is independent (Theorem 1.5.5). Conversely, suppose 𝑇 is not injective. By the theorem there is 𝐯≠𝟎 in ker𝑇. The list 𝐯 is independent (Proposition 1.5.15(b)), but its image is the list 𝟎, which is dependent (Proposition 1.5.15(c)).

(c) Additive maps. The proof of the theorem used two facts: 𝑇(𝟎)=𝟎, and 𝑇(𝐯−𝐯′)=𝑇(𝐯)−𝑇(𝐯′). Both follow from additivity alone. First, 𝑇(𝟎)=𝑇(𝟎+𝟎)=𝑇(𝟎)+𝑇(𝟎), and adding −𝑇(𝟎) gives 𝑇(𝟎)=𝟎. Next, 𝑇(𝐯′)+𝑇(−𝐯′)=𝑇(𝟎)=𝟎, so 𝑇(−𝐯′)=−𝑇(𝐯′), and then 𝑇(𝐯−𝐯′)=𝑇(𝐯)+𝑇(−𝐯′)=𝑇(𝐯)−𝑇(𝐯′). With these two facts the proof runs word for word, so an additive map is injective if and only if it sends only 𝟎 to 𝟎.

Homogeneous maps. Define 𝑇:𝔽22→𝔽2 by 𝑇(𝟎)=0 and 𝑇(𝐯)=1 for 𝐯≠𝟎. The only scalars are 0 and 1, and 𝑇(0𝐯)=𝑇(𝟎)=0=0⋅𝑇(𝐯) and 𝑇(1𝐯)=𝑇(𝐯)=1⋅𝑇(𝐯), so 𝑇 is homogeneous. By construction 𝑇(𝐯)=0 only for 𝐯=𝟎. But 𝑇(𝐞1)=𝑇(𝐞2)=1 with 𝐞1≠𝐞2, so 𝑇 is not injective. It is not additive either, since 𝑇(𝐞1)+𝑇(𝐞2)=0≠1=𝑇(𝐞1+𝐞2), and additivity is the half of linearity that the kernel test needs.

Problem 2.2.standard
  1. (a)State Theorem 2.4.2(a).
  2. (b)Prove it from the definitions, and deduce from it, without computing any entry, that (𝐴𝐵)𝐶=𝐴(𝐵𝐶) for all matrices of compatible sizes.
  3. (c)Let ℬ︀ and 𝒞︀ be bases of 𝑉 of the same length 𝑛. Show that [𝑇]𝒞︀ℬ︀[𝑇]𝒞︀ℬ︀=[𝑇2]𝒞︀ℬ︀ holds for every 𝑇∈L(𝑉) if and only if ℬ︀=𝒞︀.

Solution.

Uses. Definition 2.3.1 (Matrix of a linear map), Theorem 2.3.9 (The matrix of a map computes the map), Definition 2.4.1 (Matrix product), Proposition 2.3.16 (The matrix of 𝑇𝐴), Proposition 2.1.24 (Algebra of composition), Example 2.5.21 (Change of coordinates is invertible), Exercise 2.5.32, Exercise 2.3.26

Techniques. Translate between maps and matrices (Technique 2.3.27)

Hint 1. For (b), compare the 𝑗-th columns. For associativity, read each matrix as the standard matrix of 𝑇𝐴, 𝑇𝐵, 𝑇𝐶.
Hint 2. For (c), try 𝑇=id𝑉. Then 𝑃=[id𝑉]𝒞︀ℬ︀ satisfies 𝑃2=𝑃, and 𝑃 is invertible.
Sketch. (b) Column 𝑗 of [𝑇𝑆]𝒞︀𝒜︀ is [𝑇(𝑆(𝐮𝑗))]𝒞︀=[𝑇]𝒞︀ℬ︀[𝑆(𝐮𝑗)]ℬ︀, which is [𝑇]𝒞︀ℬ︀ times column 𝑗 of [𝑆]ℬ︀𝒜︀. With standard bases, (𝐴𝐵)𝐶 and 𝐴(𝐵𝐶) are the matrices of (𝑇𝐴𝑇𝐵)𝑇𝐶 and 𝑇𝐴(𝑇𝐵𝑇𝐶), which are the same function. (c) If ℬ︀=𝒞︀ this is (a). Conversely, 𝑇=id gives 𝑃2=𝑃 for the invertible 𝑃=[id]𝒞︀ℬ︀, so 𝑃=𝐼𝑛, so ℬ︀=𝒞︀.

(a) Let 𝑈, 𝑉, 𝑊 have bases 𝒜︀=𝐮1,…,𝐮𝑛, ℬ︀, and 𝒞︀. For 𝑆∈L(𝑈,𝑉) and 𝑇∈L(𝑉,𝑊),

[𝑇𝑆]𝒞︀𝒜︀=[𝑇]𝒞︀ℬ︀[𝑆]ℬ︀𝒜︀.

(b) By Definition 2.3.1, column 𝑗 of [𝑇𝑆]𝒞︀𝒜︀ is [𝑇(𝑆(𝐮𝑗))]𝒞︀. By Theorem 2.3.9, applied to 𝑇 at the vector 𝑆(𝐮𝑗), this is [𝑇]𝒞︀ℬ︀[𝑆(𝐮𝑗)]ℬ︀, and [𝑆(𝐮𝑗)]ℬ︀ is column 𝑗 of [𝑆]ℬ︀𝒜︀. By Definition 2.4.1, [𝑇]𝒞︀ℬ︀ times column 𝑗 of [𝑆]ℬ︀𝒜︀ is column 𝑗 of [𝑇]𝒞︀ℬ︀[𝑆]ℬ︀𝒜︀. The two matrices have the same columns.

Associativity. Let 𝐴∈𝐹ℓ×𝑚, 𝐵∈𝐹𝑚×𝑛, 𝐶∈𝐹𝑛×𝑝, and use standard bases throughout, so that [𝑇𝑋]ℰ︀ℰ︀=𝑋 for every matrix 𝑋 (Proposition 2.3.16). Applying (a) twice,

[(𝑇𝐴𝑇𝐵)𝑇𝐶]ℰ︀ℰ︀=[𝑇𝐴𝑇𝐵]ℰ︀ℰ︀𝐶=(𝐴𝐵)𝐶,[𝑇𝐴(𝑇𝐵𝑇𝐶)]ℰ︀ℰ︀=𝐴[𝑇𝐵𝑇𝐶]ℰ︀ℰ︀=𝐴(𝐵𝐶).

Composition of functions is associative (Proposition 2.1.24(a)), so (𝑇𝐴𝑇𝐵)𝑇𝐶=𝑇𝐴(𝑇𝐵𝑇𝐶), and the two matrices are equal.

(c) If ℬ︀=𝒞︀, then (a) with 𝑆=𝑇 and all three bases equal to ℬ︀ gives [𝑇]ℬ︀ℬ︀[𝑇]ℬ︀ℬ︀=[𝑇2]ℬ︀ℬ︀.

Conversely, suppose the identity holds for every 𝑇, and take 𝑇=id𝑉. With 𝑃=[id𝑉]𝒞︀ℬ︀ it reads 𝑃2=[id𝑉]𝒞︀ℬ︀=𝑃. The matrix 𝑃 is invertible, with inverse [id𝑉]ℬ︀𝒞︀ (Example 2.5.21), so 𝑃2=𝑃 forces 𝑃=𝐼𝑛 (Exercise 2.5.32(c)). By Exercise 2.3.26, ℬ︀=𝒞︀.

In the product [𝑇]𝒞︀ℬ︀[𝑇]𝒞︀ℬ︀, the right factor produces 𝒞︀-coordinates and the left factor expects ℬ︀-coordinates. Part (c) says that this mismatch is harmless only when the two bases coincide.

Problem 2.3.standard
  1. (a)State Theorem 2.7.4.
  2. (b)Prove (II) ⇒ (V). Explain why the construction chooses solutions of 𝐴𝐱=𝐲 only for 𝐲=𝐞1,…,𝐞𝑚, and not for every 𝐲 separately.
  3. (c)Let 𝑝 be a prime, and let 𝐴∈𝔽𝑝𝑚×𝑛 with 𝑇𝐴 surjective. Show that 𝐴 has exactly 𝑝𝑚(𝑛−𝑚) right inverses. Check the count against Exercise 2.5.36(c).

Solution.

Uses. Theorem 2.7.4 (Second Fundamental Theorem), Theorem 2.2.1 (Linear maps are determined by a basis), Proposition 2.4.8 (Four views of the product), Theorem 2.4.2 (The matrix of a composite), Non-example 2.7.10 (Choices that are not linear), Corollary 2.6.31 (Fibers are translates of the kernel), Exercise 2.6.44

Techniques. Construct a map by choosing it on a basis (Technique 2.2.4), Check it on a basis (Technique 2.2.7)

Hint 1. For (b), pick 𝐱𝑖 with 𝐴𝐱𝑖=𝐞𝑖, and let 𝐵 have columns 𝐱1,…,𝐱𝑚.
Hint 2. For (c), a right inverse is a choice of one solution of 𝐴𝐱=𝐞𝑖 for each 𝑖. How many solutions does each of these equations have? Use Corollary 2.6.31 and Exercise 2.6.44.
Sketch. (b) With 𝐴𝐱𝑖=𝐞𝑖, the matrix 𝐵 with columns 𝐱𝑖 has 𝐴𝐵=𝐼𝑚 by the column view, so 𝑇𝐵 is a right inverse. Choices made one 𝐲 at a time need not fit together linearly (Non-example 2.7.10(b)); choices on a basis always extend. (c) 𝐴𝐶=𝐼𝑚 means 𝐴𝐜𝑖=𝐞𝑖 for each column. Each such equation has |ker𝑇𝐴|=𝑝𝑛/𝑝𝑚 solutions, and the 𝑚 columns are chosen independently: (𝑝𝑛−𝑚)𝑚.

(a) Theorem 2.7.4: for 𝐴∈𝐹𝑚×𝑛 the following are equivalent. (I) 𝑇𝐴 is surjective. (II) For every 𝐲∈𝐹𝑚, 𝐴𝐱=𝐲 has at least one solution. (III) The columns of 𝐴 span 𝐹𝑚. (IV) im𝑇𝐴=𝐹𝑚. (V) 𝑇𝐴 has a right inverse, a linear map 𝑆:𝐹𝑚→𝐹𝑛 with 𝑇𝐴∘𝑆=id𝐹𝑚.

(b) Assume (II). For 𝑖=1,…,𝑚 choose 𝐱𝑖∈𝐹𝑛 with 𝐴𝐱𝑖=𝐞𝑖, and let 𝐵∈𝐹𝑛×𝑚 have columns 𝐱1,…,𝐱𝑚. By the column view (Proposition 2.4.8(b)), column 𝑖 of 𝐴𝐵 is 𝐴𝐱𝑖=𝐞𝑖, so 𝐴𝐵=𝐼𝑚. By Theorem 2.4.2(b), 𝑇𝐴∘𝑇𝐵=𝑇𝐴𝐵=id𝐹𝑚, so 𝑆=𝑇𝐵 is a right inverse. In the language of Theorem 2.2.1, 𝑆 is the linear map with 𝑆(𝐞𝑖)=𝐱𝑖, and 𝑇𝐴∘𝑆 agrees with id on the standard basis.

The choices are made on a basis because only there do they automatically fit together. A choice of one solution for each 𝐲 separately is a function 𝐹𝑚→𝐹𝑛, but usually not a linear one (Non-example 2.7.10(b)). Once 𝐱1,…,𝐱𝑚 are chosen, the extension sends 𝐲=∑𝑖𝑦𝑖𝐞𝑖 to ∑𝑖𝑦𝑖𝐱𝑖, which is a solution of 𝐴𝐱=𝐲 by linearity: no further choice is made.

(c) By the column view, 𝐶∈𝔽𝑝𝑛×𝑚 satisfies 𝐴𝐶=𝐼𝑚 if and only if its columns satisfy 𝐴𝐜𝑖=𝐞𝑖 for 𝑖=1,…,𝑚. The solutions of 𝐴𝐱=𝐞𝑖 form the fiber 𝑇𝐴−1(𝐞𝑖), which is nonempty since 𝑇𝐴 is surjective, and is a translate of ker𝑇𝐴 (Corollary 2.6.31(b)); so it has |ker𝑇𝐴| elements. By Exercise 2.6.44(a),

𝑝𝑛=|𝔽𝑝𝑛|=|ker𝑇𝐴|⋅|im𝑇𝐴|=|ker𝑇𝐴|⋅𝑝𝑚,

so |ker𝑇𝐴|=𝑝𝑛−𝑚. The 𝑚 columns are chosen independently, so there are (𝑝𝑛−𝑚)𝑚=𝑝𝑚(𝑛−𝑚) right inverses.

In Exercise 2.5.36(c), 𝑇𝐴𝖳 is surjective for the matrix 𝐴𝖳∈𝔽𝑝2×3 there, and it has 𝑝2 right inverses; the formula gives 𝑝2(3−2)=𝑝2. A square surjective 𝐴 has exactly one right inverse, as it must (Theorem 3.5.23).

Synthesis problems

Problem 2.4.standard For 𝐴,𝐵∈𝐹𝑛×𝑛 let 𝐿𝐴,𝐵:𝐹𝑛×𝑛→𝐹𝑛×𝑛 be 𝐿𝐴,𝐵(𝑋)=𝐴𝑋𝐵, and let 𝜏(𝑋)=𝑋𝖳. Let 𝒰︀ be the basis of 𝐹𝑛×𝑛 formed by the matrix units 𝑈𝑖𝑗=𝐞𝑖𝐞𝑗𝖳 (Lemma 2.4.24), in any fixed order. For an operator Φ on 𝐹𝑛×𝑛, write trΦ for the trace of [Φ]𝒰︀𝒰︀.

  1. (a)Show that 𝐿𝐴,𝐵 is linear, that 𝐿𝐴,𝐵𝐿𝐶,𝐷=𝐿𝐴𝐶,𝐷𝐵, and that 𝜏𝐿𝐴,𝐵𝜏=𝐿𝐵𝖳,𝐴𝖳.
  2. (b)Show that tr𝐿𝐴,𝐵=(tr𝐴)(tr𝐵). Compute tr𝜏, and tr𝐶𝐴 for 𝐶𝐴(𝑋)=𝐴𝑋−𝑋𝐴.
  3. (c)Show that every linear map Φ:𝐹𝑛×𝑛→𝐹𝑛×𝑛 is a sum of maps of the form 𝐿𝐴,𝐵, and write 𝜏 in this form.

Solution.

Uses. Proposition 2.4.14 (Algebra of matrices), Proposition 2.4.23 (Transpose of a product), Proposition 2.4.22 (Transpose is a linear involution), Lemma 2.4.24 (Matrix units), Definition 2.3.1 (Matrix of a linear map), Proposition 2.4.12 (Matrices of sums and scalar multiples), Proposition 2.4.27 (The trace is linear), Exercise 2.2.34

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

Hint 1. The diagonal entry of [Φ]𝒰︀𝒰︀ belonging to 𝑈𝑖𝑗 is the 𝑈𝑖𝑗-coordinate of Φ(𝑈𝑖𝑗), which is the (𝑖,𝑗) entry of Φ(𝑈𝑖𝑗).
Hint 2. For (c), compute 𝐿𝑈𝑖𝑗,𝑈𝑘𝑙(𝑋)=𝑈𝑖𝑗𝑋𝑈𝑘𝑙. Which matrix unit does it send where?
Sketch. (a) Distributivity, associativity, and (𝐴𝑋𝖳𝐵)𝖳=𝐵𝖳𝑋𝐴𝖳. (b) (𝐴𝑈𝑖𝑗𝐵)𝑖𝑗=(𝐞𝑖𝖳𝐴𝐞𝑖)(𝐞𝑗𝖳𝐵𝐞𝑗)=𝑎𝑖𝑖𝑏𝑗𝑗, which sums to tr𝐴tr𝐵; 𝜏(𝑈𝑖𝑗)=𝑈𝑗𝑖 contributes 𝛿𝑖𝑗, so tr𝜏=𝑛∗1; 𝐶𝐴=𝐿𝐴,𝐼𝑛−𝐿𝐼𝑛,𝐴 has trace 0. (c) 𝑈𝑖𝑗𝑋𝑈𝑘𝑙=𝑥𝑗𝑘𝑈𝑖𝑙, so 𝐿𝑈𝑖𝑗,𝑈𝑘𝑙 sends 𝑈𝑗𝑘 to 𝑈𝑖𝑙 and the other units to 0; these 𝑛4 maps form the basis of Exercise 2.2.34. In particular 𝑋𝖳=∑𝑖,𝑗𝑈𝑖𝑗𝑋𝑈𝑖𝑗.

(a) 𝐿𝐴,𝐵 is linear by Proposition 2.4.14(c) and (d). For every 𝑋, associativity gives

𝐿𝐴,𝐵(𝐿𝐶,𝐷(𝑋))=𝐴(𝐶𝑋𝐷)𝐵=(𝐴𝐶)𝑋(𝐷𝐵)=𝐿𝐴𝐶,𝐷𝐵(𝑋),

and by Proposition 2.4.23 and Proposition 2.4.22,

𝜏(𝐿𝐴,𝐵(𝜏(𝑋)))=(𝐴𝑋𝖳𝐵)𝖳=𝐵𝖳(𝑋𝖳)𝖳𝐴𝖳=𝐵𝖳𝑋𝐴𝖳.

(b) By Lemma 2.4.24(a), the coordinates of a matrix with respect to 𝒰︀ are its entries. So the diagonal entry of [Φ]𝒰︀𝒰︀ in the position of 𝑈𝑖𝑗 is the (𝑖,𝑗) entry of Φ(𝑈𝑖𝑗), whatever order 𝒰︀ is listed in, and trΦ is the sum of these entries over all (𝑖,𝑗). For Φ=𝐿𝐴,𝐵, by Lemma 2.4.24(b),

(𝐴𝑈𝑖𝑗𝐵)𝑖𝑗=𝐞𝑖𝖳𝐴𝐞𝑖𝐞𝑗𝖳𝐵𝐞𝑗=𝑎𝑖𝑖𝑏𝑗𝑗,

and ∑𝑖,𝑗𝑎𝑖𝑖𝑏𝑗𝑗=(tr𝐴)(tr𝐵).

For 𝜏, 𝜏(𝑈𝑖𝑗)=𝑈𝑗𝑖, whose (𝑖,𝑗) entry is 𝛿𝑖𝑗. So tr𝜏=∑𝑖,𝑗𝛿𝑖𝑗=𝑛∗1.

For 𝐶𝐴=𝐿𝐴,𝐼𝑛−𝐿𝐼𝑛,𝐴, Proposition 2.4.12 and Proposition 2.4.27 give tr𝐶𝐴=(tr𝐴)(𝑛∗1)−(𝑛∗1)(tr𝐴)=0.

(c) For all indices, associativity and Lemma 2.4.24(b) give

𝐿𝑈𝑖𝑗,𝑈𝑘𝑙(𝑋)=𝐞𝑖(𝐞𝑗𝖳𝑋𝐞𝑘)𝐞𝑙𝖳=𝑥𝑗𝑘𝑈𝑖𝑙.

So 𝐿𝑈𝑖𝑗,𝑈𝑘𝑙 sends 𝑈𝑗𝑘 to 𝑈𝑖𝑙 and every other matrix unit to 0. These are the maps of Exercise 2.2.34 for 𝑉=𝑊=𝐹𝑛×𝑛 with the basis 𝒰︀ on both sides: as (𝑖,𝑗,𝑘,𝑙) runs over all quadruples, the pair (𝑈𝑗𝑘,𝑈𝑖𝑙) runs over all pairs of matrix units exactly once. By that exercise they form a basis of L(𝐹𝑛×𝑛). Every Φ is therefore a combination ∑𝑐𝑖𝑗𝑘𝑙𝐿𝑈𝑖𝑗,𝑈𝑘𝑙=∑𝐿𝑐𝑖𝑗𝑘𝑙𝑈𝑖𝑗,𝑈𝑘𝑙, a sum of maps of the form 𝐿𝐴,𝐵.

The transpose sends 𝑈𝑗𝑘 to 𝑈𝑘𝑗, so it is the sum of the maps with 𝑖=𝑘 and 𝑙=𝑗:

𝑋𝖳=∑𝑗=1𝑛∑𝑘=1𝑛𝑈𝑘𝑗𝑋𝑈𝑘𝑗.

Directly, 𝑈𝑘𝑗𝑋𝑈𝑘𝑗=𝑥𝑗𝑘𝑈𝑘𝑗, and summing gives the matrix with (𝑘,𝑗) entry 𝑥𝑗𝑘. As a check against (b), tr𝜏=∑𝑗,𝑘(tr𝑈𝑘𝑗)2=∑𝑘1=𝑛∗1. So the transpose is a sum of 𝑛2 maps 𝑋↦𝐴𝑋𝐵, although for 𝑛≥2 it is not one of them: if 𝑋𝖳=𝐴𝑋𝐵 for all 𝑋, then 𝑈11=(𝐴𝐞1)(𝐞1𝖳𝐵) and 𝑈21=(𝐴𝐞1)(𝐞2𝖳𝐵), by taking 𝑋=𝑈11 and 𝑋=𝑈12. Comparing first columns, 𝐴𝐞1≠𝟎 would be a multiple of both 𝐞1 and 𝐞2, which is impossible since they are independent.

Problem 2.5.standard For 𝑐∈𝐹, let 𝑆𝑐∈L(𝐹[𝑥]) be the substitution 𝑆𝑐(𝑓)=𝑓(𝑥+𝑐) (Exercise 2.1.32), and let 𝐷 be differentiation. You may use the binomial theorem (𝑥+𝑐)𝑚=∑𝑘=0𝑚(𝑚𝑘)𝑐𝑘𝑥𝑚−𝑘 in 𝐹[𝑥], that 𝑆𝑐𝑆𝑑=𝑆𝑐+𝑑, and that 𝑝 divides (𝑝𝑘) for a prime 𝑝 and 0<𝑘<𝑝.

  1. (a)Let 𝐹=ℚ and 𝑛≥0. Show that on ℚ[𝑥]≤𝑛,

    𝑆𝑐=∑𝑘=0𝑛𝑐𝑘𝑘!𝐷𝑘.

    In particular 𝑓(𝑥+1)=∑𝑘𝐷𝑘(𝑓)/𝑘!, Taylor’s formula.

  2. (b)Deduce that 𝑆1 is invertible on ℚ[𝑥]≤𝑛, and find its inverse as a combination of powers of 𝐷.
  3. (c)Let 𝑝 be a prime and 𝐹=𝔽𝑝. Show that 𝑆1=∑𝑘=0𝑛(𝑘!)−1𝐷𝑘 on 𝔽𝑝[𝑥]≤𝑛 when 𝑛<𝑝, but that for 𝑛≥𝑝 there are no scalars 𝑎0,…,𝑎𝑟 with 𝑆1=∑𝑘=0𝑟𝑎𝑘𝐷𝑘 on 𝔽𝑝[𝑥]≤𝑛.

Solution.

Uses. Example 2.1.9 (Maps of polynomials), Corollary 2.2.6 (Agreeing on a spanning list), Proposition 2.1.23 (L(𝑉,𝑊) is a vector space), Proposition 2.1.17 (Compositions of linear maps are linear), Exercise 2.1.32

Techniques. Check it on a basis (Technique 2.2.7), Guess the inverse, then check both products (Technique 2.5.16)

Hint 1. Both sides of (a) are linear on ℚ[𝑥]≤𝑛, so compare them on 𝑥𝑚. Compute 𝐷𝑘(𝑥𝑚) first.
Hint 2. 𝐷𝑘(𝑥𝑚)/𝑘!=(𝑚𝑘)𝑥𝑚−𝑘 for 𝑘≤𝑚. For (c) with 𝑛≥𝑝, apply both sides to 𝑥𝑝.
Sketch. (a) 𝐷𝑘(𝑥𝑚)=𝑚(𝑚−1)⋯(𝑚−𝑘+1)𝑥𝑚−𝑘 for 𝑘≤𝑚 and 𝟎 for 𝑘>𝑚, so ∑𝑘𝑐𝑘𝐷𝑘(𝑥𝑚)/𝑘!=∑𝑘≤𝑚(𝑚𝑘)𝑐𝑘𝑥𝑚−𝑘=(𝑥+𝑐)𝑚. (b) 𝑆1𝑆−1=𝑆−1𝑆1=id, so 𝑆1−1=𝑆−1=∑(−1)𝑘𝐷𝑘/𝑘!. (c) For 𝑘≤𝑛<𝑝, 𝑘! is invertible in 𝔽𝑝 and (a) goes through. For 𝑛≥𝑝, 𝐷(𝑥𝑝)=𝟎, so the right side sends 𝑥𝑝 to 𝑎0𝑥𝑝, while 𝑆1(𝑥𝑝)=(𝑥+1)𝑝=𝑥𝑝+1.

Throughout, by induction on 𝑘, 𝐷𝑘(𝑥𝑚)=(𝑚(𝑚−1)⋯(𝑚−𝑘+1)∗1)𝑥𝑚−𝑘 for 𝑘≤𝑚, and 𝐷𝑘(𝑥𝑚)=𝟎 for 𝑘>𝑚 (Example 2.1.9).

(a) 𝑆𝑐 maps ℚ[𝑥]≤𝑛 into itself, since (𝑥+𝑐)𝑚 has degree 𝑚, and so does every 𝐷𝑘. Both sides of the claim are linear (Proposition 2.1.23, Proposition 2.1.17), so by Corollary 2.2.6 it suffices to compare them on 𝑥𝑚 for 0≤𝑚≤𝑛. For 𝑘≤𝑚, 𝑚(𝑚−1)⋯(𝑚−𝑘+1)/𝑘!=(𝑚𝑘), and the terms with 𝑘>𝑚 vanish, so

∑𝑘=0𝑛𝑐𝑘𝑘!𝐷𝑘(𝑥𝑚)=∑𝑘=0𝑚(𝑚𝑘)𝑐𝑘𝑥𝑚−𝑘=(𝑥+𝑐)𝑚=𝑆𝑐(𝑥𝑚).

(b) 𝑆1𝑆−1=𝑆−1𝑆1=𝑆0=id, and both maps preserve ℚ[𝑥]≤𝑛. By Technique 2.5.16, 𝑆1 is invertible on ℚ[𝑥]≤𝑛 with inverse 𝑆−1, and by (a) with 𝑐=−1,

𝑆1−1=∑𝑘=0𝑛(−1)𝑘𝑘!𝐷𝑘.

(c) The case 𝑛<𝑝. For 𝑘≤𝑛<𝑝, the scalar 𝑘!∗1 is a product of the nonzero elements 1,2,…,𝑘 of 𝔽𝑝, so it is invertible. The integer identity 𝑚(𝑚−1)⋯(𝑚−𝑘+1)=𝑘!(𝑚𝑘) holds in 𝔽𝑝 after reduction, so (𝑘!)−1𝐷𝑘(𝑥𝑚)=(𝑚𝑘)𝑥𝑚−𝑘, and the computation of (a) with 𝑐=1 goes through unchanged.

The case 𝑛≥𝑝. Suppose 𝑆1=∑𝑘=0𝑟𝑎𝑘𝐷𝑘 on 𝔽𝑝[𝑥]≤𝑛. The polynomial 𝑥𝑝 lies in this space. Since 𝐷(𝑥𝑝)=(𝑝∗1)𝑥𝑝−1=𝟎, every 𝐷𝑘(𝑥𝑝) with 𝑘≥1 is 𝟎, and the right side sends 𝑥𝑝 to 𝑎0𝑥𝑝. On the other hand, the coefficients (𝑝𝑘) with 0<𝑘<𝑝 are 0 in 𝔽𝑝, so

𝑆1(𝑥𝑝)=(𝑥+1)𝑝=𝑥𝑝+1.

So 𝑥𝑝+1=𝑎0𝑥𝑝, and the constant terms give 1=0, a contradiction.

Over 𝔽𝑝 the derivative cannot see 𝑥𝑝, but the shift moves it. So Taylor’s formula is a statement about fields in which the factorials can be inverted, and it fails exactly when the space contains 𝑥𝑝.

Problem 2.6.standard Let 𝑀 and 𝐷 be multiplication by 𝑥 and differentiation on 𝐹[𝑥]. You may use that multiplication of polynomials is associative and commutative and distributes over addition, that deg(𝑓𝑔)=deg𝑓+deg𝑔 for nonzero 𝑓,𝑔, and the product rule 𝐷(𝑓𝑔)=𝐷(𝑓)𝑔+𝑓𝐷(𝑔) (Exercise 2.1.49(a)).

  1. (a)Show that 𝑇∈L(𝐹[𝑥]) satisfies 𝑇𝑀=𝑀𝑇 if and only if there is 𝑞∈𝐹[𝑥] with 𝑇(𝑓)=𝑞𝑓 for every 𝑓, and that then 𝑞=𝑇(1).
  2. (b)For such 𝑇, show that 𝑇 is injective if and only if 𝑞≠𝟎, and surjective if and only if 𝑞 is a nonzero constant.
  3. (c)Find all 𝑇∈L(𝐹[𝑥]) that commute with both 𝑀 and 𝐷, when 𝐹 has characteristic 0 and when 𝐹=𝔽𝑝.

Solution.

Uses. Proposition 2.2.20 (Linear maps out of 𝐹[𝑥]), Theorem 2.6.11 (Injectivity is decided at 𝟎), Example 2.6.27 (Differentiation on 𝐹[𝑥]), Exercise 2.1.49

Techniques. Check it on a basis (Technique 2.2.7)

Hint 1. If 𝑇𝑀=𝑀𝑇, then 𝑇𝑀𝑘=𝑀𝑘𝑇. Apply this to the polynomial 1.
Hint 2. For (c), write 𝑇 as multiplication by 𝑞 and expand 𝐷(𝑞𝑓) with the product rule. What does 𝑇𝐷=𝐷𝑇 say about 𝐷(𝑞)?
Sketch. (a) 𝑇(𝑥𝑘)=𝑇(𝑀𝑘(1))=𝑀𝑘(𝑇(1))=𝑥𝑘𝑞, and two linear maps that agree on the monomials are equal; conversely 𝑞(𝑥𝑓)=𝑥(𝑞𝑓). (b) 𝑞𝑓=𝟎 with 𝑞,𝑓≠𝟎 is impossible by degrees; if 𝑇 is onto, 𝑞𝑔=1 forces deg𝑞=0. (c) 𝐷(𝑞𝑓)=𝐷(𝑞)𝑓+𝑞𝐷(𝑓), so 𝑇 commutes with 𝐷 iff 𝐷(𝑞)𝑓=𝟎 for all 𝑓, iff 𝐷(𝑞)=𝟎. So 𝑇=𝑐id in characteristic 0, and over 𝔽𝑝, 𝑇 is multiplication by a polynomial in 𝑥𝑝.

(a) If 𝑇(𝑓)=𝑞𝑓 for all 𝑓, then 𝑇(1)=𝑞 and 𝑇(𝑀𝑓)=𝑞𝑥𝑓=𝑥𝑞𝑓=𝑀(𝑇(𝑓)) by commutativity. Conversely, suppose 𝑇𝑀=𝑀𝑇. By induction, 𝑇𝑀𝑘=𝑀𝑘𝑇 for every 𝑘≥0: if 𝑇𝑀𝑘=𝑀𝑘𝑇, then 𝑇𝑀𝑘+1=(𝑇𝑀𝑘)𝑀=𝑀𝑘𝑇𝑀=𝑀𝑘𝑀𝑇. With 𝑞=𝑇(1),

𝑇(𝑥𝑘)=𝑇(𝑀𝑘(1))=𝑀𝑘(𝑇(1))=𝑥𝑘𝑞.

Multiplication by 𝑞 is linear, by distributivity and 𝑐(𝑞𝑓)=𝑞(𝑐𝑓), and it agrees with 𝑇 on every monomial. By the uniqueness in Proposition 2.2.20, 𝑇(𝑓)=𝑞𝑓 for all 𝑓.

(b) If 𝑞=𝟎, then 𝑇=0, which is not injective. If 𝑞≠𝟎 and 𝑓≠𝟎, then deg(𝑞𝑓)=deg𝑞+deg𝑓≥0, so 𝑞𝑓≠𝟎; by Theorem 2.6.11, 𝑇 is injective.

If 𝑞=𝑐 is a nonzero constant, then 𝑇=𝑐id is surjective. Conversely, if 𝑇 is surjective, then 1=𝑞𝑔 for some 𝑔. Both 𝑞 and 𝑔 are nonzero, so deg𝑞+deg𝑔=deg1=0, which forces deg𝑞=0: 𝑞 is a nonzero constant. For instance, multiplication by 𝑥 is injective but not surjective, as in Example 2.6.4(e).

(c) By (a), 𝑇 commutes with 𝑀 exactly when it is multiplication by some 𝑞. For such 𝑇, the product rule gives 𝐷(𝑇(𝑓))=𝐷(𝑞𝑓)=𝐷(𝑞)𝑓+𝑞𝐷(𝑓)=𝐷(𝑞)𝑓+𝑇(𝐷(𝑓)). So 𝐷𝑇=𝑇𝐷 if and only if 𝐷(𝑞)𝑓=𝟎 for every 𝑓. Taking 𝑓=1 shows that this forces 𝐷(𝑞)=𝟎, and conversely 𝐷(𝑞)=𝟎 makes it hold. So the operators commuting with 𝑀 and 𝐷 are the multiplications by the polynomials in ker𝐷, which Example 2.6.27 computed.

  • If 𝐹 has characteristic 0, ker𝐷 consists of the constants, so 𝑇=𝑐id for some 𝑐∈𝐹.
  • If 𝐹=𝔽𝑝, ker𝐷 consists of the polynomials 𝑏0+𝑏1𝑥𝑝+𝑏2𝑥2𝑝+⋯, so 𝑇 is multiplication by a polynomial in 𝑥𝑝. For instance 𝑓↦𝑥𝑝𝑓 commutes with 𝐷, because 𝐷(𝑥𝑝)=(𝑝∗1)𝑥𝑝−1=𝟎.

Problem 2.7.standard Let 𝑛≥0, let 𝑐0,…,𝑐𝑛∈𝐹 be distinct, and let 𝐿0,…,𝐿𝑛∈𝐹[𝑥]≤𝑛 be the Lagrange polynomials (Definition 3.4.26), so that 𝐿𝑖(𝑐𝑘) is 1 for 𝑘=𝑖 and 0 otherwise. Write 𝑉=𝐹[𝑥]≤𝑛 and ev𝑐:𝑉→𝐹, 𝑓↦𝑓(𝑐).

  1. (a)Show that 𝐿0,…,𝐿𝑛 is a basis of 𝑉, and that every 𝜑∈L(𝑉,𝐹) satisfies 𝜑=∑𝑖=0𝑛𝜑(𝐿𝑖)ev𝑐𝑖. Deduce that ev𝑐0,…,ev𝑐𝑛 is a basis of L(𝑉,𝐹).
  2. (b)Let 𝑛=2 and (𝑐0,𝑐1,𝑐2)=(0,1,2), and suppose 2≠0 in 𝐹. Find the scalars 𝑤0,𝑤1,𝑤2 with 𝑓′(0)=𝑤0𝑓(0)+𝑤1𝑓(1)+𝑤2𝑓(2) for every 𝑓∈𝐹[𝑥]≤2, where 𝑓′=𝐷(𝑓). Write the formula over 𝔽3.
  3. (c)Show that over ℚ no 𝑤0,𝑤1,𝑤2 make the formula of (b) hold for every 𝑓∈ℚ[𝑥]≤3.

Solution.

Uses. Proposition 3.4.27 (Lagrange’s formula), Definition 3.4.26 (Lagrange polynomials), Proposition 1.2.18 (Degree and evaluation versus the operations), Example 2.1.9 (Maps of polynomials), Proposition 2.1.23 (L(𝑉,𝑊) is a vector space), Corollary 2.2.6 (Agreeing on a spanning list)

Techniques. Check it on a basis (Technique 2.2.7)

Hint 1. Lagrange’s formula (Proposition 3.4.27) writes every 𝑓∈𝑉 as ∑𝑓(𝑐𝑖)𝐿𝑖. For the second claim, compare both sides on the basis 𝐿0,…,𝐿𝑛.
Hint 2. In (b), the scalars are 𝑤𝑖=𝜑(𝐿𝑖) for 𝜑(𝑓)=𝑓′(0), and 𝑓′(0) is the coefficient of 𝑥 in 𝑓. Find 𝐿0,𝐿1,𝐿2 by checking values. For (c), find a cubic that vanishes at 0,1,2.
Sketch. (a) 𝑓=∑𝑓(𝑐𝑖)𝐿𝑖 by Proposition 3.4.27, and evaluating a relation ∑𝑎𝑖𝐿𝑖=𝟎 at 𝑐𝑘 gives 𝑎𝑘=0. Both 𝜑 and ∑𝜑(𝐿𝑖)ev𝑐𝑖 send 𝐿𝑘 to 𝜑(𝐿𝑘), so they agree; a relation ∑𝑎𝑖ev𝑐𝑖=0 applied to 𝐿𝑘 gives 𝑎𝑘=0. (b) 𝐿0=1−32𝑥+12𝑥2, 𝐿1=2𝑥−𝑥2, 𝐿2=−12𝑥+12𝑥2, so 𝑓′(0)=−32𝑓(0)+2𝑓(1)−12𝑓(2); over 𝔽3, 𝑓′(0)=2𝑓(1)+𝑓(2). (c) 𝑓=𝑥3−3𝑥2+2𝑥 vanishes at 0,1,2 and has 𝑓′(0)=2.

(a) Basis. Let 𝑓∈𝑉. By Proposition 3.4.27 with 𝑑𝑖=𝑓(𝑐𝑖), the polynomial ∑𝑖𝑓(𝑐𝑖)𝐿𝑖 is the unique element of 𝑉 with the values 𝑓(𝑐0),…,𝑓(𝑐𝑛), and 𝑓 is such an element, so 𝑓=∑𝑖𝑓(𝑐𝑖)𝐿𝑖. Hence the 𝐿𝑖 span 𝑉. If ∑𝑖𝑎𝑖𝐿𝑖=𝟎, then evaluating at 𝑐𝑘, which is linear (Proposition 1.2.18(c)), gives 𝑎𝑘=0. So 𝐿0,…,𝐿𝑛 is a basis of 𝑉, and the coordinates of 𝑓 in it are (𝑓(𝑐0),…,𝑓(𝑐𝑛)).

The formula. Each ev𝑐𝑖 is linear (Example 2.1.9), so 𝜓=∑𝑖𝜑(𝐿𝑖)ev𝑐𝑖 is linear (Proposition 2.1.23). On a basis vector,

𝜓(𝐿𝑘)=∑𝑖=0𝑛𝜑(𝐿𝑖)𝐿𝑘(𝑐𝑖)=𝜑(𝐿𝑘),

since only the term 𝑖=𝑘 survives. By Corollary 2.2.6, 𝜓=𝜑. So the evaluations span L(𝑉,𝐹). If ∑𝑖𝑎𝑖ev𝑐𝑖 is the zero map, applying it to 𝐿𝑘 gives 𝑎𝑘=0. So ev𝑐0,…,ev𝑐𝑛 is a basis of L(𝑉,𝐹), and the coefficients of 𝜑 in it are the values 𝜑(𝐿𝑖).

(b) Since 2≠0, the points 0,1,2 are distinct. The polynomials

𝐿0=1−32𝑥+12𝑥2,𝐿1=2𝑥−𝑥2,𝐿2=−12𝑥+12𝑥2

have the required values: 𝐿0 takes the values 1,1−32+12=0,1−3+2=0 at 0,1,2; 𝐿1 takes 0,1,4−4=0; and 𝐿2 takes 0,0,−1+2=1. By the uniqueness in Definition 3.4.26, these are the Lagrange polynomials. The map 𝜑(𝑓)=𝑓′(0)=ev0(𝐷(𝑓)) is linear, and for 𝑓=𝑎+𝑏𝑥+𝑐𝑥2, 𝐷(𝑓)=𝑏+2𝑐𝑥, so 𝑓′(0)=𝑏 is the coefficient of 𝑥. By (a), the formula holds with 𝑤𝑖=𝜑(𝐿𝑖), and with no other scalars, since the evaluations are independent:

𝑓′(0)=−32𝑓(0)+2𝑓(1)−12𝑓(2).

Over 𝔽3, 2−1=2, so −32=0 and −12=−2=1, and the formula reads 𝑓′(0)=2𝑓(1)+𝑓(2). As a check over 𝔽3: for 𝑓=1, 𝑥, 𝑥2 the right side is 2+1=0, 2+2=1, 2+4=0, which are the coefficients of 𝑥.

(c) Let 𝑓=𝑥3−3𝑥2+2𝑥. Then 𝑓(0)=0, 𝑓(1)=1−3+2=0, 𝑓(2)=8−12+4=0, and 𝑓′(0)=2, the coefficient of 𝑥. Any formula 𝑓′(0)=𝑤0𝑓(0)+𝑤1𝑓(1)+𝑤2𝑓(2) would give 2=0. The three values cannot see a cubic that vanishes at all three points; on ℚ[𝑥]≤3 the evaluations at three points span only a part of L(ℚ[𝑥]≤3,ℚ).

Problem 2.8.standard A matrix 𝑃 is idempotent if 𝑃2=𝑃. By Exercise 2.5.46(a), every 𝐴=(𝑎𝑏𝑐𝑑)∈𝐹2×2 satisfies 𝐴2−(𝑎+𝑑)𝐴+(𝑎𝑑−𝑏𝑐)𝐼2=0.

  1. (a)Show that 𝐴∈𝐹2×2 is idempotent if and only if 𝐴=0, 𝐴=𝐼2, or (𝑎+𝑑=1 and 𝑎𝑑−𝑏𝑐=0).
  2. (b)Let 𝑝 be a prime. Show that exactly 𝑝2+𝑝+2 matrices in 𝔽𝑝2×2 are idempotent.
  3. (c)Suppose 1+1≠0 in 𝐹. Show that 𝑃↦2𝑃−𝐼𝑛 is a bijection from the idempotent matrices in 𝐹𝑛×𝑛 onto the matrices 𝑆 with 𝑆2=𝐼𝑛. Compare (b) with Exercise 2.5.46(c).
  4. (d)Over 𝔽2, count the 𝑆∈𝔽22×2 with 𝑆2=𝐼2, and show that every 𝐴∈𝔽22×2 is invertible, idempotent, or satisfies 𝐴2=0. Show that this fails over 𝔽3.

Solution.

Uses. Exercise 2.5.46, Proposition 2.5.28 (Inverse of a 2×2 matrix), Proposition 2.4.14 (Algebra of matrices)

Techniques. Try small cases and small fields (Technique 1.2.38)

Hint 1. Write 𝑡=𝑎+𝑑 and Δ=𝑎𝑑−𝑏𝑐, so 𝐴2=𝑡𝐴−Δ𝐼2. If 𝐴2=𝐴, then (𝑡−1)𝐴=Δ𝐼2. Split into 𝑡≠1 and 𝑡=1.
Hint 2. For (b), count the triples (𝑎,𝑏,𝑐) with 𝑏𝑐=𝑎(1−𝑎), separating 𝑎∈{0,1} from the other 𝑝−2 values. For (c), the inverse map is 𝑆↦(𝑆+𝐼𝑛)/2.
Sketch. (a) If 𝑡≠1, 𝐴 is a scalar 𝜆𝐼2 with 𝜆2=𝜆; if 𝑡=1, Δ𝐼2=0. (b) 𝑏𝑐=𝑎(1−𝑎) has 2𝑝−1 solutions for 𝑎∈{0,1} and 𝑝−1 for each other 𝑎: 2(2𝑝−1)+(𝑝−2)(𝑝−1)+2=𝑝2+𝑝+2. (c) (2𝑃−𝐼𝑛)2=4(𝑃2−𝑃)+𝐼𝑛 and ((𝑆+𝐼𝑛)/2)2=(𝑆+𝐼𝑛)/2 when 𝑆2=𝐼𝑛. (d) Over 𝔽2, 𝐴2=𝑡𝐴+Δ𝐼2 with 𝑡,Δ∈𝔽2; four involutions; Δ=1 invertible, (𝑡,Δ)=(0,0) square-zero, (1,0) idempotent. Over 𝔽3, (2000) is none of these.

Write 𝑡=𝑎+𝑑 and Δ=𝑎𝑑−𝑏𝑐, so that 𝐴2=𝑡𝐴−Δ𝐼2.

(a) Suppose 𝐴2=𝐴. Then 𝐴=𝑡𝐴−Δ𝐼2, that is, (𝑡−1)𝐴=Δ𝐼2. If 𝑡≠1, then 𝐴=(𝑡−1)−1Δ𝐼2=𝜆𝐼2 for a scalar 𝜆, and 𝐴2=𝐴 gives 𝜆2=𝜆, so 𝜆∈{0,1} and 𝐴=0 or 𝐴=𝐼2. If 𝑡=1, then Δ𝐼2=0, so Δ=0. Conversely, 0 and 𝐼2 are idempotent, and if 𝑡=1 and Δ=0, then 𝐴2=𝐴−0=𝐴. (The three cases do not overlap: tr0=0 and tr𝐼2=1+1, and neither is 1.)

(b) By (a), we count the 𝐴 with 𝑑=1−𝑎 and 𝑏𝑐=𝑎(1−𝑎), and add 2. Fix 𝑎∈𝔽𝑝.

  • If 𝑎∈{0,1}, the condition is 𝑏𝑐=0, which has 2𝑝−1 solutions (𝑏=0 with 𝑐 arbitrary, or 𝑐=0 with 𝑏≠0).
  • Otherwise 𝑘=𝑎(1−𝑎)≠0, and 𝑏𝑐=𝑘 has 𝑝−1 solutions: 𝑏 is any nonzero element and 𝑐=𝑘𝑏−1.

The total is 2(2𝑝−1)+(𝑝−2)(𝑝−1)+2=4𝑝−2+𝑝2−3𝑝+2+2=𝑝2+𝑝+2. For 𝑝=2 there are no values of the second kind, and the count is 8.

(c) Write 2=1+1. If 𝑃2=𝑃, then by Proposition 2.4.14

(2𝑃−𝐼𝑛)2=4𝑃2−4𝑃+𝐼𝑛=𝐼𝑛.

If 𝑆2=𝐼𝑛, then 𝑃=2−1(𝑆+𝐼𝑛) satisfies 𝑃2=4−1(𝑆2+2𝑆+𝐼𝑛)=4−1(2𝑆+2𝐼𝑛)=𝑃. The maps 𝑃↦2𝑃−𝐼𝑛 and 𝑆↦2−1(𝑆+𝐼𝑛) are inverse to each other, so the first is a bijection. For an odd prime 𝑝, (b) therefore counts the 𝑆∈𝔽𝑝2×2 with 𝑆2=𝐼2, which are the matrices with 𝑆−1=𝑆, and Exercise 2.5.46(c) found 𝑝2+𝑝+2 of them as well.

(d) Over 𝔽2, −1=1, so 𝐴2=𝑡𝐴+Δ𝐼2. If 𝑆2=𝐼2, then 𝑡𝑆=(1+Δ)𝐼2. If 𝑡=1, then 𝑆=(1+Δ)𝐼2 is 0 or 𝐼2, and both have trace 0, a contradiction. So 𝑡=0, and then (1+Δ)𝐼2=0 gives Δ=1. Conversely, 𝑡=0 and Δ=1 give 𝑆2=𝐼2. These are the matrices with 𝑑=𝑎 and 𝑎+𝑏𝑐=1: for 𝑎=0, 𝑏=𝑐=1; for 𝑎=1, 𝑏𝑐=0. So there are 4:

𝐼2,(0110),(1101),(1011),

against 8 idempotents. The bijection of (c) fails because 2𝑃−𝐼2=𝐼2 for every 𝑃.

Every 𝐴∈𝔽22×2 has 𝑡,Δ∈{0,1}. If Δ=1, 𝐴 is invertible (Proposition 2.5.28(a)). If Δ=0, then 𝐴2=𝑡𝐴, which is 0 for 𝑡=0 and 𝐴 for 𝑡=1. Over 𝔽3, 𝐴=(2000) has Δ=0, so it is not invertible (Proposition 2.5.28(b)), and 𝐴2=(1000), which is neither 0 nor 𝐴.

Problem 2.9.standard Let 𝐴∈𝐹𝑚×𝑛 and 𝐵∈𝐹𝑛×𝑚. A square matrix 𝑁 is nilpotent if 𝑁𝑘=0 for some 𝑘≥1.

  1. (a)Show that (𝐵𝐴)𝑘+1=𝐵(𝐴𝐵)𝑘𝐴 for every 𝑘≥0.
  2. (b)Deduce that 𝐴𝐵 is nilpotent if and only if 𝐵𝐴 is, and that (𝐴𝐵)𝑘=0 implies (𝐵𝐴)𝑘+1=0.
  3. (c)Find 𝐴,𝐵∈𝐹2×2 with 𝐴𝐵=0 and 𝐵𝐴≠0. So the exponents in (b) can differ.
  4. (d)Show that tr((𝐴𝐵)𝑘)=tr((𝐵𝐴)𝑘) for every 𝑘≥1.

Solution.

Uses. Proposition 2.4.14 (Algebra of matrices), Lemma 2.4.24 (Matrix units), Proposition 2.4.28 (Cyclicity of the trace)

Techniques. Cyclicity of trace (Technique 2.4.29)

Hint 1. Write out (𝐵𝐴)𝑘+1=𝐵𝐴𝐵𝐴⋯𝐵𝐴 and regroup by associativity, or induct on 𝑘.
Hint 2. For (c), try matrix units: 𝑈𝑖𝑗𝑈𝑘𝑙=𝛿𝑗𝑘𝑈𝑖𝑙. For (d), apply cyclicity to 𝐴⋅(𝐵(𝐴𝐵)𝑘−1).
Sketch. (a) Induction: (𝐵𝐴)𝑘+2=𝐵(𝐴𝐵)𝑘𝐴𝐵𝐴=𝐵(𝐴𝐵)𝑘+1𝐴. (b) If (𝐴𝐵)𝑘=0, then (𝐵𝐴)𝑘+1=0; swap the roles of 𝐴 and 𝐵. (c) 𝐴=𝑈11, 𝐵=𝑈21: 𝐴𝐵=0, 𝐵𝐴=𝑈21. (d) tr((𝐴𝐵)𝑘)=tr(𝐴(𝐵(𝐴𝐵)𝑘−1))=tr(𝐵(𝐴𝐵)𝑘−1𝐴)=tr((𝐵𝐴)𝑘).

(a) For 𝑘=0 both sides are 𝐵𝐴. If the identity holds for 𝑘, then by associativity

(𝐵𝐴)𝑘+2=(𝐵𝐴)𝑘+1(𝐵𝐴)=𝐵(𝐴𝐵)𝑘𝐴𝐵𝐴=𝐵(𝐴𝐵)𝑘(𝐴𝐵)𝐴=𝐵(𝐴𝐵)𝑘+1𝐴.

(b) If (𝐴𝐵)𝑘=0, then (𝐵𝐴)𝑘+1=𝐵0𝐴=0 by (a), so 𝐵𝐴 is nilpotent. Exchanging the roles of 𝐴 and 𝐵 (the identity of (a) holds with 𝐴 and 𝐵 swapped, by the same proof), if 𝐵𝐴 is nilpotent, so is 𝐴𝐵.

(c) Let 𝐴=𝑈11 and 𝐵=𝑈21, with 𝑈𝑖𝑗=𝐞𝑖𝐞𝑗𝖳∈𝐹2×2. By Lemma 2.4.24(c), 𝐴𝐵=𝑈11𝑈21=0 and 𝐵𝐴=𝑈21𝑈11=𝑈21≠0. Here (𝐴𝐵)1=0 while (𝐵𝐴)1≠0, and (𝐵𝐴)2=0, as (b) predicts.

(d) For 𝑘≥1, by Proposition 2.4.28 applied to the product of 𝐴 and 𝐵(𝐴𝐵)𝑘−1, and then (a),

tr((𝐴𝐵)𝑘)=tr(𝐴(𝐵(𝐴𝐵)𝑘−1))=tr(𝐵(𝐴𝐵)𝑘−1𝐴)=tr((𝐵𝐴)𝑘).

So 𝐴𝐵 and 𝐵𝐴 cannot be told apart by the traces of their powers, although they may have different sizes and, as (c) shows, different nilpotency exponents.

Problem 2.10.standard Call 𝑁∈L(𝑉) nilpotent if 𝑁𝑘=0 for some 𝑘≥1. You may use the binomial theorem for commuting operators, which has the same proof as for numbers.

  1. (a)Show that the sum of two commuting nilpotent operators is nilpotent.
  2. (b)Show that the sum of two nilpotent matrices in 𝐹2×2 can be invertible. Deduce that the nilpotent matrices in 𝐹2×2 do not form a subspace.
  3. (c)Let 𝐺∈L(𝑉) be invertible and 𝑁∈L(𝑉) nilpotent, with 𝐺𝑁=𝑁𝐺. Show that 𝐺+𝑁 is invertible, and find its inverse.
  4. (d)Show that (c) can fail if 𝐺𝑁≠𝑁𝐺.

Solution.

Hint 1. (a) If 𝑁1𝑎=0 and 𝑁2𝑏=0, expand (𝑁1+𝑁2)𝑎+𝑏−1. (b) Try 𝑈12+𝑈21.
Hint 2. (c) Factor 𝐺+𝑁=𝐺(id+𝐺−1𝑁). Show that 𝐺−1 commutes with 𝑁, so that 𝐺−1𝑁 is nilpotent.
Sketch. (a) Every term 𝑁1𝑗𝑁2𝑎+𝑏−1−𝑗 has 𝑗≥𝑎 or 𝑎+𝑏−1−𝑗≥𝑏. (b) (𝑈12+𝑈21)2=𝐼2. (c) 𝐺−1𝑁=𝑁𝐺−1, so (𝐺−1𝑁)𝑘=𝐺−𝑘𝑁𝑘=0, id+𝐺−1𝑁 is invertible by Exercise 2.5.39, and (𝐺+𝑁)−1=∑𝑗<𝑘(−1)𝑗𝐺−𝑗−1𝑁𝑗. (d) 𝐺=𝑈12+𝑈21, 𝑁=−𝑈12: 𝐺+𝑁=𝑈21.

(a) Let 𝑁1𝑎=0 and 𝑁2𝑏=0, with 𝑁1𝑁2=𝑁2𝑁1. By the binomial theorem,

(𝑁1+𝑁2)𝑎+𝑏−1=∑𝑗=0𝑎+𝑏−1(𝑎+𝑏−1𝑗)𝑁1𝑗𝑁2𝑎+𝑏−1−𝑗.

In each term, either 𝑗≥𝑎, and then 𝑁1𝑗=0, or 𝑗≤𝑎−1, and then 𝑎+𝑏−1−𝑗≥𝑏 and 𝑁2𝑎+𝑏−1−𝑗=0. So every term is 0.

(b) 𝑈12 and 𝑈21 satisfy 𝑈122=𝑈212=0 by Lemma 2.4.24(c), but 𝑆=𝑈12+𝑈21=(0110) satisfies 𝑆2=𝑈11+𝑈22=𝐼2, so it is invertible, and it is not nilpotent: 𝑆𝑘 is 𝐼2 or 𝑆. So the set of nilpotent matrices is not closed under addition. (Here 𝑈12𝑈21≠𝑈21𝑈12, so (a) does not apply.)

(c) Multiplying 𝐺𝑁=𝑁𝐺 by 𝐺−1 on both sides gives 𝑁𝐺−1=𝐺−1𝑁. So 𝐺−1 and 𝑁 commute, and by induction (𝐺−1𝑁)𝑗=𝐺−𝑗𝑁𝑗. If 𝑁𝑘=0, then 𝑁′=𝐺−1𝑁 satisfies 𝑁′𝑘=0. By Exercise 2.5.39(a), applied to the nilpotent operator −𝑁′, id+𝑁′ is invertible with inverse ∑𝑗=0𝑘−1(−𝑁′)𝑗. Now 𝐺+𝑁=𝐺(id+𝑁′) is a composite of invertible maps, so it is invertible (Proposition 2.5.17(b)), with

(𝐺+𝑁)−1=(id+𝑁′)−1𝐺−1=∑𝑗=0𝑘−1(−1)𝑗𝐺−𝑗𝑁𝑗𝐺−1=∑𝑗=0𝑘−1(−1)𝑗𝐺−𝑗−1𝑁𝑗.

(d) Let 𝐺=𝑈12+𝑈21∈𝐹2×2, which is invertible by (b), and 𝑁=−𝑈12, which satisfies 𝑁2=0. Then 𝐺+𝑁=𝑈21 has a zero row, so it has no right inverse (Exercise 2.5.9(b)) and is not invertible. Indeed 𝐺𝑁=−𝑈22 and 𝑁𝐺=−𝑈11, so 𝐺 and 𝑁 do not commute.

In (c) the commutation is what lets the geometric series of Technique 2.5.16 run: without it, (𝐺−1𝑁)𝑗 is not 𝐺−𝑗𝑁𝑗, and 𝐺−1𝑁 need not be nilpotent at all.

Problem 2.11.standard Let 𝑛≥2, and let 𝑋∈𝐹𝑛×𝑛 be invertible with columns 𝐱1,…,𝐱𝑛. Let 𝑌∈𝐹𝑛×𝑛 have columns 𝐱2,…,𝐱𝑛,𝟎, the columns of 𝑋 moved one place to the left with a zero column at the end.

  1. (a)Find a matrix 𝑁, not depending on 𝑋, with 𝑌=𝑋𝑁.
  2. (b)Show that 𝑋−1𝑌 and 𝑌𝑋−1 are nilpotent, and that (𝑋−1𝑌)𝑛−1≠0 and (𝑌𝑋−1)𝑛−1≠0.

Solution.

Uses. Proposition 2.4.8 (Four views of the product), Proposition 2.3.13 (Linearity of the product), Proposition 2.4.14 (Algebra of matrices)

Hint 1. By the column view, column 𝑗 of 𝑋𝑁 is 𝑋(𝑁𝐞𝑗). Which 𝑁𝐞𝑗 gives 𝐱𝑗+1?
Hint 2. 𝑁𝐞𝑗=𝐞𝑗+1 for 𝑗<𝑛 and 𝑁𝐞𝑛=𝟎. Compute 𝑁𝑘𝐞𝑗, and use (𝑋𝑁𝑋−1)𝑘=𝑋𝑁𝑘𝑋−1.
Sketch. (a) 𝑁 has columns 𝐞2,…,𝐞𝑛,𝟎, so 𝑋𝑁𝐞𝑗=𝑋𝐞𝑗+1=𝐱𝑗+1. (b) 𝑋−1𝑌=𝑁, and 𝑁𝑘𝐞𝑗=𝐞𝑗+𝑘 when 𝑗+𝑘≤𝑛 and 𝟎 otherwise, so 𝑁𝑛=0 and 𝑁𝑛−1𝐞1=𝐞𝑛. Also 𝑌𝑋−1=𝑋𝑁𝑋−1 has 𝑘-th power 𝑋𝑁𝑘𝑋−1, which is 0 exactly when 𝑁𝑘=0.

(a) Let 𝑁∈𝐹𝑛×𝑛 have columns 𝐞2,…,𝐞𝑛,𝟎, so 𝑁𝐞𝑗=𝐞𝑗+1 for 𝑗<𝑛 and 𝑁𝐞𝑛=𝟎. By the column view (Proposition 2.4.8(b)) and Proposition 2.3.13(c), column 𝑗 of 𝑋𝑁 is 𝑋(𝑁𝐞𝑗), which is 𝑋𝐞𝑗+1=𝐱𝑗+1 for 𝑗<𝑛 and 𝑋𝟎=𝟎 for 𝑗=𝑛. So 𝑋𝑁=𝑌.

(b) 𝑋−1𝑌=𝑁. By induction on 𝑘, 𝑁𝑘𝐞𝑗=𝐞𝑗+𝑘 if 𝑗+𝑘≤𝑛, and 𝑁𝑘𝐞𝑗=𝟎 otherwise. So 𝑁𝑛𝐞𝑗=𝟎 for every 𝑗, that is, 𝑁𝑛=0, while 𝑁𝑛−1𝐞1=𝐞𝑛≠𝟎, so 𝑁𝑛−1≠0.

𝑌𝑋−1=𝑋𝑁𝑋−1. By induction, (𝑋𝑁𝑋−1)𝑘=𝑋𝑁𝑘𝑋−1: the inner factors 𝑋−1𝑋 cancel. So (𝑌𝑋−1)𝑛=𝑋0𝑋−1=0. If (𝑌𝑋−1)𝑛−1=𝑋𝑁𝑛−1𝑋−1 were 0, then 𝑁𝑛−1=𝑋−1(𝑋𝑁𝑛−1𝑋−1)𝑋=0, which is false.

The problem looks like a statement about 𝑋, but 𝑋 only changes coordinates: both products are the shift 𝑁, seen in two different bases.

Problem 2.12.standard Let 𝑛≥1, let 𝑊 be a subspace of 𝐹𝑛×𝑛, and let 𝑈𝑖𝑗=𝐞𝑖𝐞𝑗𝖳.

  1. (a)Suppose that 𝐴𝑋∈𝑊 and 𝑋𝐴∈𝑊 for all 𝐴∈𝐹𝑛×𝑛 and 𝑋∈𝑊. Show that 𝑊={0} or 𝑊=𝐹𝑛×𝑛.
  2. (b)Let 𝑛≥2, and let 𝑊1 be the set of matrices whose columns 2,…,𝑛 are zero. Show that 𝐴𝑋∈𝑊1 for all 𝐴∈𝐹𝑛×𝑛 and 𝑋∈𝑊1, but that 𝑋𝐴∉𝑊1 for some 𝑋∈𝑊1 and 𝐴.
  3. (c)Let 𝜓:𝐹𝑛×𝑛→𝐹𝑚×𝑚 be linear and nonzero, with 𝜓(𝑋𝑌)=𝜓(𝑋)𝜓(𝑌) for all 𝑋,𝑌. Show that 𝜓 is injective, and give an example with 𝑚=2𝑛.

Solution.

Uses. Lemma 2.4.24 (Matrix units), Proposition 1.4.14 (The span is the smallest subspace containing a list), Theorem 1.4.3 (Subspace criterion), Theorem 2.4.34 (Block multiplication), Proposition 2.6.8 (Kernels and images are subspaces), Theorem 2.6.11 (Injectivity is decided at 𝟎)

Techniques. Compute entry by entry (Technique 2.4.15)

Hint 1. If 𝑋∈𝑊 has a nonzero entry 𝑥𝑗𝑘, multiply 𝑋 on both sides by matrix units to isolate it: compute 𝑈𝑖𝑗𝑋𝑈𝑘𝑙.
Hint 2. For (c), show that ker𝜓 satisfies the hypothesis of (a).
Sketch. (a) 𝑈𝑖𝑗𝑋𝑈𝑘𝑙=𝑥𝑗𝑘𝑈𝑖𝑙, so a nonzero entry 𝑥𝑗𝑘 puts every 𝑈𝑖𝑙 in 𝑊, and the units span. (b) 𝐴(𝐱𝐞1𝖳)=(𝐴𝐱)𝐞1𝖳∈𝑊1, but 𝑈11𝑈12=𝑈12∉𝑊1. (c) ker𝜓 is a subspace with 𝜓(𝐴𝑋)=𝜓(𝐴)𝜓(𝑋)=0 and 𝜓(𝑋𝐴)=0 for 𝑋∈ker𝜓; it is not everything since 𝜓≠0, so it is {0}. Example: 𝜓(𝑋)=(𝑋00𝑋).

(a) Suppose 𝑊≠{0}, and let 𝑋∈𝑊 have an entry 𝑥𝑗𝑘≠0. For any 𝑖,𝑙, the hypothesis applied twice gives 𝑈𝑖𝑗𝑋∈𝑊 and then 𝑈𝑖𝑗𝑋𝑈𝑘𝑙∈𝑊. By associativity and Lemma 2.4.24(b),

𝑈𝑖𝑗𝑋𝑈𝑘𝑙=𝐞𝑖(𝐞𝑗𝖳𝑋𝐞𝑘)𝐞𝑙𝖳=𝑥𝑗𝑘𝑈𝑖𝑙.

Since 𝑊 is a subspace, 𝑈𝑖𝑙=𝑥𝑗𝑘−1(𝑥𝑗𝑘𝑈𝑖𝑙)∈𝑊. So 𝑊 contains every matrix unit, and the matrix units span 𝐹𝑛×𝑛 (Lemma 2.4.24(a)), so 𝑊=𝐹𝑛×𝑛 by Proposition 1.4.14(b).

(b) The matrices of 𝑊1 are the 𝐱𝐞1𝖳 with 𝐱∈𝐹𝑛, and they form a subspace (Theorem 1.4.3). For 𝐴∈𝐹𝑛×𝑛, 𝐴(𝐱𝐞1𝖳)=(𝐴𝐱)𝐞1𝖳∈𝑊1. But 𝑈11∈𝑊1 and 𝑈11𝑈12=𝑈12, whose second column is 𝐞1≠𝟎, so 𝑈12∉𝑊1. So for one-sided closure there are more subspaces than {0} and 𝐹𝑛×𝑛; in (a), the proof multiplied by matrix units on both sides, and closure on the right is exactly what 𝑊1 lacks.

(c) ker𝜓 is a subspace of 𝐹𝑛×𝑛 (Proposition 2.6.8). If 𝑋∈ker𝜓 and 𝐴∈𝐹𝑛×𝑛, then 𝜓(𝐴𝑋)=𝜓(𝐴)𝜓(𝑋)=𝜓(𝐴)0=0 and 𝜓(𝑋𝐴)=𝜓(𝑋)𝜓(𝐴)=0, so 𝐴𝑋,𝑋𝐴∈ker𝜓. By (a), ker𝜓={0} or ker𝜓=𝐹𝑛×𝑛. The second would mean 𝜓=0. So ker𝜓={0}, and 𝜓 is injective (Theorem 2.6.11).

For an example, let 𝜓(𝑋)=(𝑋00𝑋)∈𝐹2𝑛×2𝑛. It is linear, nonzero, and multiplicative, since block diagonal matrices multiply block by block (Theorem 2.4.34).

Problem 2.13.standard For 𝑍∈ℂ𝑚×𝑛 write 𝑍=𝑋+𝑖𝑌 with 𝑋,𝑌∈ℝ𝑚×𝑛 (the entrywise real and imaginary parts), and let

𝜌(𝑍)=(𝑋−𝑌𝑌𝑋)∈ℝ2𝑚×2𝑛.
  1. (a)Show that 𝜌(𝑍𝑊)=𝜌(𝑍)𝜌(𝑊) for 𝑍∈ℂ𝑚×𝑛 and 𝑊∈ℂ𝑛×𝑝, that 𝜌 is ℝ-linear, and that 𝜌(𝐼𝑛)=𝐼2𝑛.
  2. (b)Regard ℂ𝑛 as a vector space over ℝ (Proposition 1.2.19), with the list ℬ︀𝑛=𝐞1,…,𝐞𝑛,𝑖𝐞1,…,𝑖𝐞𝑛. Show that ℬ︀𝑛 is a basis, that 𝑇𝑍:ℂ𝑛→ℂ𝑚 is ℝ-linear, and that [𝑇𝑍]ℬ︀𝑚ℬ︀𝑛=𝜌(𝑍).
  3. (c)Show that 𝑍∈ℂ𝑛×𝑛 is invertible if and only if 𝜌(𝑍) is, and that then 𝜌(𝑍−1)=𝜌(𝑍)−1.
  4. (d)Show that tr𝜌(𝑍)=2Re(tr𝑍) for 𝑍∈ℂ𝑛×𝑛.

Solution.

Uses. Theorem 2.4.34 (Block multiplication), Proposition 2.4.14 (Algebra of matrices), Proposition 1.2.19 (Restriction of scalars), Definition 2.3.1 (Matrix of a linear map), Proposition 2.5.20 (Inverses and matrices), Theorem 2.7.8 (Third Fundamental Theorem), Definition 2.4.26 (Trace)

Techniques. Block decomposition (Technique 2.4.35), Translate between maps and matrices (Technique 2.3.27)

Hint 1. Expand (𝑋+𝑖𝑌)(𝑋′+𝑖𝑌′) by distributivity, and compare with the block product 𝜌(𝑍)𝜌(𝑊).
Hint 2. The ℬ︀𝑚-coordinates of 𝐮+𝑖𝐯, with 𝐮,𝐯∈ℝ𝑚, are (𝐮,𝐯). For (c), use (b) and Proposition 2.5.20.
Sketch. (a) 𝑍𝑊=(𝑋𝑋′−𝑌𝑌′)+𝑖(𝑋𝑌′+𝑌𝑋′), and block multiplication gives 𝜌(𝑍)𝜌(𝑊)=(𝑋𝑋′−𝑌𝑌′−(𝑋𝑌′+𝑌𝑋′)𝑌𝑋′+𝑋𝑌′𝑋𝑋′−𝑌𝑌′). (b) 𝑍𝐞𝑗=𝑋𝐞𝑗+𝑖𝑌𝐞𝑗 has coordinates (𝑋𝐞𝑗,𝑌𝐞𝑗), column 𝑗 of 𝜌(𝑍); 𝑍(𝑖𝐞𝑗)=−𝑌𝐞𝑗+𝑖𝑋𝐞𝑗 gives column 𝑛+𝑗. (c) If 𝑍 is invertible, 𝜌(𝑍)𝜌(𝑍−1)=𝜌(𝐼𝑛)=𝐼2𝑛 in both orders. If 𝜌(𝑍) is invertible, then 𝑇𝑍 is invertible as an ℝ-linear map, so it is bijective, and a bijective 𝑇𝑍 means 𝑍 is invertible. (d) tr𝑋+tr𝑋.

(a) Let 𝑊=𝑋′+𝑖𝑌′. Matrix multiplication over ℂ distributes, and real scalars and 𝑖 pass through products (Proposition 2.4.14), so

𝑍𝑊=(𝑋𝑋′−𝑌𝑌′)+𝑖(𝑋𝑌′+𝑌𝑋′),

with 𝑋𝑋′−𝑌𝑌′ and 𝑋𝑌′+𝑌𝑋′ real. By block multiplication (Theorem 2.4.34),

𝜌(𝑍)𝜌(𝑊)=(𝑋𝑋′−𝑌𝑌′−𝑋𝑌′−𝑌𝑋′𝑌𝑋′+𝑋𝑌′−𝑌𝑌′+𝑋𝑋′)=𝜌(𝑍𝑊).

The real and imaginary parts of 𝑍+𝑍′ and of 𝑐𝑍 for real 𝑐 are the sums and real multiples of those of 𝑍 and 𝑍′, so 𝜌 is ℝ-linear. Finally 𝐼𝑛=𝐼𝑛+𝑖0, so 𝜌(𝐼𝑛)=(𝐼𝑛00𝐼𝑛)=𝐼2𝑛.

(b) Every 𝐳∈ℂ𝑛 can be written 𝐳=𝐮+𝑖𝐯 with 𝐮,𝐯∈ℝ𝑛 in exactly one way (real and imaginary parts), and then

𝐳=𝑢1𝐞1+⋯+𝑢𝑛𝐞𝑛+𝑣1(𝑖𝐞1)+⋯+𝑣𝑛(𝑖𝐞𝑛).

So ℬ︀𝑛 is a basis of ℂ𝑛 over ℝ, and the ℬ︀𝑛-coordinates of 𝐮+𝑖𝐯 are (𝐮,𝐯)∈ℝ2𝑛. The map 𝑇𝑍 is ℂ-linear, so in particular ℝ-linear. Its matrix has as column 𝑗 the coordinates of 𝑍𝐞𝑗=𝑋𝐞𝑗+𝑖𝑌𝐞𝑗, which are (𝑋𝐞𝑗,𝑌𝐞𝑗), column 𝑗 of 𝜌(𝑍); and as column 𝑛+𝑗 the coordinates of 𝑍(𝑖𝐞𝑗)=𝑖𝑋𝐞𝑗−𝑌𝐞𝑗, which are (−𝑌𝐞𝑗,𝑋𝐞𝑗), column 𝑛+𝑗 of 𝜌(𝑍). So [𝑇𝑍]ℬ︀𝑚ℬ︀𝑛=𝜌(𝑍).

(c) If 𝑍 is invertible, then by (a), 𝜌(𝑍)𝜌(𝑍−1)=𝜌(𝐼𝑛)=𝐼2𝑛, and likewise in the other order, so 𝜌(𝑍) is invertible with inverse 𝜌(𝑍−1).

Conversely, suppose 𝜌(𝑍) is invertible. By (b) and Proposition 2.5.20(b), the ℝ-linear map 𝑇𝑍:ℂ𝑛→ℂ𝑛 is invertible, so it is a bijection. Bijectivity is a property of the function, not of the field of scalars, so 𝑇𝑍 is bijective as a ℂ-linear map too, and 𝑍 is invertible by Theorem 2.7.8, (I) ⇒ (V), and Proposition 2.5.20(c).

(d) The diagonal of 𝜌(𝑍) consists of the diagonal of 𝑋 twice, so tr𝜌(𝑍)=2tr𝑋=2Re(tr𝑍).

For 𝑛=1, 𝜌(𝑎+𝑏𝑖)=(𝑎−𝑏𝑏𝑎) is the matrix of multiplication by 𝑎+𝑏𝑖 found in Exercise 2.3.35(a).

Problem 2.14.standard Prove or disprove each statement.

  1. (a)If 𝑃,𝑄∈𝐹𝑛×𝑛 satisfy 𝑃2=𝑃, 𝑄2=𝑄, and 𝑃𝑄=𝑄𝑃, then 𝑃+𝑄−𝑃𝑄 is idempotent.
  2. (b)If 𝑇∈L(𝑉) and ker𝑇=ker𝑇2, then im𝑇=im𝑇2.
  3. (c)If 𝐴∈𝐹𝑛×𝑛 and tr(𝐴𝑘)=0 for every 𝑘≥1, then 𝐴𝑘=0 for some 𝑘.
  4. (d)If 𝑃,𝑄∈𝐹𝑛×𝑛 are idempotent, with 𝑛≥2, then 𝑃+𝑄 is idempotent.
  5. (e)If 𝑇∈L(𝑉,𝑊) and 𝑆∈L(𝑊,𝑉) satisfy 𝑆𝑇=id𝑉 and 𝑇𝑆 is injective, then 𝑇 is invertible.

Solution.

Uses. Proposition 2.4.14 (Algebra of matrices), Proposition 2.6.15 (Kernels and images of composites), Example 2.6.4 (Injective, surjective, both, neither), Definition 2.4.26 (Trace), Lemma 2.4.24 (Matrix units), Definition 2.5.12 (Invertible)

Techniques. Finding counterexamples and minimal examples (Technique 1.4.18), Try small cases and small fields (Technique 1.2.38)

Hint 1. (a) Expand, using 𝑃𝑄=𝑄𝑃 to collect terms; or note that 𝐼𝑛−(𝑃+𝑄−𝑃𝑄)=(𝐼𝑛−𝑃)(𝐼𝑛−𝑄). (b) and (c): look for counterexamples on 𝐹[𝑥] and over 𝔽𝑝.
Hint 2. (d) Try 𝑃=𝑈11 and an idempotent 𝑄 that shares its first column. (e) First show that 𝑆 is injective, then cancel it.
Sketch. (a) True: 𝐼𝑛−(𝑃+𝑄−𝑃𝑄)=(𝐼𝑛−𝑃)(𝐼𝑛−𝑄), a product of commuting idempotents. (b) False: multiplication by 𝑥 on 𝐹[𝑥] has ker𝑀=ker𝑀2={𝟎} but 𝑥∈im𝑀∖im𝑀2. (c) False over 𝔽𝑝: 𝐼𝑝. (d) False: 𝑃=𝑈11 and 𝑄=𝑈11+𝑈12 are idempotent, but (𝑃+𝑄)2=4𝑈11+2𝑈12≠𝑃+𝑄. (e) True: 𝑇𝑆 injective makes 𝑆 injective; 𝑆(𝑇𝑆−id)=(𝑆𝑇)𝑆−𝑆=0, so 𝑇𝑆=id.

(a) True. Write 𝑅=𝑃+𝑄−𝑃𝑄; then 𝐼𝑛−𝑅=(𝐼𝑛−𝑃)(𝐼𝑛−𝑄) by distributivity. The matrices 𝐼𝑛−𝑃 and 𝐼𝑛−𝑄 are idempotent ((𝐼𝑛−𝑃)2=𝐼𝑛−2𝑃+𝑃2=𝐼𝑛−𝑃) and commute, since 𝑃 and 𝑄 do. A product 𝐸𝐹 of commuting idempotents is idempotent: (𝐸𝐹)2=𝐸𝐹𝐸𝐹=𝐸𝐸𝐹𝐹=𝐸𝐹. So 𝐼𝑛−𝑅 is idempotent, and then so is 𝑅=𝐼𝑛−(𝐼𝑛−𝑅), by the same computation as for 𝐼𝑛−𝑃.

(b) False. Let 𝑉=𝐹[𝑥] and 𝑇=𝑀, multiplication by 𝑥. It is injective (Example 2.6.4(e)), so 𝑀2 is injective as well, and ker𝑀=ker𝑀2={𝟎}. But 𝑥=𝑀(1)∈im𝑀, while every element 𝑥2𝑞 of im𝑀2 has coefficient 0 at 𝑥, so 𝑥∉im𝑀2. (When 𝑉 has a finite basis the statement is true; it follows from rank–nullity, Section 4.2.)

(c) False. Let 𝑝 be a prime and 𝐴=𝐼𝑝∈𝔽𝑝𝑝×𝑝. Then tr(𝐴𝑘)=tr𝐼𝑝=𝑝∗1=0 for every 𝑘, but 𝐴𝑘=𝐼𝑝≠0. Over ℂ the statement is true, but its proof needs eigenvalues; the counterexample shows that some property of the field must enter.

(d) False. Let 𝑃=𝑈11 and 𝑄=𝑈11+𝑈12, padded with zeros to size 𝑛. By Lemma 2.4.24(c), 𝑃2=𝑃 and 𝑄2=𝑈11+𝑈12=𝑄, since 𝑈12𝑈11=𝑈12𝑈12=0. But 𝑃+𝑄=2𝑈11+𝑈12 and

(𝑃+𝑄)2=4𝑈11+2𝑈12,

whose entry in position (1,2) is 2, while that of 𝑃+𝑄 is 1. Since 2≠1 in every field, 𝑃+𝑄 is not idempotent. When 𝑃𝑄=𝑄𝑃=0, on the other hand, (𝑃+𝑄)2=𝑃2+𝑄2=𝑃+𝑄; part (a) is another repair.

(e) True. Since 𝑇𝑆 is injective, so is 𝑆 (Proposition 2.6.15(c)). Using 𝑆𝑇=id𝑉,

𝑆(𝑇𝑆−id𝑊)=(𝑆𝑇)𝑆−𝑆=𝑆−𝑆=0.

So for every 𝐰∈𝑊, 𝑆((𝑇𝑆−id𝑊)(𝐰))=𝟎, and injectivity of 𝑆 gives (𝑇𝑆−id𝑊)(𝐰)=𝟎. Hence 𝑇𝑆=id𝑊, and together with 𝑆𝑇=id𝑉, 𝑆 is a two-sided inverse of 𝑇 (Definition 2.5.12). Here 𝑆 is cancelled on the left, which is legitimate because 𝑆 is injective; compare Exercise 2.8.15, where the cancellation was not justified.

Problem 2.15.hard Let 𝑝 be a prime, 𝐮=(1,1,1)∈𝔽𝑝3, and ℓ=span(𝐮).

  1. (a)Show that exactly 𝑝4 linear maps 𝑇:𝔽𝑝3→𝔽𝑝2 satisfy 𝑇(𝐮)=𝟎.
  2. (b)Show that exactly (𝑝2−1)(𝑝2−𝑝) of them have ker𝑇=ℓ, and that each of these is surjective.
  3. (c)Show that every surjective linear map 𝔽𝑝3→𝔽𝑝2 has a line span(𝐯), 𝐯≠𝟎, as its kernel. Use (b) and the number of lines in 𝔽𝑝3 (Problem 1.13) to count the surjective linear maps 𝔽𝑝3→𝔽𝑝2, and compare with Exercise 2.6.45.

Solution.

Uses. Corollary 2.2.18 (Linear maps correspond to lists of vectors), Theorem 2.6.11 (Injectivity is decided at 𝟎), Proposition 2.1.16 (Linear maps preserve spans and linear relations), Exercise 1.5.43, Exercise 2.6.44, Proposition 1.5.14 (Appending a vector), Problem 1.13, Proposition 1.5.15 (Short lists, zeros, and repeats)

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

Hint 1. 𝐮,𝐞2,𝐞3 is a basis of 𝔽𝑝3. A linear map is the same thing as a list of values on it (Corollary 2.2.18).
Hint 2. In (b), ker𝑇=ℓ exactly when 𝑇(𝐞2),𝑇(𝐞3) is independent. In (c), |ker𝑇|=𝑝3/𝑝2 by Exercise 2.6.44.
Sketch. (a) 𝑇 is determined by 𝑇(𝐮)=𝟎 and free values 𝑇(𝐞2),𝑇(𝐞3)∈𝔽𝑝2: 𝑝4 maps. (b) 𝑎𝐮+𝑏𝐞2+𝑐𝐞3∈ker𝑇 iff 𝑏𝑇(𝐞2)+𝑐𝑇(𝐞3)=𝟎; so ker𝑇=ℓ iff the two values are independent, and there are (𝑝2−1)(𝑝2−𝑝) independent pairs; two independent vectors span 𝔽𝑝2, so 𝑇 is onto. (c) |ker𝑇|=𝑝, and a nonzero 𝐯∈ker𝑇 has |span(𝐯)|=𝑝. Each of the 𝑝2+𝑝+1 lines is the kernel of (𝑝2−1)(𝑝2−𝑝) maps, by (b) after completing 𝐯 to a basis. Total (𝑝2+𝑝+1)(𝑝2−1)(𝑝2−𝑝)=(𝑝3−1)(𝑝3−𝑝).

(a) The list 𝐮,𝐞2,𝐞3 is a basis of 𝔽𝑝3: the equation (𝑥,𝑦,𝑧)=𝑎𝐮+𝑏𝐞2+𝑐𝐞3=(𝑎,𝑎+𝑏,𝑎+𝑐) has exactly one solution, 𝑎=𝑥, 𝑏=𝑦−𝑥, 𝑐=𝑧−𝑥. By Corollary 2.2.18, a linear map 𝑇:𝔽𝑝3→𝔽𝑝2 is determined by the list 𝑇(𝐮),𝑇(𝐞2),𝑇(𝐞3), and every list occurs. The condition fixes 𝑇(𝐮)=𝟎 and leaves the other two values free, so there are (𝑝2)2=𝑝4 such maps.

(b) Let 𝑇(𝐮)=𝟎, and write 𝐰2=𝑇(𝐞2), 𝐰3=𝑇(𝐞3). For 𝐯=𝑎𝐮+𝑏𝐞2+𝑐𝐞3, 𝑇(𝐯)=𝑏𝐰2+𝑐𝐰3.

If 𝐰2,𝐰3 is independent, then 𝑇(𝐯)=𝟎 forces 𝑏=𝑐=0, so ker𝑇⊆ℓ, and ℓ⊆ker𝑇 since 𝑇(𝐮)=𝟎. If the pair is dependent, a nontrivial relation 𝑏𝐰2+𝑐𝐰3=𝟎 gives 𝐯=𝑏𝐞2+𝑐𝐞3=(0,𝑏,𝑐)∈ker𝑇. This vector is nonzero and not in ℓ, since the only multiple (𝑎,𝑎,𝑎) of 𝐮 with first entry 0 is 𝟎. So ker𝑇=ℓ if and only if 𝐰2,𝐰3 is independent. By Exercise 1.5.43(b), 𝔽𝑝2 contains exactly (𝑝2−1)(𝑝2−𝑝) independent lists of length 2, and each gives one 𝑇 by (a).

For such a 𝑇, the span of the independent list 𝐰2,𝐰3 has 𝑝2 elements (Exercise 1.5.43(a)), so it is all of 𝔽𝑝2, and im𝑇⊇span(𝐰2,𝐰3)=𝔽𝑝2 (Proposition 2.1.16). So 𝑇 is surjective.

(c) Let 𝑇:𝔽𝑝3→𝔽𝑝2 be surjective. By Exercise 2.6.44(a), 𝑝3=|ker𝑇|⋅|im𝑇|=|ker𝑇|⋅𝑝2, so |ker𝑇|=𝑝. In particular ker𝑇 contains some 𝐯≠𝟎. The 𝑝 multiples 𝑎𝐯 are distinct (if 𝑎𝐯=𝑎′𝐯 then (𝑎−𝑎′)𝐯=𝟎, so 𝑎=𝑎′) and lie in ker𝑇, so ker𝑇=span(𝐯), a line.

Conversely, fix a line span(𝐯). By Proposition 1.5.14, appending to the list 𝐯 each standard basis vector that is not in the span of the list so far gives an independent list whose span contains every 𝐞𝑖, hence a basis of 𝔽𝑝3. It has exactly 3 vectors, since an independent list of length 𝑘 spans 𝑝𝑘 vectors (Exercise 1.5.43(a)). The argument of (a) and (b), with this basis in place of 𝐮,𝐞2,𝐞3, shows that exactly (𝑝2−1)(𝑝2−𝑝) maps have kernel span(𝐯), and that they are surjective.

So the surjective maps are sorted by their kernels, which are exactly the lines. By Problem 1.13(b), 𝔽𝑝3 has (𝑝3−1)/(𝑝−1)=𝑝2+𝑝+1 lines, so the number of surjective maps is

(𝑝2+𝑝+1)(𝑝2−1)(𝑝2−𝑝)=𝑝3−1𝑝−1⋅(𝑝2−1)⋅𝑝(𝑝−1)=(𝑝3−1)(𝑝3−𝑝),

in agreement with Exercise 2.6.45, which counted them through their columns instead.

Problem 2.16.hard
  1. (a)Let 𝑃∈𝐹𝑛×𝑛 satisfy 𝑃2=𝑃, and let 𝑘=rank𝑃. Show that tr𝑃=𝑘∗1.
  2. (b)Let 𝐴∈𝐹𝑛×𝑛 satisfy 𝐴2=0. Show that tr𝐴=0.
  3. (c)Let 𝑃1,…,𝑃𝑟∈ℚ𝑛×𝑛 be idempotent with 𝑃1+⋯+𝑃𝑟=𝐼𝑛. Show that rank𝑃1+⋯+rank𝑃𝑟=𝑛. Show that this fails over 𝔽2.

Solution.

Uses. Theorem 3.5.27 (Rank normal form), Theorem 2.4.34 (Block multiplication), Proposition 2.4.28 (Cyclicity of the trace), Proposition 2.4.27 (The trace is linear)

Techniques. Cyclicity of trace (Technique 2.4.29), Block decomposition (Technique 2.4.35)

Hint 1. By Theorem 3.5.27, 𝑃=𝐺−1𝑁𝑘𝐻−1 with 𝐺,𝐻 invertible. Set 𝑀=𝐻−1𝐺−1 and rewrite 𝑃2=𝑃 as an equation involving 𝑁𝑘𝑀𝑁𝑘.
Hint 2. Partition 𝑀 with a 𝑘×𝑘 block 𝑀11 in the corner, and compute 𝑁𝑘𝑀𝑁𝑘 by blocks. Then tr𝑃=tr(𝑁𝑘𝑀) by cyclicity.
Sketch. (a) 𝑃2=𝐺−1𝑁𝑘𝑀𝑁𝑘𝐻−1, so 𝑃2=𝑃 means 𝑁𝑘𝑀𝑁𝑘=𝑁𝑘. By blocks, 𝑁𝑘𝑀𝑁𝑘=(𝑀11000), so 𝑀11=𝐼𝑘, and tr𝑃=tr(𝐺−1𝑁𝑘𝐻−1)=tr(𝑁𝑘𝑀)=tr𝑀11=𝑘∗1. (b) Same, with 𝑁𝑘𝑀𝑁𝑘=0, so 𝑀11=0. (c) Take traces: ∑𝑖rank𝑃𝑖=tr𝐼𝑛=𝑛 in ℚ. Over 𝔽2, 𝐼1+𝐼1+𝐼1=𝐼1.

(a) By Theorem 3.5.27 there are invertible 𝐺,𝐻∈𝐹𝑛×𝑛 with 𝐺𝑃𝐻=𝑁𝑘, so 𝑃=𝐺−1𝑁𝑘𝐻−1. If 𝑘=0, then 𝑁0=0, so 𝑃=0 and tr𝑃=0. Let 𝑘≥1. Let 𝑀=𝐻−1𝐺−1. Then

𝑃2=𝐺−1𝑁𝑘𝐻−1𝐺−1𝑁𝑘𝐻−1=𝐺−1𝑁𝑘𝑀𝑁𝑘𝐻−1,

and multiplying 𝑃2=𝑃 by 𝐺 on the left and 𝐻 on the right gives 𝑁𝑘𝑀𝑁𝑘=𝑁𝑘. Partition 𝑀=(𝑀11𝑀12𝑀21𝑀22) with 𝑀11∈𝐹𝑘×𝑘, matching 𝑁𝑘=(𝐼𝑘000). By block multiplication,

𝑁𝑘𝑀=(𝑀11𝑀1200),𝑁𝑘𝑀𝑁𝑘=(𝑀11000).

So 𝑀11=𝐼𝑘. By cyclicity (Proposition 2.4.28), applied to 𝐺−1 and 𝑁𝑘𝐻−1,

tr𝑃=tr(𝑁𝑘𝐻−1𝐺−1)=tr(𝑁𝑘𝑀)=tr𝑀11=tr𝐼𝑘=𝑘∗1.

(When 𝑘=𝑛 the blocks other than 𝑀11 are empty and the same computation applies.)

(b) Let 𝑘=rank𝐴. If 𝑘=0, then 𝐴=𝐺−1𝑁0𝐻−1=0. Otherwise write 𝐴=𝐺−1𝑁𝑘𝐻−1 and 𝑀=𝐻−1𝐺−1 as in (a). Now 𝐴2=0 gives 𝑁𝑘𝑀𝑁𝑘=0, so 𝑀11=0, and tr𝐴=tr(𝑁𝑘𝑀)=tr𝑀11=0.

(c) Let 𝑘𝑖=rank𝑃𝑖. By Proposition 2.4.27 and (a),

𝑛=tr𝐼𝑛=tr𝑃1+⋯+tr𝑃𝑟=𝑘1+⋯+𝑘𝑟

in ℚ, where the 𝑘𝑖 are integers; so 𝑘1+⋯+𝑘𝑟=𝑛. Over 𝔽2, take 𝑛=1, 𝑟=3, and 𝑃1=𝑃2=𝑃3=𝐼1: they are idempotent, their sum is (1+1+1)𝐼1=𝐼1, and their ranks add up to 3≠1. Part (a) still holds there, but the trace only records 3∗1=1.

The trace of an idempotent counts the dimension of the space it projects onto, but only modulo the characteristic. In particular, over ℚ an idempotent with trace 0 is 0, and over 𝔽2, 𝐼2 is a nonzero idempotent with trace 0.

Problem 2.17.hard Let 𝐴,𝐵∈𝐹𝑛×𝑛 satisfy 𝐴𝐵=0.

  1. (a)Show that tr((𝐴+𝐵)𝑘)=tr(𝐴𝑘)+tr(𝐵𝑘) for every 𝑘≥1.
  2. (b)Show that (𝐴+𝐵)𝑘=𝐴𝑘+𝐵𝑘 can fail: find 𝐴,𝐵∈𝐹2×2 with 𝐴𝐵=0 and (𝐴+𝐵)2≠𝐴2+𝐵2.

Solution.

Uses. Proposition 2.4.14 (Algebra of matrices), Proposition 2.4.28 (Cyclicity of the trace), Proposition 2.4.27 (The trace is linear), Lemma 2.4.24 (Matrix units)

Techniques. Cyclicity of trace (Technique 2.4.29)

Hint 1. Expand (𝐴+𝐵)𝑘 as a sum of 2𝑘 products 𝑊1𝑊2⋯𝑊𝑘 with each 𝑊𝑡∈{𝐴,𝐵}. The products with only 𝐴 or only 𝐵 give 𝐴𝑘 and 𝐵𝑘. Show that every other product has trace 0.
Hint 2. A product that contains both letters has, reading cyclically (so that 𝑊𝑘 is followed by 𝑊1), some 𝐴 immediately followed by a 𝐵. Rotate the product with Proposition 2.4.28 so that this pair becomes adjacent.
Sketch. (a) In a mixed word some 𝐴 is cyclically followed by 𝐵: otherwise every letter after an 𝐴 is an 𝐴, and going around the cycle all letters are 𝐴. If the pair is inside the word, the product contains 𝐴𝐵=0. If it is 𝑊𝑘=𝐴, 𝑊1=𝐵, then tr(𝑊1⋯𝑊𝑘)=tr(𝑊𝑘𝑊1⋯𝑊𝑘−1), which contains 𝐴𝐵. (b) 𝐴=𝑈11, 𝐵=𝑈21: (𝐴+𝐵)2=𝑈11+𝑈21, but 𝐴2+𝐵2=𝑈11.

(a) By distributivity (Proposition 2.4.14), (𝐴+𝐵)𝑘 is the sum, over all 2𝑘 choices of 𝑊1,…,𝑊𝑘∈{𝐴,𝐵}, of the products 𝑊1𝑊2⋯𝑊𝑘. The choice with every 𝑊𝑡=𝐴 gives 𝐴𝑘, and the choice with every 𝑊𝑡=𝐵 gives 𝐵𝑘. By Proposition 2.4.27 it suffices to show that every other product has trace 0.

Consider a product in which both 𝐴 and 𝐵 occur, and read the indices cyclically, so that position 𝑘 is followed by position 1. Some 𝐴 is followed by a 𝐵: if every 𝐴 were followed by an 𝐴, then starting from any position holding 𝐴 and moving forward around the cycle, every position would hold 𝐴, contradicting the presence of 𝐵. So there is a 𝑡 with 𝑊𝑡=𝐴 and 𝑊𝑡+1=𝐵, where 𝑊𝑘+1 means 𝑊1.

  • If 𝑡<𝑘, the product contains the adjacent factors 𝑊𝑡𝑊𝑡+1=𝐴𝐵=0, so it is 0 by associativity, and its trace is 0.
  • If 𝑡=𝑘, then 𝑊𝑘=𝐴 and 𝑊1=𝐵. By Proposition 2.4.28, applied to 𝑋=𝑊1⋯𝑊𝑘−1 and 𝑌=𝑊𝑘,

    tr(𝑊1⋯𝑊𝑘)=tr(𝑊𝑘𝑊1⋯𝑊𝑘−1),

    and the product on the right contains 𝑊𝑘𝑊1=𝐴𝐵=0. Its trace is 0.

So tr((𝐴+𝐵)𝑘)=tr(𝐴𝑘)+tr(𝐵𝑘).

(b) Let 𝐴=𝑈11 and 𝐵=𝑈21, with 𝑈𝑖𝑗=𝐞𝑖𝐞𝑗𝖳∈𝐹2×2. By Lemma 2.4.24(c), 𝐴𝐵=0, 𝐵𝐴=𝑈21, 𝐴2=𝑈11, and 𝐵2=0. So

(𝐴+𝐵)2=𝐴2+𝐴𝐵+𝐵𝐴+𝐵2=𝑈11+𝑈21≠𝑈11=𝐴2+𝐵2.

The extra term 𝐵𝐴 has trace 0, as (a) requires. The trace cannot see a cyclic rotation of the factors, and one rotation is all it takes to bring an 𝐴 next to a 𝐵.

Problem 2.18.hard A town has 𝑛 residents and 𝑘 clubs. Every club has an odd number of members, and every two different clubs have an even number of members in common.

  1. (a)Show that 𝑘≤𝑛.
  2. (b)Show that 𝑘=𝑛 is possible for every 𝑛≥1.
  3. (c)Suppose instead that every club has an even number of members, and every two different clubs still share an even number. Show that there can be more than 𝑛 clubs: find 7 nonempty clubs in a town of 6 residents.

Solution.

Uses. Proposition 2.4.8 (Four views of the product), Definition 2.4.21 (Transpose), Proposition 2.5.4 (Left inverses give uniqueness), Exercise 2.6.44

Techniques. Test injectivity at 𝟎 (Technique 2.6.12)

Hint 1. Record club 𝑗 as the vector 𝐯𝑗∈𝔽2𝑛 with 1 in position 𝑟 exactly when resident 𝑟 is a member. Then 𝐯𝑖𝖳𝐯𝑗 is the number of common members, modulo 2.
Hint 2. Let 𝑀∈𝔽2𝑛×𝑘 have columns 𝐯1,…,𝐯𝑘. Compute 𝑀𝖳𝑀. What does a left inverse say about 𝑇𝑀:𝔽2𝑘→𝔽2𝑛?
Sketch. (a) The entries of 𝑀𝖳𝑀 are 𝐯𝑖𝖳𝐯𝑗, which are 1 on the diagonal (odd sizes) and 0 off it (even intersections), so 𝑀𝖳𝑀=𝐼𝑘. Then 𝑇𝑀 is injective, and an injective linear map 𝔽2𝑘→𝔽2𝑛 has 𝑘≤𝑛 (Exercise 2.6.44). (b) The 𝑛 one-member clubs. (c) Pair the residents as {1,2},{3,4},{5,6}, and take the 7 nonempty unions of pairs; the Gram matrix is now 0, and the argument collapses.

(a) Number the residents 1,…,𝑛, and for club 𝑗 let 𝐯𝑗∈𝔽2𝑛 have 𝑟-th entry 1 if resident 𝑟 belongs to club 𝑗 and 0 otherwise. For any clubs 𝑖 and 𝑗,

𝐯𝑖𝖳𝐯𝑗=∑𝑟=1𝑛(𝐯𝑖)𝑟(𝐯𝑗)𝑟

adds a 1 for each common member, so it is the number of common members, reduced modulo 2. By hypothesis this is 1 for 𝑖=𝑗 and 0 for 𝑖≠𝑗.

Let 𝑀∈𝔽2𝑛×𝑘 have columns 𝐯1,…,𝐯𝑘. The (𝑖,𝑗) entry of 𝑀𝖳𝑀 is row 𝑖 of 𝑀𝖳, which is 𝐯𝑖𝖳, times column 𝑗 of 𝑀 (Proposition 2.4.8(a)), so 𝑀𝖳𝑀=𝐼𝑘. Thus 𝑀𝖳 is a left inverse of 𝑀, and 𝑇𝑀:𝔽2𝑘→𝔽2𝑛 is injective (Proposition 2.5.4). By Exercise 2.6.44(b), 𝑘≤𝑛.

(b) Let club 𝑗 consist of resident 𝑗 alone, for 𝑗=1,…,𝑛. Each club has one member and two different clubs share none.

(c) Split six residents into the pairs {1,2}, {3,4}, {5,6}, and let the clubs be the 7 nonempty unions of these pairs:

{1,2},{3,4},{5,6},{1,2,3,4},{1,2,5,6},{3,4,5,6},{1,…,6}.

Each is a union of pairs, so it has an even number of members, and the intersection of two of them is again a union of pairs (those they share), so it is even as well. That is 7>6 clubs. In the vector language every 𝐯𝑖𝖳𝐯𝑗 is now 0, so 𝑀𝖳𝑀=0 and there is no left inverse to be had: the oddness of the clubs is what made the vectors independent.

This is the Oddtown theorem. For the even version, one can show that at most 2⌊𝑛/2⌋ clubs are possible, counting the empty club, but the proof needs more than this chapter.

Problem 2.19.hard Let 𝐴,𝐵∈ℝ𝑛×𝑛 be different matrices with 𝐴3=𝐵3 and 𝐴2𝐵=𝐵2𝐴.

  1. (a)Can 𝐴2+𝐵2 be invertible?
  2. (b)Show that 𝐴2+𝐵2 need not be 0.

Solution.

Uses. Proposition 2.4.14 (Algebra of matrices), Proposition 2.5.4 (Left inverses give uniqueness), Lemma 2.4.24 (Matrix units)

Techniques. Test injectivity at 𝟎 (Technique 2.6.12)

Hint 1. Multiply 𝐴2+𝐵2 by a nonzero matrix built from 𝐴 and 𝐵, and use both hypotheses.
Hint 2. Expand (𝐴2+𝐵2)(𝐴−𝐵). For (b), use block diagonal matrices whose first block is the same and whose second blocks are different matrices with square 0.
Sketch. (a) No. (𝐴2+𝐵2)(𝐴−𝐵)=(𝐴3−𝐵3)−(𝐴2𝐵−𝐵2𝐴)=0 and 𝐴−𝐵≠0; a nonzero column 𝐱 of 𝐴−𝐵 has (𝐴2+𝐵2)𝐱=𝟎, so 𝐴2+𝐵2 is not injective. (b) 𝐴=𝑈11+𝑈23, 𝐵=𝑈11+𝑈32 in ℝ3×3: 𝐴2=𝐵2=𝐴3=𝐵3=𝑈11, 𝐴2𝐵=𝐵2𝐴=𝑈11, and 𝐴2+𝐵2=2𝑈11.

(a) No. By distributivity,

(𝐴2+𝐵2)(𝐴−𝐵)=𝐴3−𝐴2𝐵+𝐵2𝐴−𝐵3=(𝐴3−𝐵3)−(𝐴2𝐵−𝐵2𝐴)=0.

Since 𝐴≠𝐵, some column 𝐱 of 𝐴−𝐵 is nonzero, and by the column view (𝐴2+𝐵2)𝐱 is the corresponding column of 0. So 𝑇𝐴2+𝐵2 is not injective, and 𝐴2+𝐵2 has no left inverse (Proposition 2.5.4), let alone an inverse. The argument works over every field.

(b) Let 𝐴=𝑈11+𝑈23 and 𝐵=𝑈11+𝑈32 in ℝ3×3. By Lemma 2.4.24(c), 𝑈11 kills 𝑈23 and 𝑈32 on both sides, and 𝑈232=𝑈322=0. So 𝐴2=𝐵2=𝑈11, hence 𝐴3=𝑈11𝐴=𝑈11=𝐵3, and 𝐴2𝐵=𝑈11𝐵=𝑈11=𝑈11𝐴=𝐵2𝐴. Also 𝐴≠𝐵. But 𝐴2+𝐵2=2𝑈11≠0.

This is Problem A2 of the 1991 Putnam Competition. The idea is to find a product with 𝐴2+𝐵2 that the hypotheses kill, which is the zero-divisor phenomenon of Example 2.4.19 put to work.

Problem 2.20.challenge Let 𝐴,𝐵∈𝐹𝑛×𝑛 satisfy 𝐴𝐵𝐴𝐵=0.

  1. (a)Show that if 𝑛=2, then 𝐵𝐴𝐵𝐴=0.
  2. (b)Show that for every 𝑛≥3 there are 𝐴,𝐵∈𝐹𝑛×𝑛 with 𝐴𝐵𝐴𝐵=0 but 𝐵𝐴𝐵𝐴≠0.

Solution.

Hint 1. (a) By Problem 2.9(a), (𝐵𝐴)3=𝐵(𝐴𝐵)2𝐴=0. So 𝑁=𝐵𝐴 is a 2×2 matrix with 𝑁3=0. What does Exercise 2.5.46(a) say about such an 𝑁?
Hint 2. 𝑁 is not invertible, so 𝑎𝑑−𝑏𝑐=0 and 𝑁2=(tr𝑁)𝑁. For (b), look for 3×3 examples among sums of two matrix units, with 𝐴𝐵 a single matrix unit of square 0 and 𝐵𝐴 a path of length 2.
Sketch. (a) 𝑁=𝐵𝐴 has 𝑁3=0, so 𝑁 is not invertible and its 𝑎𝑑−𝑏𝑐 is 0; then 𝑁2=𝑡𝑁 with 𝑡=tr𝑁, so 0=𝑁3=𝑡2𝑁, and either 𝑡=0 or 𝑁=0. In both cases 𝑁2=𝑡𝑁=0. (b) 𝐴=𝑈11+𝑈22, 𝐵=𝑈12+𝑈31: 𝐴𝐵=𝑈12, (𝐴𝐵)2=0, but 𝐵𝐴=𝑈12+𝑈31 and (𝐵𝐴)2=𝑈32. Pad with zero blocks for 𝑛>3.

(a) Let 𝑁=𝐵𝐴. By Problem 2.9(a) with 𝑘=2, 𝑁3=𝐵(𝐴𝐵)2𝐴=𝐵0𝐴=0. So 𝑁 is not invertible (Exercise 2.5.32(b)), and by Proposition 2.5.28(a), Δ=𝑎𝑑−𝑏𝑐=0 for its entries. By Exercise 2.5.46(a), 𝑁2=𝑡𝑁−Δ𝐼2=𝑡𝑁, where 𝑡=tr𝑁. Then

0=𝑁3=𝑡𝑁2=𝑡2𝑁.

If 𝑡≠0, this gives 𝑁=0; otherwise 𝑡=0. Either way 𝑁2=𝑡𝑁=0, that is, 𝐵𝐴𝐵𝐴=0.

(b) Let 𝑛=3, 𝐴=𝑈11+𝑈22, and 𝐵=𝑈12+𝑈31, where 𝑈𝑖𝑗=𝐞𝑖𝐞𝑗𝖳. By Lemma 2.4.24(c),

𝐴𝐵=𝑈11𝑈12=𝑈12,(𝐴𝐵)2=𝑈12𝑈12=0,

since the other three products of units vanish. On the other side,

𝐵𝐴=𝑈12𝑈22+𝑈31𝑈11=𝑈12+𝑈31,(𝐵𝐴)2=𝑈31𝑈12=𝑈32≠0.

Explicitly,

𝐴=(100010000),𝐵=(010000100).

For 𝑛>3, use the block diagonal matrices (𝐴000) and (𝐵000) in 𝐹𝑛×𝑛; by Theorem 2.4.34 their products are computed in the top left 3×3 block, so the same identities hold there.

In size 2 a matrix with 𝑁3=0 already has 𝑁2=0, and that is what (a) used. In size 3, 𝐵𝐴 is still nilpotent by Problem 2.9, but it can take three steps to die, as 𝑈12+𝑈31 does: 𝐞2↦𝐞1↦𝐞3↦𝟎. This is Problem A5 of the 1990 Putnam Competition.