8.2 Rank and Block Matrices
Rank is the most robust number attached to a matrix,
and Chapters 3 and 4 found several inequalities for it:
the rank of a product is at most the rank of each
factor, and Sylvester’s inequality bounds it from below.
Those proofs worked with subspaces. This section proves
rank inequalities by a different and very mechanical
method. We place the matrices we care about as blocks of
one bigger matrix, and then change that matrix by block
row and column operations, which never change the rank,
until its rank can be read off. The method gives short
proofs of the Frobenius inequality and of identities
such as
8.2.1. Three basic inequalities
We start with what the shape of a block matrix alone
says about its rank. Write
Let
- (a)
, and likewise . - (b)
. - (c)
and .
Idea. Rank is the dimension of the
column space, so look at columns. In (a) the columns of
Proof. For
(a) The columns of
are the columns of followed by the columns of , so its column space is by Proposition 1.7.2. It contains and , which gives the lower bound by Theorem 1.6.7, and by Theorem 1.7.3 For the stacked matrix, Proposition 8.1.2 gives , and a matrix and its transpose have the same rank (Theorem 3.5.5). Apply the first part to and .(b) Let
. Its first columns are and its last columns are , where , are the columns of , . So with and . A vector in has both parts zero, so . The map is linear and injective from onto , so (Theorem 2.5.4); likewise . By Theorem 1.7.3, .(c) Let
, and . By Theorem 3.5.2 there are columns of that are linearly independent, and columns of that are linearly independent. The corresponding columns of are and , where is column of . Let The last entries give , so all . The first entries then give , so all . Hence contains linearly independent vectors, and by Theorem 1.6.3. For the lower triangular shape, by Proposition 8.1.2; apply the first case and Theorem 3.5.5.
All three inequalities, the two in (a) and the one in
(c), can be strict, and small witnesses show it. For
Warning. The ranks of the
four blocks do not determine the rank of the
whole. Over
Quick check. Without computing,
find
Solution. With row partition
8.2.2. Block elimination
Gaussian elimination changes a matrix by row operations, which are multiplications by invertible matrices on the left, and the rank never changes. The same is true when the “rows” are whole block rows and the multipliers are matrices. The matrices that do this are the block triangular matrices with identity blocks on the diagonal from Theorem 8.1.5, together with block swaps.
Fix a partition of
Let
- (a) For all
, , and , the matrices are invertible, and so are the block swaps and . Hence multiplying on the left or right by any product of such matrices does not change its rank. The swaps give and . - (b) If
, or if , then .
Proof.
(a) By Theorem 8.1.5 (c), with identity blocks on the diagonal,
has inverse ; the lower triangular case follows by transposing (Proposition 8.1.2, Theorem 0.9.7). In the swap the row partition is and the column partition is . Let , with row partition and column partition . These are conformable, and Theorem 8.1.1 gives , so is invertible by Theorem 3.4.5; the other swap is the same with in place of . The two displayed products are Theorem 8.1.1. Rank is unchanged by invertible factors on either side (Theorem 3.5.9).(b) Suppose
. Each column of is then for some (Definition 3.5.1, Theorem 0.9.3). Let have columns , so that by Theorem 0.9.2. By the computation before the theorem, and (a) together with Theorem 8.2.1 (b) gives the claim. If , the same argument applied to rows gives for some , and .
Part (b) is the typical use of (a): a block that is a multiple of a neighboring block can be cleared, exactly as an entry below a pivot is cleared in Gaussian elimination. The zero block of Theorem 8.2.1 (c) is what lets the cleared matrix fall apart into a direct sum.
8.2.3. Frobenius’s inequality by blocks
Recall Sylvester’s rank inequality (Theorem 4.3.5):
for
Let
Idea. The left side is the rank of
Proof. Let
Taking
8.2.4. A worked
example:
and
Products in the two orders,
Let
- (a) Prove that
. - (b) Deduce that for
, , and is invertible if and only if is. - (c) Check (a) for
and over .
Solution.
- (a) Let
, with partition for rows and columns. We eliminate in two different ways.Using
as the pivot. Subtract times block row from block row , then subtract block column times from block column . By Theorem 8.1.1, By Theorem 8.2.2 (a) and Theorem 8.2.1 (b), .Using
as the pivot. Subtract times block row from block row , then subtract block column times from block column : So in the same way. Comparing the two expressions for proves (a). (b) For
the two added terms are equal and cancel. A square matrix is invertible exactly when its rank is (Theorem 7.5.3 (d)), so is invertible if and only if is.(c) Here
, so , and which has rank . Indeed . So while , and the identity accounts for the difference exactly: has rank .
The trick is worth naming. To compare two
expressions, find one block matrix from which both can
be obtained by elimination, and compute its rank
twice. Section 3 does the same with
determinants and inverses, and the pair
8.2.5. Exercises
A. Check your understanding
- (a) State the three inequalities of Theorem 8.2.1.
- (b) True or false:
for all blocks of compatible sizes. Justify your answer. - (c) Which matrix do
you multiply
by, and on which side, to replace by ? - (d) True or false:
whenever and have the same number of rows. Justify your answer. - (e) State Frobenius’s inequality, and explain how Sylvester’s inequality follows from it.
Solution.
(a)
(and the same for stacked blocks); ; and both block triangular shapes have rank at least .(b) False.
with blocks has rank , but . Only holds in general.(c) Multiply on the left by
: block row becomes by Theorem 8.1.1. The rank does not change (Theorem 8.2.2).(d) False.
has rank , not . Equality holds exactly when .(e)
for matrices of compatible sizes. With it reads , which is Sylvester’s inequality.
B. Practice
Let
- (a)
. - (b)
with . - (c)
.
Solution.
(a) By Theorem 8.2.1 (b),
.(b) The columns of
are and , and is the first column of . So , and by Theorem 8.2.2 (b), . (Explicitly with .)(c) The lower bound is
. But the last two columns of are , and every column lies in , so . This is the strict case: the block is not a multiple of or of the zero block.
Let
- (a) By adapting Example (Rank of
versus ), prove that . - (b) Check (a) over
for , and . - (c) Show by an
example with
, that (a) can fail for .
Solution.
(a) Since
, put . Then and . Multiplying a matrix by the non-zero scalar does not change its column space, hence not its rank. By Example (Rank of versus ) (a) applied to and ,(b) Here
, , and since and . In the first matrix, row equals , and rows and are not multiples of each other, so its rank is (Theorem 3.5.5). The second has rank . Indeed .(c) For
the identity would say . Take and : has rank , and has rank , but .
Let
- (a) Starting from
, use block elimination to prove - (b) Deduce that
if and only if . - (c) Compare (b) with what Chapter 4 says about projections.
Hint: first add block row 1 to block row 2, then add block column 2 to block column 1.
Solution.
(a) Write
. By Theorem 8.1.1, each step being multiplication by one of the matrices of Theorem 8.2.2 (a): The multipliers are, in order, on the left, on the right, on the left and on the right. In the third step the top row becomes , and in the fourth the bottom-right block becomes . Swapping the block columns (Theorem 8.2.2 (a)) gives , of rank by Theorem 8.2.1 (b). The first matrix has rank , and rank is unchanged throughout. Since has the same rank as , (a) follows.(b) By (a),
if and only if , that is, .(c) If
, then is a projection (Definition 4.5.1), so by Theorem 4.5.1, with (a vector with equals , and conversely ). So , which is the forward direction of (b). The block argument also gives the converse, and it never mentions subspaces.
C. Going deeper
Let
- (a) Verify, by block
multiplication, the following chain, in which each arrow
is multiplication by an invertible block triangular
matrix:
Name each multiplier and the side it acts on. - (b) Deduce that
. - (c) Suppose
. Show that is idempotent and that .
Hint for (c): use (b), then Exercise (B3: Idempotents by blocks).
Solution.
- (a) The partitions
are
for rows and for columns. By Theorem 8.1.1:
- Right multiplication by
adds block column to block column : . - Left multiplication by
adds times block row to block row : the new row is . - Right multiplication by
subtracts block column times from block column : the new column is . - Left multiplication by
subtracts times block row from block row : the new row is .
All four multipliers are invertible by Theorem 8.2.2 (a).
(b) By Theorem 8.2.2 (a) the first and last matrices have the same rank, and by Theorem 8.2.1 (b) these ranks are
and . Rearranging gives the formula.(c)
, so is idempotent. By (b), , so . By Exercise (B3: Idempotents by blocks) (b) applied to the idempotent , .
Let
- (a) Suppose the
characteristic of
is not . Starting from , prove that - (b) Deduce that if
(and ), then . - (c) Show that (b)
fails over
, and point to the step of (a) that breaks.
Hint for (a): add block column 2 to block column
1, and subtract block row 2 from block row 1; then
Solution.
(a) Write
and . Since , in , so exists and is invertible. By Theorem 8.1.1, with each multiplier from Theorem 8.2.2 (a): In the second step ; in the third, and ; in the fourth, . Finally where the product expands by distributivity. The first matrix has rank and the last has rank by Theorem 8.2.1 (b), non-zero scalar multiples having the same column space. Rank is unchanged throughout.(b) If
, then .(c) Over
, take . Then , but and , so the left side is . The step that breaks is the pivot: is not invertible, and does not exist. (Chapter 2’s decomposition of an involution into parts, Theorem 4.5.5, needs the same hypothesis.)