Chapter 2: Linear maps and matrices
2.6Kernel and image
In Section 2.5, a left inverse of showed that the equation has at most one solution, and a right inverse showed that it has at least one. This section studies the two properties themselves. As properties of functions they are injectivity and surjectivity, and each is a statement about every at once. For a linear map, linearity packs each of them into a single subspace: the kernel, which consists of the vectors sent to , and the image, which consists of the vectors that are reached. In particular, whether has at most one solution for every is decided by the one equation .
Throughout, , , and are vector spaces over , and unless said otherwise.
2.6.1Injective, surjective, and bijective maps
The three notions below make sense for any function between sets, and Section A.1 treats them in that generality. For , an element with is a preimage of . The definitions count preimages.
The two forms of injectivity say the same thing: if , then and are both preimages of , and “at most one” says that they are equal. The second form is the one we use in proofs. Its contrapositive reads: different inputs have different values. Other common names are one-to-one for injective, onto for surjective, and one-to-one correspondence for a bijection.
For a linear map , the preimages of are the solutions of the equation . So is injective if and only if this equation has at most one solution for every , surjective if and only if it has at least one, and bijective if and only if it has exactly one. In this language, Proposition 2.5.4 and Proposition 2.5.5 say that a left-invertible linear map is injective and a right-invertible one is surjective, so an invertible linear map is bijective. Conversely, a bijective linear map is invertible, because its inverse function turns out to be linear (Proposition 2.7.7). The converses for one-sided inverses are harder (Remark 2.5.7).
- (a), , is injective: if , then . It is not surjective, since has no preimage (Example 2.5.3).
- (b), , is surjective, since for every . It is not injective, since .
- (c)The rotation of is bijective, since it is invertible with inverse (Example 2.5.14).
- (d)The projection onto a line through in is neither injective nor surjective (Non-example 2.5.15).
- (e)On , multiplication by , (Example 2.1.9), is injective but not surjective. If , then
has the coefficients of , moved up by one place, so forces . Every value of has constant term , so has no preimage. In the other direction, if has characteristic , then differentiation is surjective but not injective (Example 2.5.24).
In (e), an operator on is injective without being surjective, and another is surjective without being injective. For an operator on a finite-dimensional space this cannot happen (Corollary 4.2.18).
2.6.2Kernel and image
Checking injectivity straight from Definition 2.6.1 means comparing with for every pair of vectors. For a linear map there is a shortcut, since if and only if . Every coincidence of values is therefore recorded by a vector that sends to . Surjectivity, on the other hand, asks which vectors reaches.
Definition 2.6.5 (Kernel). The kernel of is the set of vectors that sends to ,
Definition 2.6.6 (Image). The image of is the set of values of ,
The kernel is also called the null space of , and the image its range. Note where each one lives: is a subset of the domain , and is a subset of the target . Directly from Definition 2.6.2, is surjective if and only if . The kernel always contains , since (Proposition 2.1.4).
- (a)The zero map has kernel and image . The identity has kernel and image .
- (b)For from Example 2.6.4(a), and
. For from part (b) of that example, and . - (c)Let ,
. Then if and only if , so , the -axis. Every value of has third entry , and every such vector is a value, since . So , the -plane. (d)Let with
. By Example 2.1.11, . Since , if and only if (Proposition 1.2.35). Using , every satisfies so the solutions of are exactly the multiples of . Hence
, the line through perpendicular to . Every value of lies on , and every is a value, since . So .
Intuition (What the kernel and the image measure). The kernel measures how far is from being injective, and the image measures how close it comes to being surjective. Two vectors with the same value differ by an element of the kernel, so a large kernel means that glues many vectors together and loses information. Theorem 2.6.11 below shows that loses nothing exactly when the kernel is as small as it can be, namely . The image is what reaches, and is surjective exactly when the image is as large as it can be, namely . In Example 2.6.7(d), forgets the component perpendicular to and reaches only .
Both sets are subspaces (Proposition 2.6.8), so in finite dimensions their sizes can be measured by dimension. Rank–nullity (Section 4.2) shows that the two measurements are tied together: the more loses, the less it reaches.
Uses. Theorem 1.4.3 (Subspace criterion), Proposition 2.1.4 (Linear maps preserve and negatives), Definition 2.1.1 (Linear map), Proposition 1.2.33 (The zero vector)
Techniques. Fix an arbitrary element and chase it (Technique 1.3.13)
The kernel. By Proposition 2.1.4, , so . Let and . Since is linear,
where the last step is Proposition 1.2.33. So and lie in , and is a subspace of by Theorem 1.4.3.
The image. Again
so both vectors lie in , and is a subspace of by Theorem 1.4.3. □
The proof used only that is a subspace of and that is a subspace of itself. The same argument shows that the image of a subspace of is a subspace of , and that the set of with is a subspace of for every subspace of (Exercise 2.6.51). Linearity cannot be dropped.
- (a)The function , , sends exactly the points of the two coordinate axes to . This set contains and but not their sum.
- (b)The values of , , form the parabola . It contains but not , since .
- (c)An affine map with (Non-example 2.1.12) sends to , so the set of vectors it sends to does not contain .
Exercise 2.6.10. Find the kernel and the image of each map, and decide whether it is injective and whether it is surjective.
- (a),
. - (b),
. - (c), .
Uses. Definition 2.6.5 (Kernel), Definition 2.6.6 (Image), Definition 1.3.10 (Span)
(a)
(b) If , then and , so and is injective (by definition:
(c)
2.6.3Injectivity and the kernel
Uses. Definition 2.6.1 (Injective), Definition 2.6.5 (Kernel), Proposition 2.1.4 (Linear maps preserve and negatives)
Techniques. Fix an arbitrary element and chase it (Technique 1.3.13)
Only if. Suppose is injective. We always have (Proposition 2.1.4). If , then , and injectivity gives . So .
If. Suppose , and let with . By Proposition 2.1.4,
so . Hence , and is injective. □
Linearity is essential here. The function , , sends only to , but .
Technique 2.6.12 (Test injectivity at ). To prove that a linear map is injective, take a vector with and show that (Theorem 2.6.11). This replaces a statement about all pairs of vectors by a statement about one equation, and is usually the easiest equation to analyze. To prove that is not injective, exhibit a single nonzero vector of .
The same move is how injectivity gets used. A relation
Reach for it whenever injectivity of a linear map is to be proved or used. Check linearity first: for other functions the test proves nothing, as shows. The canonical example is Example 2.6.13.
- (a)Let , , where is differentiation. We claim that is injective over every field. Differentiation lowers the degree of every nonzero polynomial: if , then has degree at most by the formula in Example 2.1.9, and if is a nonzero constant, then , whose degree is . So for the degrees of and differ, and Proposition 1.2.18(a) gives
. In particular . Hence , and is injective by Theorem 2.6.11. Differentiation alone is not injective; adding the identity repairs this. - (b)Let ,
. If , then and . Adding and subtracting the two equations gives and , where . If in , then , so is injective. Over , , so is a nonzero vector of , and is not injective.
Proposition 2.1.16(b) says that every linear map sends linearly dependent lists to linearly dependent lists. It may also send independent lists to dependent ones, as does with . The injective maps are exactly the ones that never do.
- (I) is injective.
- (II)For every linearly independent list in , the list
is linearly independent.
Uses. Theorem 2.6.11 (Injectivity is decided at ), Theorem 1.5.5 (Independence is decided at zero), Proposition 1.5.15 (Short lists, zeros, and repeats), Definition 2.1.1 (Linear map)
Techniques. Test injectivity at (Technique 2.6.12), Contrapositive (Technique 1.5.4)
(I) (II). Suppose is injective, let be linearly independent, and suppose that
(II) (I). We prove the contrapositive. Suppose is not injective. By Theorem 2.6.11 there is a vector in . The list is linearly independent, but its image is the list , which is linearly dependent (Proposition 1.5.15). So (II) fails. □
Composites
Under composition, kernels can only grow and images can only shrink.
- (a), with equality if is injective.
- (b)
, with equality if is surjective. - (c)If is injective, then is injective. If is surjective, then is surjective.
Uses. Definition 2.6.5 (Kernel), Definition 2.6.6 (Image), Proposition 2.1.4 (Linear maps preserve and negatives), Theorem 2.6.11 (Injectivity is decided at )
Techniques. Fix an arbitrary element and chase it (Technique 1.3.13)
(a) If , then
(b) By definition,
as well. Each is a value of , so this set is contained in . If is surjective, then , so and the two images agree.
(c) If is injective, then by (a) and Theorem 2.6.11,
Part (c) is the counterpart of Proposition 2.5.26(b) for injectivity and surjectivity, and it cannot be improved. With and , the composite
- (a)Show that ,
, is injective over every field. - (b)Show that , , is injective. (Look at the coefficient of the highest power of in .)
- (c)Let with . Show that is not injective unless .
Uses. Theorem 2.6.11 (Injectivity is decided at ), Definition 2.6.5 (Kernel)
Techniques. Test injectivity at (Technique 2.6.12)
(a) If , the first entry gives , and then the second gives . So , and is injective by Theorem 2.6.11. No division was needed, so this holds over every field.
(b) Let
(c) Suppose . If , then every nonzero vector of lies in . Otherwise there is with , and , so is a nonzero vector of . In either case , and is not injective.
2.6.4Null space and column space
A matrix gives the linear map , (Definition 2.3.15), and the kernel and image of have names of their own.
Definition 2.6.17 (Null space and column space). Let . The null space of is
a subspace of , and the column space of is
a subspace of . We sometimes abbreviate them to and .
By Proposition 3.1.8, the null space of is the solution set of the homogeneous system , and the system has a solution exactly when lies in the column space. The name “column space” comes from the following description.
Proposition 2.6.18 (The column space is spanned by the columns). Let have columns . Then
Proof (from the definition of ).
Uses. Definition 2.3.8 (Matrix–vector product), Definition 1.3.10 (Span), Definition 2.6.6 (Image)
Proof (from a spanning list).
Uses. Proposition 2.1.16 (Linear maps preserve spans and linear relations), Proposition 2.3.13 (Linearity of the product), Proposition 1.6.7 (Standard bases)
Techniques. Check it on a basis (Technique 2.2.7)
The standard basis spans (Proposition 1.6.7). By Proposition 2.1.16(a) and Proposition 2.3.13(c),
□
The first proof is a reading of the definition of the product. The second uses nothing about matrices except , so it proves more: for every and every list that spans ,
That is, the image of a linear map is spanned by the values on any spanning list. Section 2.6.5 builds on this.
Example 2.6.19 (Computing a null space and a column space).
(a)Let , over any field .
Null space. A vector lies in if and only if and . If satisfies both, then subtracting twice the first equation from the second gives , and then the first gives . Conversely, satisfies both equations for every . So
. Column space. By Proposition 2.6.18,
. The second column is twice the first, so it can be dropped without changing the span (Corollary 1.3.20(c)). The remaining two columns span all of , since and a subspace containing and contains (Proposition 1.4.14). So is surjective but not injective: every system has solutions, and Section 2.6.7 shows that the solutions of each one form a translate of the line .
- (b)Let
. Its columns are and , so , a line in . Also, , which is if and only if , since (Proposition 1.2.35). So , and is neither injective nor surjective.
For larger matrices both computations are done by Gauss–Jordan elimination. Theorem 3.4.9 writes every vector of the null space as a linear combination of the basic solutions of , one for each free variable, and Section 4.2 reads off from the reduced matrix which columns of suffice to span the column space.
In the span explorer below, the vectors are the columns of
so their span is the column space of , the plane in . The explorer finds the linear relation , which says that . For a target in the plane it shows coefficients with
Kernels and images through a matrix
By Proposition 2.3.16, , so the null space and the column space of are the kernel and the image of the linear map whose matrix in the standard bases is . In the other direction, the kernel and the image of any linear map between spaces with bases can be computed from any matrix of the map.
- (a)For : if and only if .
- (b)For : if and only if .
- (c) is injective if and only if is, and is surjective if and only if is.
Proof (by chasing coordinates).
Uses. Theorem 2.3.9 (The matrix of a map computes the map), Proposition 1.6.16 (The coordinate map is a bijection), Proposition 1.6.19 (Coordinates respect linear combinations), Theorem 2.6.11 (Injectivity is decided at )
Techniques. Translate between maps and matrices (Technique 2.3.27)
By Theorem 2.3.9,
(a) means
(b) If , then
The bijections. By (a), the coordinate map of , which is injective, sends into . Every is for some , and this lies in by (a). So , , is a bijection. The same argument with (b) and the coordinate map of shows that , , is a bijection.
(c) The bijection sends to , so if and only if . By Theorem 2.6.11, is injective if and only if is. If , then is the image of all of under the coordinate map of , which is . Conversely, if , then for every , so every lies in by (b). □
Proof (through the square of maps).
Uses. Theorem 2.3.9 (The matrix of a map computes the map), Example 2.5.14 (Invertible maps and matrices), Proposition 2.6.15 (Kernels and images of composites), Proposition 2.1.17 (Compositions of linear maps are linear)
Techniques. Translate between maps and matrices (Technique 2.3.27)
Let and be the coordinate maps. They are linear and invertible (Example 2.5.14(c)), hence bijective, and Theorem 2.3.9 says that
that is, the two routes around the square of Figure 2.3.1 agree.
(a) Since is injective, Proposition 2.6.15(a) gives
(b) Since is surjective, Proposition 2.6.15(b) gives
So maps onto , and it is injective. In particular, if , then for some , and . The converse is immediate.
(c) By Proposition 2.6.15(a) and (b), a composite of injective linear maps is injective (its kernel is the kernel of the first map) and a composite of surjective linear maps is surjective (its image is the image of the last map). Now
The first proof keeps track of individual vectors. The second works with whole maps: it records
Example 2.6.21 (Differentiation in coordinates). Let
If and in (for instance if has characteristic ), then if and only if , so . The columns span . By Proposition 2.6.20, consists of the polynomials with coordinates in , the constants, and is surjective.
Over , the entry is , so . Now
2.6.5Testing on a basis
- (a) is injective if and only if is linearly independent.
- (b) is surjective if and only if spans .
- (c) is bijective if and only if is a basis of .
- (d)In every case spans , and it is a basis of if and only if is injective.
Uses. Proposition 2.6.14 (Injective maps preserve independence), Theorem 2.6.11 (Injectivity is decided at ), Theorem 1.5.5 (Independence is decided at zero), Proposition 2.1.16 (Linear maps preserve spans and linear relations), Proposition 1.6.2 (Bases are independent spanning lists), Definition 2.6.3 (Bijective)
Techniques. Test injectivity at (Technique 2.6.12), Check it on a basis (Technique 2.2.7)
(a) If is injective, then is linearly independent by Proposition 2.6.14, since is. Conversely, suppose that is linearly independent, and let . Since spans ,
As is linearly independent, (Theorem 1.5.5), so . Hence , and is injective by Theorem 2.6.11.
(b) Since spans , Proposition 2.1.16(a) gives
So , which is surjectivity, holds if and only if .
(c) By Definition 2.6.3 and Proposition 1.6.2, (c) is (a) and (b) together.
(d) The first claim was shown in (b). The list lies in and spans it, so it is a basis of if and only if it is linearly independent (Proposition 1.6.2), which by (a) happens if and only if is injective. □
So whether is injective, and whether it is surjective, can be decided on one basis of : a list of vectors instead of all of . This is Technique 2.2.7 in a new form. There, the property to be checked was an equation between linear maps; here it is a property of the list of values.
For a matrix, the values on the standard basis are the columns.
- (a) is injective if and only if is linearly independent.
- (b) is surjective if and only if spans .
- (c) is bijective if and only if is a basis of .
Uses. Proposition 2.6.22 (Testing injectivity and surjectivity on a basis), Proposition 1.6.7 (Standard bases), Proposition 2.3.13 (Linearity of the product)
Part (a) can also be read off from the definition of the product. Since
Example 2.6.25 (Evaluating at three points). Let ,
Suppose
If in , then and , so the three values are linearly independent and is injective by Proposition 2.6.22(a). They also span , because
so is bijective by Proposition 2.6.22(c): for every there is exactly one with , , and . This is a case of polynomial interpolation (Theorem 3.4.24).
Over , , so
Exercise 2.6.26. For , let
- (a)Compute , , and .
- (b)Over , find all for which is injective, and all for which it is surjective.
- (c)Answer the same questions over , over , and over .
Uses. Proposition 2.6.22 (Testing injectivity and surjectivity on a basis), Proposition 1.5.15 (Short lists, zeros, and repeats), Proposition 1.5.24 (Distinct degrees), Example 2.1.9 (Maps of polynomials)
Techniques. Check it on a basis (Technique 2.2.7)
(a) For ,
(b) and (c). Let . Suppose first that , , and are all nonzero. Then consists of nonzero multiples of , , and , which have distinct degrees, so it is linearly independent (Proposition 1.5.24). It also spans , since
Now suppose for some . Then , so contains and is linearly dependent (Proposition 1.5.15), and is not injective. Every value of is a combination of the other two monomials, so its coefficient of is ; hence and is not surjective.
So is bijective if and neither injective nor surjective if , where are read in . Over these are three distinct values. Over ,
2.6.6Computing kernels and images
Here are the kernels and images of the main examples of Section 2.1.
Example 2.6.27 (Differentiation on ). Let be differentiation. For
Kernel. if and only if for every . If has characteristic (Definition 1.1.28), then for , so this forces for all (Proposition 1.1.17). Hence , the constant polynomials. Over , exactly when divides , so if and only if for every not divisible by . Hence consists of the polynomials
Image. In characteristic , for the antiderivative of Example 2.5.24, so is surjective by Proposition 2.5.5. Over it is not. The coefficient of in is , which is whenever divides , so every value of has coefficient at
So consists of the polynomials whose coefficients at vanish. In particular and , as in Exercise 2.5.42.
Example 2.6.28 (The trace). For , the trace is linear (Proposition 2.4.27). Write for the matrix units, which form a basis of (Lemma 2.4.24). Then is if and otherwise.
Image. The values include , which spans , so is surjective by Proposition 2.6.22(b). Explicitly, .
Kernel. is the subspace of trace-zero matrices, . For it contains , so is not injective. To find a spanning list, let . Then
So is spanned by the matrices with and the matrices , all of which have trace . By Proposition 2.4.28, every commutator lies in , which is why is impossible when (Proposition 2.4.30).
Example 2.6.29 (Evaluation at , and multiplication by ). Let , , and let , . For
That kernel is exactly . Every has constant term , and conversely
is injective (Example 2.6.4(e)), is surjective, and the vectors that the second map sends to are precisely the values of the first.
For , the kernel of consists of the polynomials with root . It contains every value of : if , then
2.6.7Preimages and the equation
The kernel describes the solutions of , and the image records which equations have solutions at all. Together they describe the solutions of every such equation.
Notation 2.6.30 (Preimages). For , the preimage of under is
For , we write for , the set of solutions of , also called the fiber of over .
The notation does not presuppose that is invertible: is a set, possibly empty. If happens to be invertible, it is the one-element set , and we will never need to tell the two apart. In this notation , and is injective if and only if every fiber has at most one element, surjective if and only if every fiber is nonempty.
- (a)If , then .
- (b)If and , then
, and is a bijection from onto . - (c)Every lies in exactly one fiber, namely . So is the disjoint union of the fibers with , each of which is a translate of .
Uses. Definition 2.6.6 (Image), Definition 2.6.5 (Kernel), Notation 3.1.17 (Translates), Proposition 3.1.19 (Solution sets are translates of the kernel)
Techniques. Particular plus homogeneous (Technique 3.1.18), Double containment (Technique 1.3.14)
(a) If , then no satisfies (Definition 2.6.6).
(b) This is Proposition 3.1.19; we repeat the argument. If , then
(c) means , which holds for exactly one , namely . So the fibers over the vectors of are disjoint and cover . By (b), each of them is a translate of . □
So the domain is sliced into parallel copies of , one for each vector of . The map collapses each slice to a single vector, and different slices go to different vectors. In this picture, Theorem 2.6.11 says that is injective exactly when the slices are single points. Figure 2.6.1 shows the slices for
Here is the line , the column space is
The row and column pictures in Section 3.4.4 show the same phenomenon interactively for a single fiber: there can be dragged along the column space, where the solutions form a line parallel to the kernel, and off it, where there are none.
Uses. Corollary 2.6.31 (Fibers are translates of the kernel), Example 2.6.19 (Computing a null space and a column space)
Techniques. Particular plus homogeneous (Technique 3.1.18)
The columns are , , and , and
As a check, and .
Exercises
Exercise 2.6.34. Let ,
- (a)Find , and describe by a single linear equation.
- (b)Decide whether and lie in . For the one that does, find all of its preimages.
Uses. Definition 2.6.5 (Kernel), Proposition 2.6.18 (The column space is spanned by the columns), Corollary 1.3.20 (Operations that preserve the span), Corollary 2.6.31 (Fibers are translates of the kernel)
Techniques. Particular plus homogeneous (Technique 3.1.18)
(a) means , , and . The first two give and , and then the third holds. So
is for the matrix with columns , , and
So
(b) Since , . Since , , and by the computation above
As a check,
Exercise 2.6.35. Let
- (a)Show that every column of is a multiple of , and find .
- (b)Find as the span of two vectors.
- (c)Is injective? Is it surjective? Find all solutions of .
Uses. Proposition 2.6.18 (The column space is spanned by the columns), Definition 2.3.8 (Matrix–vector product), Proposition 1.2.35 (Zero products), Corollary 2.6.31 (Fibers are translates of the kernel)
(a) The columns are ,
(b) By Definition 2.3.8,
(c) is not injective, since is a nonzero vector of its kernel. It is not surjective:
Exercise 2.6.36. Let .
- (a)Show that
. - (b)Show that
, the sum of subspaces from Proposition 1.4.24. - (c)Show that both inclusions can be strict.
Uses. Definition 2.1.21 (Pointwise operations), Definition 2.6.5 (Kernel), Definition 2.6.6 (Image), Proposition 1.4.24 (The sum of two subspaces)
Techniques. Fix an arbitrary element and chase it (Technique 1.3.13), Finding counterexamples and minimal examples (Technique 1.4.18)
Recall that
(a) If , then
(b) For every ,
(c) Let be any nonzero space, , and . Then , while has kernel . And , while
Exercise 2.6.37. Prove or disprove each statement.
- (a)If satisfy and , then .
- (b)For every , .
- (c)If satisfies , then .
- (d)If is injective and is a subspace of , then the restriction is injective.
- (e)If is not injective, then is not surjective.
Uses. Theorem 2.6.11 (Injectivity is decided at ), Definition 2.6.5 (Kernel), Definition 2.6.6 (Image)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18), Test injectivity at (Technique 2.6.12)
(a) False. On , let and . Both have kernel and image , since each is its own inverse (), but
(b) False. Let , . Then if and only if , so , and the values of are the vectors , so as well. Their intersection is .
(c) True. Let , say . Then
(d) True. The restriction is linear, and its kernel is
(e) False. , , is surjective but not injective (Example 2.6.4(b)).
- (a)Find with .
- (b)Find with .
- (c)Show that every with satisfies , and that does not imply .
Uses. Definition 2.6.5 (Kernel), Definition 2.6.6 (Image)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
(a) Let . As in Exercise 2.6.37(b),
(b) Let
(c) Let and . Then , so
No has . Rank–nullity (Theorem 4.2.11) gives
Exercise 2.6.39. Let and .
- (a)Show that if and only if .
- (b)Show that if and only if .
- (c)Deduce that for , if and only if , and if and only if .
Uses. Proposition 2.6.15 (Kernels and images of composites), Proposition 1.4.24 (The sum of two subspaces), Proposition 2.6.8 (Kernels and images are subspaces)
Techniques. Double containment (Technique 1.3.14), Fix an arbitrary element and chase it (Technique 1.3.13)
(a) By Proposition 2.6.15(a), always. Suppose , and let . Then and , so
(b) By Proposition 2.6.15(b), always. Suppose , and let . Write with and . Then
(c) Apply (a) and (b) with and , so that .
Exercise 2.6.40. Find the error in the following argument, show that its claim is false, and state a correct version.
Claim. Let be a basis of and . If for every , then is injective.
Proof. Let and write
Uses. Proposition 2.6.22 (Testing injectivity and surjectivity on a basis), Theorem 1.5.5 (Independence is decided at zero)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
The error is the step “none of the vectors is , so every coefficient must be ”. A linear combination of nonzero vectors can vanish with nonzero coefficients; what the step needs is that
The claim is false. Let , , with the standard basis. Then
The correct statement is Proposition 2.6.22(a): is injective if and only if is linearly independent. The hypothesis of the claim only says that each one-entry list is linearly independent.
- (a)Let be differentiation. Find and , and show that they are equal.
- (b)Find and for differentiation . Are they equal?
- (c)Show that on all of .
Uses. Example 2.1.9 (Maps of polynomials), Definition 2.6.5 (Kernel), Definition 2.6.6 (Image)
Write
(a) In , and , so . This is if and only if , so
(b) In , , so . Since in , this is if and only if , so . Every is a value, namely , because in . So . These are not equal, since but . They share the constants.
(c) For
Exercise 2.6.42. Let be injective, and let .
- (a)Suppose . Show that there is exactly one linear map with .
- (b)Show that the hypothesis in (a) is necessary.
Uses. Definition 2.6.1 (Injective), Definition 2.6.6 (Image), Proposition 2.6.15 (Kernels and images of composites), Definition 2.1.1 (Linear map)
Techniques. Uniqueness via two candidates (Technique 1.1.8)
(a) Existence. Let . Since , there is some with , and since is injective there is only one. Let be this vector. This defines a function with for every , that is, . To see that is linear, let and . Since and are linear,
As is injective,
Uniqueness. If also satisfies , then
(b) If for some linear , then
Exercise 2.6.43. Let be surjective, and let .
- (a)Suppose . Show that there is exactly one linear map with .
- (b)Show that the hypothesis in (a) is necessary.
Uses. Definition 2.6.2 (Surjective), Definition 2.6.5 (Kernel), Proposition 2.6.15 (Kernels and images of composites), Definition 2.1.1 (Linear map)
Techniques. Uniqueness via two candidates (Technique 1.1.8)
(a) Definition of . Let . Since is surjective, there is some with , and we would like to set . For this to make sense, the value must not depend on which preimage we pick. If , then , so
is linear. Let and , and choose with and . Then
. For , the vector is a preimage of , so .
Uniqueness. If as well, then
(b) If for some linear , then
The construction is the general pattern for defining a map on through a surjection : define it on preimages, and check that the result does not depend on the choice. Since the preimages of form the fiber , a translate of (Corollary 2.6.31), the check is exactly that is constant on translates of , which is what says. The same pattern defines the maps out of quotient spaces in Section 4.6.
Exercise 2.6.44. Let be a prime, let and be vector spaces over with finite, and let .
- (a)Show that
. - (b)Deduce that if is linear and injective, then , and if it is linear and surjective, then .
Uses. Corollary 2.6.31 (Fibers are translates of the kernel)
(a) By Corollary 2.6.31(c), is the disjoint union of the fibers with , and by part (b) of that corollary each of these fibers is in bijection with , so it has elements. Since is finite, so are and , and adding up the sizes of the fibers gives
(b) has elements. If is injective, then , so by (a) . Since , , and . If is surjective, then , so
Part (b) is the “moreover” clause of the Fundamental Theorems over . Over other fields it needs a different argument (Section 3.5). Section 4.2 proves
Uses. Corollary 2.6.24 (The columns decide), Theorem 1.4.25 (The subspaces of ), Theorem 2.3.20 (Linear maps correspond to matrices), Proposition 2.3.16 (The matrix of ), Proposition 2.6.18 (The column space is spanned by the columns)
The maps with are all the linear maps , each exactly once. By Corollary 2.6.24(b), is surjective if and only if the columns span . There are matrices in all, so we count those whose columns do not span .
Lines. By Theorem 1.4.25, the span of the columns is , a line with , or . A line consists of the vectors , , which are distinct since ; so it has nonzero vectors. Two different lines share only : if lies on , then with , and by Theorem 1.4.25. So the nonzero vectors of are split among the lines, to a line, and there are
Counting. The columns fail to span exactly when all three lie in a common line (this includes the zero matrix, whose columns lie in every line). For a fixed line there are choices of three columns in it, one of which is the zero triple. A triple with a nonzero column lies only in the line , so it is counted once. Hence the number of matrices whose columns do not span is
and the number of surjective maps is
For this is of the linear maps .
The factored form has its own meaning: is the number of ways to choose a nonzero first row and then a second row that is not a multiple of it, so it counts the matrices with linearly independent rows. That the two counts agree is a first sign that row rank equals column rank (Section 4.3).
Exercise 2.6.46. Let , .
- (a)Show that is linear and that is the subspace of symmetric matrices.
- (b)Suppose in . Show that is the subspace of skew-symmetric matrices.
- (c)Over , show that consists of the symmetric matrices with all diagonal entries . Deduce that is strictly smaller than the set of skew-symmetric matrices when .
Uses. Proposition 2.4.22 (Transpose is a linear involution), Definition 2.4.21 (Transpose), Definition 2.6.5 (Kernel), Definition 2.6.6 (Image)
Techniques. Compute entry by entry (Technique 2.4.15)
(a) By Proposition 2.4.22,
And if and only if , that is, is symmetric.
(b) For every ,
So is the set of skew-symmetric matrices.
(c) Over , , so , whose entry is . This is symmetric in and , and on the diagonal it is . Conversely, let be symmetric with zero diagonal, and let have entries for and for . The entry of is , which is if , if , and if . So , and is exactly the set of symmetric matrices with zero diagonal.
Over , says the same thing as , so every symmetric matrix is skew-symmetric. In particular is skew-symmetric, but its diagonal entries are , so . So the conclusion of (b) fails over , and the image is a proper subset of .
Exercise 2.6.47. Let and .
- (a)Show that if , then
, and that if , then . - (b)Show that is a bijection from onto , with inverse .
- (c)Deduce that is injective if and only if is.
Uses. Proposition 2.4.14 (Algebra of matrices), Definition 2.6.5 (Kernel), Theorem 2.6.11 (Injectivity is decided at )
(a) Let , that is, , or . By associativity (Proposition 2.4.14),
so
(b) By (a), maps
(c) The bijection sends to , so if and only if . By Theorem 2.6.11, is injective if and only if is.
Compare Exercise 2.5.47, which produces an explicit inverse. In the language of Section 7.2, (b) says that and have “the same” eigenvectors for the eigenvalue ; the same argument works for every nonzero eigenvalue.
Exercise 2.6.48. Let be a line in , with , and let
- (a).
- (b).
- (c).
- (d), for a rotation angle that is not a multiple of .
Uses. Example 2.6.7 (First kernels and images), Example 2.1.11 (Rotations, projections, and reflections), Proposition 2.5.28 (Inverse of a matrix), Proposition 2.5.20 (Inverses and matrices), Definition 2.5.12 (Invertible)
Write , , and . By Example 2.6.7(d), every satisfies with and , and . Note that gives
(a)
(b)
(c) , so by Example 2.6.7(d) its kernel is and its image is .
(d) By Example 2.1.11, has matrix , with
Exercise 2.6.49. Let satisfy , and suppose in .
- (a)Show that every can be written as with , , and .
- (b)Show that the decomposition in (a) is unique.
- (c)Show that (a) fails over for , .
Uses. Definition 2.6.5 (Kernel), Proposition 2.1.24 (Algebra of composition), Proposition 1.2.35 (Zero products)
Techniques. Uniqueness via two candidates (Technique 1.1.8)
(a) Write for , and let
Then
So , , and .
(b) It suffices to show that if with and , then all three are : the difference of two decompositions of is such a decomposition of , since each of the three kernels is a subspace. Applying gives , and applying once more gives . Adding, , so because (Proposition 1.2.35). Then , and .
(c) Over , , so . Since is invertible, . Also , so
The polynomial identity in the second hint is Lagrange interpolation (Proposition 3.4.27) at the points . Decompositions of this kind, along the roots of a polynomial that satisfies, are the subject of Section 7.4.
- (a)Let both be nonzero. Show that some has and .
- (b)Find three nonzero linear maps
such that every lies in some . - (c)Let be infinite, and let
all be nonzero. Show that some has for every .
Uses. Proposition 1.4.20 (Unions of two subspaces), Proposition 2.6.8 (Kernels and images are subspaces), Proposition 1.2.35 (Zero products)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18), Induction on the length of a list (Technique 1.6.9)
(a) Since and , the kernels and are subspaces of (Proposition 2.6.8) different from . Suppose . Then the union is a subspace, so by Proposition 1.4.20 one kernel contains the other, and the union is the larger kernel. That kernel would be , a contradiction. So some lies in neither kernel.
(b) Let , , and . Then lies in every kernel, , , and , since . These are all the vectors of .
(c) We induct on . For , means that for some . Let , and suppose by induction that satisfies for . Choose with , and consider the vectors for .
Claim: for each , there is at most one with . Suppose both work. Then
so by Proposition 1.2.35, and then
So at most values of are excluded. Since is infinite, some is not excluded, and is the required vector.
The proof of (c) only needs to have more than elements at the th step, so the statement holds for maps over any field with more than elements; (b) shows that some such bound is needed. Every proper subspace of a finite-dimensional space is the kernel of a nonzero operator on (Exercise 2.2.35). Applied to such operators, (c) says that over an infinite field a finite-dimensional vector space is never the union of finitely many proper subspaces.
Exercise 2.6.51. Let .
- (a)Show that is a subspace of for every subspace of , and that is a subspace of containing for every subspace of .
- (b)Show that
for every subspace of . - (c)Show that
for every subspace of .
Uses. Theorem 1.4.3 (Subspace criterion), Notation 2.6.30 (Preimages), Proposition 1.4.24 (The sum of two subspaces), Proposition 2.1.4 (Linear maps preserve and negatives)
Techniques. Double containment (Technique 1.3.14), Fix an arbitrary element and chase it (Technique 1.3.13)
(a) contains (Proposition 2.1.4), and for and ,
(b) An element of has the form with , so it lies in and in . Conversely, if , then for some , and means , so
(c) If and , then
By (b),
Exercise 2.6.52. Let with .
- (a)Show that maps into and into .
- (b)Deduce that for every , maps into itself and into itself.
- (c)Show by an example that (a) can fail if .
Uses. Definition 2.6.5 (Kernel), Definition 2.6.6 (Image), Proposition 2.1.24 (Algebra of composition)
Techniques. Fix an arbitrary element and chase it (Technique 1.3.13), Finding counterexamples and minimal examples (Technique 1.4.18)
(a) If , then
(b) By Proposition 2.1.24,
(c) On , let and . Then and , but and . Indeed
In the language of Section 7.2, (b) says that eigenspaces of are invariant under , and (a) that they are invariant under everything that commutes with .
More practice
The practice bank has 55 exercises on this section’s topics.