Books
Theme
Text size
Width

[ and ] go to the previous and next page.

To solve 𝑇(𝐯)=𝐰 is to undo 𝑇. In 𝐹, multiplication by 𝑎≠0 is undone by multiplication by 𝑎−1, and 𝑎−1𝑎=𝑎𝑎−1=1, so it does not matter on which side 𝑎−1 stands. For linear maps the two sides come apart, and they do different jobs. Let 𝑇∈L(𝑉,𝑊) and 𝑆∈L(𝑊,𝑉). If 𝑆𝑇=id𝑉, then every solution of 𝑇(𝐯)=𝐰 satisfies

𝐯=𝑆(𝑇(𝐯))=𝑆(𝐰),

so there is at most one solution. If 𝑇𝑆=id𝑊, then 𝑇(𝑆(𝐰))=𝐰, so 𝑆(𝐰) is a solution. A map that undoes 𝑇 on one side therefore answers one of the two questions about 𝑇(𝐯)=𝐰, uniqueness or existence, and the inverses of this section are the maps that answer both.

Throughout, 𝑈, 𝑉, and 𝑊 are vector spaces over 𝐹, and as in Notation 2.1.18 we write 𝑇𝑆 for 𝑇∘𝑆.

2.5.1Left and right inverses

Definition 2.5.1 (Left inverse). Let 𝑇∈L(𝑉,𝑊). A linear map 𝑆∈L(𝑊,𝑉) is a left inverse of 𝑇 if 𝑆𝑇=id𝑉, that is, 𝑆(𝑇(𝐯))=𝐯 for every 𝐯∈𝑉. If 𝑇 has a left inverse, 𝑇 is left-invertible.

Likewise, for 𝐴∈𝐹𝑚×𝑛, a matrix 𝐵∈𝐹𝑛×𝑚 is a left inverse of 𝐴 if 𝐵𝐴=𝐼𝑛, and 𝐴 is left-invertible if it has a left inverse.

Definition 2.5.2 (Right inverse). Let 𝑇∈L(𝑉,𝑊). A linear map 𝑆∈L(𝑊,𝑉) is a right inverse of 𝑇 if 𝑇𝑆=id𝑊, that is, 𝑇(𝑆(𝐰))=𝐰 for every 𝐰∈𝑊. If 𝑇 has a right inverse, 𝑇 is right-invertible.

Likewise, for 𝐴∈𝐹𝑚×𝑛, a matrix 𝐶∈𝐹𝑛×𝑚 is a right inverse of 𝐴 if 𝐴𝐶=𝐼𝑚, and 𝐴 is right-invertible if it has a right inverse.

“Left” and “right” refer to the side on which 𝑆 stands in the product that equals the identity. The two notions are mirror images: 𝑆 is a left inverse of 𝑇 exactly when 𝑇 is a right inverse of 𝑆. Note the sizes. A one-sided inverse of an 𝑚×𝑛 matrix is 𝑛×𝑚, so that 𝐵𝐴 and 𝐴𝐶 are both defined and square, but they are identity matrices of different sizes, 𝐼𝑛 and 𝐼𝑚. Also, we insist that one-sided inverses be linear; Remark 2.5.8 explains what changes without this.

The definitions for matrices are the definitions for maps, applied to 𝑇𝐴. Indeed 𝑇𝐵𝑇𝐴=𝑇𝐵𝐴 by Theorem 2.4.2, and 𝑇𝐼𝑛=id𝐹𝑛 by Proposition 2.3.13. A matrix is determined by its map (Proposition 2.3.17), so 𝐵𝐴=𝐼𝑛 if and only if 𝑇𝐵𝑇𝐴=id𝐹𝑛. Thus 𝐵 is a left inverse of 𝐴 exactly when 𝑇𝐵 is a left inverse of 𝑇𝐴. Since every linear map 𝐹𝑚→𝐹𝑛 is 𝑇𝐵 for some 𝐵, it follows that 𝐴 is left-invertible exactly when 𝑇𝐴 is. The same holds on the right, and Proposition 2.5.20 extends all of this to matrices of maps in arbitrary bases.

Example 2.5.3 (The 𝑥-axis in the plane). Let 𝑇:𝐹→𝐹2, 𝑇(𝑥)=(𝑥,0), whose standard matrix is the column (10). For 𝑐∈𝐹, let

𝑆𝑐:𝐹2→𝐹,𝑆𝑐(𝑥,𝑦)=𝑥+𝑐𝑦.

Each 𝑆𝑐 is linear, and 𝑆𝑐(𝑇(𝑥))=𝑆𝑐(𝑥,0)=𝑥, so every 𝑆𝑐 is a left inverse of 𝑇. There are no others. By Corollary 2.2.17, a linear map 𝑆:𝐹2→𝐹 is 𝑆(𝑥,𝑦)=𝑎𝑥+𝑏𝑦 with 𝑎=𝑆(𝐞1) and 𝑏=𝑆(𝐞2), and 𝑆(𝑇(1))=𝑆(𝐞1)=𝑎, so 𝑆𝑇=id𝐹 forces 𝑎=1. In matrix terms, the left inverses of (10) are the rows (1𝑐) with 𝑐∈𝐹.

On the other hand, 𝑇 has no right inverse. If 𝑇𝑆=id𝐹2 for some 𝑆∈L(𝐹2,𝐹), then

(0,1)=𝑇(𝑆(0,1))=(𝑆(0,1),0),

and comparing second coordinates gives 1=0, which is false. The obstruction is that (0,1) is not a value of 𝑇 at all.

Figure 2.5.1. Two left inverses of 𝑇(𝑥)=(𝑥,0) over ℝ. The values of 𝑇 form the 𝑥-axis (blue). 𝑆𝑐 is constant along each line 𝑥+𝑐𝑦=𝑡 (grey) and sends the whole line to its intersection (𝑡,0) with the axis, identified with 𝑡. Both maps fix the axis pointwise, as a left inverse must, but they treat the point 𝐩 differently.
Intuition (Choices off the image). A left inverse 𝑆 of 𝑇 must send 𝑇(𝐯) back to 𝐯, so its values on the set 𝑇(𝑉) of values of 𝑇 are forced. Off that set, 𝑆 is constrained only by linearity, and in Example 2.5.3 this leaves a free choice: 𝑆𝑐 collapses the plane onto the 𝑥-axis along the direction (−𝑐,1), and every direction other than that of the axis itself works (Figure 2.5.1). A right inverse has the opposite problem. It must produce, for every 𝐰∈𝑊, a vector 𝑆(𝐰) with 𝑇(𝑆(𝐰))=𝐰, and this is impossible as soon as some 𝐰 is not a value of 𝑇. So left inverses are about 𝑇 losing no information, and right inverses about 𝑇 reaching everything.

To make this precise, recall that a function 𝑓:𝑋→𝑌 is injective if 𝑓(𝑥)=𝑓(𝑥′) implies 𝑥=𝑥′, and surjective if every 𝑦∈𝑌 equals 𝑓(𝑥) for some 𝑥∈𝑋 (Section A.1). These properties of linear maps are the subject of Section 2.6.

Proposition 2.5.4 (Left inverses give uniqueness). Suppose 𝑇∈L(𝑉,𝑊) has a left inverse 𝑆. If 𝑇(𝐯)=𝐰, then 𝐯=𝑆(𝐰). In particular, 𝑇 is injective.

Likewise, if 𝐴∈𝐹𝑚×𝑛 has a left inverse 𝐵 and 𝐴𝐱=𝐲, then 𝐱=𝐵𝐲, and 𝑇𝐴 is injective.

Proof.routine

Hint 1. Apply 𝑆 to both sides of 𝑇(𝐯)=𝐰.
Hint 2. For injectivity, suppose 𝑇(𝐯)=𝑇(𝐯′). Both 𝐯 and 𝐯′ solve 𝑇(𝐱)=𝐰 for one and the same 𝐰.
Sketch. Applying 𝑆 to 𝑇(𝐯)=𝐰 gives 𝐯=𝑆(𝑇(𝐯))=𝑆(𝐰). If 𝑇(𝐯)=𝑇(𝐯′)=𝐰, then 𝐯 and 𝐯′ both equal 𝑆(𝐰). The matrix statement is the same argument with 𝐵𝐴=𝐼𝑛.

Suppose 𝑇(𝐯)=𝐰. Applying 𝑆 to both sides and using 𝑆𝑇=id𝑉,

𝐯=id𝑉(𝐯)=𝑆(𝑇(𝐯))=𝑆(𝐰).

Now let 𝐯,𝐯′∈𝑉 with 𝑇(𝐯)=𝑇(𝐯′), and call this vector 𝐰. By what we just showed, 𝐯=𝑆(𝐰)=𝐯′. So 𝑇 is injective.

For the matrix statement, if 𝐴𝐱=𝐲, then 𝐱=𝐼𝑛𝐱=(𝐵𝐴)𝐱=𝐵(𝐴𝐱)=𝐵𝐲 by Theorem 2.4.2, and injectivity of 𝑇𝐴 follows as before. □

Proposition 2.5.5 (Right inverses give existence). Suppose 𝑇∈L(𝑉,𝑊) has a right inverse 𝑆. Then for every 𝐰∈𝑊, the vector 𝐯=𝑆(𝐰) satisfies 𝑇(𝐯)=𝐰. In particular, 𝑇 is surjective.

Likewise, if 𝐴∈𝐹𝑚×𝑛 has a right inverse 𝐶, then 𝐱=𝐶𝐲 satisfies 𝐴𝐱=𝐲 for every 𝐲∈𝐹𝑚, and 𝑇𝐴 is surjective.

Proof.routine

Hint 1. Fix 𝐰∈𝑊. Which vector could possibly map to 𝐰, if all you know about 𝑇 is 𝑇𝑆=id𝑊?
Hint 2. Compute 𝑇(𝑆(𝐰)).
Sketch. 𝑇(𝑆(𝐰))=(𝑇𝑆)(𝐰)=id𝑊(𝐰)=𝐰, so every 𝐰 is a value of 𝑇. For matrices, 𝐴(𝐶𝐲)=(𝐴𝐶)𝐲=𝐼𝑚𝐲=𝐲.

Let 𝐰∈𝑊 and 𝐯=𝑆(𝐰). Then

𝑇(𝐯)=𝑇(𝑆(𝐰))=(𝑇𝑆)(𝐰)=id𝑊(𝐰)=𝐰.

As 𝐰 was arbitrary, every vector of 𝑊 is a value of 𝑇, so 𝑇 is surjective. For matrices, 𝐴(𝐶𝐲)=(𝐴𝐶)𝐲=𝐼𝑚𝐲=𝐲 by Theorem 2.4.2 and Proposition 2.3.13. □

Neither proposition says more than it claims. A left inverse produces the only possible solution, but that candidate need not be a solution. With 𝐴=(10), its left inverse 𝐵=(10) from Example 2.5.3, and 𝐲=(0,1), the candidate is 𝐵𝐲=0, but 𝐴𝑥=(𝑥,0)≠𝐲 for every 𝑥: the system has no solution at all. A right inverse produces a solution, but not necessarily the only one. The row 𝐴=(10) has the right inverses (10) and (11), and applied to 𝑦=1 they give the two different solutions (1,0) and (1,1) of 𝐴𝐱=1. So “at most one solution” and “at least one solution” really are separate properties, detected by inverses on separate sides.

The uniqueness half has a useful reformulation for products.

Corollary 2.5.6 (One-sided cancellation). Let 𝑇∈L(𝑉,𝑊).
  1. (a)If 𝑇 is left-invertible, then 𝑇𝑅1=𝑇𝑅2 implies 𝑅1=𝑅2, for all 𝑅1,𝑅2∈L(𝑈,𝑉).
  2. (b)If 𝑇 is right-invertible, then 𝑅1𝑇=𝑅2𝑇 implies 𝑅1=𝑅2, for all 𝑅1,𝑅2∈L(𝑊,𝑈).
Likewise, if 𝐴∈𝐹𝑚×𝑛 is left-invertible, then 𝐴𝑋=𝐴𝑌 implies 𝑋=𝑌 for 𝑋,𝑌∈𝐹𝑛×𝑝, and if 𝐴 is right-invertible, then 𝑋𝐴=𝑌𝐴 implies 𝑋=𝑌 for 𝑋,𝑌∈𝐹𝑝×𝑚.

Proof.routine

Uses. Definition 2.5.1 (Left inverse), Definition 2.5.2 (Right inverse), Proposition 2.1.24 (Algebra of composition), Proposition 2.4.14 (Algebra of matrices)

Hint 1. Multiply both sides of 𝑇𝑅1=𝑇𝑅2 by a left inverse 𝑆 of 𝑇, on the left.
Hint 2. Regroup with associativity: 𝑆(𝑇𝑅𝑖)=(𝑆𝑇)𝑅𝑖=𝑅𝑖.
Sketch. With 𝑆𝑇=id𝑉: 𝑅1=(𝑆𝑇)𝑅1=𝑆(𝑇𝑅1)=𝑆(𝑇𝑅2)=(𝑆𝑇)𝑅2=𝑅2. With 𝑇𝑆=id𝑊: 𝑅1=𝑅1(𝑇𝑆)=(𝑅1𝑇)𝑆=(𝑅2𝑇)𝑆=𝑅2. Matrices are the same with Proposition 2.4.14.

(a) Let 𝑆 be a left inverse of 𝑇. By Proposition 2.1.24,

𝑅1=id𝑉𝑅1=(𝑆𝑇)𝑅1=𝑆(𝑇𝑅1)=𝑆(𝑇𝑅2)=(𝑆𝑇)𝑅2=id𝑉𝑅2=𝑅2.

(b) Let 𝑆 be a right inverse of 𝑇. Then

𝑅1=𝑅1id𝑊=𝑅1(𝑇𝑆)=(𝑅1𝑇)𝑆=(𝑅2𝑇)𝑆=𝑅2(𝑇𝑆)=𝑅2.

The matrix statements are the same computations, with 𝐵𝐴=𝐼𝑛 or 𝐴𝐶=𝐼𝑚 and associativity and identities from Proposition 2.4.14. □

This answers the question left open in Example 2.4.19: a left-invertible matrix can be cancelled on the left, and in particular 𝐴𝑋=0 forces 𝑋=0. The side matters. 𝐴=(10) is left-invertible, yet (01)𝐴=0=(00)𝐴; cancelling 𝐴 on the right would need a right inverse.

Remark 2.5.7 (The converses). Every injective linear map between finite-dimensional spaces has a left inverse, and every surjective one has a right inverse. For 𝑇𝐴 these statements are among the Fundamental Theorems (Theorem 2.7.2, Theorem 2.7.4), which are stated in Section 2.7, where one-sided inverses are also built directly from a basis, and completed in Section 3.5, where they are constructed by row reduction. The converses are harder than the two propositions because a left inverse must be defined, linearly, on all of 𝑊, while injectivity of 𝑇 only says what it has to do on 𝑇(𝑉).
Remark 2.5.8 (Why one-sided inverses must be linear). Every injective function 𝑓:𝑋→𝑌 with 𝑋 nonempty has a left inverse function, and every surjective function has a right inverse function (Section A.1). For a linear map we ask for more, a linear one-sided inverse. Without linearity there are many more left inverses: for 𝑇(𝑥)=(𝑥,0) from ℝ to ℝ2, the function 𝑔(𝑥,𝑦)=𝑥+𝑦2 satisfies 𝑔(𝑇(𝑥))=𝑥 for all 𝑥, but 𝑔 is not linear, since 𝑔(0,2)=4≠2𝑔(0,1). For two-sided inverses the distinction disappears: the inverse function of a bijective linear map is automatically linear (Proposition 2.7.7).

Exercise 2.5.9.routine Let 𝐴∈𝐹𝑚×𝑛.

  1. (a)Show that if some column of 𝐴 is zero, then 𝐴 has no left inverse.
  2. (b)Show that if some row of 𝐴 is zero, then 𝐴 has no right inverse.

Solution.

Uses. Proposition 2.5.4 (Left inverses give uniqueness), Proposition 2.5.5 (Right inverses give existence), Proposition 2.4.8 (Four views of the product), Proposition 2.3.13 (Linearity of the product)

Hint 1. If column 𝑗 is zero, then 𝐴𝐞𝑗=𝟎=𝐴𝟎. What does that say about 𝑇𝐴?
Hint 2. If row 𝑖 is zero, then row 𝑖 of 𝐴𝐶 is zero for every 𝐶, by the row view. Compare with row 𝑖 of 𝐼𝑚.
Sketch. (a) 𝐴𝐞𝑗=𝟎=𝐴𝟎 with 𝐞𝑗≠𝟎, so 𝑇𝐴 is not injective, and Proposition 2.5.4 rules out a left inverse. (b) Row 𝑖 of 𝐴𝐶 is row 𝑖 of 𝐴 times 𝐶, which is zero, while row 𝑖 of 𝐼𝑚 is 𝐞𝑖𝖳≠0.

