Chapter 2: Linear maps and matrices
2.7The Fundamental Theorems
For a matrix , the last two sections produced a long list of properties. The map can be injective or surjective, its kernel can be and its image , the columns of can be linearly independent or span , can have a left or a right inverse, and the equation can have at most one or at least one solution for each . Many of these turned out to be the same property in different words. The three Fundamental Theorems sort them into three groups: the conditions that say “at most one”, those that say “at least one”, and those that say “exactly one”. Almost every equivalence among them is a result we already have, read the right way. The exception is that an injective has a linear left inverse, and a surjective one a linear right inverse. These need a construction, which the lecture postpones until row reduction is available (Section 3.5). We give a direct construction here as well.
Each theorem is a list of equivalent statements, so we start with how such lists are proved. Throughout, has columns , and is the linear map (Definition 2.3.15).
2.7.1Proving that statements are equivalent
A theorem of the form “the following are equivalent” (TFAE) about statements asserts that they are all true or all false. Proving every implication separately would take arguments, which is for the five conditions of a Fundamental Theorem. Implications can be chained, so far fewer are needed.
Technique 2.7.1 (Proving TFAE). To prove that are equivalent, prove some implications such that every statement can be reached from every other by following implications. Then any implies any , by chaining. Two shapes cover most cases.
- A cycle
uses implications, the fewest possible. The order is ours to choose, and a good order makes every step short. Usually one goes from the most informative statement (one that hands us an object, such as an inverse) toward the least informative, and closes the loop with the one step that needs an idea. - A hub with spokes fixes one statement, say , and proves for every other . It uses more implications than a cycle, but it is the natural shape when earlier results already relate each to . Each spoke is then a citation, and the citations are a complete proof, because equivalence is transitive.
Mixed shapes are fine. Draw the statements as points and the proved implications as arrows, and check that you can travel from any point to any other along arrows. Two mistakes are common. Equivalences inside two separate groups of statements say nothing about one group versus the other (Exercise 2.7.21). And each arrow must be proved without the theorem it belongs to, and without any result that depends on that theorem. Going around a cycle is not circular reasoning, since every arrow is proved on its own; quoting the theorem to prove one of its own arrows would be.
The payoff comes after the proof. To show that one of the statements holds, check whichever is easiest; to use one, use whichever is strongest. We have already seen cycles in Theorem 1.4.3 and Theorem 2.1.3. The canonical example is the First Fundamental Theorem (Theorem 2.7.2), whose proof is a hub with three spokes plus two implications about inverses.
Used in 38 places and 3 practice exercises
Theorem 1.4.3, Theorem 2.7.2, Theorem 2.7.4, Exercise 2.7.6, Theorem 2.7.8, Exercise 2.7.15, Corollary 2.7.16, Exercise 2.7.19, Exercise 2.7.21, Exercise 2.7.23, Exercise 2.8.11, Corollary 3.4.20, Theorem 3.5.12, Theorem 3.5.13, Theorem 3.5.14, Corollary 3.5.25, Exercise 4.2.50, Theorem 4.4.7, Corollary 4.5.21, Theorem 4.5.25, Lemma 4.6.14, Theorem 4.7.22, Theorem 4.7.37, Proposition 6.3.34, Exercise 6.4.57, Exercise 6.6.40, Theorem 7.4.16, Proposition 7.5.2, Theorem 7.6.15, Theorem 8.2.5, Theorem 8.2.12, Theorem 8.3.5, Proposition 8.3.15, Theorem 8.4.4, Theorem 8.4.11, Theorem 8.4.15, Theorem A.2.1, Lemma A.3.5; 3 practice exercises.
2.7.2The First and Second Fundamental Theorems
- (I) is injective.
- (II)For every , the equation has at most one solution .
- (III)The columns of are linearly independent.
- (IV).
- (V) has a left inverse: a linear map with .
We use (I) as the hub. Parts 1 and 2 of the proof only reread earlier results. Part 3 needs a construction, and it is given in Section 2.7.4.
Proof, part 1 of 3: (I)–(IV) are equivalent.
Uses. Definition 2.6.1 (Injective), Definition 2.3.15 (The linear map of a matrix), Corollary 2.6.24 (The columns decide), Proposition 2.3.13 (Linearity of the product), Theorem 2.6.11 (Injectivity is decided at )
Techniques. Proving TFAE (Technique 2.7.1)
We prove (I) (II), (I) (III), and (I) (IV).
(I) (II). By Definition 2.3.15, is a solution of exactly when , that is, when is a preimage of under . So (II) says that every has at most one preimage under , which is the definition of injectivity (Definition 2.6.1).
(I) (III). This is Corollary 2.6.24(a).
(I) (IV). is linear (Proposition 2.3.13), so this is Theorem 2.6.11 applied to .
Proof, part 2 of 3: (V) (I).
Uses. Proposition 2.5.4 (Left inverses give uniqueness)
Let be a left inverse of . By Proposition 2.5.4, is injective. Explicitly, if
What remains is to show that an injective has a left inverse. Since (I)–(IV) are already known to be equivalent, we may start from whichever of them is most convenient, and in Section 2.7.4 we start from (III). Figure 2.7.1 shows the whole web of implications.
Remark 2.7.3 (Reinterpreting earlier results). Part 1 of the proof cites one definition and two earlier results, and nothing else, yet it is a complete proof. Each spoke is a definition or a theorem proved earlier, the hypotheses of the theorems hold here, and equivalence is transitive. What part 1 adds is the translation that lets each earlier result be read as a statement about . A solution of is a preimage of under . The columns of are the values of on the standard basis. And is linear, so every theorem about linear maps applies to it.
When you cite a result in this way, check two things: that its hypotheses really hold, and that its conclusion, after translation, is literally the implication you need. For instance, Proposition 2.6.22(a) decides injectivity from the values on a basis of the domain; Corollary 2.6.24 is its special case for the standard basis of , whose values are the columns. The real work was done in Section 2.6. Collecting the conditions into one theorem is still worthwhile, because in a problem we rarely know in advance which of them is easiest to check, and the theorem lets us check that one and use any other.
- (I) is surjective.
- (II)For every , the equation has at least one solution .
- (III)The columns of span .
- (IV).
- (V) has a right inverse: a linear map with .
Proof, part 1 of 3: (I)–(IV) are equivalent.
Uses. Definition 2.6.2 (Surjective), Definition 2.6.6 (Image), Definition 2.3.15 (The linear map of a matrix), Corollary 2.6.24 (The columns decide)
Techniques. Proving TFAE (Technique 2.7.1)
(I) (II). As in the proof of Theorem 2.7.2, the solutions of are the preimages of under . So (II) says that every has at least one preimage, which is Definition 2.6.2.
(I) (IV). By Definition 2.6.6, is the set of values of , so says that every vector of is a value, which is again Definition 2.6.2.
(I) (III). This is Corollary 2.6.24(b).
Instead of the last spoke we could have linked (III) and (IV) directly, since is the span of the columns (Proposition 2.6.18). The resulting chain (II) (I) (IV) (III) is just as good.
Proof, part 2 of 3: (V) (I).
Uses. Proposition 2.5.5 (Right inverses give existence)
Again the implication from (I)–(IV) to (V) needs a construction, and it is part 3 of the proof, in Section 2.7.4.
Example 2.7.5 (A tall matrix). Let
over any field . Its columns and are linearly independent: if
They can also be read off differently, using :
Indeed, the first row of sends to and to .
On the other hand, is not surjective. The vector would need , , and , which is impossible. So no condition of Theorem 2.7.4 holds: the columns do not span , and there is no right inverse. (Corollary 2.5.11 also rules out a right inverse, since .) Uniqueness of solutions and existence of solutions really are independent properties.
Over , the span explorer below shows the columns of this and a target . While lies in the plane spanned by the columns, the explorer finds coefficients with , and they are unique: this is (II) of Theorem 2.7.2. Drag off the plane and there are none, as Theorem 2.7.4 fails. Adding a third vector off the plane makes the list independent (Proposition 1.5.14), and the explorer reports that it also spans ; for three vectors in that is no accident (Corollary 3.5.16). The matrix with these columns then satisfies all three theorems.
Uses. Proposition 2.5.4 (Left inverses give uniqueness), Definition 2.6.1 (Injective), Definition 2.4.1 (Matrix product)
Techniques. Proving TFAE (Technique 2.7.1)
We prove (i) (ii) (iii) (i).
(i) (ii). and . If , these are two different inputs with the same value, so would not be injective (Definition 2.6.1).
(ii) (iii). Since , some entry is nonzero. Let be the row with entry in position and elsewhere. By Definition 2.4.1, .
(iii) (i). If , then is a left inverse of , since
The step (ii) (iii) produces the left inverse, so it is the case of the construction in part 3. Run on the single column , that construction appends every except for the last index with , and it produces exactly the row .
2.7.3The Third Fundamental Theorem
For the Third Fundamental Theorem, the implication from bijectivity to invertibility is much easier than the corresponding implications for one-sided inverses. As the lecture puts it, there is only one plausible choice for the inverse.
Uses. Definition 2.6.3 (Bijective), Definition 2.1.1 (Linear map), Definition 2.5.12 (Invertible), Section A.1
Techniques. Fix an arbitrary element and chase it (Technique 1.3.13)
Since is bijective, every has exactly one preimage (Definition 2.6.3), so is a well-defined function , and for every .
Fix and . We will show that
So is the preimage of , and by the definition of ,
as desired. Thus is linear (Definition 2.1.1).
Finally, is the inverse function of (Section A.1): , because is the preimage of , and . So is a linear map that is both a left and a right inverse of , and is invertible with (Definition 2.5.12). □
No basis appeared in the proof, so the proposition holds for every bijective linear map, between any two vector spaces. Together with Proposition 2.5.4 and Proposition 2.5.5 it says that a linear map is invertible if and only if it is bijective.
- (I) is bijective.
- (II)For every , the equation has exactly one solution .
- (III)The columns of form a basis of .
- (IV) and .
- (V) is invertible.
Proof, part 1 of 3: (I)–(IV) are equivalent.
Uses. Theorem 2.7.2 (First Fundamental Theorem), Theorem 2.7.4 (Second Fundamental Theorem), Definition 2.6.3 (Bijective), Proposition 1.6.2 (Bases are independent spanning lists)
Techniques. Proving TFAE (Technique 2.7.1)
Each of the conditions (I)–(IV) of the present theorem combines the condition with the same numeral in Theorem 2.7.2 with the one in Theorem 2.7.4:
- (I) says that is injective and surjective (Definition 2.6.3);
- (II) says that has at most one and at least one solution, for every ;
- (III) says that the columns of are linearly independent and span (Proposition 1.6.2);
- (IV) says that and .
By part 1 of the proof of Theorem 2.7.2, the first halves of these four conditions are equivalent to one another, and by part 1 of the proof of Theorem 2.7.4, so are the second halves. If and , then ( and ) ( and ). So (I)–(IV) are equivalent.
Proof, part 2 of 3: (V) (I).
Uses. Definition 2.5.12 (Invertible), Proposition 2.5.4 (Left inverses give uniqueness), Proposition 2.5.5 (Right inverses give existence)
For the last step we give two proofs. The first is the lecture’s; the second builds the inverse on a basis, and it is the model for the constructions in Section 2.7.4.
Proof (via the inverse function), part 3 of 3: (I) (V).
Uses. Proposition 2.7.7 (Bijective linear maps are invertible), Proposition 2.3.13 (Linearity of the product)
Proof (by building the inverse on a basis), part 3 of 3: (III) (V).
Uses. Theorem 2.2.1 (Linear maps are determined by a basis), Proposition 1.6.7 (Standard bases), Proposition 2.3.13 (Linearity of the product)
Techniques. Construct a map by choosing it on a basis (Technique 2.2.4), Check it on a basis (Technique 2.2.7)
Suppose the columns form a basis of . By Theorem 2.2.1 there is a linear map with for . Recall that
for every . So the linear maps and agree on the basis of (Proposition 1.6.7), and and agree on the basis of . By the uniqueness in Theorem 2.2.1, and . So is a linear two-sided inverse of . □
The first proof works for any bijective linear map, with no bases at all. The second uses that the columns are a basis of the target, and it explains where the inverse comes from: it undoes on the columns, and the columns are a basis, so nothing else needs to be decided. In Section 2.7.4 the columns will only be independent, or only spanning, and then something does have to be decided.
Example 2.7.9 (One matrix over three fields). Let . The system reads
Adding and subtracting the equations shows that every solution satisfies and , where .
Over , or any field with , this gives and , and conversely these values solve the system. So the system has exactly one solution for every , which is (II) of Theorem 2.7.8, and is invertible. The solution formula is the inverse:
Over , where and , this reads and , and indeed in .
Over , , so both columns are , and . So (IV) of Theorem 2.7.2 fails, and with it every condition of Theorem 2.7.2 and Theorem 2.7.8. Every value
2.7.4Constructing one-sided inverses
It remains to prove (I) (V) in the first two theorems: an injective has a left inverse, and a surjective has a right inverse.
The lecture does not prove these implications at this point. It returns to them in Section 3.5, after row reduction, where left and right inverses are computed from as explicit matrices (Proposition 3.5.9, Proposition 3.5.8), and the completed theorems (Theorem 3.5.12, Theorem 3.5.13) close the loops through a sixth condition. That is the route to use for computing. Here is a second route, which needs only Theorem 2.2.1 (and, for left inverses, Proposition 1.5.14) and no row reduction.
(a)Let , , the map of Example 2.5.3. Undo on its image and send everything else to :
Then for every , but is not linear, since while
. (b)Let , so
. For each , choose the solution Then for every , but is not linear, since while .
For a right inverse, the basis to choose on is the standard basis of the target.
Proof of Theorem 2.7.4, part 3 of 3: (II) (V).
Uses. Theorem 2.2.1 (Linear maps are determined by a basis), Proposition 1.6.7 (Standard bases), Definition 2.5.2 (Right inverse)
Techniques. Construct a map by choosing it on a basis (Technique 2.2.4), Check it on a basis (Technique 2.2.7)
Suppose (II). For each , the equation has a solution; choose one and call it . Since is a basis of (Proposition 1.6.7), Theorem 2.2.1 gives a linear map with for every . Then
so the linear maps and agree on a basis, and they are equal by the uniqueness in Theorem 2.2.1. So is a right inverse of (Definition 2.5.2). In matrix terms, for the matrix with columns , and . □
For a left inverse the values on the columns are forced, . The columns are independent but need not span , so before we can use Theorem 2.2.1 we must complete them to a basis.
Proof of Theorem 2.7.2, part 3 of 3: (III) (V).
Uses. Proposition 1.5.14 (Appending a vector), Proposition 1.4.14 (The span is the smallest subspace containing a list), Proposition 1.6.7 (Standard bases), Proposition 1.6.2 (Bases are independent spanning lists), Theorem 2.2.1 (Linear maps are determined by a basis), Proposition 2.3.13 (Linearity of the product), Definition 2.5.1 (Left inverse)
Techniques. Construct a map by choosing it on a basis (Technique 2.2.4), Check it on a basis (Technique 2.2.7)
Suppose the columns are linearly independent.
Completing the columns to a basis. Let be the list . For in turn, let if , and let be with appended otherwise. By Proposition 1.5.14 and induction on , every is linearly independent. For each , the vector lies in , either because it was already in or because it was appended, and
is linearly independent and spans , so it is a basis of (Proposition 1.6.2).
Defining . By Theorem 2.2.1 there is a linear map with
Since (Proposition 2.3.13(c)), we get
This completes the proofs of all three theorems.
Remark 2.7.11 (What was chosen, and what was not). In both constructions, the choices are exactly the freedom that one-sided inverses have. A right inverse is determined by its values , which may be any solutions of ; when is not injective, each of these equations has many solutions. A left inverse is forced on the columns, and its values on the appended vectors were set to only for definiteness; any values work. So when is injective but not surjective, it has many left inverses, in line with Corollary 2.5.11.
The completion step is the special case of Theorem 4.1.16 in which the spanning list is . In it needs no theory of dimension, because each of the standard basis vectors is tested once. The same proof works for whenever and have finite bases: if is injective and is a basis of , complete the independent list to a basis of , testing the vectors of a basis of in place of (compare Corollary 2.7.16 below). For arbitrary vector spaces one needs Zorn’s lemma (Remark 2.5.25).
Example 2.7.12 (All left inverses of the tall matrix). Return to from Example 2.7.5, with columns and . Their span consists of the vectors , whose middle entry is the sum of the other two. The vector fails this test, so it is appended. Now every vector is a combination of , since
holds for , , and . So and are not appended, and is a basis of .
A linear map is a left inverse of exactly when and (check on ). Its value is free. With the coordinates above,
Collecting the coefficients of , , and in each entry, the left inverses of are exactly the matrices
The construction in the proof, with , gives , and ; these are the two left inverses found by inspection in Example 2.7.5. Over there are exactly four left inverses, and over infinitely many.
With the constructions in hand, the theorems can be used in the direction that the propositions of Section 2.5 could not reach: a matrix without a one-sided inverse fails the other conditions too.
Uses. Proposition 2.5.28 (Inverse of a matrix), Proposition 2.5.20 (Inverses and matrices), Theorem 2.7.2 (First Fundamental Theorem), Theorem 2.7.4 (Second Fundamental Theorem), Theorem 2.7.8 (Third Fundamental Theorem)
Let . By Proposition 2.5.20(c), has a left inverse, a right inverse, or an inverse exactly when does.
If , then is invertible by Proposition 2.5.28(a), so is invertible, and by Theorem 2.7.8 it is bijective. So all three statements hold.
If , then by Proposition 2.5.28(b), has neither a left nor a right inverse, so neither does . Condition (V) of Theorem 2.7.2 fails, so (I) fails: is not injective. Condition (V) of Theorem 2.7.4 fails, so is not surjective. So all three statements fail.
The second case used (I) (V) in both theorems, in contrapositive form. Without the constructions of this section, we would only know that has no inverse on either side.
2.7.5Using the theorems
Once a list of conditions is known to be equivalent, a question posed in one language can be answered in another. The following is a typical instance.
Example 2.7.14 (Products of matrices with independent columns). Let and both have linearly independent columns. We claim that does too.
Stated with columns, the claim takes some unwinding, since the columns of are the vectors , each a combination of the columns of with coefficients from a column of (Proposition 2.4.8). In the language of kernels it takes one line. By Theorem 2.7.2, (III) (IV), and . If , then , so , so , so . Thus , and by (IV) (III) for , the columns of are independent.
Condition (V) gives another one-line proof. By Proposition 2.5.20(c), (V) says that the matrix has a left inverse. If and , then
Uses. Theorem 2.7.4 (Second Fundamental Theorem), Theorem 2.4.2 (The matrix of a composite), Proposition 2.5.26 (One-sided inverses of composites)
Techniques. Proving TFAE (Technique 2.7.1)
By Theorem 2.7.4, (III) (I), and are surjective. Let . There is with , and then with , so
Alternatively, by (V), there are and with and . Then
2.7.6Linear maps between spaces with bases
The theorems are stated for maps , but every linear map between spaces with finite bases is represented by a matrix (Technique 2.3.27), and injectivity, surjectivity, and one-sided inverses all survive the translation.
- (a)The following are equivalent: is injective; ; the list is linearly independent; the columns of are linearly independent; has a left inverse.
- (b)The following are equivalent: is surjective; ; the list spans ; the columns of span ; has a right inverse.
- (c)The following are equivalent: is bijective; the list is a basis of ; the columns of form a basis of ; is invertible.
Uses. Theorem 2.6.11 (Injectivity is decided at ), Proposition 2.6.22 (Testing injectivity and surjectivity on a basis), Proposition 2.6.20 (Kernel and image in coordinates), Proposition 2.5.20 (Inverses and matrices), Theorem 2.7.2 (First Fundamental Theorem), Theorem 2.7.4 (Second Fundamental Theorem), Theorem 2.7.8 (Third Fundamental Theorem), Proposition 2.7.7 (Bijective linear maps are invertible), Proposition 2.5.4 (Left inverses give uniqueness), Proposition 2.5.5 (Right inverses give existence)
Techniques. Proving TFAE (Technique 2.7.1), Translate between maps and matrices (Technique 2.3.27)
(a) We use “ is injective” as the hub. By Theorem 2.6.11 it is equivalent to , and by Proposition 2.6.22(a) to the linear independence of . By Proposition 2.6.20(c), is injective if and only if is, and by Theorem 2.7.2, (I) (III), this holds if and only if the columns of are linearly independent. Finally, by Proposition 2.5.20(b) and (c), has a left inverse if and only if does, if and only if does, and by Theorem 2.7.2, (I) (V), this holds if and only if is injective, that is, if and only if is.
(b) The same argument with “surjective” in place of “injective”. is surjective if and only if (Definition 2.6.2), if and only if spans (Proposition 2.6.22(b)), if and only if is surjective (Proposition 2.6.20(c)), and Theorem 2.7.4 and Proposition 2.5.20(b), (c) handle the columns of and right inverses.
(c) is bijective if and only if is a basis of (Proposition 2.6.22(c)). By Proposition 2.6.20(c), is bijective if and only if is, and by Theorem 2.7.8, (I) (III), if and only if the columns of form a basis of . Finally, a bijective linear map is invertible (Proposition 2.7.7), and an invertible one is injective and surjective (Proposition 2.5.4, Proposition 2.5.5). □
So injectivity, surjectivity, and invertibility of can be read off any one matrix of , whatever bases were used to compute it.
Example 2.7.17 (Differentiation plus the identity). Let
so
The system reads , , , and working from the bottom up it has exactly one solution,
By Theorem 2.7.8, (II) (III), the columns of the matrix form a basis of , so by Corollary 2.7.16(c), is invertible and is a basis of , over every field. The solution formula gives the inverse: for
So . This is the geometric series of Technique 2.5.16, cut off because on : indeed , and
2.7.7The theorems side by side
Table 2.7.1 lines up the three theorems condition by condition. In each row, the entry for the third theorem is the combination of the other two.
| First | Second | Third | |
|---|---|---|---|
| (I) | injective | surjective | bijective |
| (II) | at most one | at least one | exactly one |
| (III) | independent | span | basis of |
| (IV) | both | ||
| (V) | left inverse | right inverse | inverse |
| (VI) | |||
| size |
The lecture’s statements of the theorems contain two more pieces. Each theorem has a sixth condition, about a single number computed from by row reduction, and each ends with a constraint on the shape of : “moreover, ” for the first theorem, for the second, and for the third. The sixth condition needs row reduction. The constraints on the shape can already be proved with the tools of this chapter (Exercise 2.7.32), but the text proves both pieces together in Section 3.5.2. There the rank of is defined as the number of pivots of (Definition 3.5.1); the sixth conditions are , , and (Theorem 3.5.12, Theorem 3.5.13, Theorem 3.5.14); and the constraints on the shape follow from . In particular, invertible matrices are square (Corollary 3.5.15).
The dictionary in Table 3.1.1 arranges the same facts by the three ways of reading a linear system: as equations, as the map , and as a question about the columns.
Exercises
Exercise 2.7.19. For each matrix, decide which of the three Fundamental Theorems have their conditions satisfied, and justify your answer by checking one convenient condition of each theorem.
- (a) over .
- (b) over .
- (c) over .
- (d) over .
Uses. Theorem 2.7.2 (First Fundamental Theorem), Theorem 2.7.4 (Second Fundamental Theorem), Theorem 2.7.8 (Third Fundamental Theorem)
Techniques. Proving TFAE (Technique 2.7.1)
(a) The columns are , , and . So
(b)
(c) Over , reads , , whose only solution is ,
(d) Over , reads , . Taking gives the solution
- (a)Let ,
, where is differentiation. Use Corollary 2.7.16 to show that is invertible over every field, and find . - (b)Let ,
. For which fields is invertible?
Uses. Corollary 2.7.16 (The Fundamental Theorems for linear maps), Theorem 2.7.8 (Third Fundamental Theorem), Definition 2.3.1 (Matrix of a linear map)
Write , so that .
(a)
No division occurred, so this holds over every field. By Theorem 2.7.8, (II) (III), the columns of form a basis of , and by Corollary 2.7.16(c), is invertible, with
Check: this polynomial has value at , derivative at , and value
(b)
Exercise 2.7.21. Find the error in the following argument, and show that its claim is false.
Claim. For , the following are equivalent: (i) is injective; (ii) the columns of are linearly independent; (iii) is surjective; (iv) the columns of span .
Proof. (i) (ii) is Corollary 2.6.24(a), and (iii) (iv) is Corollary 2.6.24(b). Hence the four statements are equivalent.
Uses. Corollary 2.6.24 (The columns decide), Example 2.7.5 (A tall matrix)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18), Proving TFAE (Technique 2.7.1)
The two equivalences are correct, but they form two separate groups: no proved implication leads from (i) or (ii) to (iii) or (iv), or back. So nothing has been shown about, say, (i) versus (iii).
The claim is in fact false. For , is injective, since forces , but not surjective, since is not a value. Example 2.7.5 is another example. (For square matrices the claim is true, but its proof needs Section 3.5; see Corollary 3.5.25.)
Exercise 2.7.22. Let and . Prove or disprove each statement.
- (a)If has only the solution , then has a solution for every .
- (b)If has two different left inverses, then is not surjective.
- (c)If is bijective, then and are bijective.
- (d)If is bijective, then the columns of span and the columns of are linearly independent.
Uses. Theorem 2.7.2 (First Fundamental Theorem), Theorem 2.7.4 (Second Fundamental Theorem), Corollary 2.5.11 (Many one-sided inverses), Proposition 2.5.20 (Inverses and matrices), Proposition 2.6.15 (Kernels and images of composites), Theorem 2.4.2 (The matrix of a composite), Example 2.5.27 (An invertible product of non-invertible factors)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
(a) False. For , only for , but has no solution.
(b) True. By Corollary 2.5.11, a matrix with two different left inverses has no right inverse, and by Proposition 2.5.20(c) neither does . So condition (V) of Theorem 2.7.4 fails, and therefore so does (I): is not surjective. This uses the implication (I) (V) of Theorem 2.7.4.
(c) False. With and , , so is bijective, but is not injective and is not surjective (Example 2.5.27).
(d) True. by Theorem 2.4.2. Since this composite is injective, is injective, and since it is surjective, is surjective (Proposition 2.6.15(c)). By Theorem 2.7.2 and Theorem 2.7.4, (I) (III), the columns of are linearly independent and the columns of span .
Uses. Theorem 2.6.11 (Injectivity is decided at ), Proposition 2.5.4 (Left inverses give uniqueness), Proposition 2.5.5 (Right inverses give existence), Definition 2.5.12 (Invertible)
Techniques. Proving TFAE (Technique 2.7.1)
We prove (iv) (iii), (iii) (i), (iii) (ii), (i) (iv), and (ii) (iv). From each statement one can reach (iv) and from (iv) every statement, so this suffices.
(iv) (iii). is invertible, with inverse .
(iii) (i) and (iii) (ii). An invertible map has a left inverse and a right inverse (Definition 2.5.12), so it is injective (Proposition 2.5.4) and surjective (Proposition 2.5.5).
(i) (iv). Let . Then
(ii) (iv). Let . Since is surjective, for some , and
No basis was used, so the result holds in every vector space. Without the hypothesis , (i) and (ii) are not equivalent for operators on (Example 2.6.4(e)).
Exercise 2.7.24. Find the error in the following argument, and repair it.
Claim. If is injective, then has a left inverse.
Proof. Regard as a map . As such it is linear, injective, and surjective, so by Proposition 2.7.7 it has a linear inverse , with for every . So is a left inverse of .
Uses. Definition 2.5.1 (Left inverse), Theorem 2.7.2 (First Fundamental Theorem), Theorem 2.2.1 (Linear maps are determined by a basis), Proposition 2.6.18 (The column space is spanned by the columns)
Everything up to the last sentence is correct: , regarded as a map onto its image, is a linear bijection, and its inverse is linear. The error is the conclusion. By Definition 2.5.1, a left inverse of is a linear map , defined on all of , while is defined only on . These agree only when , that is, when is also surjective. For example, for , is defined on the -axis of and says nothing about .
Repair. The map has to be extended linearly to . Since is injective, the columns are linearly independent (Theorem 2.7.2), and they span (Proposition 2.6.18), so they are a basis of , and . Complete them to a basis
Exercise 2.7.25. Let . The columns of are the rows of , read as vectors in . Show that:
- (a)the columns of are linearly independent if and only if the rows of span ;
- (b)the columns of span if and only if the rows of are linearly independent.
Uses. Theorem 2.7.2 (First Fundamental Theorem), Theorem 2.7.4 (Second Fundamental Theorem), Exercise 2.5.45, Proposition 2.5.20 (Inverses and matrices), Proposition 2.4.22 (Transpose is a linear involution)
(a) By Theorem 2.7.2, (III) (V), the columns of are linearly independent if and only if has a left inverse, which by Proposition 2.5.20(c) means that for some . By Exercise 2.5.45, if and only if . So has a left inverse if and only if has a right inverse, that is, if and only if has a right inverse (Proposition 2.5.20(c)), which by Theorem 2.7.4, (V) (III), happens if and only if the columns of span . These columns are the rows of .
(b) Apply (a) to : the columns of are linearly independent if and only if the columns of span (Proposition 2.4.22). The columns of are the rows of .
Exercise 2.7.26. Let be a prime.
- (a)Show that exactly linear maps are injective.
- (b)By Exercise 2.6.45, the same number of linear maps are surjective. Explain the coincidence with Exercise 2.7.25.
Uses. Theorem 2.3.20 (Linear maps correspond to matrices), Proposition 2.3.16 (The matrix of ), Theorem 2.7.2 (First Fundamental Theorem), Proposition 1.5.14 (Appending a vector), Proposition 1.5.15 (Short lists, zeros, and repeats), Corollary 1.5.17 (Sublists), Proposition 1.2.35 (Zero products), Exercise 2.7.25
(a) Every linear map is for exactly one (Theorem 2.3.20, Proposition 2.3.16), and by Theorem 2.7.2, is injective if and only if the columns are linearly independent. This holds if and only if and : if the pair is independent, so is its sublist (Corollary 1.5.17), so (Proposition 1.5.15(b)), and then by Proposition 1.5.14; the converse is Proposition 1.5.15(b) and Proposition 1.5.14 again. There are choices of . For each,
(b) By Exercise 2.7.25(a), the columns of are independent if and only if the columns of span , that is, is injective if and only if is surjective. Since is a bijection (it is its own inverse), it matches the injective maps with the surjective maps one to one. So the two counts agree.
Exercise 2.7.27. Let . Prove or disprove: if the columns of are linearly independent, then so are the columns of .
(a) For . (b) For . (c) For .
Uses. Theorem 2.7.2 (First Fundamental Theorem), Proposition 2.4.23 (Transpose of a product), Definition 2.4.1 (Matrix product), Exercise 2.4.44
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
By Theorem 2.7.2, (III) (IV), the columns of are independent if and only if only for , and likewise for .
(a) True. Let , and put . By Proposition 2.4.23,
where the left side is the matrix , read as a number. A sum of squares of real numbers is only if every term is, so , and because the columns of are independent.
(b) False. Let . Its single column is nonzero, hence independent, but
(c) False. Let . Then .
The proof of (a) breaks down exactly where sums of squares can vanish without each term vanishing, as in Exercise 2.4.44(d). Over , replacing by the conjugate transpose repairs it (Section 6.5).
Exercise 2.7.28. For , let
(a) Show that is invertible if and only if , and that otherwise is neither injective nor surjective.
(b) List the for which is not invertible over , over , and over .
Uses. Theorem 2.7.8 (Third Fundamental Theorem), Theorem 2.7.2 (First Fundamental Theorem), Theorem 2.7.4 (Second Fundamental Theorem)
(a) The system is
The second equation says ; given this, the first says
So the system is equivalent to these three equations for , , and .
If , the last equation determines , and then and are determined. So the system has exactly one solution for every right-hand side, which is (II) of Theorem 2.7.8, and is invertible.
If , take
(b) Over , only for . Over ,
Exercise 2.7.29. Let .
- (a)Show that has exactly one left inverse if and only if is invertible.
- (b)Show that has exactly one right inverse if and only if is invertible.
Uses. Theorem 2.7.2 (First Fundamental Theorem), Theorem 2.7.4 (Second Fundamental Theorem), Theorem 2.7.8 (Third Fundamental Theorem), Theorem 2.5.10 (Left and right inverses agree), Theorem 2.2.1 (Linear maps are determined by a basis), Proposition 2.5.20 (Inverses and matrices), Definition 2.4.1 (Matrix product), Exercise 2.5.45
Techniques. Construct a map by choosing it on a basis (Technique 2.2.4)
By Proposition 2.5.20(c), matches the left (right) inverses of with the left (right) inverses of , so we may count either.
If is invertible, then every left inverse equals by Theorem 2.5.10, since is a right inverse; likewise every right inverse equals . This proves “if” in (a) and (b).
(a) Suppose has exactly one left inverse. Then has a left inverse, so by Theorem 2.7.2 the columns are linearly independent. Suppose, for contradiction, that is not surjective. Complete the columns to a basis
and , . Both are left inverses of , by the computation in part 3 of the proof of Theorem 2.7.2, and since . This contradicts uniqueness. So is injective and surjective, and by Theorem 2.7.8, and hence are invertible.
(b) Suppose has exactly one right inverse . Then is surjective (Theorem 2.7.4). Suppose, for contradiction, that is not injective, and let with . Let be with added to its first column. By Definition 2.4.1, the columns of are those of , except the first, which is
Transposing gives a second route to (a): matches the left inverses of with the right inverses of (Exercise 2.5.45), and is invertible if and only if is, so (a) for is (b) for . Done directly, the two parts are not symmetric in difficulty: a second right inverse comes from a single vector of the kernel, while a second left inverse needs the columns to be completed to a basis.
Exercise 2.7.30. Let and with .
- (a)Show that if is surjective, then .
- (b)Show that if is injective, then .
Uses. Proposition 2.5.4 (Left inverses give uniqueness), Proposition 2.5.5 (Right inverses give existence), Theorem 2.7.8 (Third Fundamental Theorem), Theorem 2.5.10 (Left and right inverses agree), Proposition 2.5.20 (Inverses and matrices)
(a) Since , is a left inverse of , so is injective (Proposition 2.5.4). It is also surjective, so by Theorem 2.7.8 it is invertible, and by Proposition 2.5.20(c) so is . Now is a left inverse and a right inverse of , so by Theorem 2.5.10, and .
(b) Since , is a right inverse of , so is surjective (Proposition 2.5.5). It is also injective, so is invertible as in (a). Then is a right inverse and a left inverse of , so , and .
Exercise 2.7.31. Let , let be the matrix with every entry , and let , the matrix with on the diagonal and elsewhere. Write also for .
- (a)Show that .
- (b)Show that if in , then is invertible with
. - (c)Show that if in , then is neither injective nor surjective.
- (d)For which primes is the matrix invertible over ?
Uses. Definition 2.4.1 (Matrix product), Proposition 2.4.14 (Algebra of matrices), Definition 2.5.12 (Invertible), Theorem 2.7.2 (First Fundamental Theorem), Theorem 2.7.4 (Second Fundamental Theorem)
Techniques. Guess the inverse, then check both products (Technique 2.5.16)
(a) By Definition 2.4.1, the entry of is , which is the entry of .
(b) Let
The same expansion gives , since commutes with itself and with . So is invertible with (Definition 2.5.12).
(c) Let have every entry . Each entry of is the sum of the off-diagonal entries of a row, which is . So is a nonzero vector of , and is not injective (Theorem 2.7.2). For with , the th entry of is , so the entries of add up to
(d) Here , which is in exactly when . So is invertible over for every odd prime , by (b), and not over , by (c).
Exercise 2.7.32. This exercise proves the constraints on the shape of without rank.
- (a)Show by induction on that every list of vectors in is linearly dependent.
- (b)Deduce that if is injective, then ; that if is surjective, then ; and that if is invertible, then .
Uses. Theorem 1.5.5 (Independence is decided at zero), Corollary 1.5.17 (Sublists), Theorem 2.7.2 (First Fundamental Theorem), Theorem 2.7.4 (Second Fundamental Theorem), Proposition 2.5.4 (Left inverses give uniqueness), induction on
(a) Base case . Two vectors of are scalars . If , then is a nontrivial relation; otherwise is one, since .
Inductive step. Let , assume the claim for , and let . Let be the last entry of . For a vector of with last entry , write for the vector of its first entries. If all have last entry , then a relation in implies in , since the last entries vanish anyway.
Case 1: all . The vectors satisfy a nontrivial relation by the inductive hypothesis, hence so do , and adding gives a nontrivial relation among all vectors.
Case 2: some . Reordering the list does not affect dependence, so we may assume . For let
a relation among in which some with is nonzero. So the list is dependent (Theorem 1.5.5).
(b) If is injective, its columns are linearly independent in (Theorem 2.7.2). If , the first columns would be an independent sublist (Corollary 1.5.17) of vectors in , contradicting (a). So .
If is surjective, it has a right inverse by Theorem 2.7.4, (I) (V), that is, for some . Then is a left inverse of , so is injective (Proposition 2.5.4), and by the first part, .
If is invertible, is both, so and .
Uses. Theorem 2.7.2 (First Fundamental Theorem), Theorem 2.7.4 (Second Fundamental Theorem), Theorem 2.7.8 (Third Fundamental Theorem), Proposition 2.5.20 (Inverses and matrices), Proposition 2.4.14 (Algebra of matrices)
By Proposition 2.5.20(c) and Theorem 2.7.2, (I) (V), is injective if and only if for some . If so, then by Proposition 2.4.14,
so has a left inverse and is injective. Likewise, if , then
For the converses, apply what we just proved to the matrix and the invertible matrices and : since
Exercise 2.7.34. Let and , and let
- (a)Show that is linear.
- (b)Show that is injective if and only if is injective.
- (c)Show that is surjective if and only if is surjective.
- (d)Deduce that is invertible if and only if is invertible.
Uses. Proposition 2.4.14 (Algebra of matrices), Proposition 2.4.8 (Four views of the product), Theorem 2.6.11 (Injectivity is decided at ), Theorem 2.7.8 (Third Fundamental Theorem), Proposition 2.7.7 (Bijective linear maps are invertible), Proposition 2.5.4 (Left inverses give uniqueness), Proposition 2.5.5 (Right inverses give existence), Proposition 2.5.20 (Inverses and matrices)
Write for the columns of . By Proposition 2.4.8, column of is .
(a) By Proposition 2.4.14,
(b) Suppose is injective, and . Then for every , so every , and . So , and is injective (Theorem 2.6.11). Conversely, suppose is not injective, and let with . Let have first column and all other columns (this uses ). Then and , so is not injective.
(c) Suppose is surjective, and let have columns . Choose with , and let have columns ; then . Conversely, suppose is surjective, and let . Some satisfies , where has first column and all other columns . Comparing first columns, . So is surjective.
(d) A linear map is invertible if and only if it is bijective (Proposition 2.7.7, Proposition 2.5.4, Proposition 2.5.5). By (b) and (c), is bijective if and only if is, which by Theorem 2.7.8 and Proposition 2.5.20(c) holds if and only if is invertible.
Exercise 2.7.35. For a matrix with integer entries and a prime , let be the matrix of remainders of the entries of modulo .
- (a)Let . Show that if the columns of are linearly independent over , then the columns of are linearly independent over .
- (b)Show that every matrix with odd integers on the diagonal and even integers off the diagonal has linearly independent columns over .
- (c)Show that the converse of (a) is false.
Uses. Theorem 2.7.2 (First Fundamental Theorem), Lemma 1.1.21 (Arithmetic in ), Proposition 1.1.24 ( is a field if and only if is prime)
(a) By Theorem 2.7.2, (III) (IV), over and over , it suffices to show: if has only the solution in , then has only the solution in .
Suppose, for contradiction, that for some nonzero . Multiplying by the product of the denominators of its entries, we may assume that , still nonzero. Some entry is a nonzero integer, and only for , so there is a largest such that divides every entry of . Dividing by , we may assume that , , and some entry of is not divisible by .
For each ,
(b) With , an odd integer has remainder and an even one remainder , so , whose columns are independent over . By (a), the columns of are independent over .
(c) has a nonzero column, which is independent over , but .
For (b), Section 3.5 shows that a square matrix with independent columns is invertible (Corollary 3.5.25), so these matrices are invertible over .
More practice
The practice bank has 19 exercises on this section’s topics.