4.3Rank inequalities and the transpose
Rank–nullity measures one matrix at a time. This section compares the ranks of matrices built from one another. Multiplying by an invertible matrix does not change the rank, and multiplying by an arbitrary matrix can only lower it:
We prove this in three ways, by comparing images, by comparing kernels, and by restricting to the image of , and the last proof says exactly how much rank is lost. The transpose has the same rank as , although its columns are the rows of and live in a different space. This equality, row rank equals column rank, is the main theorem of the section. It completes the count of dimensions of the four subspaces attached to a matrix. Finally, matrices of rank one are exactly the products , rank is subadditive, and the column–row factorization writes a matrix of rank as a sum of matrices of rank one, which is the fewest possible.
Throughout, is a field. For we write and
4.3.1Invertible factors
We already know that for invertible , because
Intuition (Outputs and inputs). In the matrix acts after , on the outputs . An invertible is injective, so it never sends a nonzero output to : only when , and . But moves the outputs, so , the set of vectors with , is in general a different subspace of . It has the same dimension, since an injective map preserves dimension.
In the matrix acts before , on the inputs. An invertible is surjective, so still sees every input, and . But the kernel moves: exactly when . So each of and keeps one of the two subspaces and moves the other by an invertible map.
- (a), and .
- (b), and .
The first proof is the lecture’s. It compares images, using the restriction identity
Proof (by restriction, comparing images).
Uses. Theorem 2.4.2 (The matrix of a composite), Proposition 2.5.4 (Left inverses give uniqueness), Proposition 2.5.5 (Right inverses give existence), Proposition 4.2.3 (Properties of restriction), Proposition 4.2.6 (Injective maps preserve dimension), Proposition 2.6.15 (Kernels and images of composites), Theorem 4.2.7 (The image of )
Techniques. Restrict to a subspace (Technique 4.2.5)
By Theorem 2.4.2, and . Since and , the map is injective (Proposition 2.5.4) and is surjective (Proposition 2.5.5).
(a) By Proposition 4.2.3(b),
(b) By Proposition 4.2.3(b),
Finally,
The lecture remarks that the same statements follow from kernels and rank–nullity. Here is that proof.
Proof (by kernels and rank–nullity).
Uses. Proposition 2.6.15 (Kernels and images of composites), Theorem 4.2.11 (Rank–nullity), Proposition 4.2.3 (Properties of restriction), Proposition 4.2.6 (Injective maps preserve dimension), Proposition 4.1.21 (Dimensions of subspaces)
Techniques. Dimension counting (Technique 4.2.24)
(a) By Proposition 2.6.15(a), . Conversely, if , then
(b) For , we have if and only if . So maps into . Since , is injective, so its restriction to is linear and injective (Proposition 4.2.3). It maps onto : if , then satisfies and . By Proposition 4.2.6(a),
Finally, by Proposition 2.6.15(b), and these subspaces of have the same dimension, so they are equal (Proposition 4.1.21(b)).
As in the first proof,
The two proofs split the work in opposite ways. In the first, the left factor needs an argument (an injective map preserves dimension) and the right factor is free (a surjective map on the inputs changes nothing). In the second, the left factor is free (the kernel does not change) and the right factor needs the argument. The same split reappears in Section 4.3.2, where an arbitrary product is compared with its factors.
By Exercise 3.5.41(d), two matrices satisfy for some invertible and if and only if they have the same rank. So the rank is the only information about that row and column operations together preserve. In particular, similar matrices have the same rank, a fact we return to in Section 4.5.
Uses. Proposition 4.3.1 (Invertible factors preserve rank), Proposition 2.6.18 (The column space is spanned by the columns)
Multiplying out,
The columns of are and , so (Proposition 2.6.18), and means , so
So but , and but , as Proposition 4.3.1 and Intuition (Outputs and inputs) predict. All three matrices have rank . Note that
4.3.2The rank of a product
Intuition (A pipeline is no wider than its narrowest stage). For , : first , then . Every output of is an output of , so ; the product cannot reach a direction that cannot reach. On the other hand, only ever receives the vectors , which fill a space of dimension , and a linear map does not raise dimension. So
The first bound is about where the outputs land and is immediate. The second is about how many independent directions enter , and it needs a dimension argument.
(a)Let and . Then and , and
(b)More generally, let and be finite-dimensional, and let and . Then
Part (a) is part (b) for and , since (Theorem 2.4.2) and (Definition 4.2.14); the two containments in (a) are Proposition 2.6.15. So we prove (b). In both proofs below, the bound by comes from . They differ in how they prove the bound by .
Proof (comparing images).
Uses. Proposition 2.6.15 (Kernels and images of composites), Theorem 4.2.11 (Rank–nullity), Proposition 4.1.21 (Dimensions of subspaces), Proposition 4.2.3 (Properties of restriction), Proposition 2.1.16 (Linear maps preserve spans and linear relations), Corollary 4.1.11 (Spanning lists are long)
Techniques. Restrict to a subspace (Technique 4.2.5)
Since and are finite-dimensional, , , and are finite-dimensional (Theorem 4.2.11(b)), so all three ranks are defined.
The bound by . By Proposition 2.6.15(b), , so by Proposition 4.1.21(a).
The bound by . Let and let be a basis of (the empty list if ). By Proposition 4.2.3(b) and Proposition 2.1.16(a),
So is spanned by a list of length , and by Corollary 4.1.11(a). That is, . □
The second proof moves the comparison to the domain , where and have a common domain and rank–nullity applies to both.
Proof (comparing kernels, with rank–nullity).
Uses. Proposition 2.6.15 (Kernels and images of composites), Proposition 4.1.21 (Dimensions of subspaces), Theorem 4.2.11 (Rank–nullity)
Techniques. Dimension counting (Technique 4.2.24)
As in the first proof, (Proposition 2.6.15(b)), so (Proposition 4.1.21(a)).
By Proposition 2.6.15(a), . Both are subspaces of the finite-dimensional space , so
as desired. □
Both inequalities can be strict, even at the same time.
What a product loses
The example shows where the rank goes. applies to the vectors of , and kills those that lie in . Restricting to makes this exact. This is the lecture’s restriction view of a composite, and it gives the third proof of the bound by .
Proposition 4.3.5 (Rank of a product, exactly). Let and , with finite-dimensional.
- (a)
. - (b) if and only if . If is also finite-dimensional, then if and only if .
For matrices and , (a) reads
Proof (by restriction).
Uses. Theorem 4.2.11 (Rank–nullity), Proposition 4.2.3 (Properties of restriction), Exercise 4.2.44, Proposition 2.6.15 (Kernels and images of composites), Proposition 4.1.21 (Dimensions of subspaces), Exercise 2.6.39, Theorem 2.4.2 (The matrix of a composite)
Techniques. Restrict to a subspace (Technique 4.2.5), Dimension counting (Technique 4.2.24)
(a) Since is finite-dimensional, so is , and (Theorem 4.2.11(b)). Let
which is (a). (This is Exercise 4.2.44(a) for the subspace .)
(b) By (a), if and only if , that is, . Now let be finite-dimensional, so that is finite-dimensional. Since (Proposition 2.6.15(b)), Proposition 4.1.21(b) shows that if and only if , and by Exercise 2.6.39(b) this holds if and only if .
The matrix statement is (a) for and (Theorem 2.4.2). □
Example 4.3.6 (Powers of a square matrix). Let . By (4.3.1) with ,
So if and only if . For the projection , and meet only in , and indeed . For of Example 4.3.4, , and .
With instead, the formula gives
Exercise 4.3.7. Let and with .
- (a)Show that is not invertible.
- (b)Give an example with .
- (c)Show that if , then .
Uses. Theorem 4.3.3 (Rank of a product), Proposition 3.5.2 (First properties of rank), Corollary 3.5.25 (The invertible matrix theorem), Theorem 2.4.34 (Block multiplication)
(a) By Theorem 4.3.3 and Proposition 3.5.2(a),
(b) Let
(c) If , then
so .
4.3.3Row rank equals column rank
Intuition (Why this is surprising). Consider
Its four columns are vectors in . They satisfy and , and are independent, so exactly two of the columns are independent. Its three rows are vectors in . They satisfy one relation, , and any two of them are independent, so again exactly two of the rows are independent.
Nothing in the definitions suggests that these two numbers should agree. The columns satisfy two independent relations and the rows only one; the columns live in and the rows in . For a matrix, one count is about vectors in and the other is about vectors in . Yet the two counts always agree. Equivalently, the numbers of independent relations always differ by exactly the difference between the numbers of columns and rows: here .
The columns of are the rows of , written as columns (Definition 2.4.21). So is the span of the rows of (Proposition 2.6.18), and is its dimension.
Theorem 4.3.8 (Row rank equals column rank). For every ,
That is, the span of the rows of , viewed as vectors in , has the same dimension as the span of its columns in .
The first proof reduces to its rank normal form, where the statement is obvious.
Proof (via the rank normal form).
Uses. Theorem 3.5.27 (Rank normal form), Proposition 2.4.23 (Transpose of a product), Proposition 2.5.17 (Algebra of inverses), Proposition 4.3.1 (Invertible factors preserve rank), Proposition 2.6.18 (The column space is spanned by the columns), Theorem 4.2.7 (The image of )
Techniques. Transpose to trade rows for columns (Technique 3.2.27)
Let . By Theorem 3.5.27 there are invertible and with . Transposing with Proposition 2.4.23,
The matrices and are invertible (Proposition 2.5.17(d)), so
The second proof uses only row operations. They change the column space of but keep its row space, and the reduced form exposes a basis of the row space.
Proof (row operations keep the row space, and RREF exposes it).
Uses. Theorem 3.3.10 (), Proposition 2.4.23 (Transpose of a product), Proposition 2.5.17 (Algebra of inverses), Proposition 4.3.1 (Invertible factors preserve rank), Proposition 3.3.8 (Properties of the output), Lemma 3.3.16 (Reading the columns of a matrix in RREF), Proposition 2.6.18 (The column space is spanned by the columns), Theorem 1.5.5 (Independence is decided at zero), Theorem 4.2.7 (The image of )
Techniques. Reduce to RREF (Technique 3.3.22), Transpose to trade rows for columns (Technique 3.2.27)
Let , and let be invertible with (Theorem 3.3.10). Transposing, (Proposition 2.4.23), and is invertible (Proposition 2.5.17(d)). By Proposition 4.3.1(b),
That is, and have the same row space.
By Proposition 3.3.8(a), rows of are zero. Let be the transposes of rows of . These are the first columns of , and its other columns are zero, so
So is a basis of , and
Both proofs reduce to a form in which the theorem can be seen, but they teach different things. The first uses row and column operations together and lands on , whose transpose is again of the same shape. The second uses only row operations, and it rests on a contrast. Row operations change the column space but keep the relations among the columns (Corollary 3.2.17), hence the number of independent columns. They keep the row space itself. So reduction preserves both numbers, and in both are visibly the number of pivots. The second proof also computes something: the nonzero rows of form a basis of the row space of . A third proof, from the column–row factorization, is in Section 4.3.6, and for real matrices Exercise 4.3.33 gives a fourth. The transpose of a matrix is the matrix of the dual map, and the coordinate-free form of the theorem is that a linear map and its dual have the same rank (Section 13.1). That point of view is beyond the course.
Remark 4.3.9 (The two halves of the product inequality). With the transpose available, the two bounds in Theorem 4.3.3 are mirror images of each other (Technique 3.2.27). If we only knew the easy bound , which comes from , then
So the bound that needed a dimension argument follows from the bound about images, once rows and columns are known to have the same rank.
The theorem adds a condition about rows to the Second Fundamental Theorem.
- (i)The rows of are linearly independent.
- (ii).
- (iii)For every , the equation has a solution.
Uses. Theorem 4.3.8 (Row rank equals column rank), Theorem 3.5.12 (First Fundamental Theorem, completed), Theorem 3.5.13 (Second Fundamental Theorem, completed), Corollary 3.5.25 (The invertible matrix theorem)
Techniques. Transpose to trade rows for columns (Technique 3.2.27)
Read as a statement about equations, (i) (iii) is natural in one direction. If some combination of the rows vanishes, say
Exercise 4.3.11. Over , let .
- (a)Find , and a basis of the row space of from .
- (b)Find a basis of the row space consisting of rows of , and express the remaining row in terms of it.
Uses. Theorem 4.3.8 (Row rank equals column rank), Proposition 4.3.1 (Invertible factors preserve rank), Corollary 4.1.11 (Spanning lists are long)
(a) Adding times row to row gives
, and by the second proof of Theorem 4.3.8 the nonzero rows and form a basis of the row space of .
(b) The row space has dimension . Rows and of are not proportional (a multiple with third entry does not exist), so they are linearly independent, and two independent vectors in a -dimensional space form a basis. Row must be a combination of them, say row (row ) (row ). The first entries give and the second entries ; so and in , giving and . Indeed
4.3.4The four fundamental subspaces
A matrix has a kernel and an image, and so does its transpose. Together they are the four subspaces attached to .
Definition 4.3.12 (The four fundamental subspaces). Let . The four fundamental subspaces of are
- the column space , the span of the columns of ;
- the null space ;
- the row space , the span of the rows of written as columns;
- the left null space .
The column rank of is , and the row rank is .
So Theorem 4.3.8 says that the row rank equals the column rank, and both equal . Table 4.3.1 summarizes the dimensions and bases found below. The name “left null space” comes from writing the condition on the left: since (Proposition 2.4.23), a vector lies in exactly when , that is,
So the null space records the linear relations among the columns of , and the left null space records the linear relations among the rows, or equivalently among the equations of the system .
- (a), , , and .
- (b)The pivot columns of form a basis of ; the basic solutions form a basis of ; the nonzero rows of , written as columns, form a basis of ; and the last rows of , written as columns, form a basis of .
Uses. Theorem 4.2.7 (The image of ), Theorem 4.2.11 (Rank–nullity), Theorem 4.3.8 (Row rank equals column rank), Remark 3.4.11 (A basis of the kernel), Exercise 3.3.57, Corollary 4.1.11 (Spanning lists are long)
(a) By Theorem 4.2.7 and Theorem 4.2.11(a), and . The transpose has columns and rank (Theorem 4.3.8), so and , by the same two results applied to .
(b) The pivot columns of form a basis of by Theorem 4.2.7, and the basic solutions form a basis of by Remark 3.4.11. The nonzero rows of , transposed, form a basis of , as shown in the second proof of Theorem 4.3.8. Finally, if and only if , that is, is a relation among the rows of . By Exercise 3.3.57, these relations are exactly the linear combinations of the last rows of . So the transposes of these rows span , a space of dimension by (a), and they form a basis by Corollary 4.1.11(b). □
| Subspace | Dimension | Basis, from |
|---|---|---|
| the pivot columns of | ||
| the basic solutions | ||
| the nonzero rows of | ||
| the last rows of |
Example 4.3.14 (The four subspaces of a matrix). Take the matrix of Intuition (Why this is surprising),
Here , , , and the pivot columns are and .
- Column space. Columns and of :
, of dimension . - Null space. The free columns are and , with basic solutions and , so .
- Row space. The nonzero rows of :
, of dimension . - Left null space. The relation gives , and , so
.
The dimensions are in and in .
In this example something more is true. Every vector of the row space has dot product with every vector of the null space: for instance
Non-example 4.3.15 (Row space and null space can overlap). Over , let . Its row space is , and lies in , since . So : the two subspaces of coincide, although their dimensions add up correctly.
Over , let . Then , and , so as well. Over the cure is to replace by the conjugate transpose of Definition 6.3.26: the column space of meets only in (Section 6.6). Over no such repair exists: for every symmetric bilinear pairing on with , some nonzero vector pairs to with itself (Section 12.4).
4.3.5Rank-one matrices and sums
The simplest nonzero matrices have rank one. In
every column is a multiple of and every row is a multiple of , and the matrix is the product of these two vectors.
Uses. Proposition 2.4.8 (Four views of the product), Proposition 2.6.18 (The column space is spanned by the columns), Proposition 1.2.35 (Zero products), Theorem 4.2.7 (The image of ), Proposition 2.4.23 (Transpose of a product)
If. Let and . By the column view (Proposition 2.4.8(b)), column of is . So every column lies in , and
Only if. Let . Then is one-dimensional, so for any nonzero . Each column lies in , so for some . With , column of is , so . And , since .
The row space and uniqueness. By Proposition 2.4.23, , so by the first paragraph. If also with nonzero, then
The rank normal form gives the same factorization in one line: if
Technique 4.3.17 (Write a rank-one matrix as ). A matrix of rank one is with (Proposition 4.3.16). In this form products collapse to scalars, because is a matrix and can be moved out of the way:
Reach for it when a hypothesis says that a matrix has rank one, when a matrix differs from a known one by a rank-one matrix (as or do), and when a matrix is to be split into simple pieces. The canonical example is Proposition 4.3.16, and Example 4.3.18 shows the collapse at work. Later instances are the matrix determinant lemma for (Theorem 5.5.27) and the singular value decomposition, which writes every matrix as a sum of rank-one pieces in the best possible way (Section 9.1).
Used in 12 places and 7 practice exercises
Exercise 4.3.19, Corollary 4.3.24, Exercise 4.3.37, Exercise 4.3.38, Exercise 4.3.39, Exercise 4.3.40, Exercise 4.3.41, Exercise 4.5.51, Exercise 7.4.40, Problem 7.7, Problem 7.13, Exercise 8.1.26; 7 practice exercises.
Example 4.3.18 (Powers of a rank-one matrix). Let have rank one. Its diagonal entries are , so
and by induction for . So a rank-one matrix is nilpotent if and only if , in which case already ; and if and only if , since . For instance
Exercise 4.3.19. Let .
- (a)Over , show that by writing , and compute .
- (b)Over , compute .
Uses. Proposition 4.3.16 (Rank-one matrices), Example 4.3.18 (Powers of a rank-one matrix)
Techniques. Write a rank-one matrix as (Technique 4.3.17)
(a) The rows are , , and times , so with and , both nonzero, and by Proposition 4.3.16. Its trace is , so by Example 4.3.18,
(b) Over ,
For sums, the image of lies inside , which gives an upper bound but no exact formula.
Proposition 4.3.20 (Rank is subadditive). For ,
Proof (comparing images).
Uses. Proposition 1.4.24 (The sum of two subspaces), Proposition 4.1.21 (Dimensions of subspaces), Corollary 4.1.11 (Spanning lists are long)
For every ,
by Proposition 4.1.21(a). □
Proof (comparing kernels).
Uses. Proposition 4.2.26 (Subspaces that must meet), Theorem 4.2.11 (Rank–nullity), Proposition 4.1.21 (Dimensions of subspaces)
Techniques. Dimension counting (Technique 4.2.24)
If , then , so
By Theorem 4.2.11(a) again,
As for products, the image proof works in the target and the kernel proof in the domain. On the kernel side, the inequality is the statement that two large subspaces of must overlap (Proposition 4.2.26).
By induction on , a sum of matrices of rank one has rank at most . The next subsection shows that this bound is attained: every matrix of rank is a sum of matrices of rank one.
4.3.6The column–row factorization
The pivot columns of form a basis of (Theorem 4.2.7), so every column of is a combination of them, and the coefficients can be read off (Lemma 3.3.16(d), Corollary 3.2.17). Recording all these combinations at once is a matrix product.
Theorem 4.3.21 (Column–row factorization). Let have rank and pivot columns . Let be the matrix whose columns are the pivot columns of , and let consist of the first rows of , which are its nonzero rows. Then
Moreover, the columns of form a basis of , and the rows of , written as columns, form a basis of . In particular .
Uses. Theorem 3.3.10 (), Proposition 3.3.8 (Properties of the output), Theorem 2.4.34 (Block multiplication), Lemma 3.3.16 (Reading the columns of a matrix in RREF), Definition 2.4.1 (Matrix product), Theorem 4.2.7 (The image of ), Theorem 4.3.8 (Row rank equals column rank), Theorem 3.3.12 (Matrices in RREF)
Let be invertible with (Theorem 3.3.10). By Proposition 3.3.8(a), rows of are zero, so in block form , with a zero block of rows. Split , where consists of the first columns of . By Theorem 2.4.34,
Column of is . Column of is (Lemma 3.3.16(b)), so column of is (Definition 2.4.1). Hence column of is , that is, , and .
The columns of form a basis of by Theorem 4.2.7, so . The rows of are the nonzero rows of , and the second proof of Theorem 4.3.8 showed that, written as columns, they form a basis of . Finally, satisfies (R1)–(R4) with pivots, so it is in RREF and (Theorem 3.3.12). □
Read column by column (Proposition 2.4.8(b)), says that column of is the combination of the pivot columns of whose coefficients are column of :
This is Corollary 3.2.17 once more: the free columns of record how the free columns of are built from its pivot columns.
Example 4.3.22 (A column–row factorization). For the matrix of Example 4.3.14, the pivot columns are and , so with
Column of is , and indeed ; column of is , and . By the column–row view of the product (Proposition 2.4.8(d)), is a sum of two matrices of rank one:
The column–row factorization is one of many factorizations of through , and the next proposition says that all of them carry the same information.
- (a).
- (b)If , then the columns of form a basis of , and the rows of , written as columns, form a basis of .
Uses. Theorem 4.3.3 (Rank of a product), Proposition 3.5.2 (First properties of rank), Proposition 2.6.18 (The column space is spanned by the columns), Proposition 4.1.21 (Dimensions of subspaces), Corollary 4.1.11 (Spanning lists are long), Proposition 2.4.23 (Transpose of a product), Theorem 4.3.8 (Row rank equals column rank)
Techniques. Dimension counting (Technique 4.2.24), Transpose to trade rows for columns (Technique 3.2.27)
(a) By Theorem 4.3.3 and Proposition 3.5.2(a),
(b) Let . By Theorem 4.3.3, , and is spanned by the columns of (Proposition 2.6.18), so
So in any factorization with inner size , the left factor is a basis of the column space and the right factor a basis of the row space. Two such factorizations differ by an invertible matrix (Exercise 4.3.44), and the column–row factorization is the one in which the right factor is in RREF. Every matrix of rank is therefore a sum of rank-one matrices, and Proposition 4.3.20 says that fewer will not do.
Uses. Theorem 4.3.21 (Column–row factorization), Proposition 2.4.8 (Four views of the product), Proposition 4.3.16 (Rank-one matrices), Proposition 4.3.20 (Rank is subadditive)
Techniques. Write a rank-one matrix as (Technique 4.3.17)
Let . If , then is the empty sum. If , write as in Theorem 4.3.21. By the column–row view (Proposition 2.4.8(d)),
where is column of and is row of . Each is nonzero, as a vector of a basis, and each row of is nonzero, as it contains a pivot. So each term has rank one by Proposition 4.3.16, and is a sum of matrices of rank one.
Conversely, if with for each , then by Proposition 4.3.20 and induction on ,
The lower bound can also be seen from Proposition 4.3.23(a): a sum is the product of the matrix with columns and the matrix with rows , so its rank is at most . Storing and takes numbers instead of the entries of , which is far fewer when is small. Low-rank approximation (Section 16.3) exploits this to compress data.
The factorization also gives a third proof of Theorem 4.3.8, the one in LADR. It never row reduces, and its idea is to prove an inequality for every matrix and then apply it to the transpose.
Proof of Theorem 4.3.8 (via a column–row factorization).
Uses. Theorem 4.2.7 (The image of ), Proposition 2.4.8 (Four views of the product), Proposition 2.4.23 (Transpose of a product), Theorem 4.3.3 (Rank of a product), Proposition 3.5.2 (First properties of rank), Proposition 2.4.22 (Transpose is a linear involution)
Techniques. Transpose to trade rows for columns (Technique 3.2.27)
We first show that for every . Let . If , then , so and both ranks are . Otherwise let be a basis of (for instance the pivot columns, Theorem 4.2.7), and let have these columns. Each column of lies in , so
since has only columns.
Applying this to , whose transpose is (Proposition 2.4.22), gives . Hence . □
Exercise 4.3.25. Find the column–row factorization of
and write as a sum of matrices of rank one.
Uses. Theorem 4.3.21 (Column–row factorization), Corollary 4.3.24 (Rank as a number of rank-one pieces)
Adding times row to row gives
with pivot columns and , and . By Theorem 4.3.21,
Check: column of is
Exercises
Exercise 4.3.26. Over , let
- (a)Find , and for find . Use (4.3.1) to find , and check by computing .
- (b)Is there a matrix of rank with ?
Uses. Proposition 4.3.5 (Rank of a product, exactly), Theorem 4.2.11 (Rank–nullity)
(a) means , , and , the third being the sum of the first two. So
The first column of is , so and , of dimension . The columns of are independent, so , and (4.3.1) gives . Indeed
which has rank .
(b) No. If , then by (4.3.1),
Exercise 4.3.27. Let .
- (a)Over , find bases of the four fundamental subspaces of , and check the dimensions against Proposition 4.3.13. Show that .
- (b)Over , do the same, and show that .
Uses. Proposition 4.3.13 (Dimensions of the four subspaces), Definition 4.3.12 (The four fundamental subspaces)
Over any field, row of is the sum of rows and , so subtracting rows and from row gives
with , pivot columns , and free columns . Here and , so Proposition 4.3.13 predicts dimensions , , , .
(a) Over :
- has the basis , columns and of .
- The basic solutions are
and , a basis of . - has the basis
, the nonzero rows of . - Row plus row plus row is , so , which has dimension ; so
.
The bases of and are the same list, so . Each row is “orthogonal” to itself:
(b) Over ,
Exercise 4.3.28. For each item, find a matrix with the given properties, or show that none exists.
- (a) with
and . - (b) with .
- (c) whose row space contains and whose null space contains .
- (d) with .
- (e) with .
Uses. Proposition 4.3.16 (Rank-one matrices), Proposition 4.3.13 (Dimensions of the four subspaces), Theorem 4.2.11 (Rank–nullity), Exercise 3.3.50
(a) Such an has rank , so , and we may take (Proposition 4.3.16). Then , so
Its kernel contains and , which are independent, and has dimension (Theorem 4.2.11), so it is their span; and
(b) None. By Theorem 4.2.11,
(c) None, over every field. By Exercise 3.3.50(a), every vector of the row space has dot product with every vector of the null space, but
(d) : its image is spanned by its nonzero column , and
(e) None. If , then
Exercise 4.3.29. Let . Prove or disprove.
- (a)If and have the same four fundamental subspaces, then .
- (b)If and have the same row space, then .
- (c)If and have the same column space, then .
- (d)If , then .
Uses. Exercise 3.3.50, Proposition 2.4.22 (Transpose is a linear involution), Definition 4.3.12 (The four fundamental subspaces)
Techniques. Transpose to trade rows for columns (Technique 3.2.27), Finding counterexamples and minimal examples (Technique 1.4.18)
(a) False. and are both invertible, so both have column space and row space and null space and left null space ; but .
(b) True. By Exercise 3.3.50(a), is the set of with for every in the row space of . This description involves only the row space, so equal row spaces give equal null spaces.
(c) True. The row space of is (Proposition 2.4.22), and likewise for . So if , then and have the same row space, and (b) gives .
(d) False. Let and . Both send to a vector that is zero exactly when , so
Exercise 4.3.30. (Sylvester’s rank inequality.) Let and .
- (a)Show that
. - (b)Deduce that if , then .
(c)Show that for
, - (d)Deduce that if has rank , then for every , and show by an example that equality can hold for every .
Uses. Proposition 4.3.5 (Rank of a product, exactly), Theorem 4.2.11 (Rank–nullity), Proposition 4.1.21 (Dimensions of subspaces)
Techniques. Dimension counting (Technique 4.2.24)
(a) By (4.3.1),
(b) If , then
(c) By induction on . For there is nothing to prove. For , let . By (a),
Substituting the second inequality into the first gives the claim for .
(d) With , (c) gives
Sylvester’s inequality is the lower bound that the exact formula hides: the product loses at most dimensions, because the lost directions lie in .
Exercise 4.3.31. (Frobenius’s rank inequality.) Let , , and .
(a)Show that
- (b)Deduce Sylvester’s inequality (Exercise 4.3.30(a)).
- (c)Let and
for . Deduce from (a) that (compare Example 4.3.6).
Uses. Proposition 4.3.5 (Rank of a product, exactly), Proposition 2.6.15 (Kernels and images of composites), Proposition 4.1.21 (Dimensions of subspaces)
Techniques. Dimension counting (Technique 4.2.24)
(a) By (4.3.1), applied to and and to and ,
By Proposition 2.6.15(b), , so
Rearranging gives (a). In words: of the directions in , which is part of , the matrix can destroy no more than it destroys of all of .
(b) Let and , and take in (a):
(c) Apply (a) to the three matrices , , :
Rearranged,
Exercise 4.3.32. Let and be integers. Show that there are of rank and of rank with if and only if
For , , and , list the possible values of and give a pair , for each.
Uses. Theorem 4.3.3 (Rank of a product), Exercise 4.3.30, Lemma 2.4.24 (Matrix units), Proposition 2.6.18 (The column space is spanned by the columns), Corollary 1.5.17 (Sublists), Theorem 4.2.7 (The image of )
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
Necessity. By Theorem 4.3.3,
Sufficiency. Let satisfy the bounds. A matrix whose nonzero columns are distinct standard basis vectors has rank equal to the number of those columns, since its image is spanned by them (Proposition 2.6.18), they are independent as part of the standard basis (Corollary 1.5.17), and rank is the dimension of the image (Theorem 4.2.7). Let
whose columns are followed by zeros, so . Choose distinct indices
whose columns are
whose nonzero columns are the distinct vectors with . So is the number of with .
Now take for and for . These are distinct, since . They lie in , since the largest is when . Exactly are at most , as and for . So .
The example. With , , : and , so . Take . For , take , that is, ; then has rank . For , take , that is, has columns
Exercise 4.3.33. Let .
- (a)Show that, over any field,
. - (b)Let . Show that , and deduce that
. - (c)Let . Without using Theorem 4.3.8, deduce from (b) that and
.
Uses. Proposition 4.3.5 (Rank of a product, exactly), Theorem 4.3.3 (Rank of a product), Proposition 2.4.23 (Transpose of a product), Proposition 2.4.22 (Transpose is a linear involution)
Techniques. A sum of nonnegative terms (Technique 6.1.9)
(a) This is (4.3.1) with in the role of and in the role of .
(b) Let , say with . By Proposition 2.4.23, , so
A sum of squares of real numbers is only if every term is (Technique 6.1.9), so . By (a),
(c) By (b) and Theorem 4.3.3,
Over the same argument works with the conjugate transpose in place of , since
Exercise 4.3.34. Prove or disprove.
- (a)Over ,
for every matrix . - (b)Over ,
for every matrix . - (c)Over ,
for every matrix . - (d)Over , if the columns of are linearly independent, then is invertible.
Which step of Exercise 4.3.33(b) fails in the false cases?
Uses. Exercise 4.3.33, Exercise 3.3.54, Corollary 3.5.25 (The invertible matrix theorem)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
(a) False. Let , of rank . Then
(b) False. Let , of rank . Then
(c) True. A matrix with rational entries is also a real matrix, and by Exercise 3.3.54(a) its reduced row echelon form, hence its rank, is the same over and over . The same holds for , which also has rational entries. So
(d) False. Over , let , whose two columns are independent. Then
which has rank and is not invertible (Corollary 3.5.25).
In each false case, the vector , that is, , , or , is nonzero, satisfies , and lies in , which is exactly what Exercise 4.3.33(a) says must happen when the rank drops. The proof of Exercise 4.3.33(b) used that a sum of squares vanishes only when every term does, which is a property of (and of its subfields), not of fields in general.
Exercise 4.3.35. Find the error in the following argument. Is its conclusion true? Give a matrix for which the false step fails, and repair the argument.
Claim. For every , .
Proof. Let , with pivots. Row operations do not change the column space, so . The columns of lie in and include , so
Uses. Non-example 4.2.8 (The columns of are the wrong vectors), Proposition 4.3.1 (Invertible factors preserve rank), Theorem 4.2.7 (The image of )
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
The error. The step “row operations do not change the column space” is false. Row operations preserve the row space and the linear relations among the columns, but they move the columns themselves. For we have , so while (Non-example 4.2.8). In particular the intermediate conclusion
The conclusion. The claim is true; it is Theorem 4.3.8. Only the first half of the argument needs repair. With invertible and , Proposition 4.3.1(a) gives
The two halves are not symmetric: row operations keep the row space as a set, but keep the column space only up to an invertible map, so only its dimension survives.
Exercise 4.3.36. Prove or disprove. All matrices are over a field .
- (a)
for all . - (b)If and both have rank , then .
- (c)If and , then
. - (d)If and , then for every .
Uses. Proposition 4.3.5 (Rank of a product, exactly), Theorem 4.2.11 (Rank–nullity), Proposition 2.6.15 (Kernels and images of composites), Example 4.3.4 (A product of rank zero)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
(a) False. With and , we have , of rank , and (Example 4.3.4).
(b) True. has columns and rank , so (Theorem 4.2.11). By (4.3.1),
(c) False. Let and . Then and meet only in , but has rank . Here the row spaces coincide. (If both and
(d) True. By (4.3.1) with , the hypothesis says . For , (4.3.1) applied to and gives
Since as maps, (Proposition 2.6.15(b)), so
Exercise 4.3.37. Let , and let .
(a)Show that if , then is invertible, with
- (b)Show that if , then is not invertible, and that its rank is .
- (c)Let have every entry equal to . For which is invertible, and what is its inverse? Is invertible over ? Over ?
Uses. Theorem 3.5.23 (One-sided inverses of square matrices), Proposition 4.3.20 (Rank is subadditive), Proposition 4.3.16 (Rank-one matrices), Corollary 3.5.25 (The invertible matrix theorem)
Techniques. Write a rank-one matrix as (Technique 4.3.17), Guess the inverse, then check both products (Technique 2.5.16)
(a) Let . Then
A one-sided inverse of a square matrix is two-sided (Theorem 3.5.23), so is invertible with the stated inverse.
(b) Suppose . Then , since otherwise . Now
So
(c) , so with and , and
For , and . Over , , so
Uses. Proposition 4.3.16 (Rank-one matrices), Example 4.3.18 (Powers of a rank-one matrix), Proposition 2.4.28 (Cyclicity of the trace), Proposition 2.4.27 (The trace is linear)
Techniques. Write a rank-one matrix as (Technique 4.3.17), Cyclicity of trace (Technique 2.4.29)
Let . Since , Example 4.3.18 gives . By linearity and cyclicity of the trace (Proposition 2.4.27, Proposition 2.4.28),
For an example, let and . Then and , so , which has rank , and indeed .
The hypothesis cannot be weakened to : with and in , , which has rank and square over every field.
- (a)Show that
for . - (b)Show that changing one entry of a matrix changes its rank by at most .
- (c)Let have every diagonal entry equal to and every other entry equal to . Show that for every .
Uses. Proposition 4.3.20 (Rank is subadditive), Proposition 4.3.16 (Rank-one matrices), Lemma 2.4.24 (Matrix units), Proposition 4.3.1 (Invertible factors preserve rank)
Techniques. Write a rank-one matrix as (Technique 4.3.17)
(a) has the same image as , so . By Proposition 4.3.20,
(b) Changing entry of from to replaces by
(c) Let be the all-ones matrix, , of rank . Then
Exercise 4.3.40. Let , and let have entries , read as elements of .
- (a)Show that over every field, by writing as a sum of three matrices of rank at most one.
- (b)Show that if in .
- (c)Find over .
Uses. Proposition 4.3.20 (Rank is subadditive), Proposition 4.3.16 (Rank-one matrices), Proposition 4.3.1 (Invertible factors preserve rank), Theorem 4.3.8 (Row rank equals column rank), Theorem 3.5.13 (Second Fundamental Theorem, completed), Proposition 2.6.15 (Kernels and images of composites), Theorem 3.4.24 (Polynomial interpolation), Corollary 3.5.16 (Lists of vectors in ), Theorem 2.4.34 (Block multiplication)
Techniques. Write a rank-one matrix as (Technique 4.3.17)
Let have entries , , and in position .
(a) Since
Each term has rank at most one (Proposition 4.3.16), so by Proposition 4.3.20.
(b) Let
is invertible. , which is invertible since ; so has the inverse .
. The nodes of are distinct, since their differences are and , both nonzero. The first three rows of form the matrix , which is invertible by Theorem 3.4.24, so its columns are independent. A relation among the columns of restricts to a relation among the columns of this matrix, so the columns of are independent, and (Corollary 3.5.16(a)).
Conclusion. By Theorem 4.3.8, , so is surjective. Hence
(c) Over , , and has the same parity as , so and . So has rank at most . Rows and are and , which are independent, so by Theorem 4.3.8. Hence over .
- (a)Let . Show that if and only if
for all and . - (b)Find all for which has rank .
Uses. Proposition 4.3.16 (Rank-one matrices)
Techniques. Write a rank-one matrix as (Technique 4.3.17)
(a) Only if. If , both sides are . If , then (Proposition 4.3.16), so , and both sides equal .
If. Suppose the condition holds. If , then . Otherwise fix with . For all , the condition gives
Let
(b) The matrix is nonzero, so it has rank exactly when all the conditions in (a) hold. With rows and columns , , they read , , and (the other choices of indices repeat these or are trivial). The second always holds, and the first and third both say . So or , giving and .
Exercise 4.3.42. Let . Show that
if and only if .
Uses. Proposition 4.3.20 (Rank is subadditive), Exercise 4.3.30, Theorem 4.2.11 (Rank–nullity), Proposition 4.1.21 (Dimensions of subspaces)
Techniques. Dimension counting (Technique 4.2.24)
By Proposition 4.3.20,
If. Suppose . Then
Only if. Suppose
So a matrix is idempotent exactly when the ranks of and are as small as subadditivity allows. Geometrically, then splits into , on which acts as the identity, and ; this is the decomposition of Section 4.4.
Exercise 4.3.43. Let satisfy , and let .
- (a)Let be a factorization with and , as in Theorem 4.3.21. Show that .
- (b)Deduce that , the sum of copies of in .
- (c)Deduce that over , , or , the rank of an idempotent matrix equals its trace. Show by an example that over the rank of an idempotent is not determined by its trace.
Uses. Theorem 4.3.21 (Column–row factorization), Proposition 3.5.9 (Left inverses), Proposition 3.5.8 (Right inverses from the pivots), Proposition 2.4.28 (Cyclicity of the trace), Proposition 4.3.23 (Factorizations through )
Techniques. Cyclicity of trace (Technique 2.4.29)
(a) By Theorem 4.3.21, , the number of columns of , and , the number of rows of . By Proposition 3.5.9 and Proposition 3.5.8, there are with and with . Since , . Multiplying on the left by and on the right by ,
(The same argument works for any factorization with inner size , by Proposition 4.3.23.)
(b) By Proposition 2.4.28,
(c) In , , and , is the integer , so by (b); the idempotent has trace and rank . Over , the idempotents and have trace and , but ranks and . In general, (b) determines only modulo the characteristic of . For example, the rank of the idempotent is , which (b) predicts over any field.
Exercise 4.3.44. Let have rank , and suppose with and .
- (a)Show that there is exactly one invertible with , and that then .
- (b)Deduce that the factorization of Theorem 4.3.21 is the only factorization with inner size in which is in RREF.
Uses. Proposition 4.3.23 (Factorizations through ), Proposition 2.4.8 (Four views of the product), Proposition 3.5.9 (Left inverses), Proposition 3.5.8 (Right inverses from the pivots), Corollary 3.5.21 (Invertibility and row equivalence), Corollary 3.3.18 (RREF and row equivalence)
Techniques. Uniqueness via two candidates (Technique 1.1.8)
By Proposition 4.3.23(b), the columns of form a basis of , and so do the columns of . Since is the number of columns of , has a left inverse (Proposition 3.5.9), so implies
(a) Each column of lies in , so it is a combination of the columns of ; collecting the coefficients into the columns of gives (Proposition 2.4.8(b)). Symmetrically, for some . Then
(b) Let be the first rows of and suppose is in RREF. By (a), with invertible, so (Corollary 3.5.21); both are in RREF, so by Corollary 3.3.18(c). Then , and since has a right inverse (Proposition 3.5.8),
Exercise 4.3.45. Let .
- (a)Suppose
, and let be a factorization with inner size . Show that is invertible. (b)Under the hypothesis of (a), show that satisfies
- (c)Conversely, show that if some satisfies the three equations in (b), then .
Uses. Proposition 4.3.23 (Factorizations through ), Proposition 3.5.9 (Left inverses), Proposition 3.5.8 (Right inverses from the pivots), Theorem 4.3.3 (Rank of a product), Proposition 4.3.1 (Invertible factors preserve rank), Corollary 3.5.25 (The invertible matrix theorem)
By Proposition 4.3.23(b), has independent columns and has independent rows, so , and there are and with and (Proposition 3.5.9, Proposition 3.5.8).
(a) , so
(b) Let , invertible by (a), and . Then
so . Next,
(c) If and , then
The matrix is called the group inverse of . If is invertible, then , and are invertible, and
More practice
The practice bank has 31 exercises on this section’s topics.