(a) Suppose column 𝑗 of 𝐴 is zero. By Proposition 2.3.13, 𝐴𝐞𝑗 is column 𝑗 of 𝐴, so 𝐴𝐞𝑗=𝟎=𝐴𝟎 although 𝐞𝑗≠𝟎. Hence 𝑇𝐴 is not injective, and by Proposition 2.5.4, 𝐴 has no left inverse. (Directly: for every 𝐵∈𝐹𝑛×𝑚, (𝐵𝐴)𝐞𝑗=𝐵(𝐴𝐞𝑗)=𝟎, whereas 𝐼𝑛𝐞𝑗=𝐞𝑗.)

(b) Suppose row 𝑖 of 𝐴 is zero, and let 𝐶∈𝐹𝑛×𝑚. By the row view (Proposition 2.4.8(c)), row 𝑖 of 𝐴𝐶 is a combination of the rows of 𝐶 with the entries of row 𝑖 of 𝐴 as coefficients, so it is zero. Row 𝑖 of 𝐼𝑚 has a 1 in position 𝑖, so 𝐴𝐶≠𝐼𝑚. (In the language of Proposition 2.5.5: every vector 𝐴𝐱 has 𝑖-th entry 0, so 𝐞𝑖 is not a value of 𝑇𝐴.)

2.5.2Invertible maps and matrices

In Example 2.5.3 the map 𝑇 had many left inverses and no right inverse. That is no accident. A left inverse 𝑆𝑙 and a right inverse 𝑆𝑟 of 𝑇 are both maps 𝑊→𝑉, and to compare them we want a single expression that involves both. The composite 𝑆𝑙𝑇𝑆𝑟 is one: grouping it as 𝑆𝑙(𝑇𝑆𝑟) uses that 𝑆𝑟 is a right inverse, and grouping it as (𝑆𝑙𝑇)𝑆𝑟 uses that 𝑆𝑙 is a left inverse.

Theorem 2.5.10 (Left and right inverses agree). Let 𝑇∈L(𝑉,𝑊). If 𝑆𝑙∈L(𝑊,𝑉) is a left inverse of 𝑇 and 𝑆𝑟∈L(𝑊,𝑉) is a right inverse of 𝑇, then 𝑆𝑙=𝑆𝑟.

Consequently, if 𝑇 has both a left inverse and a right inverse, then it has exactly one left inverse and exactly one right inverse, these are equal, and this map is both a left and a right inverse of 𝑇.

The same holds for matrices: if 𝐴∈𝐹𝑚×𝑛 and 𝐵,𝐶∈𝐹𝑛×𝑚 satisfy 𝐵𝐴=𝐼𝑛 and 𝐴𝐶=𝐼𝑚, then 𝐵=𝐶.

Proof.routine

Uses. Definition 2.5.1 (Left inverse), Definition 2.5.2 (Right inverse), Proposition 2.1.24 (Algebra of composition), Proposition 2.4.14 (Algebra of matrices)

Techniques. Uniqueness via two candidates (Technique 1.1.8)

Hint 1. Find one composite that involves 𝑆𝑙, 𝑇, and 𝑆𝑟, and evaluate it in two ways.
Hint 2. Group 𝑆𝑙𝑇𝑆𝑟 as 𝑆𝑙(𝑇𝑆𝑟), and then as (𝑆𝑙𝑇)𝑆𝑟.
Hint 3. For the second paragraph: if 𝑅 is another left inverse, apply the first paragraph to 𝑅 and 𝑆𝑟.
Sketch. By associativity, 𝑆𝑙=𝑆𝑙id𝑊=𝑆𝑙(𝑇𝑆𝑟)=(𝑆𝑙𝑇)𝑆𝑟=id𝑉𝑆𝑟=𝑆𝑟. Every left inverse therefore equals the fixed right inverse 𝑆𝑟, so there is only one left inverse; symmetrically there is only one right inverse, and the two coincide. Matrices: 𝐵=𝐵(𝐴𝐶)=(𝐵𝐴)𝐶=𝐶.

By Proposition 2.1.24,

𝑆𝑙=𝑆𝑙id𝑊(identity)=𝑆𝑙(𝑇𝑆𝑟)(as 𝑆𝑟 is a right inverse)=(𝑆𝑙𝑇)𝑆𝑟(associativity)=id𝑉𝑆𝑟(as 𝑆𝑙 is a left inverse)=𝑆𝑟(identity).

Now suppose 𝑇 has a left inverse 𝑆𝑙 and a right inverse 𝑆𝑟. If 𝑅 is any left inverse, the first part applied to 𝑅 and 𝑆𝑟 gives 𝑅=𝑆𝑟. So every left inverse equals 𝑆𝑟, and 𝑇 has exactly one left inverse, namely 𝑆𝑟. In the same way every right inverse equals 𝑆𝑙, so 𝑆𝑙 is the only right inverse. Finally, the common map 𝑆𝑙=𝑆𝑟 is a left inverse (as 𝑆𝑙) and a right inverse (as 𝑆𝑟).

For matrices, by Proposition 2.4.14,

𝐵=𝐵𝐼𝑚=𝐵(𝐴𝐶)=(𝐵𝐴)𝐶=𝐼𝑛𝐶=𝐶,

and the rest follows as for maps. □

This is Technique 1.1.8 once more. The expression 𝑆𝑙𝑇𝑆𝑟 plays the role that 0+0′ played for the zero of a field (Theorem 1.1.9): it is evaluated twice, once using the property of each candidate. Read contrapositively, the theorem explains Example 2.5.3.

Corollary 2.5.11 (Many one-sided inverses). If 𝑇∈L(𝑉,𝑊) has two different left inverses, then 𝑇 has no right inverse. If 𝑇 has two different right inverses, then 𝑇 has no left inverse. The same holds for matrices.

Proof.routine

Uses. Theorem 2.5.10 (Left and right inverses agree)

Techniques. Contrapositive (Technique 1.5.4)

Hint 1. Prove the contrapositive.
Hint 2. If 𝑇 has a right inverse and a left inverse, how many left inverses can it have?
Sketch. If 𝑇 had a right inverse 𝑆𝑟, then by Theorem 2.5.10 every left inverse would equal 𝑆𝑟, so any two left inverses would be equal. The second statement is symmetric.
Suppose 𝑆 and 𝑆′ are left inverses of 𝑇 and 𝑇 has a right inverse 𝑆𝑟. By Theorem 2.5.10, 𝑆=𝑆𝑟 and 𝑆′=𝑆𝑟, so 𝑆=𝑆′. Hence if 𝑇 has two different left inverses, it has no right inverse. The statement about right inverses is proved the same way, and the matrix statements follow from the matrix part of Theorem 2.5.10. □

In Example 2.5.3, 𝑆0(𝑥,𝑦)=𝑥 and 𝑆1(𝑥,𝑦)=𝑥+𝑦 are different left inverses of 𝑇, since 𝑆0(0,1)=0≠1=𝑆1(0,1). So Corollary 2.5.11 gives a second proof that 𝑇 has no right inverse, one that never needed to find a vector outside 𝑇(𝐹).

Definition 2.5.12 (Invertible). A linear map 𝑇∈L(𝑉,𝑊) is invertible if there is a linear map 𝑆∈L(𝑊,𝑉) that is both a left and a right inverse of 𝑇:

𝑆𝑇=id𝑉and𝑇𝑆=id𝑊.

Such an 𝑆 is a two-sided inverse of 𝑇. By Theorem 2.5.10, 𝑇 is invertible if and only if it is both left-invertible and right-invertible, and in that case it has exactly one two-sided inverse, called the inverse of 𝑇 and written 𝑇−1.

Likewise, 𝐴∈𝐹𝑚×𝑛 is invertible if there is 𝐵∈𝐹𝑛×𝑚 with 𝐵𝐴=𝐼𝑛 and 𝐴𝐵=𝐼𝑚. Again 𝐵 is unique; it is the inverse of 𝐴, written 𝐴−1, and 𝐴 is invertible if and only if it is both left-invertible and right-invertible.

So an invertible map satisfies 𝑇−1𝑇=id𝑉 and 𝑇𝑇−1=id𝑊. By Proposition 2.5.4 and Proposition 2.5.5 it is injective and surjective, so for every 𝐰∈𝑊 the equation 𝑇(𝐯)=𝐰 has exactly one solution, 𝐯=𝑇−1(𝐰). In particular 𝑇−1 is the inverse function of the bijection 𝑇. Conversely, every bijective linear map is invertible, because its inverse function turns out to be linear (Proposition 2.7.7). By the discussion after Definition 2.5.2, a matrix 𝐴 is invertible exactly when 𝑇𝐴 is, and then (𝑇𝐴)−1=𝑇𝐴−1; this is also part (c) of Proposition 2.5.20 below.

Remark 2.5.13 (Invertible matrices are square). The definition does not ask 𝐴 to be square, and nothing so far rules out an invertible 𝑚×𝑛 matrix with 𝑚≠𝑛: Theorem 2.5.10 shows that a left inverse and a right inverse coincide, not that 𝑚=𝑛. In fact every invertible matrix is square (Corollary 3.5.15). The proof uses rank (Section 3.5), although over ℚ, ℝ, and ℂ the trace gives a short argument (Exercise 2.5.44). Nothing below depends on it.
Example 2.5.14 (Invertible maps and matrices).
  1. (a)id𝑉 is its own inverse, and 𝐼𝑛−1=𝐼𝑛. For 𝑐∈𝐹 with 𝑐≠0, 𝑐id𝑉 is invertible with inverse 𝑐−1id𝑉, since (𝑐−1id𝑉)(𝑐id𝑉)=(𝑐−1𝑐)id𝑉=id𝑉 in both orders (Proposition 2.1.24(d)).
  2. (b)Rotating by 𝜃 and then by −𝜃 in either order is rotating by 0, so 𝑅𝜃𝑅−𝜃=𝑅−𝜃𝑅𝜃=idℝ2 (Exercise 2.1.43), and 𝑅𝜃−1=𝑅−𝜃. In matrices,

    (cos𝜃−sin𝜃sin𝜃cos𝜃)−1=(cos𝜃sin𝜃−sin𝜃cos𝜃).

    A reflection satisfies 𝑆ℓ2=idℝ2 (Exercise 2.1.42), so it is its own inverse: reflecting twice returns every point.

  3. (c)For a basis ℬ︀=𝐛1,…,𝐛𝑛 of 𝑉, the coordinate map 𝑉→𝐹𝑛, 𝐯↦[𝐯]ℬ︀, is invertible, and its inverse is (𝑎1,…,𝑎𝑛)↦𝑎1𝐛1+⋯+𝑎𝑛𝐛𝑛 (Example 2.1.8).
  4. (d)If 𝑑1,…,𝑑𝑛∈𝐹 are all nonzero, then diag(𝑑1,…,𝑑𝑛) is invertible with inverse diag(𝑑1−1,…,𝑑𝑛−1), because diagonal matrices multiply entry by entry (Example 2.4.10). If some 𝑑𝑖=0, then column 𝑖 is zero, and Exercise 2.5.9 shows that the matrix has no left inverse.
  5. (e)Suppose 1+1≠0 in 𝐹, and write 2=1+1. Let 𝑇:𝐹[𝑥]→𝐹[𝑥] be ∑𝑘𝑎𝑘𝑥𝑘↦∑𝑘2𝑘𝑎𝑘𝑥𝑘, the substitution 𝑝(𝑥)↦𝑝(2𝑥). The map 𝑆:∑𝑘𝑎𝑘𝑥𝑘↦∑𝑘2−𝑘𝑎𝑘𝑥𝑘 is linear for the same reason as 𝑇, and both 𝑆𝑇 and 𝑇𝑆 multiply the coefficient of each 𝑥𝑘 by 2𝑘2−𝑘=1. So 𝑇−1=𝑆, that is, 𝑇−1(𝑝)=𝑝(𝑥/2).
  6. (f)The map 𝑇(𝑥,𝑦)=(𝑦,𝑥−𝑦) of Exercise 2.1.25 satisfies 𝑇(𝑇+id)=(𝑇+id)𝑇=id, so 𝑇−1=𝑇+id, that is, 𝑇−1(𝑥,𝑦)=(𝑥+𝑦,𝑥).
Non-example 2.5.15 (Maps that are not invertible). The projection Prℓ onto a line ℓ through 𝟎 in ℝ2 (Example 2.1.11) is neither left- nor right-invertible: it sends every vector perpendicular to ℓ to 𝟎, so it is not injective, and its values all lie on ℓ, so it is not surjective. The zero map 𝑉→𝑊 is not left-invertible unless 𝑉={𝟎}, and not right-invertible unless 𝑊={𝟎}. Differentiation 𝐷 on 𝐹[𝑥] is not left-invertible, since 𝐷(1)=0=𝐷(0); whether it is right-invertible is taken up in Example 2.5.24.

2.5.3The algebra of inverses

To show that a map is invertible, we never have to solve for its inverse. It is enough to name a candidate and check it.

Technique 2.5.16 (Guess the inverse, then check both products). To show that 𝑇 is invertible and to identify 𝑇−1, produce a candidate 𝑆 and verify 𝑆𝑇=id and 𝑇𝑆=id. Then 𝑇 is invertible and 𝑆=𝑇−1, by the uniqueness in Theorem 2.5.10. How the candidate was found plays no role in the proof.

Candidates come from undoing: to undo a rotation by 𝜃, rotate by −𝜃, and to undo a composite, undo its steps in reverse order. A polynomial identity also produces one: if 𝑇2+𝑇=id, then 𝑇(𝑇+id)=id=(𝑇+id)𝑇, and if 𝑁𝑘=0, then (id−𝑁)(id+𝑁+⋯+𝑁𝑘−1)=id−𝑁𝑘=id, which is the geometric series 1/(1−𝑥)=1+𝑥+𝑥2+⋯ cut off (Exercise 2.5.39). Heuristics of this kind may be as informal as you like, because the verification is what proves the result.

Check both products, unless you already know that 𝑇 has an inverse on the other side. One product shows only that 𝑆 is a one-sided inverse, and one-sided inverses need not be two-sided (Example 2.5.24). The canonical example is Proposition 2.5.17.

Intuition (Socks and shoes). To undo “first put on socks, then shoes”, take off the shoes first, then the socks. Likewise, to undo 𝑇𝑆, which is “first 𝑆, then 𝑇”, first undo 𝑇 and then undo 𝑆. So the candidate for (𝑇𝑆)−1 is 𝑆−1𝑇−1, with the order reversed, as it was for transposes in Proposition 2.4.23.
Proposition 2.5.17 (Algebra of inverses).
  1. (a)If 𝑇∈L(𝑉,𝑊) is invertible, then so is 𝑇−1, and (𝑇−1)−1=𝑇.
  2. (b)If 𝑆∈L(𝑈,𝑉) and 𝑇∈L(𝑉,𝑊) are invertible, then so is 𝑇𝑆∈L(𝑈,𝑊), and

    (𝑇𝑆)−1=𝑆−1𝑇−1.
  3. (c)If 𝑇∈L(𝑉,𝑊) is invertible and 𝑎∈𝐹 is nonzero, then 𝑎𝑇 is invertible, and (𝑎𝑇)−1=𝑎−1𝑇−1.
  4. (d)Statements (a)–(c) hold for matrices of compatible sizes. Moreover, if 𝐴∈𝐹𝑚×𝑛 is invertible, then so is 𝐴𝖳, and (𝐴𝖳)−1=(𝐴−1)𝖳.

Proof.routine

Uses. Definition 2.5.12 (Invertible), Theorem 2.5.10 (Left and right inverses agree), Proposition 2.1.24 (Algebra of composition), Proposition 2.4.14 (Algebra of matrices), Proposition 2.4.23 (Transpose of a product), Proposition 2.4.22 (Transpose is a linear involution)

Techniques. Guess the inverse, then check both products (Technique 2.5.16)

Hint 1. In each part the formula names the candidate. Multiply it by the given map on both sides and simplify.
Hint 2. For (b), regroup (𝑇𝑆)(𝑆−1𝑇−1) as 𝑇(𝑆𝑆−1)𝑇−1.
Hint 3. For (d), transpose the equations 𝐴−1𝐴=𝐼𝑛 and 𝐴𝐴−1=𝐼𝑚 with Proposition 2.4.23.
Sketch. (a) The equations 𝑇−1𝑇=id𝑉 and 𝑇𝑇−1=id𝑊 say that 𝑇 is a two-sided inverse of 𝑇−1. (b) (𝑇𝑆)(𝑆−1𝑇−1)=𝑇(𝑆𝑆−1)𝑇−1=𝑇𝑇−1=id𝑊, and similarly in the other order. (c) (𝑎−1𝑇−1)(𝑎𝑇)=(𝑎−1𝑎)𝑇−1𝑇=id𝑉, and similarly. (d) 𝐴𝖳(𝐴−1)𝖳=(𝐴−1𝐴)𝖳=𝐼𝑛 and (𝐴−1)𝖳𝐴𝖳=(𝐴𝐴−1)𝖳=𝐼𝑚.

