Chapter 2: Linear maps and matrices
2.5Invertibility
To solve is to undo . In , multiplication by is undone by multiplication by , and , so it does not matter on which side stands. For linear maps the two sides come apart, and they do different jobs. Let and . If , then every solution of satisfies
so there is at most one solution. If , 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 . A linear map is a left inverse of if , 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 . A linear map is a right inverse of if , 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 by Proposition 2.3.13. A matrix is determined by its map (Proposition 2.3.17), so if and only if . 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 , , whose standard matrix is the column . For , let
Each is linear, and
On the other hand, has no right inverse. If for some , then
and comparing second coordinates gives , which is false. The obstruction is that is not a value of at all.
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 has a left inverse . If , then . In particular, is injective.
Likewise, if has a left inverse and , then , and is injective.
Uses. Definition 2.5.1 (Left inverse)
Techniques. Fix an arbitrary element and chase it (Technique 1.3.13)
Suppose . Applying to both sides and using ,
Now let with , and call this vector . By what we just showed, . So is injective.
For the matrix statement, if , then
Proposition 2.5.5 (Right inverses give existence). Suppose 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.
Uses. Definition 2.5.2 (Right inverse)
Techniques. Fix an arbitrary element and chase it (Technique 1.3.13)
Let and . Then
As was arbitrary, every vector of is a value of , so is surjective. For matrices,
Neither proposition says more than it claims. A left inverse produces the only possible solution, but that candidate need not be a solution. With , its left inverse from Example 2.5.3, and , the candidate is , but for every : the system has no solution at all. A right inverse produces a solution, but not necessarily the only one. The row has the right inverses and , and applied to they give the two different solutions and of . 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.
- (a)If is left-invertible, then implies , for all .
- (b)If is right-invertible, then implies , for all .
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)
(a) Let be a left inverse of . By Proposition 2.1.24,
(b) Let be a right inverse of . Then
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 forces . The side matters. is left-invertible, yet ; cancelling on the right would need a right inverse.
Exercise 2.5.9. Let .
- (a)Show that if some column of is zero, then has no left inverse.
- (b)Show that if some row of is zero, then has no right inverse.
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)
(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 ,
(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 in position , so . (In the language of Proposition 2.5.5: every vector has -th entry , 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 . If is a left inverse of and 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 .
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)
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 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.
Uses. Theorem 2.5.10 (Left and right inverses agree)
Techniques. Contrapositive (Technique 1.5.4)
In Example 2.5.3, and are different left inverses of , since
Definition 2.5.12 (Invertible). A linear map is invertible if there is a linear map that is both a left and a right inverse of :
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 .
Likewise, is invertible if there is with and . Again is unique; it is the inverse of , written , and is invertible if and only if it is both left-invertible and right-invertible.
So an invertible map satisfies and . By Proposition 2.5.4 and Proposition 2.5.5 it is injective and surjective, so for every the equation has exactly one solution, . In particular 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 ; this is also part (c) of Proposition 2.5.20 below.
- (a) is its own inverse, and . For with , is invertible with inverse , since
in both orders (Proposition 2.1.24(d)). (b)Rotating by and then by in either order is rotating by , so
(Exercise 2.1.43), and . In matrices, A reflection satisfies (Exercise 2.1.42), so it is its own inverse: reflecting twice returns every point.
- (c)For a basis of , the coordinate map , , is invertible, and its inverse is
(Example 2.1.8). - (d)If are all nonzero, then is invertible with inverse , because diagonal matrices multiply entry by entry (Example 2.4.10). If some , then column is zero, and Exercise 2.5.9 shows that the matrix has no left inverse.
- (e)Suppose in , and write . Let be
, the substitution . The map is linear for the same reason as , and both and multiply the coefficient of each by . So , that is, . - (f)The map
of Exercise 2.1.25 satisfies , so , that is, .
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 , produce a candidate and verify and . Then is invertible and , 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 , then
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.
Used in 19 places and 1 practice exercise
Proposition 2.5.17, Exercise 2.5.19, Exercise 2.5.22, Proposition 2.5.26, Proposition 2.5.28, Exercise 2.5.35, Exercise 2.5.38, Exercise 2.5.39, Exercise 2.5.40, Exercise 2.5.47, Exercise 2.7.31, Exercise 2.8.9, Exercise 2.8.10, Exercise 2.8.14, Problem 2.5, Problem 2.10, Exercise 4.3.37, Proposition 6.6.18, Exercise 8.1.35; 1 practice exercise.
- (a)If is invertible, then so is , and .
(b)If and are invertible, then so is , and
- (c)If is invertible and is nonzero, then is invertible, and .
- (d)Statements (a)–(c) hold for matrices of compatible sizes. Moreover, if is invertible, then so is , and .
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)
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 and , read with as the map being inverted, say that is a left and a right inverse of . So is invertible with inverse .
(b) By associativity and the identity laws (Proposition 2.1.24),
(c) By Proposition 2.1.24(d),
(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, , with and . By Proposition 2.4.23 and Proposition 2.4.22,
so is a two-sided inverse of . □
By induction on , part (b) gives
Part (b) also runs backwards: if two of , , and are invertible, the third can be written as a product of invertible maps.
Uses. Proposition 2.5.17 (Algebra of inverses), Proposition 2.1.24 (Algebra of composition)
If and are invertible, then is invertible by Proposition 2.5.17(b).
If and are invertible, then by associativity
If and are invertible, then
If only is known to be invertible, neither factor need be (Example 2.5.27).
Exercise 2.5.19. Let and in .
- (a)Check that and .
- (b)Compute , , and . Which two agree?
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)
(a)
(b) We have and
By Proposition 2.5.17(b),
Inverses also translate between maps and matrices, in every pair of bases. The proof is a direct application of Technique 2.3.27.
- (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 .
(b) is left-invertible, right-invertible, or invertible if and only if is. If is invertible, then
- (c)In particular, is left-invertible, right-invertible, or invertible if and only if is, and if is invertible, then .
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)
(a) By Theorem 2.4.2,
In the same way, if and only if
(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 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 is both a left and a right inverse of . By the uniqueness in Definition 2.5.12, it is .
(c) Apply (b) to with the standard bases, where (Proposition 2.3.16). If is invertible, (b) gives
Example 2.5.21 (Change of coordinates is invertible). Let and be bases of . The identity map is its own inverse, so by Proposition 2.5.20(b), applied with the basis on the domain and on the target,
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.
Uses. Definition 2.3.1 (Matrix of a linear map), Proposition 2.5.20 (Inverses and matrices), Definition 2.4.1 (Matrix product)
Techniques. Translate between maps and matrices (Technique 2.3.27), Guess the inverse, then check both products (Technique 2.5.16)
From , , and ,
By the entry formula,
and
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 . Shifting by and then by 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 and , and consider the matrix
It sends to , the vector followed by more entries. For every , block multiplication (Theorem 2.4.34) gives
so
For instance, take , , and . With , the left inverses of
are the matrices
The simplest, , reads off the first two entries. The others also use the third entry , 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 (Definition 1.1.28), such as , , or , so that ( terms) is nonzero for every ; we write for its inverse. Let be differentiation (Example 2.1.9), and let be the antiderivative with constant term ,
Like , the map moves each coefficient to a fixed place and multiplies it by a fixed scalar, so it is linear.
- . Both sides are linear, and
for every . The monomials span , so 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. - , since . In general : differentiating loses the constant term, and cannot recover it.
- has no left inverse, since shows that is not injective (Proposition 2.5.4). has no right inverse, since every value of has constant term , so is not a value of (Proposition 2.5.5).
- has many right inverses. If takes only constant values, then and . 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 .
The same happens between finite-dimensional spaces of different dimensions. For , differentiation
The finite-dimensional version is an instance of the previous subsection: a matrix with a right inverse. The version on is new. There and map a space to itself, and still while . 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, , falls off. Over even the right inverse is lost (Exercise 2.5.42).
Products
If and are invertible, so is (Proposition 2.5.17). The converse fails, but a one-sided version survives.
- (a)If and are left-invertible, so is . If and are right-invertible, so is .
- (b)If is left-invertible, then so is . If is right-invertible, then so is .
- (c)In particular, if is invertible, then is a left inverse of , and is a right inverse of .
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)
(a) Let and . By Proposition 2.1.24,
so is a left inverse of . If and , then
(b) If , then , so is a left inverse of . If , then , so is a right inverse of .
(c) Apply (b) with , 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 and . Then is invertible. But is not: it has the two right inverses and , so by Corollary 2.5.11 it has no left inverse. Similarly has the two left inverses and , so it has no right inverse. In the other order, has a zero row and is not even right-invertible (Exercise 2.5.9).
For a example of the same kind, take and , so that by block multiplication. For an example with maps from a space to itself, take 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 matrices
For 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:
So the second matrix is an inverse of up to the scalar .
(a)If , then is invertible, and
- (b)If , then has neither a left inverse nor a right inverse.
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)
Let . By the entry formula,
(a) If , then by Proposition 2.4.14(d),
and likewise . So is a two-sided inverse of .
(b) Suppose , so that . If is a left inverse of , then
So and . But the zero matrix has no left inverse, since , a contradiction. If is a right inverse of , then
The number is the determinant of , studied in Chapter 5, and is the case of the adjugate matrix, which inverts matrices of every size (Theorem 5.5.9). For a rotation, 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 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 .
Example 2.5.29 (One matrix over several fields). Let , with . Whether is invertible depends on the field in which we read its entries.
- Over , and
. - Over , and , so
. As a check, , which is modulo . - Over , and , so
. - Over , , so is not invertible. Indeed 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 , the only prime dividing .
Exercises
Exercise 2.5.30. Let .
- (a)Find all left inverses of .
- (b)Show that has no right inverse, in two ways: directly from Definition 2.5.2, and from (a).
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)
(a) A left inverse is a matrix
For instance gives , gives , and , gives .
(b) A right inverse would be
Alternatively, by (a), and are two different left inverses of , and by Corollary 2.5.11 a matrix with two different left inverses has no right inverse.
- (a)Over , find the inverse of .
- (b)Over , find the inverse of , and check your answer.
- (c)For which is invertible? For which ?
Uses. Proposition 2.5.28 (Inverse of a matrix)
(a) , so by Proposition 2.5.28
Check:
(b) in , so the inverse is . Check:
which is modulo since and .
(c) Here . By Proposition 2.5.28 the matrix is invertible exactly when . Over this means , and then the inverse is . In the squares of are , so exactly for , and the matrix is invertible for .
Exercise 2.5.32. Let with .
- (a)Show that if is invertible and for some , then .
- (b)Show that if for some , then is not invertible.
- (c)Show that if is invertible and , then .
- (d)Show that if for some , then is invertible with .
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)
(a) , and is left-invertible, so by Corollary 2.5.6.
(b) If were invertible, then would be invertible by Proposition 2.5.17(b) and induction. But , 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,
Exercise 2.5.33. Let and .
- (a)Suppose and is surjective. Show that .
- (b)Suppose and is injective. Show that .
- (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.
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)
(a) Let . Since is surjective, for some . Then
As was arbitrary, .
(b) Let . Then
(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. 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, . Hence .
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)
The error is the step “”. By Definition 2.5.2, says only that is a right inverse of . The inverse 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 , the very fact that it set out to prove.
The conclusion is false: as in Example 2.5.27, and satisfy , but .
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: but on (Example 2.5.24).
Exercise 2.5.35. Prove or disprove each statement, where .
- (a)If are invertible, then is invertible.
- (b)If and is invertible, then is invertible.
- (c)If is invertible and symmetric, then is symmetric.
- (d)If and is invertible, then is left-invertible.
- (e)If is left-invertible, then is invertible.
Uses. Definition 2.5.12 (Invertible), Theorem 2.5.10 (Left and right inverses agree), Proposition 2.5.17 (Algebra of inverses), Exercise 2.5.9
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18), Guess the inverse, then check both products (Technique 2.5.16)
(a) False. and are invertible (each is its own inverse), but has a zero column and is not invertible (Exercise 2.5.9). This works over every field, including , where .
(b) True. Let , so . Then
(c) True. By Proposition 2.5.17(d) and ,
(d) True. Let
(e) False. Over , let . It is left-invertible, with left inverse , but is not invertible. Over , has the left inverse and . 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. Let be a prime and
- (a)How many left inverses does have?
- (b)Does have a right inverse?
- (c)How many right inverses does have?
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)
(a) By the row view (Proposition 2.4.8(c)), means that row of times is and row of times is , and the two rows can be chosen independently. For a row , the row view gives
and there are of them.
(b) No. Since , has two different left inverses, so it has no right inverse by Corollary 2.5.11.
(c) By Proposition 2.4.23, , and . Since transposing is a bijection (Proposition 2.4.22), if and only if . So is a right inverse of exactly when is a left inverse of , and has right inverses.
Uses. Theorem 2.5.10 (Left and right inverses agree), Definition 2.5.12 (Invertible)
Techniques. Uniqueness via two candidates (Technique 1.1.8)
Note first that says that is a right inverse of .
Suppose has a left inverse , so . Then has the left inverse and the right inverse , so by Theorem 2.5.10, applied to . Hence . Together with , this shows that is a two-sided inverse of , so is invertible and .
Conversely, suppose is invertible. By Theorem 2.5.10, its only left inverse is , so . Then , so is a left inverse of .
Exercise 2.5.38. Let , and suppose that
- (a)Show that is invertible, and that
. - (b)Let . Verify that , find from (a), and show that .
Uses. Proposition 2.1.24 (Algebra of composition), Notation 2.1.18, Definition 2.5.12 (Invertible), Proposition 2.4.14 (Algebra of matrices)
Techniques. Guess the inverse, then check both products (Technique 2.5.16)
(a) Let
where the last step is the hypothesis. Multiplying by the scalar (Proposition 2.1.24(d)) gives
So is a two-sided inverse of , and is invertible with .
(b) By the entry formula,
The relation has , , , so by (a) (in its matrix form, with the same proof),
so . In particular .
(a)Let with for some . Show that and are invertible, with
- (b)Use (a) to invert for .
- (c)Show that is invertible on , where is differentiation, and compute .
Uses. Proposition 2.1.24 (Algebra of composition), Notation 2.1.18, Definition 2.5.12 (Invertible), Example 2.1.19 (Composites)
Techniques. Guess the inverse, then check both products (Technique 2.5.16)
(a) Let . By the distributive laws in Proposition 2.1.24,
and in the same way
(b) The matrix is with . By the entry formula,
Check, first row of the product of the matrix with this inverse:
(c) Each application of lowers the degree of a nonconstant polynomial and sends constants to (Example 2.1.19), so on . By (a), is invertible with inverse . Applied to :
Check:
Exercise 2.5.40. Let and be invertible, and let .
(a)Show that is invertible, with
- (b)Use (a) to invert .
Uses. Theorem 2.4.34 (Block multiplication), Proposition 2.5.28 (Inverse of a 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)
(a) Let be the proposed inverse, partitioned with sizes like . By Theorem 2.4.34, the four blocks of are
so . In the same way, the blocks of are , then
(b) Take , , and . By Proposition 2.5.28, and , and . Then
so
Check, row by row against the original:
Exercise 2.5.41. Let be multiplication by , , and let be
- (a)Show that , compute , and show that has no right inverse and no left inverse.
- (b)Find all left inverses of .
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)
(a) For
Every value of has constant term , so is not a value of , and is not surjective. By Proposition 2.5.5, has no right inverse. Since , is not injective, so it has no left inverse by Proposition 2.5.4.
(b) Let with . Then
where is the constant term of . Then and agree on every monomial, since
- (a)On , construct a right inverse of differentiation such that for every .
- (b)Let be a prime. Show that is not a value of
, and conclude that over , has no right inverse.
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)
(a) Let be the antiderivative of Example 2.5.24 and define
where the scalar is subtracted as a constant polynomial. So is the antiderivative of that vanishes at . The map is the composite of with evaluation at , both linear (Example 2.1.9, Proposition 2.1.17), so is linear. The subtracted term is a constant polynomial, so its derivative is , and
(b) By Example 2.1.9,
Uses. Proposition 2.5.28 (Inverse of a matrix), Proposition 1.1.17 (No zero divisors), Proposition 1.1.24 ( is a field if and only if is prime)
By Proposition 2.5.28, is invertible if and only if . We count the matrices with , grouping them by the common value .
For : by Proposition 1.1.17, means or , which holds for pairs . Likewise there are pairs with , so quadruples.
For : forces , and then is determined, so there are pairs , and likewise pairs . That gives quadruples for each of the nonzero values of .
So matrices are not invertible. Expanding
For this is :
The factored form suggests another count: choices of a nonzero first column, then 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.
- (a)Let be invertible. Show that in . Deduce that over a field of characteristic , such as , , or , every invertible matrix is square.
- (b)More generally, let and with , and suppose in . Show that .
- (c)Explain why this argument does not show that invertible matrices over are square.
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)
(a) The trace of is . Since and , Proposition 2.4.28 gives
Suppose has characteristic and, say, . Then
(b) If , then
(c) In , is for even and for odd , so the trace only sees the parity of the size. For and the argument gives , no contradiction. Invertible matrices over , and over every field, are nevertheless square (Corollary 3.5.15), but the proof needs rank.
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)
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 .
(a)Show that every
satisfies - (b)Use (a) and Exercise 2.5.38 to give a second proof of Proposition 2.5.28(a).
- (c)Let be an odd prime. How many satisfy ?
Uses. Proposition 2.4.8 (Four views of the product), Exercise 2.5.38, Proposition 1.1.17 (No zero divisors)
(a) By the entry formula,
so
(b) Let and . The relation of (a) reads , with , , and . By Exercise 2.5.38 (in matrix form),
(c) means . Let and . By (a), , so if and only if .
If , this says is a scalar matrix , and means , so (since , Proposition 1.1.17). Both and satisfy , and they are different because is odd.
If , the condition becomes , that is, . With , , so the condition is . Conversely every such has and , so . These matrices are not , whose traces are .
It remains to count the triples with . The equation has exactly the two solutions ; for each, has solutions. For each of the other values of , , so and : solutions. The total is
For this gives matrices. Over the count is different, because there: of the six invertible matrices listed in Exercise 2.5.43, exactly four satisfy .
Exercise 2.5.47. Let and .
(a)Suppose that is invertible. Show that is invertible, with
- (b)Deduce: if and , then is invertible, with inverse
.
Uses. Proposition 2.4.14 (Algebra of matrices), Definition 2.5.12 (Invertible)
Techniques. Guess the inverse, then check both products (Technique 2.5.16)
(a) Let , so
and similarly
So is a two-sided inverse of .
(b) Apply (a) with , , and . Then
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. Let satisfy .
- (a)Show that .
- (b)Suppose that is invertible. Show that . (When , this hypothesis follows from (a) by Theorem 3.5.23.)
- (c)Find with but .
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)
(a) By Proposition 2.1.24 and the hypothesis,
(b) By (a), is a right inverse of . If is invertible, then by Theorem 2.5.10 its right inverse is its inverse, so also . Expanding, , so .
(c) Let be as in Example 2.5.24, so and . Let and . Then
while
Since , , so . Here has the right inverse but is not invertible, which is exactly the hypothesis of (b) failing.
Exercise 2.5.49. Let with and . You may use that any matrices in are linearly dependent, because has dimension (Section 4.1).
- (a)Show that whenever .
- (b)Show that has a right inverse that is a linear combination of .
- (c)Conclude that .
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)
(a) For ,
using .
(b) The matrices
Let
(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 , 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.