In each part we exhibit a two-sided inverse; by Definition 2.5.12 the map or matrix is then invertible, and by Theorem 2.5.10 the exhibited inverse is the inverse.

(a) The equations 𝑇−1𝑇=id𝑉 and 𝑇𝑇−1=id𝑊, read with 𝑇−1 as the map being inverted, say that 𝑇 is a left and a right inverse of 𝑇−1. So 𝑇−1 is invertible with inverse 𝑇.

(b) By associativity and the identity laws (Proposition 2.1.24),

(𝑇𝑆)(𝑆−1𝑇−1)=𝑇(𝑆𝑆−1)𝑇−1=𝑇id𝑉𝑇−1=𝑇𝑇−1=id𝑊,(𝑆−1𝑇−1)(𝑇𝑆)=𝑆−1(𝑇−1𝑇)𝑆=𝑆−1id𝑉𝑆=𝑆−1𝑆=id𝑈.

(c) By Proposition 2.1.24(d), (𝑎−1𝑇−1)(𝑎𝑇)=(𝑎−1𝑎)(𝑇−1𝑇)=id𝑉, and likewise (𝑎𝑇)(𝑎−1𝑇−1)=id𝑊.

(d) For matrices, the computations in (a)–(c) work verbatim, with Proposition 2.4.14 in place of Proposition 2.1.24 and identity matrices in place of identity maps. For the transpose, 𝐴−1∈𝐹𝑛×𝑚, with 𝐴−1𝐴=𝐼𝑛 and 𝐴𝐴−1=𝐼𝑚. By Proposition 2.4.23 and Proposition 2.4.22,

𝐴𝖳(𝐴−1)𝖳=(𝐴−1𝐴)𝖳=𝐼𝑛𝖳=𝐼𝑛,(𝐴−1)𝖳𝐴𝖳=(𝐴𝐴−1)𝖳=𝐼𝑚𝖳=𝐼𝑚,

so (𝐴−1)𝖳 is a two-sided inverse of 𝐴𝖳. □

By induction on 𝑘, part (b) gives (𝑇1𝑇2⋯𝑇𝑘)−1=𝑇𝑘−1⋯𝑇2−1𝑇1−1 for invertible 𝑇1,…,𝑇𝑘 that can be composed, and in particular (𝑇𝑘)−1=(𝑇−1)𝑘 for invertible 𝑇∈L(𝑉). We write 𝑇−𝑘 for this map, and 𝐴−𝑘 for (𝐴−1)𝑘.

Part (b) also runs backwards: if two of 𝑆, 𝑇, and 𝑇𝑆 are invertible, the third can be written as a product of invertible maps.

Corollary 2.5.18 (Two out of three). Let 𝑆∈L(𝑈,𝑉) and 𝑇∈L(𝑉,𝑊). If two of 𝑆, 𝑇, and 𝑇𝑆 are invertible, then so is the third. The same holds for matrices.

Proof.routine

Uses. Proposition 2.5.17 (Algebra of inverses), Proposition 2.1.24 (Algebra of composition)

Hint 1. If 𝑆 and 𝑇 are invertible, this is Proposition 2.5.17(b). In the other two cases, express the unknown factor as a product of two invertible maps.
Hint 2. 𝑆=𝑇−1(𝑇𝑆) and 𝑇=(𝑇𝑆)𝑆−1.
Sketch. The case where 𝑆 and 𝑇 are invertible is Proposition 2.5.17(b). If 𝑇 and 𝑇𝑆 are invertible, then 𝑆=𝑇−1(𝑇𝑆) is a product of invertible maps; if 𝑆 and 𝑇𝑆 are, then 𝑇=(𝑇𝑆)𝑆−1 is. Apply Proposition 2.5.17(a) and (b).

If 𝑆 and 𝑇 are invertible, then 𝑇𝑆 is invertible by Proposition 2.5.17(b).

If 𝑇 and 𝑇𝑆 are invertible, then by associativity 𝑇−1(𝑇𝑆)=(𝑇−1𝑇)𝑆=𝑆. The map 𝑇−1 is invertible by Proposition 2.5.17(a), so 𝑆 is a composite of two invertible maps, which is invertible by Proposition 2.5.17(b). Explicitly, 𝑆−1=(𝑇𝑆)−1𝑇.

If 𝑆 and 𝑇𝑆 are invertible, then (𝑇𝑆)𝑆−1=𝑇(𝑆𝑆−1)=𝑇 is invertible in the same way, with 𝑇−1=𝑆(𝑇𝑆)−1. The matrix case is identical. □

If only 𝑇𝑆 is known to be invertible, neither factor need be (Example 2.5.27).

Exercise 2.5.19.routine Let 𝐴=(1101) and 𝐵=(1011) in ℚ2×2.

  1. (a)Check that 𝐴−1=(1−101) and 𝐵−1=(10−11).
  2. (b)Compute (𝐴𝐵)−1, 𝐴−1𝐵−1, and 𝐵−1𝐴−1. Which two agree?

Solution.

Uses. Definition 2.5.12 (Invertible), Proposition 2.5.17 (Algebra of inverses), Definition 2.4.1 (Matrix product)

Techniques. Guess the inverse, then check both products (Technique 2.5.16)

Hint 1. Multiply out both products in (a).
Hint 2. By Proposition 2.5.17(b), (𝐴𝐵)−1=𝐵−1𝐴−1, so it is enough to compute the two products of inverses and identify which one it is.
Sketch. (a) Both products are 𝐼2 in each case. (b) 𝐵−1𝐴−1=(1−1−12)=(𝐴𝐵)−1, with 𝐴𝐵=(2111), while 𝐴−1𝐵−1=(2−1−11) is the inverse of 𝐵𝐴=(1112).

(a) (1101)(1−101)=(1−1+101)=𝐼2 and (1−101)(1101)=(11−101)=𝐼2. Similarly (1011)(10−11)=(101−11)=𝐼2, and the product in the other order is 𝐼2 as well.

(b) We have 𝐴𝐵=(2111) and

𝐵−1𝐴−1=(10−11)(1−101)=(1−1−12),𝐴−1𝐵−1=(1−101)(10−11)=(2−1−11).

By Proposition 2.5.17(b), (𝐴𝐵)−1=𝐵−1𝐴−1=(1−1−12); as a check, (2111)(1−1−12)=(2−1−2+21−1−1+2)=𝐼2. The product 𝐴−1𝐵−1 is different; it is (𝐵𝐴)−1, the inverse of 𝐵𝐴=(1112).

Inverses also translate between maps and matrices, in every pair of bases. The proof is a direct application of Technique 2.3.27.

Proposition 2.5.20 (Inverses and matrices). Let ℬ︀ be a basis of 𝑉 of length 𝑛 and 𝒞︀ a basis of 𝑊 of length 𝑚, and let 𝑇∈L(𝑉,𝑊) and 𝑆∈L(𝑊,𝑉).
  1. (a)𝑆 is a left inverse of 𝑇 if and only if [𝑆]ℬ︀𝒞︀ is a left inverse of [𝑇]𝒞︀ℬ︀, and 𝑆 is a right inverse of 𝑇 if and only if [𝑆]ℬ︀𝒞︀ is a right inverse of [𝑇]𝒞︀ℬ︀.
  2. (b)𝑇 is left-invertible, right-invertible, or invertible if and only if [𝑇]𝒞︀ℬ︀ is. If 𝑇 is invertible, then

    [𝑇−1]ℬ︀𝒞︀=([𝑇]𝒞︀ℬ︀)−1.
  3. (c)In particular, 𝐴∈𝐹𝑚×𝑛 is left-invertible, right-invertible, or invertible if and only if 𝑇𝐴 is, and if 𝐴 is invertible, then (𝑇𝐴)−1=𝑇𝐴−1.

Proof.standard

Uses. Theorem 2.4.2 (The matrix of a composite), Example 2.3.6 (The zero map and the identity map), Theorem 2.3.20 (Linear maps correspond to matrices), Proposition 2.3.16 (The matrix of 𝑇𝐴), Proposition 2.3.17 (Every linear map 𝐹𝑛→𝐹𝑚 is some 𝑇𝐴), Definition 2.5.12 (Invertible)

Techniques. Translate between maps and matrices (Technique 2.3.27)

Hint 1. By Theorem 2.4.2, [𝑆]ℬ︀𝒞︀[𝑇]𝒞︀ℬ︀=[𝑆𝑇]ℬ︀ℬ︀. What is the matrix of id𝑉 in the bases ℬ︀,ℬ︀?
Hint 2. Two maps 𝑉→𝑉 are equal exactly when their matrices in ℬ︀,ℬ︀ are equal (Theorem 2.3.20(a)).
Hint 3. For the “if” in (b), you are given a matrix. Use Theorem 2.3.20(b) to find a map with that matrix, then apply (a).
Sketch. (a) [𝑆]ℬ︀𝒞︀[𝑇]𝒞︀ℬ︀=[𝑆𝑇]ℬ︀ℬ︀ and 𝐼𝑛=[id𝑉]ℬ︀ℬ︀, and maps 𝑉→𝑉 are determined by their matrices, so 𝑆𝑇=id𝑉 iff the matrix product is 𝐼𝑛; the right side is the same with 𝑇𝑆 and 𝐼𝑚. (b) “Only if” is (a). For “if”, realize a one-sided inverse 𝑋 of [𝑇] as [𝑆] by Theorem 2.3.20(b) and apply (a). The inverse formula is (a) plus uniqueness. (c) is (b) for the standard bases, where [𝑇𝐴]ℰ︀ℰ︀=𝐴.

(a) By Theorem 2.4.2, [𝑆]ℬ︀𝒞︀[𝑇]𝒞︀ℬ︀=[𝑆𝑇]ℬ︀ℬ︀, and by Example 2.3.6, [id𝑉]ℬ︀ℬ︀=𝐼𝑛. Both 𝑆𝑇 and id𝑉 lie in L(𝑉), and by Theorem 2.3.20(a) (with the basis ℬ︀ on both sides) they are equal if and only if their matrices are. So

𝑆𝑇=id𝑉⟺[𝑆𝑇]ℬ︀ℬ︀=[id𝑉]ℬ︀ℬ︀⟺[𝑆]ℬ︀𝒞︀[𝑇]𝒞︀ℬ︀=𝐼𝑛.

In the same way, 𝑇𝑆=id𝑊 if and only if [𝑇]𝒞︀ℬ︀[𝑆]ℬ︀𝒞︀=[𝑇𝑆]𝒞︀𝒞︀=[id𝑊]𝒞︀𝒞︀=𝐼𝑚.

(b) If 𝑇 has a left inverse 𝑆, then [𝑆]ℬ︀𝒞︀ is a left inverse of [𝑇]𝒞︀ℬ︀ by (a). Conversely, suppose 𝑋∈𝐹𝑛×𝑚 is a left inverse of [𝑇]𝒞︀ℬ︀. By Theorem 2.3.20(b) there is 𝑆∈L(𝑊,𝑉) with [𝑆]ℬ︀𝒞︀=𝑋, and by (a) this 𝑆 is a left inverse of 𝑇. The same argument works for right inverses, and invertibility means having both (Definition 2.5.12).

If 𝑇 is invertible, then by (a) the matrix [𝑇−1]ℬ︀𝒞︀ is both a left and a right inverse of [𝑇]𝒞︀ℬ︀. By the uniqueness in Definition 2.5.12, it is ([𝑇]𝒞︀ℬ︀)−1.

(c) Apply (b) to 𝑇𝐴∈L(𝐹𝑛,𝐹𝑚) with the standard bases, where [𝑇𝐴]ℰ︀ℰ︀=𝐴 (Proposition 2.3.16). If 𝐴 is invertible, (b) gives [(𝑇𝐴)−1]ℰ︀ℰ︀=𝐴−1, so (𝑇𝐴)−1=𝑇𝐴−1 by Proposition 2.3.17. □

Example 2.5.21 (Change of coordinates is invertible). Let ℬ︀ and 𝒞︀ be bases of 𝑉. The identity map id𝑉 is its own inverse, so by Proposition 2.5.20(b), applied with the basis ℬ︀ on the domain and 𝒞︀ on the target,

([id𝑉]𝒞︀ℬ︀)−1=[id𝑉]ℬ︀𝒞︀.

The matrix converting ℬ︀-coordinates into 𝒞︀-coordinates is invertible, and its inverse converts back. Example 2.4.5(c) checked one instance by multiplying out. These matrices are the subject of Section 4.5. Once we know that invertible matrices are square (Corollary 3.5.15), this also shows that any two bases of the same space have the same length, which Section 4.1 proves by other means.

Exercise 2.5.22.routine Let 𝑇∈L(𝐹[𝑥]≤2) be the shift 𝑇(𝑝)=𝑝(𝑥+1), whose matrix in ℬ︀=1,𝑥,𝑥2 is [𝑇]ℬ︀ℬ︀=(111012001) (Example 2.4.13). Let 𝑆∈L(𝐹[𝑥]≤2) be the shift 𝑆(𝑝)=𝑝(𝑥−1). Compute [𝑆]ℬ︀ℬ︀, and use Proposition 2.5.20 to show that 𝑇 is invertible with 𝑇−1=𝑆.

Solution.

Hint 1. The columns of [𝑆]ℬ︀ℬ︀ are the coordinates of 𝑆(1)=1, 𝑆(𝑥)=𝑥−1, and 𝑆(𝑥2)=(𝑥−1)2=𝑥2−2𝑥+1.
Hint 2. Multiply [𝑇][𝑆] and [𝑆][𝑇]. If both are 𝐼3, then by Proposition 2.5.20(a), 𝑆 is a two-sided inverse of 𝑇.
Sketch. [𝑆]ℬ︀ℬ︀=(1−1101−2001). Both products [𝑇][𝑆] and [𝑆][𝑇] are 𝐼3, so by Proposition 2.5.20(a), 𝑆 is a left and a right inverse of 𝑇.

From 𝑆(1)=1, 𝑆(𝑥)=−1+𝑥, and 𝑆(𝑥2)=1−2𝑥+𝑥2,

[𝑆]ℬ︀ℬ︀=(1−1101−2001).

By the entry formula,

[𝑇][𝑆]=(111012001)(1−1101−2001)=(1−1+11−2+101−2+2001)=𝐼3,

and

[𝑆][𝑇]=(1−1101−2001)(111012001)=(11−11−2+1012−2001)=𝐼3,

where [𝑇] and [𝑆] abbreviate the matrices in the basis ℬ︀. So [𝑆]ℬ︀ℬ︀ is a left and a right inverse of [𝑇]ℬ︀ℬ︀. By Proposition 2.5.20(a), 𝑆 is a left and a right inverse of 𝑇, so 𝑇 is invertible with 𝑇−1=𝑆. Shifting by 1 and then by −1 changes nothing, as expected; the matrices let us confirm it without composing substitutions.

2.5.4One-sided inverses that are not two-sided

Here are the main sources of maps and matrices that have an inverse on one side but not on the other. In each example below there are many inverses on the one side, and by Corollary 2.5.11 having two of them already rules out an inverse on the other side.

Matrices that are not square

Example 2.5.23 (One-sided inverses of a tall matrix). Let 𝑝,𝑞≥1 and 𝑋∈𝐹𝑞×𝑝, and consider the (𝑝+𝑞)×𝑝 matrix

𝐴=(𝐼𝑝𝑋).

It sends 𝐱∈𝐹𝑝 to (𝐱,𝑋𝐱), the vector 𝐱 followed by 𝑞 more entries. For every 𝑌∈𝐹𝑝×𝑞, block multiplication (Theorem 2.4.34) gives

(𝐼𝑝−𝑌𝑋𝑌)(𝐼𝑝𝑋)=(𝐼𝑝−𝑌𝑋)+𝑌𝑋=𝐼𝑝,

so 𝐵𝑌=(𝐼𝑝−𝑌𝑋𝑌) is a left inverse of 𝐴. These are all of them: if 𝐵=(𝐵1𝐵2) with 𝐵1∈𝐹𝑝×𝑝 and 𝐵2∈𝐹𝑝×𝑞 satisfies 𝐵𝐴=𝐵1+𝐵2𝑋=𝐼𝑝, then 𝐵1=𝐼𝑝−𝐵2𝑋, so 𝐵=𝐵𝐵2. Different 𝑌 give different 𝐵𝑌, since 𝑌 is the right block of 𝐵𝑌, so 𝐴 has more than one left inverse, and therefore no right inverse (Corollary 2.5.11).

For instance, take 𝑝=2, 𝑞=1, and 𝑋=(2−1). With 𝑌=(𝑠𝑡), the left inverses of

𝐴=(10012−1)

are the matrices

𝐵𝑠,𝑡=(1−2𝑠𝑠𝑠−2𝑡1+𝑡𝑡)(𝑠,𝑡∈𝐹).

The simplest, 𝐵0,0=(100010), reads off the first two entries. The others also use the third entry 2𝑥1−𝑥2, which is redundant information, so it can be mixed in with any weight.

Transposing turns this into right inverses of wide matrices: (𝐵𝐴)𝖳=𝐴𝖳𝐵𝖳, so 𝐵 is a left inverse of 𝐴 exactly when 𝐵𝖳 is a right inverse of 𝐴𝖳 (Exercise 2.5.45). The pattern is general. A left-invertible 𝑚×𝑛 matrix has 𝑛≤𝑚, and a right-invertible one has 𝑛≥𝑚 (Theorem 3.5.12, Theorem 3.5.13). So a matrix that is not square can have an inverse on at most one side.

Differentiation and integration

Example 2.5.24 (Differentiation has a right inverse but no left inverse). Let 𝐹 be a field of characteristic 0 (Definition 1.1.28), such as ℚ, ℝ, or ℂ, so that 𝑘∗1=1+⋯+1 (𝑘 terms) is nonzero for every 𝑘≥1; we write 1/𝑘 for its inverse. Let 𝐷:𝐹[𝑥]→𝐹[𝑥] be differentiation (Example 2.1.9), and let 𝐽:𝐹[𝑥]→𝐹[𝑥] be the antiderivative with constant term 0,

𝐽(∑𝑘=0𝑛𝑎𝑘𝑥𝑘)=∑𝑘=0𝑛𝑎𝑘𝑘+1𝑥𝑘+1.

Like 𝐷, the map 𝐽 moves each coefficient to a fixed place and multiplies it by a fixed scalar, so it is linear.

  • 𝐷𝐽=id𝐹[𝑥]. Both sides are linear, and 𝐷(𝐽(𝑥𝑘))=𝐷(𝑥𝑘+1/(𝑘+1))=𝑥𝑘 for every 𝑘≥0. The monomials span 𝐹[𝑥], so 𝐷𝐽=id by Corollary 2.2.6. So 𝐽 is a right inverse of 𝐷, and 𝐷 is a left inverse of 𝐽. This is the fundamental theorem of calculus, in its polynomial form.
  • 𝐽𝐷≠id𝐹[𝑥], since 𝐽(𝐷(1))=𝐽(0)=0. In general 𝐽(𝐷(𝑝))=𝑝−𝑎0: differentiating loses the constant term, and 𝐽 cannot recover it.
  • 𝐷 has no left inverse, since 𝐷(1)=0=𝐷(0) shows that 𝐷 is not injective (Proposition 2.5.4). 𝐽 has no right inverse, since every value of 𝐽 has constant term 0, so 1 is not a value of 𝐽 (Proposition 2.5.5).
  • 𝐷 has many right inverses. If 𝐸∈L(𝐹[𝑥]) takes only constant values, then 𝐷𝐸=0 and 𝐷(𝐽+𝐸)=id. For instance, for 𝑡∈𝐹 the map 𝐽𝑡(𝑝)=𝐽(𝑝)−(𝐽(𝑝))(𝑡), where the scalar (𝐽(𝑝))(𝑡) is subtracted as a constant polynomial, is a right inverse of 𝐷. It sends 𝑝 to its antiderivative that vanishes at 𝑡, and 𝐽0=𝐽.

The same happens between finite-dimensional spaces of different dimensions. For 𝑛≥1, differentiation 𝐷:𝐹[𝑥]≤𝑛→𝐹[𝑥]≤𝑛−1 and the antiderivative 𝐽:𝐹[𝑥]≤𝑛−1→𝐹[𝑥]≤𝑛 still satisfy 𝐷𝐽=id and 𝐽𝐷≠id. For 𝑛=2, in the bases 1,𝑥,𝑥2 and 1,𝑥,

[𝐷][𝐽]=(010002)(001001/2)=𝐼2,[𝐽][𝐷]=(000010001)≠𝐼3.

The finite-dimensional version is an instance of the previous subsection: a 2×3 matrix with a right inverse. The version on 𝐹[𝑥] is new. There 𝐷 and 𝐽 map a space to itself, and still 𝐷𝐽=id while 𝐽𝐷≠id. For a linear map from a finite-dimensional space to itself this cannot happen: a one-sided inverse of a square matrix is automatically two-sided (Theorem 3.5.23), and correspondingly an operator on a finite-dimensional space is injective if and only if it is surjective (Corollary 4.2.18). 𝐹[𝑥] escapes because no finite list spans it, so 𝐷 can be onto without being one-to-one: it shifts the monomials down by one step, and the bottom one, 1, falls off. Over 𝔽𝑝 even the right inverse is lost (Exercise 2.5.42).

Remark 2.5.25 (One-sided inverses in infinite dimensions).Beyond 21-242 The converses of Remark 2.5.7 hold in every vector space: an injective linear map has a left inverse and a surjective one has a right inverse. Both proofs need a basis of 𝑊 (in the injective case, one that extends a basis of 𝑇(𝑉)), and in infinite dimensions bases are known to exist only by Zorn’s lemma (Section 15.1).

Products

If 𝑆 and 𝑇 are invertible, so is 𝑇𝑆 (Proposition 2.5.17). The converse fails, but a one-sided version survives.

Proposition 2.5.26 (One-sided inverses of composites). Let 𝑆∈L(𝑈,𝑉) and 𝑇∈L(𝑉,𝑊).
  1. (a)If 𝑆 and 𝑇 are left-invertible, so is 𝑇𝑆. If 𝑆 and 𝑇 are right-invertible, so is 𝑇𝑆.
  2. (b)If 𝑇𝑆 is left-invertible, then so is 𝑆. If 𝑇𝑆 is right-invertible, then so is 𝑇.
  3. (c)In particular, if 𝑇𝑆 is invertible, then (𝑇𝑆)−1𝑇 is a left inverse of 𝑆, and 𝑆(𝑇𝑆)−1 is a right inverse of 𝑇.
The same holds for matrices: for instance, if 𝐴∈𝐹𝑚×𝑛 and 𝐵∈𝐹𝑛×𝑚 and 𝐴𝐵 is invertible, then 𝐵(𝐴𝐵)−1 is a right inverse of 𝐴 and (𝐴𝐵)−1𝐴 is a left inverse of 𝐵.

Proof.routine

Uses. Definition 2.5.1 (Left inverse), Definition 2.5.2 (Right inverse), Proposition 2.1.24 (Algebra of composition), Proposition 2.4.14 (Algebra of matrices)

Techniques. Guess the inverse, then check both products (Technique 2.5.16)

Hint 1. For (a), the candidate is the composite of the one-sided inverses in reverse order, as in Proposition 2.5.17(b).
Hint 2. For (b), if 𝑅(𝑇𝑆)=id𝑈, regroup: (𝑅𝑇)𝑆=id𝑈.
Sketch. (a) If 𝑆′𝑆=id𝑈 and 𝑇′𝑇=id𝑉, then (𝑆′𝑇′)(𝑇𝑆)=𝑆′(𝑇′𝑇)𝑆=𝑆′𝑆=id𝑈; right inverses are symmetric. (b) 𝑅(𝑇𝑆)=id𝑈 gives (𝑅𝑇)𝑆=id𝑈, and (𝑇𝑆)𝑅=id𝑊 gives 𝑇(𝑆𝑅)=id𝑊. (c) is (b) with 𝑅=(𝑇𝑆)−1.

(a) Let 𝑆′𝑆=id𝑈 and 𝑇′𝑇=id𝑉. By Proposition 2.1.24,

(𝑆′𝑇′)(𝑇𝑆)=𝑆′(𝑇′𝑇)𝑆=𝑆′id𝑉𝑆=𝑆′𝑆=id𝑈,

so 𝑆′𝑇′ is a left inverse of 𝑇𝑆. If 𝑆𝑆″=id𝑉 and 𝑇𝑇″=id𝑊, then (𝑇𝑆)(𝑆″𝑇″)=𝑇(𝑆𝑆″)𝑇″=𝑇𝑇″=id𝑊, so 𝑆″𝑇″ is a right inverse of 𝑇𝑆.

(b) If 𝑅(𝑇𝑆)=id𝑈, then (𝑅𝑇)𝑆=id𝑈, so 𝑅𝑇 is a left inverse of 𝑆. If (𝑇𝑆)𝑅=id𝑊, then 𝑇(𝑆𝑅)=id𝑊, so 𝑆𝑅 is a right inverse of 𝑇.

(c) Apply (b) with 𝑅=(𝑇𝑆)−1, which is both a left and a right inverse of 𝑇𝑆. The matrix statements are the same computations with Proposition 2.4.14. □

Example 2.5.27 (An invertible product of non-invertible factors). Let 𝐴=(10)∈𝐹1×2 and 𝐵=(10)∈𝐹2×1. Then 𝐴𝐵=(1)=𝐼1 is invertible. But 𝐴 is not: it has the two right inverses (10) and (11), so by Corollary 2.5.11 it has no left inverse. Similarly 𝐵 has the two left inverses (10) and (11), so it has no right inverse. In the other order, 𝐵𝐴=(1000) has a zero row and is not even right-invertible (Exercise 2.5.9).

For a 2×2 example of the same kind, take 𝐴=(𝐼20)∈𝐹2×3 and 𝐵=(𝐼20)∈𝐹3×2, so that 𝐴𝐵=𝐼2 by block multiplication. For an example with maps from a space to itself, take 𝐷𝐽=id𝐹[𝑥] from Example 2.5.24, where neither 𝐷 nor 𝐽 is invertible.

These examples use matrices that are not square, or a space that is not finite-dimensional, and they have to. For square matrices, 𝐴𝐵 invertible implies that 𝐴 and 𝐵 are both invertible (Theorem 3.5.23).

2.5.5Inverting 2×2 matrices

For 2×2 matrices there is a formula for the inverse, and a single number decides whether it exists. The candidate comes from the following computation. With 𝐴=(𝑎𝑏𝑐𝑑), swap the diagonal entries and negate the other two:

(𝑎𝑏𝑐𝑑)(𝑑−𝑏−𝑐𝑎)=(𝑎𝑑−𝑏𝑐00𝑎𝑑−𝑏𝑐)=(𝑑−𝑏−𝑐𝑎)(𝑎𝑏𝑐𝑑).

So the second matrix is an inverse of 𝐴 up to the scalar 𝑎𝑑−𝑏𝑐.

Proposition 2.5.28 (Inverse of a 2×2 matrix). Let 𝐴=(𝑎𝑏𝑐𝑑)∈𝐹2×2, and let Δ=𝑎𝑑−𝑏𝑐.
  1. (a)If Δ≠0, then 𝐴 is invertible, and

    𝐴−1=1Δ(𝑑−𝑏−𝑐𝑎).
  2. (b)If Δ=0, then 𝐴 has neither a left inverse nor a right inverse.

Proof.routine

Uses. Definition 2.5.12 (Invertible), Proposition 2.4.14 (Algebra of matrices), Proposition 2.4.8 (Four views of the product)

Techniques. Guess the inverse, then check both products (Technique 2.5.16)

Hint 1. Let 𝐴′=(𝑑−𝑏−𝑐𝑎). Compute 𝐴𝐴′ and 𝐴′𝐴.
Hint 2. Both products are Δ𝐼2. For (a), divide by Δ.
Hint 3. For (b), suppose 𝐵𝐴=𝐼2. Then 𝐴′=(𝐵𝐴)𝐴′=𝐵(𝐴𝐴′). What is 𝐴𝐴′ when Δ=0, and what does that say about 𝐴′, and then about 𝐴?
Sketch. With 𝐴′=(𝑑−𝑏−𝑐𝑎), the entry formula gives 𝐴𝐴′=𝐴′𝐴=Δ𝐼2. (a) Δ−1𝐴′ is a two-sided inverse. (b) If Δ=0, then 𝐴𝐴′=𝐴′𝐴=0. A left inverse 𝐵 would give 𝐴′=𝐵𝐴𝐴′=0, so 𝑎=𝑏=𝑐=𝑑=0 and 𝐴=0, which has no left inverse. A right inverse 𝐶 gives 𝐴′=𝐴′𝐴𝐶=0 in the same way.

Let 𝐴′=(𝑑−𝑏−𝑐𝑎). By the entry formula,

𝐴𝐴′=(𝑎𝑑−𝑏𝑐−𝑎𝑏+𝑏𝑎𝑐𝑑−𝑑𝑐−𝑐𝑏+𝑑𝑎)=Δ𝐼2,𝐴′𝐴=(𝑑𝑎−𝑏𝑐𝑑𝑏−𝑏𝑑−𝑐𝑎+𝑎𝑐−𝑐𝑏+𝑎𝑑)=Δ𝐼2.

(a) If Δ≠0, then by Proposition 2.4.14(d),

𝐴(Δ−1𝐴′)=Δ−1(𝐴𝐴′)=Δ−1Δ𝐼2=𝐼2,

and likewise (Δ−1𝐴′)𝐴=𝐼2. So Δ−1𝐴′ is a two-sided inverse of 𝐴.

(b) Suppose Δ=0, so that 𝐴𝐴′=𝐴′𝐴=0. If 𝐵 is a left inverse of 𝐴, then

𝐴′=𝐼2𝐴′=(𝐵𝐴)𝐴′=𝐵(𝐴𝐴′)=𝐵0=0.

So 𝑎=𝑏=𝑐=𝑑=0 and 𝐴=0. But the zero matrix has no left inverse, since 𝐵0=0≠𝐼2, a contradiction. If 𝐶 is a right inverse of 𝐴, then 𝐴′=𝐴′(𝐴𝐶)=(𝐴′𝐴)𝐶=0, and we reach the same contradiction. □

The number Δ=𝑎𝑑−𝑏𝑐 is the determinant of 𝐴, studied in Chapter 5, and 𝐴′ is the 2×2 case of the adjugate matrix, which inverts matrices of every size (Theorem 5.5.9). For a rotation, Δ=cos2𝜃+sin2𝜃=1 and the formula returns [𝑅−𝜃], as in Example 2.5.14(b).

Geometrically, |Δ| is the area of the parallelogram spanned by the columns of 𝐴, which is the image of the unit square under 𝑇𝐴 (Section 5.1). When Δ=0 the columns are parallel, and 𝑇𝐴 flattens the plane onto a line through 𝟎, or onto {𝟎}. A flattened plane cannot be unflattened: two points that land on the same point cannot both be recovered. Drag the columns below until they line up, and watch the area reach 0.

The map of 𝐴=(2111), with Δ=1. Move 𝐴𝐞2 onto the line through 𝐴𝐞1 (for example to (1,1/2)) and the grid collapses onto that line; the signed area 𝑎𝑑−𝑏𝑐 is then 0, and by Proposition 2.5.28 the matrix has no inverse on either side.

Example 2.5.29 (One matrix over several fields). Let 𝐴=(1234), with Δ=4−6=−2. Whether 𝐴 is invertible depends on the field in which we read its entries.

  • Over ℚ, Δ=−2≠0 and 𝐴−1=−12(4−2−31)=(−213/2−1/2).
  • Over 𝔽5, Δ=−2=3 and 3−1=2, so 𝐴−1=2(4−2−31)=(8−4−62)=(3142). As a check, (1234)(3142)=(1152511), which is 𝐼2 modulo 5.
  • Over 𝔽3, Δ=−2=1 and 𝐴=(1201), so 𝐴−1=(1−201)=(1101).
  • Over 𝔽2, Δ=0, so 𝐴 is not invertible. Indeed 𝐴=(1010) there, with a zero column.

So a matrix with integer entries can be invertible over ℚ and over some 𝔽𝑝 but not others; here it fails exactly for 𝑝=2, the only prime dividing Δ=−2.

Exercises

Exercise 2.5.30.routine Let 𝐚=(12−1)∈ℚ3×1.

  1. (a)Find all left inverses of 𝐚.
  2. (b)Show that 𝐚 has no right inverse, in two ways: directly from Definition 2.5.2, and from (a).

Solution.

Uses. Definition 2.5.1 (Left inverse), Definition 2.5.2 (Right inverse), Corollary 2.5.11 (Many one-sided inverses), Proposition 2.4.8 (Four views of the product)

Hint 1. A left inverse is a row (𝑏1𝑏2𝑏3) with 𝑏1+2𝑏2−𝑏3=1. Solve for 𝑏3.
Hint 2. For a right inverse (𝑐1𝑐2𝑐3), the 3×3 product 𝐚(𝑐1𝑐2𝑐3) has (𝑖,𝑗) entry 𝑎𝑖𝑐𝑗. Compare the entries in positions (1,2) and (2,2) with those of 𝐼3.
Sketch. (a) The rows (𝑠𝑡𝑠+2𝑡−1) for 𝑠,𝑡∈ℚ. (b) 𝐚(𝑐1𝑐2𝑐3)=𝐼3 would need 𝑐2=0 (position (1,2)) and 2𝑐2=1 (position (2,2)). Alternatively, (100) and (00−1) are two different left inverses, so Corollary 2.5.11 applies.

(a) A left inverse is a matrix 𝐵=(𝑏1𝑏2𝑏3)∈ℚ1×3 with 𝐵𝐚=𝐼1, that is, 𝑏1+2𝑏2−𝑏3=1. For any 𝑏1=𝑠 and 𝑏2=𝑡 this determines 𝑏3=𝑠+2𝑡−1. So the left inverses of 𝐚 are the rows

(𝑠𝑡𝑠+2𝑡−1)(𝑠,𝑡∈ℚ).

For instance 𝑠=1,𝑡=0 gives (100), 𝑠=𝑡=0 gives (00−1), and 𝑠=1/6, 𝑡=1/3 gives (1/61/3−1/6).

(b) A right inverse would be 𝐶=(𝑐1𝑐2𝑐3)∈ℚ1×3 with 𝐚𝐶=𝐼3. The product 𝐚𝐶 has (𝑖,𝑗) entry 𝑎𝑖𝑐𝑗 (Proposition 2.4.8(a)). Position (1,2) gives 1⋅𝑐2=0, and position (2,2) gives 2𝑐2=1, which contradict each other. So there is no right inverse.

Alternatively, by (a), (100) and (00−1) are two different left inverses of 𝐚, and by Corollary 2.5.11 a matrix with two different left inverses has no right inverse.

Exercise 2.5.31.routine
  1. (a)Over ℂ, find the inverse of (1𝑖𝑖2).
  2. (b)Over 𝔽7, find the inverse of (3526), and check your answer.
  3. (c)For which 𝑡∈ℝ is (𝑡14𝑡) invertible? For which 𝑡∈𝔽5?

Solution.

Uses. Proposition 2.5.28 (Inverse of a 2×2 matrix)

Hint 1. Compute Δ=𝑎𝑑−𝑏𝑐 in each case and apply Proposition 2.5.28.
Hint 2. In (b), Δ=18−10=8, which is 1 in 𝔽7. In (c), Δ=𝑡2−4.
Sketch. (a) Δ=2−𝑖2=3, so the inverse is 13(2−𝑖−𝑖1). (b) Δ=1, so the inverse is (6−5−23)=(6253). (c) Over ℝ, 𝑡≠±2. Over 𝔽5, 𝑡2≠4, so 𝑡∈{0,1,4}.

(a) Δ=1⋅2−𝑖⋅𝑖=2+1=3, so by Proposition 2.5.28

(1𝑖𝑖2)−1=13(2−𝑖−𝑖1).

Check: (1𝑖𝑖2)(2−𝑖−𝑖1)=(2−𝑖2−𝑖+𝑖2𝑖−2𝑖−𝑖2+2)=(3003).

(b) Δ=3⋅6−5⋅2=8=1 in 𝔽7, so the inverse is (6−5−23)=(6253). Check:

(3526)(6253)=(18+256+1512+304+18)=(43214222),

which is 𝐼2 modulo 7 since 43=42+1 and 22=21+1.

(c) Here Δ=𝑡2−4. By Proposition 2.5.28 the matrix is invertible exactly when 𝑡2≠4. Over ℝ this means 𝑡≠±2, and then the inverse is (𝑡2−4)−1(𝑡−1−4𝑡). In 𝔽5 the squares of 0,1,2,3,4 are 0,1,4,4,1, so 𝑡2=4 exactly for 𝑡∈{2,3}, and the matrix is invertible for 𝑡∈{0,1,4}.

Exercise 2.5.32.routine Let 𝐴∈𝐹𝑛×𝑛 with 𝑛≥1.

  1. (a)Show that if 𝐴 is invertible and 𝐴𝐵=0 for some 𝐵∈𝐹𝑛×𝑝, then 𝐵=0.
  2. (b)Show that if 𝐴𝑘=0 for some 𝑘≥1, then 𝐴 is not invertible.
  3. (c)Show that if 𝐴 is invertible and 𝐴2=𝐴, then 𝐴=𝐼𝑛.
  4. (d)Show that if 𝐴𝑘=𝐼𝑛 for some 𝑘≥1, then 𝐴 is invertible with 𝐴−1=𝐴𝑘−1.

Solution.

Uses. Corollary 2.5.6 (One-sided cancellation), Proposition 2.5.17 (Algebra of inverses), Exercise 2.5.9, Notation 2.4.16 (Powers of a matrix)

Hint 1. (a) and (c) are cancellations: write the hypothesis as 𝐴𝑋=𝐴𝑌.
Hint 2. (b) Powers of an invertible matrix are invertible. Is the zero matrix invertible?
Hint 3. (d) Compute 𝐴𝐴𝑘−1 and 𝐴𝑘−1𝐴.
Sketch. (a) 𝐴𝐵=𝐴0, and 𝐴 can be cancelled. (b) If 𝐴 were invertible, so would be 𝐴𝑘=0, but 0 has a zero column. (c) 𝐴𝐴=𝐴𝐼𝑛; cancel. (d) 𝐴𝐴𝑘−1=𝐴𝑘−1𝐴=𝐴𝑘=𝐼𝑛.

(a) 𝐴𝐵=0=𝐴0, and 𝐴 is left-invertible, so 𝐵=0 by Corollary 2.5.6.

(b) If 𝐴 were invertible, then 𝐴𝑘 would be invertible by Proposition 2.5.17(b) and induction. But 𝐴𝑘=0, whose columns are all zero, and a matrix with a zero column has no left inverse (Exercise 2.5.9). So 𝐴 is not invertible.

(c) 𝐴𝐴=𝐴=𝐴𝐼𝑛, so 𝐴=𝐼𝑛 by Corollary 2.5.6.

(d) By Notation 2.4.16, 𝐴𝐴𝑘−1=𝐴𝑘=𝐼𝑛 and 𝐴𝑘−1𝐴=𝐴𝑘=𝐼𝑛 (for 𝑘=1, 𝐴0=𝐼𝑛 and 𝐴=𝐼𝑛). So 𝐴𝑘−1 is a two-sided inverse of 𝐴.

Exercise 2.5.33.routine Let 𝑇∈L(𝑉,𝑊) and 𝑆∈L(𝑊,𝑉).

  1. (a)Suppose 𝑆𝑇=id𝑉 and 𝑇 is surjective. Show that 𝑇𝑆=id𝑊.
  2. (b)Suppose 𝑇𝑆=id𝑊 and 𝑇 is injective. Show that 𝑆𝑇=id𝑉.
  3. (c)Deduce that a left-invertible linear map is invertible if and only if it is surjective, and a right-invertible one is invertible if and only if it is injective.

Solution.

Uses. Definition 2.5.12 (Invertible), Proposition 2.5.4 (Left inverses give uniqueness), Proposition 2.5.5 (Right inverses give existence)

Techniques. Fix an arbitrary element and chase it (Technique 1.3.13)

Hint 1. (a) Fix 𝐰∈𝑊 and write it as 𝑇(𝐯). Compute 𝑇(𝑆(𝐰)).
Hint 2. (b) Fix 𝐯. Show that 𝑇(𝑆(𝑇(𝐯)))=𝑇(𝐯), and use injectivity.
Sketch. (a) For 𝐰=𝑇(𝐯): 𝑇𝑆(𝐰)=𝑇(𝑆𝑇(𝐯))=𝑇(𝐯)=𝐰. (b) 𝑇(𝑆𝑇(𝐯))=(𝑇𝑆)(𝑇(𝐯))=𝑇(𝐯), so 𝑆𝑇(𝐯)=𝐯 by injectivity. (c) One direction is (a) or (b); the other is Proposition 2.5.5 or Proposition 2.5.4.

(a) Let 𝐰∈𝑊. Since 𝑇 is surjective, 𝐰=𝑇(𝐯) for some 𝐯∈𝑉. Then

𝑇(𝑆(𝐰))=𝑇(𝑆(𝑇(𝐯)))=𝑇((𝑆𝑇)(𝐯))=𝑇(𝐯)=𝐰.

As 𝐰 was arbitrary, 𝑇𝑆=id𝑊.

(b) Let 𝐯∈𝑉. Then 𝑇(𝑆(𝑇(𝐯)))=(𝑇𝑆)(𝑇(𝐯))=𝑇(𝐯). Since 𝑇 is injective, 𝑆(𝑇(𝐯))=𝐯. As 𝐯 was arbitrary, 𝑆𝑇=id𝑉.

(c) Let 𝑆 be a left inverse of 𝑇. If 𝑇 is surjective, then by (a) 𝑆 is also a right inverse, so 𝑇 is invertible. Conversely, an invertible map has a right inverse and is therefore surjective (Proposition 2.5.5). The second statement follows in the same way from (b) and Proposition 2.5.4.

Exercise 2.5.34.standard Find the error in the following argument, and show that its conclusion is false. Then add a hypothesis on 𝐴 under which the conclusion holds.

Claim. Let 𝐴∈𝐹𝑚×𝑛 and 𝐵∈𝐹𝑛×𝑚. If 𝐴𝐵=𝐼𝑚, then 𝐵𝐴=𝐼𝑛.

Proof. Since 𝐴𝐵=𝐼𝑚, the matrix 𝐵 is the inverse of 𝐴, that is, 𝐵=𝐴−1. Hence 𝐵𝐴=𝐴−1𝐴=𝐼𝑛.

Solution.

Uses. Definition 2.5.12 (Invertible), Definition 2.5.2 (Right inverse), Theorem 2.5.10 (Left and right inverses agree), Example 2.5.27 (An invertible product of non-invertible factors)

Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)

Hint 1. What does 𝐴𝐵=𝐼𝑚 say about 𝐵, according to the definitions? What does “𝐵=𝐴−1” require?
Hint 2. Try 𝐴=(10) and 𝐵=(10).
Hint 3. If 𝐴 also has some left inverse, what does Theorem 2.5.10 say?
Sketch. 𝐴𝐵=𝐼𝑚 only says that 𝐵 is a right inverse of 𝐴; the step “𝐵=𝐴−1” assumes that 𝐴 is invertible, which is what the claim was supposed to deliver. With 𝐴=(10) and 𝐵=(10), 𝐴𝐵=𝐼1 but 𝐵𝐴=(1000). If 𝐴 also has a left inverse 𝐶, then 𝐶=𝐵 by Theorem 2.5.10, so 𝐵𝐴=𝐶𝐴=𝐼𝑛.

The error is the step “𝐵=𝐴−1”. By Definition 2.5.2, 𝐴𝐵=𝐼𝑚 says only that 𝐵 is a right inverse of 𝐴. The inverse 𝐴−1 is a matrix that is a left and a right inverse at the same time (Definition 2.5.12), and nothing in the hypothesis says that 𝐴 has an inverse on the left. The argument assumes, in the notation 𝐴−1, the very fact 𝐵𝐴=𝐼𝑛 that it set out to prove.

The conclusion is false: as in Example 2.5.27, 𝐴=(10) and 𝐵=(10) satisfy 𝐴𝐵=(1)=𝐼1, but 𝐵𝐴=(1000)≠𝐼2.

It becomes true if 𝐴 is also assumed to be left-invertible. If 𝐶𝐴=𝐼𝑛, then 𝐶=𝐵 by Theorem 2.5.10, so 𝐵𝐴=𝐶𝐴=𝐼𝑛. For square matrices no extra hypothesis is needed (Theorem 3.5.23), but that is a deeper fact, and the argument above does not prove it. For maps from a space to itself it fails without finite dimension: 𝐷𝐽=id but 𝐽𝐷≠id on ℚ[𝑥] (Example 2.5.24).

Exercise 2.5.35.standard Prove or disprove each statement, where 𝑚,𝑛≥1.

  1. (a)If 𝐴,𝐵∈𝐹𝑛×𝑛 are invertible, then 𝐴+𝐵 is invertible.
  2. (b)If 𝐴∈𝐹𝑛×𝑛 and 𝐴2 is invertible, then 𝐴 is invertible.
  3. (c)If 𝐴∈𝐹𝑛×𝑛 is invertible and symmetric, then 𝐴−1 is symmetric.
  4. (d)If 𝐴∈𝐹𝑚×𝑛 and 𝐴𝖳𝐴 is invertible, then 𝐴 is left-invertible.
  5. (e)If 𝐴∈𝐹𝑚×𝑛 is left-invertible, then 𝐴𝖳𝐴 is invertible.

Solution.

Hint 1. (a) Try 𝐵=−𝐴. (b) From an inverse 𝑋 of 𝐴2, build a left and a right inverse of 𝐴 separately.
Hint 2. (c) Use Proposition 2.5.17(d). (d) Write down a candidate left inverse that involves (𝐴𝖳𝐴)−1.
Hint 3. (e) The field matters. Try a column 𝐴∈𝔽22×1 or 𝐴∈ℂ2×1 with 𝐴𝖳𝐴=0.
Sketch. (a) False: 𝐼𝑛+(−𝐼𝑛)=0. (b) True: if 𝑋𝐴2=𝐴2𝑋=𝐼𝑛, then 𝑋𝐴 is a left inverse and 𝐴𝑋 a right inverse of 𝐴. (c) True: (𝐴−1)𝖳=(𝐴𝖳)−1=𝐴−1. (d) True: (𝐴𝖳𝐴)−1𝐴𝖳 is a left inverse. (e) False: 𝐴=(11) over 𝔽2, or (1𝑖) over ℂ, is left-invertible with 𝐴𝖳𝐴=0.

(a) False. 𝐼𝑛 and −𝐼𝑛 are invertible (each is its own inverse), but 𝐼𝑛+(−𝐼𝑛)=0 has a zero column and is not invertible (Exercise 2.5.9). This works over every field, including 𝔽2, where −𝐼𝑛=𝐼𝑛.

(b) True. Let 𝑋=(𝐴2)−1, so 𝑋𝐴2=𝐴2𝑋=𝐼𝑛. Then (𝑋𝐴)𝐴=𝑋𝐴2=𝐼𝑛, so 𝑋𝐴 is a left inverse of 𝐴, and 𝐴(𝐴𝑋)=𝐴2𝑋=𝐼𝑛, so 𝐴𝑋 is a right inverse of 𝐴. By Theorem 2.5.10, 𝐴 is invertible (and 𝑋𝐴=𝐴𝑋=𝐴−1).

(c) True. By Proposition 2.5.17(d) and 𝐴𝖳=𝐴, (𝐴−1)𝖳=(𝐴𝖳)−1=𝐴−1.

(d) True. Let 𝑋=(𝐴𝖳𝐴)−1∈𝐹𝑛×𝑛. Then (𝑋𝐴𝖳)𝐴=𝑋(𝐴𝖳𝐴)=𝐼𝑛, so 𝑋𝐴𝖳∈𝐹𝑛×𝑚 is a left inverse of 𝐴.

(e) False. Over 𝔽2, let 𝐴=(11). It is left-invertible, with left inverse (10), but 𝐴𝖳𝐴=1+1=0 is not invertible. Over ℂ, 𝐴=(1𝑖) has the left inverse (10) and 𝐴𝖳𝐴=1+𝑖2=0. Over ℝ the statement is true. By positivity of sums of squares, 𝐴𝖳𝐴𝐱=𝟎 forces 𝐴𝐱=𝟎 (Section 6.5), hence 𝐱=𝟎 when 𝐴 is left-invertible. So the square matrix 𝐴𝖳𝐴 defines an injective map, and that makes it invertible (Section 3.5).

Exercise 2.5.36.standard Let 𝑝 be a prime and 𝐴=(110110)∈𝔽𝑝3×2.

  1. (a)How many left inverses does 𝐴 have?
  2. (b)Does 𝐴 have a right inverse?
  3. (c)How many right inverses does 𝐴𝖳 have?

Solution.

Uses. Definition 2.5.1 (Left inverse), Proposition 2.4.8 (Four views of the product), Corollary 2.5.11 (Many one-sided inverses), Proposition 2.4.23 (Transpose of a product)

Hint 1. By the row view, 𝐵𝐴=𝐼2 means: row 1 of 𝐵 times 𝐴 is (10) and row 2 of 𝐵 times 𝐴 is (01). Treat the two rows separately.
Hint 2. A row (𝑟1𝑟2𝑟3) times 𝐴 is (𝑟1+𝑟3𝑟1+𝑟2).
Hint 3. For (c), transpose 𝐵𝐴=𝐼2.
Sketch. (𝑟1𝑟2𝑟3)𝐴=(𝑟1+𝑟3𝑟1+𝑟2). Row 1 of 𝐵 must be (𝑡−𝑡1−𝑡) and row 2 must be (𝑠1−𝑠−𝑠), with 𝑠,𝑡∈𝔽𝑝 free: 𝑝2 left inverses. Since 𝑝2≥4>1, there is no right inverse. 𝐶 is a right inverse of 𝐴𝖳 iff 𝐶𝖳 is a left inverse of 𝐴, so 𝐴𝖳 has 𝑝2 right inverses.

(a) By the row view (Proposition 2.4.8(c)), 𝐵𝐴=𝐼2 means that row 1 of 𝐵 times 𝐴 is (10) and row 2 of 𝐵 times 𝐴 is (01), and the two rows can be chosen independently. For a row 𝐫=(𝑟1𝑟2𝑟3), the row view gives 𝐫𝐴=𝑟1(11)+𝑟2(01)+𝑟3(10)=(𝑟1+𝑟3𝑟1+𝑟2). So 𝐫𝐴=(10) means 𝑟3=1−𝑟1 and 𝑟2=−𝑟1, giving the 𝑝 rows (𝑡−𝑡1−𝑡) with 𝑡∈𝔽𝑝. And 𝐫𝐴=(01) means 𝑟3=−𝑟1 and 𝑟2=1−𝑟1, giving the 𝑝 rows (𝑠1−𝑠−𝑠). Hence the left inverses are

𝐵𝑡,𝑠=(𝑡−𝑡1−𝑡𝑠1−𝑠−𝑠)(𝑠,𝑡∈𝔽𝑝),

and there are 𝑝2 of them.

(b) No. Since 𝑝2≥4, 𝐴 has two different left inverses, so it has no right inverse by Corollary 2.5.11.

(c) By Proposition 2.4.23, (𝐵𝐴)𝖳=𝐴𝖳𝐵𝖳, and 𝐼2𝖳=𝐼2. Since transposing is a bijection (Proposition 2.4.22), 𝐵𝐴=𝐼2 if and only if 𝐴𝖳𝐵𝖳=𝐼2. So 𝐶 is a right inverse of 𝐴𝖳 exactly when 𝐶𝖳 is a left inverse of 𝐴, and 𝐴𝖳 has 𝑝2 right inverses.

Exercise 2.5.37.standard Let 𝑇∈L(𝑉,𝑊), and let 𝑆 be a left inverse of 𝑇. Show that 𝑇 is invertible if and only if 𝑆 is left-invertible, and that in this case 𝑇−1=𝑆.

Solution.

Uses. Theorem 2.5.10 (Left and right inverses agree), Definition 2.5.12 (Invertible)

Techniques. Uniqueness via two candidates (Technique 1.1.8)

Hint 1. The equation 𝑆𝑇=id𝑉 also says something about 𝑆: on which side is 𝑇 an inverse of 𝑆?
Hint 2. If 𝑅𝑆=id𝑊, then 𝑆 has a left inverse 𝑅 and a right inverse 𝑇. Apply Theorem 2.5.10 to 𝑆.
Sketch. 𝑆𝑇=id𝑉 says that 𝑇 is a right inverse of 𝑆. If 𝑆 also has a left inverse 𝑅, then 𝑅=𝑇 by Theorem 2.5.10, so 𝑇𝑆=𝑅𝑆=id𝑊 and 𝑆 is a two-sided inverse of 𝑇. Conversely, if 𝑇 is invertible, then 𝑆=𝑇−1 and 𝑇 is a left inverse of 𝑆.

Note first that 𝑆𝑇=id𝑉 says that 𝑇 is a right inverse of 𝑆.

Suppose 𝑆 has a left inverse 𝑅∈L(𝑉,𝑊), so 𝑅𝑆=id𝑊. Then 𝑆 has the left inverse 𝑅 and the right inverse 𝑇, so 𝑅=𝑇 by Theorem 2.5.10, applied to 𝑆. Hence 𝑇𝑆=𝑅𝑆=id𝑊. Together with 𝑆𝑇=id𝑉, this shows that 𝑆 is a two-sided inverse of 𝑇, so 𝑇 is invertible and 𝑇−1=𝑆.

Conversely, suppose 𝑇 is invertible. By Theorem 2.5.10, its only left inverse is 𝑇−1, so 𝑆=𝑇−1. Then 𝑇𝑆=𝑇𝑇−1=id𝑊, so 𝑇 is a left inverse of 𝑆.

Exercise 2.5.38.standard Let 𝑇∈L(𝑉), and suppose that 𝑎𝑘𝑇𝑘+⋯+𝑎1𝑇+𝑎0id𝑉=0 for some 𝑎0,…,𝑎𝑘∈𝐹 with 𝑎0≠0.

  1. (a)Show that 𝑇 is invertible, and that 𝑇−1=−𝑎0−1(𝑎𝑘𝑇𝑘−1+⋯+𝑎2𝑇+𝑎1id𝑉).
  2. (b)Let 𝐴=(11−10)∈ℝ2×2. Verify that 𝐴2−𝐴+𝐼2=0, find 𝐴−1 from (a), and show that 𝐴3=−𝐼2.

Solution.

Hint 1. Move 𝑎0id𝑉 to the other side and factor 𝑇 out of what remains, on the left and on the right.
Hint 2. With 𝑄=𝑎𝑘𝑇𝑘−1+⋯+𝑎1id𝑉, both 𝑇𝑄 and 𝑄𝑇 equal 𝑎𝑘𝑇𝑘+⋯+𝑎1𝑇=−𝑎0id𝑉.
Hint 3. For 𝐴3, multiply 𝐴2−𝐴+𝐼2=0 by 𝐴+𝐼2.
Sketch. (a) With 𝑄=𝑎𝑘𝑇𝑘−1+⋯+𝑎1id𝑉, distributivity and 𝑇𝑇𝑗=𝑇𝑗𝑇=𝑇𝑗+1 give 𝑇𝑄=𝑄𝑇=−𝑎0id𝑉, so −𝑎0−1𝑄 is a two-sided inverse. (b) 𝐴2=(01−1−1), so 𝐴2−𝐴+𝐼2=0, and (a) gives 𝐴−1=𝐼2−𝐴=(0−111). Then 0=(𝐴+𝐼2)(𝐴2−𝐴+𝐼2)=𝐴3+𝐼2.

(a) Let 𝑄=𝑎𝑘𝑇𝑘−1+⋯+𝑎2𝑇+𝑎1id𝑉. By the distributive laws in Proposition 2.1.24 and 𝑇𝑇𝑗=𝑇𝑗𝑇=𝑇𝑗+1 (Notation 2.1.18),

𝑇𝑄=𝑄𝑇=𝑎𝑘𝑇𝑘+⋯+𝑎2𝑇2+𝑎1𝑇=−𝑎0id𝑉,

where the last step is the hypothesis. Multiplying by the scalar −𝑎0−1 (Proposition 2.1.24(d)) gives

𝑇(−𝑎0−1𝑄)=(−𝑎0−1𝑄)𝑇=id𝑉.

So −𝑎0−1𝑄 is a two-sided inverse of 𝑇, and 𝑇 is invertible with 𝑇−1=−𝑎0−1𝑄.

(b) By the entry formula, 𝐴2=(1−11+0−1+0−1+0)=(01−1−1), so

𝐴2−𝐴+𝐼2=(01−1−1)−(11−10)+(1001)=0.

The relation has 𝑎2=1, 𝑎1=−1, 𝑎0=1, so by (a) (in its matrix form, with the same proof), 𝐴−1=−(𝐴−𝐼2)=𝐼2−𝐴=(0−111). Check: 𝐴(𝐼2−𝐴)=𝐴−𝐴2=(1−01−1−1+10+1)=𝐼2. Finally,

0=(𝐴+𝐼2)(𝐴2−𝐴+𝐼2)=𝐴3−𝐴2+𝐴+𝐴2−𝐴+𝐼2=𝐴3+𝐼2,

so 𝐴3=−𝐼2. In particular 𝐴6=𝐼2.

Exercise 2.5.39.standard
  1. (a)Let 𝑁∈L(𝑉) with 𝑁𝑘=0 for some 𝑘≥1. Show that id𝑉−𝑁 and id𝑉+𝑁 are invertible, with

    (id𝑉−𝑁)−1=id𝑉+𝑁+𝑁2+⋯+𝑁𝑘−1.
  2. (b)Use (a) to invert (1𝑎𝑏01𝑐001) for 𝑎,𝑏,𝑐∈𝐹.
  3. (c)Show that id+𝐷 is invertible on 𝐹[𝑥]≤3, where 𝐷 is differentiation, and compute (id+𝐷)−1(𝑥3).

Solution.

Hint 1. Multiply (id−𝑁)(id+𝑁+⋯+𝑁𝑘−1) out. Most terms cancel in pairs.
Hint 2. For id+𝑁, apply the first part to −𝑁. For (b), write the matrix as 𝐼3+𝑁 with 𝑁 strictly upper triangular, and compute 𝑁2 and 𝑁3.
Hint 3. For (c), 𝐷4=0 on 𝐹[𝑥]≤3.
Sketch. (a) The product telescopes to id−𝑁𝑘=id, in either order. id+𝑁=id−(−𝑁) and (−𝑁)𝑘=(−1)𝑘𝑁𝑘=0. (b) With 𝑁=(0𝑎𝑏00𝑐000), 𝑁2=(00𝑎𝑐000000) and 𝑁3=0, so the inverse is 𝐼3−𝑁+𝑁2=(1−𝑎𝑎𝑐−𝑏01−𝑐001). (c) (id+𝐷)−1=id−𝐷+𝐷2−𝐷3, which sends 𝑥3 to 𝑥3−3𝑥2+6𝑥−6.

(a) Let 𝐺=id+𝑁+⋯+𝑁𝑘−1. By the distributive laws in Proposition 2.1.24,

(id−𝑁)𝐺=(id+𝑁+⋯+𝑁𝑘−1)−(𝑁+𝑁2+⋯+𝑁𝑘)=id−𝑁𝑘=id,

and in the same way 𝐺(id−𝑁)=id−𝑁𝑘=id. So id−𝑁 is invertible with inverse 𝐺. Since (−𝑁)𝑘=(−1)𝑘𝑁𝑘=0, the same applies to −𝑁, so id+𝑁=id−(−𝑁) is invertible, with inverse id−𝑁+𝑁2−⋯+(−1)𝑘−1𝑁𝑘−1.

(b) The matrix is 𝐼3+𝑁 with 𝑁=(0𝑎𝑏00𝑐000). By the entry formula, 𝑁2=(00𝑎𝑐000000) and 𝑁3=𝑁2𝑁=0. By (a) applied to −𝑁,

(𝐼3+𝑁)−1=𝐼3−𝑁+𝑁2=(1−𝑎𝑎𝑐−𝑏01−𝑐001).

Check, first row of the product of the matrix with this inverse: (1,−𝑎+𝑎,(𝑎𝑐−𝑏)−𝑎𝑐+𝑏)=(1,0,0); the other rows are similar.

(c) Each application of 𝐷 lowers the degree of a nonconstant polynomial and sends constants to 0 (Example 2.1.19), so 𝐷4=0 on 𝐹[𝑥]≤3. By (a), id+𝐷 is invertible with inverse id−𝐷+𝐷2−𝐷3. Applied to 𝑥3:

(id+𝐷)−1(𝑥3)=𝑥3−3𝑥2+6𝑥−6.

Check: (id+𝐷)(𝑥3−3𝑥2+6𝑥−6)=(𝑥3−3𝑥2+6𝑥−6)+(3𝑥2−6𝑥+6)=𝑥3.

Exercise 2.5.40.standard Let 𝐴∈𝐹𝑝×𝑝 and 𝐷∈𝐹𝑞×𝑞 be invertible, and let 𝑋∈𝐹𝑝×𝑞.

  1. (a)Show that 𝑀=(𝐴𝑋0𝐷) is invertible, with

    𝑀−1=(𝐴−1−𝐴−1𝑋𝐷−10𝐷−1).
  2. (b)Use (a) to invert (121130002)∈ℚ3×3.

Solution.

Uses. Theorem 2.4.34 (Block multiplication), Proposition 2.5.28 (Inverse of a 2×2 matrix), Definition 2.5.12 (Invertible), Proposition 2.4.14 (Algebra of matrices)

Techniques. Guess the inverse, then check both products (Technique 2.5.16), Block decomposition (Technique 2.4.35)

Hint 1. Multiply 𝑀 by the candidate on both sides with Theorem 2.4.34, partitioning with sizes 𝑝,𝑞.
Hint 2. To find the candidate yourself, solve (𝐴𝑋0𝐷)(𝑃𝑄0𝑆)=𝐼 block by block.
Hint 3. For (b), take 𝑝=2, 𝑞=1, 𝐴=(1213), 𝑋=(10), 𝐷=(2).
Sketch. By blocks, 𝑀𝑁 has diagonal blocks 𝐴𝐴−1=𝐼𝑝 and 𝐷𝐷−1=𝐼𝑞 and top right block −𝐴𝐴−1𝑋𝐷−1+𝑋𝐷−1=0; 𝑁𝑀 has top right block 𝐴−1𝑋−𝐴−1𝑋𝐷−1𝐷=0. (b) 𝐴−1=(3−2−11), 𝐷−1=(1/2), and −𝐴−1𝑋𝐷−1=(−3/21/2).

(a) Let 𝑁 be the proposed inverse, partitioned with sizes 𝑝,𝑞 like 𝑀. By Theorem 2.4.34, the four blocks of 𝑀𝑁 are

𝐴𝐴−1+𝑋⋅0=𝐼𝑝,𝐴(−𝐴−1𝑋𝐷−1)+𝑋𝐷−1=0,0⋅𝐴−1+𝐷⋅0=0,0⋅(−𝐴−1𝑋𝐷−1)+𝐷𝐷−1=𝐼𝑞,

so 𝑀𝑁=𝐼𝑝+𝑞. In the same way, the blocks of 𝑁𝑀 are 𝐴−1𝐴=𝐼𝑝, then 𝐴−1𝑋+(−𝐴−1𝑋𝐷−1)𝐷=𝐴−1𝑋−𝐴−1𝑋=0, then 0, and 𝐷−1𝐷=𝐼𝑞, so 𝑁𝑀=𝐼𝑝+𝑞. Hence 𝑁 is a two-sided inverse of 𝑀.

(b) Take 𝐴=(1213), 𝑋=(10), and 𝐷=(2). By Proposition 2.5.28, Δ=3−2=1 and 𝐴−1=(3−2−11), and 𝐷−1=(1/2). Then

−𝐴−1𝑋𝐷−1=−12(3−2−11)(10)=(−3/21/2),

so

(121130002)−1=(3−2−3/2−111/2001/2).

Check, row by row against the original: (3−2,−2+2,−3/2+1+1/2)=(1,0,0) for the first row of the product, and similarly for the others.

Exercise 2.5.41.standard Let 𝑀:𝐹[𝑥]→𝐹[𝑥] be multiplication by 𝑥, 𝑀(𝑝)=𝑥𝑝, and let 𝐿:𝐹[𝑥]→𝐹[𝑥] be

𝐿(𝑎0+𝑎1𝑥+⋯+𝑎𝑛𝑥𝑛)=𝑎1+𝑎2𝑥+⋯+𝑎𝑛𝑥𝑛−1.
  1. (a)Show that 𝐿𝑀=id𝐹[𝑥], compute 𝑀𝐿, and show that 𝑀 has no right inverse and 𝐿 no left inverse.
  2. (b)Find all left inverses of 𝑀.

Solution.

Uses. Example 2.1.9 (Maps of polynomials), Proposition 2.2.20 (Linear maps out of 𝐹[𝑥]), Proposition 2.5.4 (Left inverses give uniqueness), Proposition 2.5.5 (Right inverses give existence), Corollary 2.2.6 (Agreeing on a spanning list)

Hint 1. 𝑀 shifts coefficients up by one place, and 𝐿 shifts them down, discarding 𝑎0.
Hint 2. A left inverse 𝑆 must satisfy 𝑆(𝑥𝑘+1)=𝑆(𝑀(𝑥𝑘))=𝑥𝑘 for all 𝑘≥0. What about 𝑆(1)?
Hint 3. A linear map out of 𝐹[𝑥] can take arbitrary values on the monomials (Proposition 2.2.20).
Sketch. (a) 𝐿(𝑀(𝑝))=𝑝 and 𝑀(𝐿(𝑝))=𝑝−𝑎0. 𝑀 has no right inverse since 1 is not a value of 𝑀, and 𝐿 has no left inverse since 𝐿(1)=0=𝐿(0). (b) A left inverse is determined by 𝑆(𝑥𝑘+1)=𝑥𝑘 and the free choice 𝑆(1)=𝑞∈𝐹[𝑥]: the left inverses are 𝑆𝑞(𝑝)=𝐿(𝑝)+𝑎0𝑞, one for each 𝑞∈𝐹[𝑥].

(a) For 𝑝=𝑎0+𝑎1𝑥+⋯+𝑎𝑛𝑥𝑛, 𝑀(𝑝)=𝑎0𝑥+𝑎1𝑥2+⋯+𝑎𝑛𝑥𝑛+1, whose coefficients, shifted down by one place, are 𝑎0,…,𝑎𝑛. So 𝐿(𝑀(𝑝))=𝑝, that is, 𝐿𝑀=id. In the other order, 𝑀(𝐿(𝑝))=𝑎1𝑥+⋯+𝑎𝑛𝑥𝑛=𝑝−𝑎0, so 𝑀𝐿≠id: it kills the constant term.

Every value of 𝑀 has constant term 0, so 1 is not a value of 𝑀, and 𝑀 is not surjective. By Proposition 2.5.5, 𝑀 has no right inverse. Since 𝐿(1)=0=𝐿(0), 𝐿 is not injective, so it has no left inverse by Proposition 2.5.4.

(b) Let 𝑆∈L(𝐹[𝑥]) with 𝑆𝑀=id. Then 𝑆(𝑥𝑘+1)=𝑆(𝑀(𝑥𝑘))=𝑥𝑘 for every 𝑘≥0, so 𝑆 agrees with 𝐿 on 𝑥,𝑥2,𝑥3,…, while 𝑞=𝑆(1) is unconstrained. Conversely, for any 𝑞∈𝐹[𝑥], Proposition 2.2.20 gives a linear map 𝑆𝑞 with 𝑆𝑞(1)=𝑞 and 𝑆𝑞(𝑥𝑘+1)=𝑥𝑘, namely

𝑆𝑞(𝑝)=𝑎0𝑞+𝐿(𝑝),

where 𝑎0 is the constant term of 𝑝. Then 𝑆𝑞𝑀 and id agree on every monomial, since 𝑆𝑞(𝑀(𝑥𝑘))=𝑆𝑞(𝑥𝑘+1)=𝑥𝑘, so 𝑆𝑞𝑀=id by Corollary 2.2.6. Conversely, a left inverse 𝑆 agrees with 𝑆𝑞 for 𝑞=𝑆(1) on every monomial, so 𝑆=𝑆𝑞, again by Corollary 2.2.6. So the left inverses of 𝑀 are exactly the maps 𝑆𝑞, one for each 𝑞∈𝐹[𝑥], and 𝑆0=𝐿. (Since there are many, Corollary 2.5.11 gives another proof that 𝑀 has no right inverse.)

Exercise 2.5.42.standard
  1. (a)On ℚ[𝑥], construct a right inverse 𝑅 of differentiation 𝐷 such that (𝑅(𝑝))(1)=0 for every 𝑝∈ℚ[𝑥].
  2. (b)Let 𝑝 be a prime. Show that 𝑥𝑝−1 is not a value of 𝐷:𝔽𝑝[𝑥]→𝔽𝑝[𝑥], and conclude that over 𝔽𝑝, 𝐷 has no right inverse.

Solution.

Uses. Example 2.5.24 (Differentiation has a right inverse but no left inverse), Example 2.1.9 (Maps of polynomials), Proposition 2.5.5 (Right inverses give existence), Definition 1.2.17 (Evaluation), Proposition 2.1.17 (Compositions of linear maps are linear)

Hint 1. Start from 𝐽 of Example 2.5.24. Adding a constant to 𝐽(𝑝) does not change its derivative. Which constant makes the value at 1 vanish?
Hint 2. For (b), the coefficient of 𝑥𝑝−1 in 𝐷(∑𝑎𝑘𝑥𝑘) is 𝑝𝑎𝑝, computed in 𝔽𝑝.
Sketch. (a) 𝑅(𝑝)=𝐽(𝑝)−(𝐽(𝑝))(1), the antiderivative vanishing at 1; it is linear because evaluation at 1 is linear, and 𝐷𝑅=𝐷𝐽=id. (b) The coefficient of 𝑥𝑝−1 in 𝐷(∑𝑎𝑘𝑥𝑘)=∑𝑘𝑎𝑘𝑥𝑘−1 is 𝑝∗𝑎𝑝=0. So 𝐷 is not surjective, and Proposition 2.5.5 rules out a right inverse.

(a) Let 𝐽 be the antiderivative of Example 2.5.24 and define

𝑅(𝑝)=𝐽(𝑝)−(𝐽(𝑝))(1),

where the scalar (𝐽(𝑝))(1) is subtracted as a constant polynomial. So 𝑅(𝑝) is the antiderivative of 𝑝 that vanishes at 1. The map 𝑝↦(𝐽(𝑝))(1) is the composite of 𝐽 with evaluation at 1, both linear (Example 2.1.9, Proposition 2.1.17), so 𝑅 is linear. The subtracted term is a constant polynomial, so its derivative is 0, and 𝐷(𝑅(𝑝))=𝐷(𝐽(𝑝))=𝑝. So 𝑅 is a right inverse of 𝐷, and (𝑅(𝑝))(1)=(𝐽(𝑝))(1)−(𝐽(𝑝))(1)=0. For example, 𝑅(𝑥)=𝑥2/2−1/2.

(b) By Example 2.1.9, 𝐷(∑𝑘=0𝑛𝑎𝑘𝑥𝑘)=∑𝑘=1𝑛(𝑘∗𝑎𝑘)𝑥𝑘−1, so the coefficient of 𝑥𝑝−1 in 𝐷(𝑓) comes only from 𝑘=𝑝 and equals 𝑝∗𝑎𝑝=(𝑝∗1)𝑎𝑝=0 in 𝔽𝑝 (it is 0 outright if 𝑛<𝑝). So no polynomial has derivative 𝑥𝑝−1: 𝐷 is not surjective, and by Proposition 2.5.5 it has no right inverse. Over ℚ, 𝑥𝑝−1=𝐷(𝑥𝑝/𝑝), and the division by 𝑝 is exactly what 𝔽𝑝 cannot do.

Exercise 2.5.43.standard Let 𝑝 be a prime. Use Proposition 2.5.28 to show that exactly (𝑝2−1)(𝑝2−𝑝) matrices in 𝔽𝑝2×2 are invertible. List them for 𝑝=2.

Solution.

Uses. Proposition 2.5.28 (Inverse of a 2×2 matrix), Proposition 1.1.17 (No zero divisors), Proposition 1.1.24 (ℤ/𝑛ℤ is a field if and only if 𝑛 is prime)

Hint 1. Count the complement: quadruples (𝑎,𝑏,𝑐,𝑑) with 𝑎𝑑=𝑏𝑐. Group them by the common value 𝑡=𝑎𝑑=𝑏𝑐.
Hint 2. The equation 𝑎𝑑=0 has 2𝑝−1 solutions (𝑎,𝑑), and for 𝑡≠0 the equation 𝑎𝑑=𝑡 has 𝑝−1 solutions.
Sketch. By Proposition 2.5.28, 𝐴 is invertible iff 𝑎𝑑≠𝑏𝑐. The number of (𝑎,𝑏,𝑐,𝑑) with 𝑎𝑑=𝑏𝑐=𝑡 is (2𝑝−1)2 for 𝑡=0 and (𝑝−1)2 for each of the 𝑝−1 nonzero 𝑡. So (2𝑝−1)2+(𝑝−1)3 matrices are not invertible, and 𝑝4 minus this is 𝑝4−𝑝3−𝑝2+𝑝=(𝑝2−1)(𝑝2−𝑝).

By Proposition 2.5.28, 𝐴=(𝑎𝑏𝑐𝑑) is invertible if and only if 𝑎𝑑≠𝑏𝑐. We count the matrices with 𝑎𝑑=𝑏𝑐, grouping them by the common value 𝑡.

For 𝑡=0: by Proposition 1.1.17, 𝑎𝑑=0 means 𝑎=0 or 𝑑=0, which holds for 𝑝+𝑝−1=2𝑝−1 pairs (𝑎,𝑑). Likewise there are 2𝑝−1 pairs (𝑏,𝑐) with 𝑏𝑐=0, so (2𝑝−1)2 quadruples.

For 𝑡≠0: 𝑎𝑑=𝑡 forces 𝑎≠0, and then 𝑑=𝑡𝑎−1 is determined, so there are 𝑝−1 pairs (𝑎,𝑑), and likewise 𝑝−1 pairs (𝑏,𝑐). That gives (𝑝−1)2 quadruples for each of the 𝑝−1 nonzero values of 𝑡.

So (2𝑝−1)2+(𝑝−1)3 matrices are not invertible. Expanding (2𝑝−1)2=4𝑝2−4𝑝+1 and (𝑝−1)3=𝑝3−3𝑝2+3𝑝−1, the number of invertible ones is

𝑝4−(2𝑝−1)2−(𝑝−1)3=𝑝4−𝑝3−𝑝2+𝑝=(𝑝2−1)(𝑝2−𝑝).

For 𝑝=2 this is 3⋅2=6:

(1001),(0110),(1101),(1011),(0111),(1110).

The factored form (𝑝2−1)(𝑝2−𝑝) suggests another count: 𝑝2−1 choices of a nonzero first column, then 𝑝2−𝑝 choices of a second column that is not a multiple of the first. That count is justified by the Fundamental Theorems (Theorem 2.7.8), which say that 𝐴 is invertible exactly when its columns form a basis.

Exercise 2.5.44.standard
  1. (a)Let 𝐴∈𝐹𝑚×𝑛 be invertible. Show that 𝑚∗1=𝑛∗1 in 𝐹. Deduce that over a field of characteristic 0, such as ℚ, ℝ, or ℂ, every invertible matrix is square.
  2. (b)More generally, let 𝐴∈𝐹𝑚×𝑛 and 𝐵∈𝐹𝑛×𝑚 with 𝐴𝐵=𝐼𝑚, and suppose 𝑚∗1≠𝑛∗1 in 𝐹. Show that 𝐵𝐴≠𝐼𝑛.
  3. (c)Explain why this argument does not show that invertible matrices over 𝔽2 are square.

Solution.

Uses. Proposition 2.4.28 (Cyclicity of the trace), Definition 2.4.26 (Trace), Definition 1.1.28 (Characteristic), Definition 2.5.12 (Invertible)

Techniques. Cyclicity of trace (Technique 2.4.29)

Hint 1. Take the trace of 𝐴𝐴−1=𝐼𝑚 and of 𝐴−1𝐴=𝐼𝑛.
Hint 2. Proposition 2.4.28 applies to an 𝑚×𝑛 matrix times an 𝑛×𝑚 matrix. What is tr𝐼𝑘?
Sketch. (a) 𝑚∗1=tr𝐼𝑚=tr(𝐴𝐴−1)=tr(𝐴−1𝐴)=tr𝐼𝑛=𝑛∗1. In characteristic 0, 𝑚∗1=𝑛∗1 forces 𝑚=𝑛. (b) If 𝐵𝐴=𝐼𝑛, then 𝑛∗1=tr(𝐵𝐴)=tr(𝐴𝐵)=𝑚∗1. (c) In 𝔽2, 𝑚∗1=𝑛∗1 whenever 𝑚 and 𝑛 have the same parity, so the trace cannot tell 𝑚=1 from 𝑛=3.

(a) The trace of 𝐼𝑘 is 1+⋯+1=𝑘∗1. Since 𝐴∈𝐹𝑚×𝑛 and 𝐴−1∈𝐹𝑛×𝑚, Proposition 2.4.28 gives

𝑚∗1=tr𝐼𝑚=tr(𝐴𝐴−1)=tr(𝐴−1𝐴)=tr𝐼𝑛=𝑛∗1.

Suppose 𝐹 has characteristic 0 and, say, 𝑚>𝑛. Then (𝑚−𝑛)∗1=𝑚∗1−𝑛∗1=0 with 𝑚−𝑛≥1, contradicting Definition 1.1.28. So 𝑚=𝑛.

(b) If 𝐵𝐴=𝐼𝑛, then 𝑛∗1=tr(𝐵𝐴)=tr(𝐴𝐵)=tr𝐼𝑚=𝑚∗1 by Proposition 2.4.28, contradicting the hypothesis. So 𝐵𝐴≠𝐼𝑛. For instance, over ℚ, whenever 𝐴𝐵=𝐼𝑚 with 𝐴 not square, 𝐵𝐴 is not the identity.

(c) In 𝔽2, 𝑘∗1 is 0 for even 𝑘 and 1 for odd 𝑘, so the trace only sees the parity of the size. For 𝑚=1 and 𝑛=3 the argument gives 1=1, no contradiction. Invertible matrices over 𝔽2, and over every field, are nevertheless square (Corollary 3.5.15), but the proof needs rank.

Exercise 2.5.45.routine Let 𝐴∈𝐹𝑚×𝑛 and 𝐵∈𝐹𝑛×𝑚. Show that 𝐵 is a left inverse of 𝐴 if and only if 𝐵𝖳 is a right inverse of 𝐴𝖳. Deduce that 𝐴 is left-invertible if and only if 𝐴𝖳 is right-invertible, and that 𝐴 is invertible if and only if 𝐴𝖳 is.

Solution.

Uses. Proposition 2.4.23 (Transpose of a product), Proposition 2.4.22 (Transpose is a linear involution), Proposition 2.5.17 (Algebra of inverses)

Techniques. Transpose to trade rows for columns (Technique 3.2.27)

Hint 1. Transpose the equation 𝐵𝐴=𝐼𝑛.
Hint 2. Transposing is a bijection, so 𝑋=𝑌 if and only if 𝑋𝖳=𝑌𝖳.
Sketch. (𝐵𝐴)𝖳=𝐴𝖳𝐵𝖳 and 𝐼𝑛𝖳=𝐼𝑛, and transposing is injective, so 𝐵𝐴=𝐼𝑛 iff 𝐴𝖳𝐵𝖳=𝐼𝑛. The second claim follows since 𝐵↦𝐵𝖳 is a bijection 𝐹𝑛×𝑚→𝐹𝑚×𝑛. Two-sided: apply both one-sided statements, and use (𝐴𝖳)𝖳=𝐴.

By Proposition 2.4.23 and Proposition 2.4.22, (𝐵𝐴)𝖳=𝐴𝖳𝐵𝖳 and 𝐼𝑛𝖳=𝐼𝑛. Transposing is a bijection (Proposition 2.4.22), so two matrices are equal if and only if their transposes are. Hence

𝐵𝐴=𝐼𝑛⟺(𝐵𝐴)𝖳=𝐼𝑛𝖳⟺𝐴𝖳𝐵𝖳=𝐼𝑛,

that is, 𝐵 is a left inverse of 𝐴 if and only if 𝐵𝖳 is a right inverse of 𝐴𝖳.

If 𝐴 is left-invertible, with left inverse 𝐵, then 𝐵𝖳 is a right inverse of 𝐴𝖳. Conversely, if 𝐶 is a right inverse of 𝐴𝖳, then 𝐵=𝐶𝖳 satisfies 𝐵𝖳=𝐶, so 𝐵 is a left inverse of 𝐴. The same argument with the roles of the two sides exchanged shows that 𝐴 is right-invertible if and only if 𝐴𝖳 is left-invertible. Combining the two, 𝐴 is invertible if and only if 𝐴𝖳 is; this is Proposition 2.5.17(d) together with its converse, which follows by applying it to 𝐴𝖳, since (𝐴𝖳)𝖳=𝐴.

Exercise 2.5.46.hard
  1. (a)Show that every 𝐴=(𝑎𝑏𝑐𝑑)∈𝐹2×2 satisfies

    𝐴2−(𝑎+𝑑)𝐴+(𝑎𝑑−𝑏𝑐)𝐼2=0.
  2. (b)Use (a) and Exercise 2.5.38 to give a second proof of Proposition 2.5.28(a).
  3. (c)Let 𝑝 be an odd prime. How many 𝐴∈𝔽𝑝2×2 satisfy 𝐴−1=𝐴?

Solution.

Uses. Proposition 2.4.8 (Four views of the product), Exercise 2.5.38, Proposition 1.1.17 (No zero divisors)

Hint 1. (a) is a direct computation. (b) The relation has constant term 𝑎𝑑−𝑏𝑐.
Hint 2. (c) 𝐴−1=𝐴 means 𝐴2=𝐼2. Combine with (a): (1+Δ)𝐼2=(𝑎+𝑑)𝐴, where Δ=𝑎𝑑−𝑏𝑐. What if 𝑎+𝑑≠0?
Hint 3. If 𝑎+𝑑≠0, then 𝐴 is a scalar matrix. Otherwise 𝑑=−𝑎 and Δ=−1; count the triples (𝑎,𝑏,𝑐) with 𝑎2+𝑏𝑐=1, splitting according to whether 𝑎2=1.
Sketch. (a) Compute 𝐴2 and subtract. (b) With Δ≠0, Exercise 2.5.38 gives 𝐴−1=−Δ−1(𝐴−(𝑎+𝑑)𝐼2)=Δ−1(𝑑−𝑏−𝑐𝑎). (c) Besides ±𝐼2, the solutions are exactly the 𝐴 with 𝑑=−𝑎 and 𝑎2+𝑏𝑐=1. For 𝑎=±1, 𝑏𝑐=0 has 2𝑝−1 solutions; for the other 𝑝−2 values, 𝑏𝑐=1−𝑎2≠0 has 𝑝−1. Total 2+2(2𝑝−1)+(𝑝−2)(𝑝−1)=𝑝2+𝑝+2.

(a) By the entry formula,

𝐴2=(𝑎2+𝑏𝑐𝑎𝑏+𝑏𝑑𝑐𝑎+𝑑𝑐𝑐𝑏+𝑑2),(𝑎+𝑑)𝐴=(𝑎2+𝑎𝑑𝑎𝑏+𝑏𝑑𝑎𝑐+𝑐𝑑𝑎𝑑+𝑑2),

so 𝐴2−(𝑎+𝑑)𝐴=(𝑏𝑐−𝑎𝑑00𝑏𝑐−𝑎𝑑)=−(𝑎𝑑−𝑏𝑐)𝐼2, which is the claim.

(b) Let Δ=𝑎𝑑−𝑏𝑐≠0 and 𝑡=𝑎+𝑑. The relation of (a) reads 𝐴2−𝑡𝐴+Δ𝐼2=0, with 𝑎2=1, 𝑎1=−𝑡, and 𝑎0=Δ≠0. By Exercise 2.5.38 (in matrix form),

𝐴−1=−Δ−1(𝐴−𝑡𝐼2)=Δ−1(𝑡𝐼2−𝐴)=Δ−1(𝑎+𝑑−𝑎−𝑏−𝑐𝑎+𝑑−𝑑)=1Δ(𝑑−𝑏−𝑐𝑎).

(c) 𝐴−1=𝐴 means 𝐴2=𝐼2. Let 𝑡=𝑎+𝑑 and Δ=𝑎𝑑−𝑏𝑐. By (a), 𝐴2=𝑡𝐴−Δ𝐼2, so 𝐴2=𝐼2 if and only if 𝑡𝐴=(1+Δ)𝐼2.

If 𝑡≠0, this says 𝐴=𝑡−1(1+Δ)𝐼2 is a scalar matrix 𝜆𝐼2, and 𝐴2=𝐼2 means 𝜆2=1, so 𝜆=±1 (since (𝜆−1)(𝜆+1)=0, Proposition 1.1.17). Both 𝐼2 and −𝐼2 satisfy 𝐴2=𝐼2, and they are different because 𝑝 is odd.

If 𝑡=0, the condition becomes (1+Δ)𝐼2=0, that is, Δ=−1. With 𝑑=−𝑎, Δ=−𝑎2−𝑏𝑐, so the condition is 𝑎2+𝑏𝑐=1. Conversely every such 𝐴 has 𝑡=0 and Δ=−1, so 𝐴2=𝑡𝐴−Δ𝐼2=𝐼2. These matrices are not ±𝐼2, whose traces are ±2≠0.

It remains to count the triples (𝑎,𝑏,𝑐)∈𝔽𝑝3 with 𝑏𝑐=1−𝑎2. The equation 𝑎2=1 has exactly the two solutions 𝑎=±1; for each, 𝑏𝑐=0 has 2𝑝−1 solutions. For each of the other 𝑝−2 values of 𝑎, 1−𝑎2≠0, so 𝑏≠0 and 𝑐=(1−𝑎2)𝑏−1: 𝑝−1 solutions. The total is

2+2(2𝑝−1)+(𝑝−2)(𝑝−1)=2+4𝑝−2+𝑝2−3𝑝+2=𝑝2+𝑝+2.

For 𝑝=3 this gives 14 matrices. Over 𝔽2 the count is different, because 𝐼2=−𝐼2 there: of the six invertible matrices listed in Exercise 2.5.43, exactly four satisfy 𝐴2=𝐼2.

Exercise 2.5.47.hard Let 𝐴∈𝐹𝑚×𝑛 and 𝐵∈𝐹𝑛×𝑚.

  1. (a)Suppose that 𝐼𝑚−𝐴𝐵 is invertible. Show that 𝐼𝑛−𝐵𝐴 is invertible, with

    (𝐼𝑛−𝐵𝐴)−1=𝐼𝑛+𝐵(𝐼𝑚−𝐴𝐵)−1𝐴.
  2. (b)Deduce: if 𝐮,𝐯∈𝐹𝑛 and 1+𝐯𝖳𝐮≠0, then 𝐼𝑛+𝐮𝐯𝖳 is invertible, with inverse 𝐼𝑛−(1+𝐯𝖳𝐮)−1𝐮𝐯𝖳.

Solution.

Hint 1. Where does the formula come from? Pretend the matrices are numbers and expand 1/(1−𝑏𝑎) as a geometric series: 1+𝑏𝑎+𝑏𝑎𝑏𝑎+⋯=1+𝑏(1+𝑎𝑏+𝑎𝑏𝑎𝑏+⋯)𝑎. Then forget the heuristic and verify.
Hint 2. Write 𝐶=(𝐼𝑚−𝐴𝐵)−1. In (𝐼𝑛−𝐵𝐴)(𝐼𝑛+𝐵𝐶𝐴), collect the terms of the form 𝐵(⋯)𝐴.
Hint 3. The bracket you get is 𝐶−𝐼𝑚−𝐴𝐵𝐶=(𝐼𝑚−𝐴𝐵)𝐶−𝐼𝑚.
Sketch. With 𝐶=(𝐼𝑚−𝐴𝐵)−1: (𝐼𝑛−𝐵𝐴)(𝐼𝑛+𝐵𝐶𝐴)=𝐼𝑛+𝐵[𝐶−𝐼𝑚−𝐴𝐵𝐶]𝐴=𝐼𝑛+𝐵[(𝐼𝑚−𝐴𝐵)𝐶−𝐼𝑚]𝐴=𝐼𝑛, and (𝐼𝑛+𝐵𝐶𝐴)(𝐼𝑛−𝐵𝐴)=𝐼𝑛+𝐵[𝐶−𝐼𝑚−𝐶𝐴𝐵]𝐴=𝐼𝑛+𝐵[𝐶(𝐼𝑚−𝐴𝐵)−𝐼𝑚]𝐴=𝐼𝑛. (b) is (a) with 𝑚=1, 𝐵=𝐮, 𝐴=−𝐯𝖳.

(a) Let 𝐶=(𝐼𝑚−𝐴𝐵)−1, so (𝐼𝑚−𝐴𝐵)𝐶=𝐶(𝐼𝑚−𝐴𝐵)=𝐼𝑚. By the distributive and associative laws (Proposition 2.4.14),

(𝐼𝑛−𝐵𝐴)(𝐼𝑛+𝐵𝐶𝐴)=𝐼𝑛+𝐵𝐶𝐴−𝐵𝐴−𝐵𝐴𝐵𝐶𝐴=𝐼𝑛+𝐵(𝐶−𝐼𝑚−𝐴𝐵𝐶)𝐴=𝐼𝑛+𝐵((𝐼𝑚−𝐴𝐵)𝐶−𝐼𝑚)𝐴=𝐼𝑛+𝐵(𝐼𝑚−𝐼𝑚)𝐴=𝐼𝑛,

and similarly

(𝐼𝑛+𝐵𝐶𝐴)(𝐼𝑛−𝐵𝐴)=𝐼𝑛−𝐵𝐴+𝐵𝐶𝐴−𝐵𝐶𝐴𝐵𝐴=𝐼𝑛+𝐵(𝐶−𝐼𝑚−𝐶𝐴𝐵)𝐴=𝐼𝑛+𝐵(𝐶(𝐼𝑚−𝐴𝐵)−𝐼𝑚)𝐴=𝐼𝑛.

So 𝐼𝑛+𝐵𝐶𝐴 is a two-sided inverse of 𝐼𝑛−𝐵𝐴.

(b) Apply (a) with 𝑚=1, 𝐵=𝐮∈𝐹𝑛×1, and 𝐴=−𝐯𝖳∈𝐹1×𝑛. Then 𝐼𝑛−𝐵𝐴=𝐼𝑛+𝐮𝐯𝖳, and 𝐼1−𝐴𝐵=1+𝐯𝖳𝐮, a 1×1 matrix, which is invertible exactly when it is nonzero. By (a),

(𝐼𝑛+𝐮𝐯𝖳)−1=𝐼𝑛+𝐮(1+𝐯𝖳𝐮)−1(−𝐯𝖳)=𝐼𝑛−(1+𝐯𝖳𝐮)−1𝐮𝐯𝖳.

The point of (a) is that inverting the 𝑛×𝑛 matrix 𝐼𝑛−𝐵𝐴 reduces to inverting the 𝑚×𝑚 matrix 𝐼𝑚−𝐴𝐵, which in (b) is a single number.

Exercise 2.5.48.hard Let 𝑆,𝑇∈L(𝑉) satisfy 𝑆𝑇=𝑆+𝑇.

  1. (a)Show that (id−𝑆)(id−𝑇)=id.
  2. (b)Suppose that id−𝑆 is invertible. Show that 𝑆𝑇=𝑇𝑆. (When 𝑉=𝐹𝑛, this hypothesis follows from (a) by Theorem 3.5.23.)
  3. (c)Find 𝑆,𝑇∈L(ℚ[𝑥]) with 𝑆𝑇=𝑆+𝑇 but 𝑆𝑇≠𝑇𝑆.

Solution.

Uses. Proposition 2.1.24 (Algebra of composition), Theorem 2.5.10 (Left and right inverses agree), Example 2.5.24 (Differentiation has a right inverse but no left inverse)

Hint 1. Expand (id−𝑆)(id−𝑇) and use the hypothesis.
Hint 2. By (a), id−𝑇 is a right inverse of id−𝑆. If id−𝑆 is invertible, then id−𝑇 is its inverse, so the product in the other order is also id. Expand that product.
Hint 3. For (c), you need id−𝑆 and id−𝑇 that are one-sided inverses of each other but not two-sided. Use 𝐷 and 𝐽.
Sketch. (a) (id−𝑆)(id−𝑇)=id−𝑆−𝑇+𝑆𝑇=id. (b) Then id−𝑇=(id−𝑆)−1 by Theorem 2.5.10, so (id−𝑇)(id−𝑆)=id, which expands to 𝑇𝑆=𝑆+𝑇=𝑆𝑇. (c) 𝑆=id−𝐷 and 𝑇=id−𝐽: 𝑆𝑇=2id−𝐷−𝐽+𝐷𝐽=𝑆+𝑇, while 𝑇𝑆−𝑆𝑇=𝐽𝐷−𝐷𝐽=𝐽𝐷−id≠0.

(a) By Proposition 2.1.24 and the hypothesis,

(id−𝑆)(id−𝑇)=id−𝑇−𝑆+𝑆𝑇=id−𝑇−𝑆+𝑆+𝑇=id.

(b) By (a), id−𝑇 is a right inverse of id−𝑆. If id−𝑆 is invertible, then by Theorem 2.5.10 its right inverse id−𝑇 is its inverse, so also (id−𝑇)(id−𝑆)=id. Expanding, id−𝑆−𝑇+𝑇𝑆=id, so 𝑇𝑆=𝑆+𝑇=𝑆𝑇.

(c) Let 𝐷,𝐽∈L(ℚ[𝑥]) be as in Example 2.5.24, so 𝐷𝐽=id and 𝐽𝐷≠id. Let 𝑆=id−𝐷 and 𝑇=id−𝐽. Then

𝑆𝑇=(id−𝐷)(id−𝐽)=id−𝐽−𝐷+𝐷𝐽=2id−𝐷−𝐽=𝑆+𝑇,

while

𝑇𝑆=(id−𝐽)(id−𝐷)=id−𝐷−𝐽+𝐽𝐷=𝑆𝑇+(𝐽𝐷−id).

Since 𝐽𝐷(1)=0≠1, 𝐽𝐷−id≠0, so 𝑇𝑆≠𝑆𝑇. Here id−𝑆=𝐷 has the right inverse id−𝑇=𝐽 but is not invertible, which is exactly the hypothesis of (b) failing.

Exercise 2.5.49.challenge Let 𝐴,𝐵∈𝐹𝑛×𝑛 with 𝑛≥1 and 𝐴𝐵=𝐼𝑛. You may use that any 𝑛2+1 matrices in 𝐹𝑛×𝑛 are linearly dependent, because 𝐹𝑛×𝑛 has dimension 𝑛2 (Section 4.1).

  1. (a)Show that 𝐴𝑟𝐵𝑘=𝐵𝑘−𝑟 whenever 𝑘≥𝑟≥0.
  2. (b)Show that 𝐵 has a right inverse that is a linear combination of 𝐼𝑛,𝐵,𝐵2,….
  3. (c)Conclude that 𝐵𝐴=𝐼𝑛.

Solution.

Uses. Theorem 2.5.10 (Left and right inverses agree), Notation 2.4.16 (Powers of a matrix), Proposition 2.4.14 (Algebra of matrices), Theorem 1.5.5 (Independence is decided at zero)

Techniques. Uniqueness via two candidates (Technique 1.1.8), Too many vectors force a dependence (Technique 4.1.30)

Hint 1. (a) First show 𝐴𝐵𝑘=𝐵𝑘−1 for 𝑘≥1, then induct on 𝑟.
Hint 2. (b) The matrices 𝐼𝑛,𝐵,…,𝐵𝑛2 are dependent. Take a nontrivial relation ∑𝑐𝑘𝐵𝑘=0, let 𝑟 be the smallest index with 𝑐𝑟≠0, and multiply the relation on the left by 𝐴𝑟.
Hint 3. After multiplying by 𝐴𝑟, the relation reads 𝑐𝑟𝐼𝑛+𝑐𝑟+1𝐵+𝑐𝑟+2𝐵2+⋯=0. Solve for 𝐼𝑛 and factor out 𝐵.
Hint 4. (c) 𝐵 now has a left inverse and a right inverse.
Sketch. (a) 𝐴𝐵𝑘=(𝐴𝐵)𝐵𝑘−1=𝐵𝑘−1, and induction on 𝑟. (b) Take a nontrivial relation ∑𝑘=𝑟𝑁𝑐𝑘𝐵𝑘=0 with 𝑐𝑟≠0 and multiply by 𝐴𝑟: ∑𝑘=𝑟𝑁𝑐𝑘𝐵𝑘−𝑟=0, so 𝐼𝑛=𝐵𝑄 with 𝑄=−𝑐𝑟−1∑𝑘=𝑟+1𝑁𝑐𝑘𝐵𝑘−𝑟−1. (c) 𝐴 is a left inverse of 𝐵 and 𝑄 a right inverse, so 𝐴=𝑄 by Theorem 2.5.10 and 𝐵𝐴=𝐵𝑄=𝐼𝑛.

(a) For 𝑘≥1, 𝐴𝐵𝑘=(𝐴𝐵)𝐵𝑘−1=𝐵𝑘−1 by associativity. We induct on 𝑟; for 𝑟=0 the claim is 𝐵𝑘=𝐵𝑘. If 𝐴𝑟𝐵𝑘=𝐵𝑘−𝑟 for all 𝑘≥𝑟, and 𝑘≥𝑟+1, then

𝐴𝑟+1𝐵𝑘=𝐴(𝐴𝑟𝐵𝑘)=𝐴𝐵𝑘−𝑟=𝐵𝑘−𝑟−1,

using 𝑘−𝑟≥1.

(b) The 𝑛2+1 matrices 𝐼𝑛,𝐵,𝐵2,…,𝐵𝑛2 are linearly dependent, so there are 𝑐0,…,𝑐𝑛2∈𝐹, not all 0, with ∑𝑘=0𝑛2𝑐𝑘𝐵𝑘=0 (Theorem 1.5.5). Let 𝑟 be the smallest index with 𝑐𝑟≠0, so the relation is ∑𝑘=𝑟𝑛2𝑐𝑘𝐵𝑘=0. Multiplying on the left by 𝐴𝑟 and using (a),

𝑐𝑟𝐼𝑛+𝑐𝑟+1𝐵+𝑐𝑟+2𝐵2+⋯+𝑐𝑛2𝐵𝑛2−𝑟=0.

Let 𝑄=−𝑐𝑟−1(𝑐𝑟+1𝐼𝑛+𝑐𝑟+2𝐵+⋯+𝑐𝑛2𝐵𝑛2−𝑟−1), an empty sum being 0. Solving for 𝐼𝑛 gives 𝐼𝑛=𝐵𝑄. So 𝑄 is a right inverse of 𝐵, and it is a linear combination of powers of 𝐵.

(c) 𝐴𝐵=𝐼𝑛 says that 𝐴 is a left inverse of 𝐵, and by (b), 𝑄 is a right inverse of 𝐵. By Theorem 2.5.10, 𝐴=𝑄, so 𝐵𝐴=𝐵𝑄=𝐼𝑛.

This proves the square case of Theorem 3.5.23 using only that 𝐹𝑛×𝑛 is finite-dimensional, and finite dimension is essential. On ℚ[𝑥], with 𝐷𝐽=id, the argument breaks down at (b), because the powers of 𝐽 are linearly independent.

More practice

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