8.1  Partitions and Block Multiplication

A large matrix often has structure that its individual entries hide: a corner of zeros, a copy of the identity, a smaller matrix repeated. Chapter 7 already met one such shape, the block triangular matrix, and computed its determinant from two smaller determinants. This section makes the idea systematic. We cut matrices into rectangular pieces, prove that products can be computed piece by piece, and use the pieces to read off structure: direct sums become block diagonal matrices, and a subspace that an operator maps into itself becomes a zero block in the corner.

8.1.1. Cutting a matrix into blocks

Take two 4×4 matrices over Q whose top-right 2×2 corners are zero: M=(1200010010212111),N=(1−100100001101131). The lines cut each matrix into four 2×2 pieces. Name them: M=(AOCD) and N=(EOGH), with A=(1201), C=(1021), and so on. If we pretend that the pieces are numbers and multiply as for 2×2 matrices, keeping the order of every product, we get MN=?(AE+OGAO+OHCE+DGCO+DH)=(AEOCE+DGDH). With AE=(3−110), CE+DG=(2240), and DH=(5141), this predicts MN=(3−100100022514041), and multiplying out the sixteen entries directly gives exactly this matrix. Two things happened. The zero corner of the product came for free, with no arithmetic. And the product of two 4×4 matrices became four products of 2×2 matrices, AE, CE, DG, and DH; the other four products in the block formula have a zero factor and cost nothing. To use this safely we need to say precisely what “cutting” means and prove that the pretend multiplication is always correct.

Draw horizontal lines between rows and vertical lines between columns; the pieces are the blocks.

Definition 8.1.1 (Block Partition)

Let A=(aij)∈Mm×n(F). A row partition of A is a list of positive integers m1,…,ma with m1+⋯+ma=m, and a column partition is a list of positive integers n1,…,nb with n1+⋯+nb=n. Put μr=m1+⋯+mr and νs=n1+⋯+ns, with μ0=ν0=0. For 1≤r≤a and 1≤s≤b, the (r,s) block of A is the matrix Ars∈Mmr×ns(F) with entries (Ars)ij=aμr−1+i, νs−1+j(1≤i≤mr, 1≤j≤ns). We then write A=(Ars), displayed as an a×b array of blocks, and call A a block matrix.

Let B∈Mn×p(F). Partitions of A and B are conformable if the column partition of A and the row partition of B are the same list n1,…,nb, in the same order.

In words: the row partition says where the horizontal lines go. Block row r consists of the rows with indices in Ir={μr−1+1,…,μr}, a run of mr consecutive rows, and similarly block column s consists of the columns in Js={νs−1+1,…,νs}. The block Ars is what survives when we keep only the rows in Ir and the columns in Js, renumbered from 1. Conformability says that the vertical lines through A sit at the same places as the horizontal lines through B. That is exactly what will make each product “block of A times block of B” defined.

Well-definedness. The runs I1,…,Ia are disjoint and cover {1,…,m}, and the same holds for J1,…,Jb. So every entry of A lies in exactly one block. Conversely, if we are given matrices Ars∈Mmr×ns(F), there is exactly one A∈Mm×n(F) with these blocks. Block sizes must fit: all blocks in block row r have mr rows, and all blocks in block column s have ns columns. We allow only positive parts, so no block is empty.

Examples.

  • Every entry a block. With mr=1 and ns=1 for all r,s, the block Ars is the 1×1 matrix (ars). A matrix is its own finest block matrix.
  • One block. With a=b=1, the single block is A itself. This degenerate partition matters because a statement about block matrices then says something about ordinary matrices, and the statement must not break.
  • Columns as blocks. Row partition m, column partition 1,1,…,1. The blocks are the n columns of A: A=(a1⋯an), as in Chapter 0.
  • The hook. For M and N above, both partitions are 2,2, so the column partition of M equals the row partition of N: they are conformable.

Nonexample by minimal change. Keep M with column partition 2,2, but cut N with row partition 1,3. The product MN is still defined, and both partitions are legitimate. What fails is conformability: the first block column of M has 2 columns, while the first block row of N has 1 row, so the “product” A⋅N11 of a 2×2 matrix with a 1×2 matrix is undefined.

Quick check. Let A∈M3×5(F) have row partition 1,2 and column partition 3,2, and let B∈M5×4(F) have row partition 2,3. Are the partitions conformable? What are the sizes of the blocks A21 and B2t?

Solution. No. The column partition of A is 3,2 and the row partition of B is 2,3. Both lists sum to 5, but they differ in order, and conformability asks for the same list. The block A21 is 2×3 (block row 2 has 2 rows, block column 1 has 3 columns), and every B2t has 3 rows.

8.1.2. Block multiplication

Here is the theorem that justifies the computation in the hook. The proof is nothing but the entry formula for a product, with the sum over the middle index cut into the runs J1,…,Jb.

Theorem 8.1.1 (Block Multiplication)

Let A∈Mm×n(F) and B∈Mn×p(F) be conformably partitioned: A with row partition m1,…,ma and column partition n1,…,nb, and B with row partition n1,…,nb and column partition p1,…,pc. Partition AB∈Mm×p(F) with row partition m1,…,ma and column partition p1,…,pc. Then for all 1≤r≤a and 1≤t≤c, (AB)rt=∑s=1bArsBst=Ar1B1t+Ar2B2t+⋯+ArbBbt. Each product ArsBst is defined and lies in Mmr×pt(F).

Idea. Look at one entry of AB, in row i∗ and column k∗. It is a sum over the middle index j=1,…,n. Cut that sum into the runs J1,…,Jb given by the common partition. The part over Js pairs row i∗ of A, restricted to the columns of block column s, with column k∗ of B, restricted to the rows of block row s. That is one entry of ArsBst. The only real work is translating indices between the big matrix and the blocks.

Proof. Let μr,νs,ρt be the partial sums of the three partitions, as in Definition 8.1.1, and Js={νs−1+1,…,νs}. The block Ars is mr×ns and Bst is ns×pt, so their product is defined and is mr×pt, as is the block (AB)rt.

Fix r,t, and let 1≤i≤mr and 1≤k≤pt. Put i∗=μr−1+i and k∗=ρt−1+k. By Definition 8.1.1 and Definition 0.9.9, ((AB)rt)ik=(AB)i∗k∗=∑j=1nai∗jbjk∗. The sets J1,…,Jb are disjoint with union {1,…,n}, so the finite sum may be grouped according to them. In the group for Js, substitute j=νs−1+l; as l runs through 1,…,ns, j runs through Js exactly once. Hence ((AB)rt)ik=∑s=1b∑j∈Jsai∗jbjk∗=∑s=1b∑l=1nsaμr−1+i, νs−1+l bνs−1+l, ρt−1+k=∑s=1b∑l=1ns(Ars)il(Bst)lk, where the last step is the definition of the blocks Ars and Bst. By Definition 0.9.9 the inner sum is (ArsBst)ik, and by Definition 0.9.6 the outer sum is the (i,k)-entry of ∑sArsBst. Since i and k were arbitrary, (AB)rt=∑sArsBst. This proves the theorem.

So conformably partitioned matrices multiply like matrices whose entries are matrices. The commonest case is a 2×2 block matrix: (ABCD)(A′B′C′D′)=(AA′+BC′AB′+BD′CA′+DC′CB′+DD′), whenever the partitions are conformable. Sums and scalar multiples of matrices with the same partition are also computed blockwise, straight from Definition 0.9.6 and Definition 0.9.7, since each entry lies in exactly one block.

Over a commutative ring. The proof uses only sums and products of entries and the regrouping of a finite sum. So block multiplication holds verbatim for matrices with entries in any commutative ring R in the sense of Chapter 7 §4, for instance R=F[x]. Section 3 uses this.

Warning. Keep the order inside every block product. The top-left block of the product above is AA′+BC′, not A′A+C′B: blocks are matrices, and matrices do not commute. In the hook, CE+DG=(2240), while EC+GD=(0042). For the same reason, the formula ad−bc for a 2×2 determinant does not survive with blocks: in general det(ABCD)≠det(AD−BC). Take A=I2, B=E12, C=E21, D=E11 in M2(Q). Then AD−BC=E11−E12E21=E11−E11=O, with determinant 0. But M=(1001010000101000), and subtracting row 4 from row 1, which does not change the determinant (Theorem 7.5.1), gives the permutation matrix that swaps e1 and e4, whose determinant is −1. So detM=−1≠0. Section 3 shows that the formula does hold when C and D commute; here CD=E21≠O=DC.

Transposing a block matrix transposes each block and reflects the array of blocks.

Proposition 8.1.2 (Transpose of a Block Matrix)

Let A∈Mm×n(F) have row partition m1,…,ma, column partition n1,…,nb, and blocks Ars. Give A⊤ the row partition n1,…,nb and the column partition m1,…,ma. Then (A⊤)sr=(Ars)⊤. In particular (ABCD)⊤=(A⊤C⊤B⊤D⊤).

Proof. For 1≤j≤ns and 1≤i≤mr, by Definition 8.1.1 and Definition 0.9.10, ((A⊤)sr)ji=(A⊤)νs−1+j, μr−1+i=aμr−1+i, νs−1+j=(Ars)ij=((Ars)⊤)ji.

8.1.3. Rows, columns, and outer products

The finest and coarsest partitions turn Theorem 8.1.1 into facts we already know, and one mixed choice gives something new.

Partition A∈Mm×n(F) trivially (one block) and B∈Mn×p(F) into columns (row partition n, column partition 1,…,1). These are conformable, and the theorem says that the k-th block of AB, its k-th column, is Abk. That is the column view of Theorem 0.9.2. Partitioning A into rows and B trivially gives the row view in the same way.

Now cut A into columns and B into rows. Both middle partitions are 1,1,…,1 (with n ones), so they are conformable, and the product has a single block.

Corollary 8.1.3 (Outer Product Expansion)

Let A∈Mm×n(F) have columns a1,…,an∈Fm, and let B∈Mn×p(F) have rows r1,…,rn∈M1×p(F). Then AB=a1r1+a2r2+⋯+anrn=∑k=1nakrk, where each akrk∈Mm×p(F) is column k of A times row k of B.

Proof. Give A the row partition m and the column partition 1,…,1, so that its blocks are A1k=ak; give B the row partition 1,…,1 and the column partition p, so that Bk1=rk. The partitions are conformable, and by Theorem 8.1.1 the single block of AB is ∑kA1kBk1=∑kakrk.

Each term akrk is a column times a row, an outer product, and it has rank at most 1: its columns are the multiples rkjak of the single vector ak. So the corollary writes every product of an m×n and an n×p matrix as a sum of n matrices of rank at most one, in the spirit of Exercise (B3: Rank-one pieces), which writes a matrix of rank r as a sum of r rank-one matrices. For example, (123401)(102−111)=(130)(102)+(241)(−111)=(102306000)+(−222−444−111)=(−124−1410−111), which is the product computed entry by entry.

8.1.4. Block diagonal matrices

Diagonal matrices are the easiest matrices to compute with: they multiply, power, and invert entry by entry along the diagonal. Replace the diagonal entries by square blocks and all of this survives, one block at a time.

A block diagonal matrix is several square matrices placed corner to corner along the diagonal, with zeros everywhere else.

Definition 8.1.2 (Block Diagonal Matrix)

Let k1,…,kr be positive integers and Ai∈Mki(F) square for each i. Their direct sum A1⊕⋯⊕Ar is the matrix in Mk1+⋯+kr(F) which, with row partition and column partition both equal to k1,…,kr, has (i,i) block Ai and (i,j) block O for i≠j. A square matrix is block diagonal with respect to the partition k1,…,kr if it has this form. For two blocks, A⊕B=(AOOB).

In words: the same partition is used for rows and columns, so the diagonal blocks are square; the blocks on the diagonal may be anything; every block off the diagonal is zero. Whether a matrix is block diagonal depends on the partition, which is part of the statement.

Examples.

  • Diagonal matrices. diag(d1,…,dn)=(d1)⊕⋯⊕(dn), with all ki=1.
  • The identity. Ik⊕Il=Ik+l, and more generally Ik⊕Ol is the matrix of a projection (Corollary 4.5.2).
  • A genuine block. (1101)⊕(2)=(110010002), with partition 2,1.
  • One block. With r=1, A1 itself. Every square matrix is block diagonal with respect to the trivial partition, which is why the partition must always be named.

Nonexample by minimal change. Change the (1,3)-entry of the third example from 0 to 1. The partition 2,1 still has square diagonal blocks (1101) and (2), and the (2,1) block (00) is still zero. What fails is the clause that the (1,2) block is zero: it is now (10). The matrix is block upper triangular, which is treated below, but not block diagonal for this partition.

Why the symbol ⊕. The matrix A⊕B acts on Fk+l=span(e1,…,ek)⊕span(ek+1,…,ek+l) by sending each of the two summands into itself, acting as A on the first and as B on the second. The theorem on adapted bases below makes this precise for any operator and any direct sum, and it is the reason the same symbol is used.

Warning. A⊕B is a matrix, not a subspace, and the order matters. For subspaces, U⊕W and W⊕U are the same set. For matrices, (1)⊕(2)=diag(1,2) and (2)⊕(1)=diag(2,1) are different matrices. They are similar (swap the two basis vectors), but they are not equal.

Theorem 8.1.4 (Arithmetic of Block Diagonal Matrices)

Let A,A′∈Mk(F), B,B′∈Ml(F), and c∈F. Then:

  • (a) (A⊕B)+(A′⊕B′)=(A+A′)⊕(B+B′), c(A⊕B)=cA⊕cB, and (A⊕B)(A′⊕B′)=AA′⊕BB′;
  • (b) (A⊕B)j=Aj⊕Bj for every j∈N, and p(A⊕B)=p(A)⊕p(B) for every p∈F[x];
  • (c) A⊕B is invertible if and only if A and B are both invertible, and then (A⊕B)−1=A−1⊕B−1;
  • (d) det(A⊕B)=detAdetB and tr(A⊕B)=trA+trB.

Proof.

  • (a) Sums and scalar multiples are computed blockwise, and by Theorem 8.1.1 the product has blocks AA′+O⋅O=AA′, AO+OB′=O, OA′+BO=O, and O⋅O+BB′=BB′.

  • (b) By induction on j. For j=0, (A⊕B)0=Ik+l=Ik⊕Il by Definition 0.9.14. If (A⊕B)j=Aj⊕Bj, then (A⊕B)j+1=(Aj⊕Bj)(A⊕B)=Aj+1⊕Bj+1 by (a). For p=∑jcjxj, (a) gives p(A⊕B)=∑jcj(Aj⊕Bj)=(∑jcjAj)⊕(∑jcjBj)=p(A)⊕p(B).

  • (c) The matrix A⊕B is block upper triangular with square diagonal blocks, so det(A⊕B)=detAdetB by Theorem 7.8.4. Its diagonal entries are those of A followed by those of B, so the traces add (Definition 0.9.12).

  • (d) (⇐) By (a), (A⊕B)(A−1⊕B−1)=Ik⊕Il=Ik+l, so by Theorem 3.4.5 A⊕B is invertible with inverse A−1⊕B−1. (⇒) If A⊕B is invertible, then detAdetB≠0 by (d) and Theorem 7.5.2. A product in a field is nonzero only if both factors are (Theorem 0.7.1 (d)), so detA≠0≠detB, and both are invertible by Theorem 7.5.2.

By induction on the number of blocks, the same rules hold for A1⊕⋯⊕Ar: everything is done block by block. For instance ((1101)⊕(2))5=(1501)⊕(32), since (1101)j=(1j01) by induction.

8.1.5. Block triangular matrices

Allow one more nonzero block: M=(ABOD) with A∈Mk(F), D∈Ml(F) square, and B∈Mk×l(F). Such a matrix is block upper triangular; with the zero block above the diagonal instead, block lower triangular. Chapter 7 computed detM=detAdetD (Theorem 7.8.4). Products and inverses keep the shape.

Theorem 8.1.5 (Block Triangular Products and Inverses)

Let k,l≥1, and let M=(ABOD) and M′=(A′B′OD′), with A,A′∈Mk(F), D,D′∈Ml(F), and B,B′∈Mk×l(F).

  • (a) MM′=(AA′AB′+BD′ODD′); in particular it is block upper triangular.
  • (b) M is invertible if and only if A and D are both invertible.
  • (c) In that case M−1=(A−1−A−1BD−1OD−1).

Idea. Where does the formula come from? Solve M(xy)=(fg) by back substitution with blocks. The second block row says Dy=g, so y=D−1g. The first says Ax+By=f, so x=A−1f−A−1BD−1g. Reading off the coefficients of f and g gives the four blocks of M−1. The proof only has to check the answer.

Proof.

  • (a) By Theorem 8.1.1, the blocks of MM′ are AA′+BO=AA′, AB′+BD′, OA′+DO=O, and OB′+DD′=DD′.

  • (b) By Theorem 7.8.4, detM=detAdetD. By Theorem 7.5.2, M is invertible if and only if detAdetD≠0, which in a field happens exactly when detA≠0 and detD≠0 (Theorem 0.7.1 (f) and (d)), that is, when A and D are both invertible.

  • (c) Let X be the displayed matrix. By (a) with A′=A−1, B′=−A−1BD−1, and D′=D−1, MX=(AA−1−AA−1BD−1+BD−1ODD−1)=(IkOOIl)=Ik+l. By Theorem 3.4.5, X=M−1.

Transposing with Proposition 8.1.2 turns this into the lower triangular version: if A and D are invertible, then (AOCD)−1=(A−1O−D−1CA−1D−1). A special case is used constantly: (IkXOIl)−1=(Ik−XOIl) for every X∈Mk×l(F). Adding X times the second block of coordinates to the first is undone by subtracting it.

Quick check. The matrix M=(100001010), with row partition 2,1 and column partition 1,2, has a zero lower-left block and is invertible. Does this contradict Theorem 8.1.5?

Solution. No. The theorem needs the diagonal blocks square, which means equal row and column partitions. Here the top-left block (10) is 2×1 and the bottom-right block (10) is 1×2, so “A is invertible” does not even make sense. (The lower-left block is the 1×1 entry in position (3,1), which is 0.)

8.1.6. Matrices of operators in adapted bases

Now the shapes pay off. For an operator T∈L(V) and a subspace U⊆V, we say that T maps U into U if Tu∈U for every u∈U. Then the restriction T|U:U→U, u↦Tu, is an operator on U, linear because its values are those of T. Such subspaces are the subject of Chapter 9; here we only ask what they do to the matrix of T.

When V=U⊕W and a basis of U is followed by a basis of W, the combined list is a basis of V (Theorem 1.7.5), which we call adapted to the decomposition. If T maps both pieces into themselves, the matrix splits.

Theorem 8.1.6 (Direct Sums Give Block Diagonal Matrices)

Let V=U⊕W be finite-dimensional with U≠{0}≠W, let BU=(u1,…,uk) and BW=(w1,…,wl) be bases of U and W, and let B=(u1,…,uk,w1,…,wl). For T∈L(V), the following are equivalent:

  • (a) T maps U into U and W into W;
  • (b) [T]BB is block diagonal with respect to the partition k,l.

In that case [T]BB=[T|U]BUBU⊕[T|W]BWBW.

Proof. By Theorem 1.7.5, B is a basis of V. By Definition 4.1.1, column j≤k of [T]BB holds the coordinates of Tuj, and column k+q those of Twq.

  • (a) ⇒ (b). Since Tuj∈U=span(BU), write Tuj=∑iaijui. By uniqueness of coordinates (Theorem 1.5.1), the last l entries of column j are 0 and the first k are a1j,…,akj, which is column j of [T|U]BUBU. In the same way Twq=∑pdpqwp, so column k+q is 0 in its first k entries and equals column q of [T|W]BWBW in its last l. This shows [T]BB=[T|U]BUBU⊕[T|W]BWBW.

  • (b) ⇒ (a). If the (2,1) block is zero, then the coordinates of each Tuj vanish in the last l places, so Tuj∈span(BU)=U. For u=∑jcjuj∈U, linearity gives Tu=∑jcjTuj∈U, since U is a subspace. The (1,2) block being zero gives Twq∈W in the same way, and hence T maps W into W.

For example, let T=d2dx2 on R[x]≤3=U⊕W with U=span(1,x2) (even polynomials) and W=span(x,x3) (odd polynomials). Since T(1)=0, T(x2)=2, T(x)=0, and T(x3)=6x, T maps each piece into itself, and in the basis B=(1,x2,x,x3) [T]BB=(0200)⊕(0600). In the standard order (1,x,x2,x3) the same operator has the matrix with 2 in position (1,3) and 6 in position (2,4), which is not block diagonal for the partition 2,2. Ordering the basis to match the decomposition is part of the method.

If T maps only one subspace U into itself, we can still take a basis of U first, but the remaining basis vectors need not be sent anywhere special. What survives is a zero block in the lower left, and the lower-right block turns out to describe the operator that T induces on the quotient V/U. This was Exercise (C2: The operator induced on a quotient) in Chapter 2; we now record it as a theorem, with its converse.

Theorem 8.1.7 (Subspaces Mapped into Themselves Give Block Triangular Matrices)

Let V be finite-dimensional, T∈L(V), and U a subspace with {0}≠U≠V. Let BU=(u1,…,uk) be a basis of U, extended to a basis B=(u1,…,uk,w1,…,wl) of V.

  • (a) T maps U into U if and only if the lower-left l×k block of [T]BB is zero.
  • (b) In that case the rule T¯(v+U)=Tv+U defines an operator T¯ on V/U, and [T]BB=([T|U]BUBUBO[T¯]B¯B¯) for some B∈Mk×l(F), where B¯=(w1+U,…,wl+U) is a basis of V/U.

Idea. Read the matrix one column at a time. The first k columns describe Tuj, which lie in U exactly when their w-coordinates vanish. The last l columns describe Twq, which may have any u-part; passing to V/U erases that part and leaves precisely the w-coordinates, which are the lower-right block.

Proof.

  • (a) Column j≤k of [T]BB is the coordinate vector of Tuj (Definition 4.1.1), and by Theorem 1.5.1 its last l entries vanish if and only if Tuj∈span(u1,…,uk)=U. If T maps U into U, this holds for every j. Conversely, if it holds for every j, then for u=∑jcjuj∈U we get Tu=∑jcjTuj∈U, because U is a subspace.

  • (b) Let π:V→V/U be the quotient map, linear with kernel U (Theorem 4.4.4). The composite πT is linear (Theorem 2.4.2), and for u∈U, π(Tu)=0 because Tu∈U. So U⊆ker(πT), and by Theorem 4.4.10 (a) there is exactly one linear T¯:V/U→V/U with T¯(v+U)=Tv+U. By Theorem 4.4.5, B¯ is a basis of V/U.

By (a), the lower-left block is zero, and as in the proof of Theorem 8.1.6, the upper-left block is [T|U]BUBU. For 1≤q≤l, write Twq=∑i=1kbiqui+∑p=1ldpqwp, so that column k+q of [T]BB is (b1q,…,bkq,d1q,…,dlq). Applying the linear map π, and using π(ui)=0, T¯(wq+U)=π(Twq)=∑p=1ldpq(wp+U). By Definition 4.1.1, column q of [T¯]B¯B¯ is (d1q,…,dlq), which is the lower-right part of column k+q of [T]BB. This proves (b), with B=(biq).

The upper-left block depends only on the basis BU, and the lower-right block only on the cosets w1+U,…,wl+U. So replacing each wq by wq+uq′ with uq′∈U can change the top-right block B, but leaves both diagonal blocks unchanged. The theorem splits T into two smaller operators, and every quantity that sees only diagonal blocks splits with it. By Theorem 7.8.4, detT=det(T|U)detT¯. Applied over F[x] (Chapter 7 §8 notes that the block triangular determinant holds over any commutative ring), xI−[T]BB=(xIk−[T|U]BUBU−BOxIl−[T¯]B¯B¯) gives pT=pT|UpT¯. Chapter 9 builds on exactly this factorization.

Example (A Plane Mapped into Itself)

Let T:R3→R3, T(x,y,z)=(y,z,x), and U={(x,y,z):x+y+z=0}. Show that T maps U into U, find [T]BB for the basis B=(u1,u2,e3) with u1=(1,−1,0), u2=(0,1,−1), and interpret the lower-right block.

Solution. If x+y+z=0, then the entries of T(x,y,z)=(y,z,x) also sum to 0, so T maps U into U. The vectors u1,u2 lie in U and are independent (look at the first entries, then the last), and dim⁡U=2 since U is the kernel of the nonzero functional (x,y,z)↦x+y+z (Theorem 2.3.1). So (u1,u2) is a basis of U (Theorem 1.6.4), and B is a basis of R3: in a relation au1+bu2+ce3=0, the entries sum to c=0, and then a=b=0, so B is an independent list of 3 vectors (Theorem 1.6.4). Now Tu1=(−1,0,1)=−u1−u2,Tu2=(1,−1,0)=u1,Te3=(0,1,0)=u2+e3, so [T]BB=(−110−101001). The lower-left block is zero, as Theorem 8.1.7 predicts. The lower-right block (1) says T¯(e3+U)=e3+U, so T¯ is the identity on the line R3/U. Indeed Tv−v=(y−x,z−y,x−z) has entries summing to 0, so Tv+U=v+U for every v: T moves vectors, but never changes the sum of their coordinates, and that sum is all that R3/U remembers.

8.1.7. Exercises

A. Check your understanding

Exercise (A1)
  • (a) Define what it means for partitions of A∈Mm×n(F) and B∈Mn×p(F) to be conformable.
  • (b) State the block multiplication formula for (ABCD)(A′B′C′D′).
  • (c) True or false: the top-left block of that product is A′A+C′B. Justify your answer.
  • (d) True or false: if A∈Mk(F) and B∈Ml(F), then A⊕B=B⊕A. Justify your answer.
  • (e) True or false: if M=(ABOD) with A, D square is invertible, then M−1 is block upper triangular. Justify your answer.
  • (f) In a basis whose first k vectors form a basis of U, what does a zero lower-left block of [T]BB say about T?

Solution.

  • (a) The column partition of A and the row partition of B are the same list n1,…,nb, in the same order (Definition 8.1.1).

  • (b) It is (AA′+BC′AB′+BD′CA′+DC′CB′+DD′), provided the partitions are conformable (Theorem 8.1.1).

  • (c) False in general. The block is AA′+BC′, with each block of the left factor on the left. For 4×4 matrices with partition 2,2, take A=E12, A′=E21 in M2(F), and all other blocks zero. Then the top-left block of the product is AA′=E11, while A′A+C′B=E22.

  • (d) False. For k=l=1, (1)⊕(2)=diag(1,2)≠diag(2,1)=(2)⊕(1).

  • (e) True. By Theorem 8.1.5 (b), A and D are invertible, and (c) gives M−1 with lower-left block O.

  • (f) That T maps U into U (Theorem 8.1.7 (a)).

B. Practice

Exercise (B1: Multiplying block matrices)

Let M=(12101−1203),N=(1001121−11)∈M3(Q), both with row and column partition 2,1.

  • (a) Compute MN blockwise, and check one block against the entry formula.
  • (b) Explain why the partitions would not be conformable if N were given the row partition 1,2 instead.

Solution.

  • (a) Write M=(Abcd) and N=(Efgh) with A=(1201), b=(1−1), c=(20), d=(3), E=(1011), f=(02), g=(1−1), h=(1). The partitions are conformable (both middle partitions are 2,1), so by Theorem 8.1.1 AE+bg=(3211)+(1−1−11)=(4102),Af+bh=(42)+(1−1)=(51), cE+dg=(20)+(3−3)=(5−3),cf+dh=O1+(3)=(3). Hence MN=(4150215−33). Check the (3,3)-entry directly: row 3 of M is (2,0,3) and column 3 of N is (0,2,1), giving 0+0+3=3.

  • (b) The column partition of M is 2,1, and the row partition 1,2 is a different list. Concretely, the top-left block A of M is 2×2, while the top-left block of N would be 1×2, and a 2×2 matrix cannot multiply a 1×2 matrix.

Exercise (B2: Inverting a block triangular matrix)

Use Theorem 8.1.5 to find the inverse of M=(2110112100120001)∈M4(Q), and check one block of MM−1.

Solution. With the partition 2,2, M=(ABOD) with A=(2111), B=(1021), D=(1201). Both detA=1 and detD=1 are nonzero, so by Theorem 0.9.8 A−1=(1−1−12),D−1=(1−201). Then A−1B=(−1−132) and −A−1BD−1=−(−113−4)=(1−1−34). By Theorem 8.1.5 (c), M−1=(1−11−1−12−34001−20001). Check the top-right block of MM−1: A(−A−1BD−1)+BD−1=(2111)(1−1−34)+(1021)(1−201)=(−12−23)+(1−22−3)=O, as it must be.

Exercise (B3: A projection in an adapted basis)

Let P=(01−1010001)∈M3(R), U=span((1,1,0),(0,1,1)), and W=span(e1).

  • (a) Show that P2=P, that Pu=u for u∈U and Pe1=0, and that R3=U⊕W.
  • (b) Let B=((1,1,0),(0,1,1),e1). Use Theorem 8.1.6 to write down [TP]BB without computing, and confirm it as S−1PS, where S has the vectors of B as columns.
  • (c) Hence find P100 and trP.

Solution.

  • (a) Multiplying, P2 has rows (0,1,−1), (0,1,0), (0,0,1), so P2=P. Also P(1,1,0)=(1,1,0), P(0,1,1)=(0,1,1), and Pe1=0 (the first column is zero), so P fixes every vector of U by linearity. The three vectors of B are the columns of S=(101110010), and expanding along the last column, detS=1⋅(1−0)=1≠0. So S is invertible (Theorem 7.5.2), its columns form a basis of R3 (Theorem 3.4.4), and R3=U⊕W by Theorem 1.7.5.

  • (b) TP maps U into U (as the identity) and W into W (as zero). By Theorem 8.1.6, [TP]BB=I2⊕O1=diag(1,1,0). By Theorem 4.2.3, [TP]BB=S−1PS. Here S−1=(01−10011−11) (check SS−1=I3), and PS has columns P(1,1,0)=(1,1,0), P(0,1,1)=(0,1,1), Pe1=0, so S−1PS=S−1(100110010)=diag(1,1,0).

  • (c) P=Sdiag(1,1,0)S−1, so P100=Sdiag(1,1,0)100S−1=Sdiag(1,1,0)S−1=P by Theorem 8.1.4 (b) (or directly from P2=P). By Theorem 4.2.5, trP=trdiag(1,1,0)=2, which matches 0+1+1.

C. Going deeper

Exercise (C1: Square-zero matrices of half rank)

Let n≥1.

  • (a) For X∈Mn(F), let NX=(OXOO)∈M2n(F). Show that NX2=O and that rankNX=rankX.
  • (b) Let V have dimension 2n, and let T∈L(V) satisfy T2=0 and rankT=n. Show that imT=kerT. Choose w1,…,wn with (Tw1,…,Twn) a basis of imT, and put ui=Twi. Prove that B=(u1,…,un,w1,…,wn) is a basis of V and that [T]BB=NIn.
  • (c) Deduce that for every invertible X∈Mn(F), the matrix NX is similar to NIn.

Hint: for the independence in (b), apply T.

Solution.

  • (a) By Theorem 8.1.1, NX2=(O⋅O+X⋅OO⋅X+X⋅OOO)=O. The first n columns of NX are zero, and column n+j is (xj0), where xj is column j of X. A combination ∑jcj(xj0) is zero exactly when ∑jcjxj=0, so a list of these columns is independent exactly when the corresponding columns of X are. Hence dim⁡col(NX)=dim⁡col(X), that is, rankNX=rankX.

  • (b) If v=Tx∈imT, then Tv=T2x=0, so imT⊆kerT. By Theorem 2.3.1, dim⁡kerT=2n−n=n=dim⁡imT, so imT=kerT by Theorem 1.6.8. The vectors wi exist because (Tw1,…,Twn) can be any basis of imT, each of whose vectors is T of something.

    Let ∑iaiui+∑ibiwi=0. Applying T, and using Tui=T2wi=0, gives ∑ibiui=0. The ui form a basis of imT, so all bi=0, and then ∑iaiui=0 gives all ai=0. So B is a linearly independent list of 2n=dim⁡V vectors, hence a basis (Theorem 1.6.4). Since Tui=0 and Twi=ui, column i≤n of [T]BB is zero and column n+i is ei. So [T]BB=(OInOO)=NIn.

  • (c) If X is invertible, then by (a) the operator T=TNX on F2n satisfies T2=0 and rankT=rankNX=rankX=n (Theorem 4.1.5, and Theorem 3.4.4 for rankX=n). By (b) there is a basis B with [T]BB=NIn. The matrix of T in the standard basis is NX, so NX and NIn are similar by Theorem 4.2.4.
Exercise (C2: Powers of block triangular matrices)

Let A∈Mk(F), D∈Ml(F), and B∈Mk×l(F), and let M=(ABOD).

  • (a) Prove that for every j≥1, Mj=(AjSjODj),Sj=∑i=0j−1AiBDj−1−i.
  • (b) Deduce that if D=O, then Mj=(AjAj−1BOO) for j≥1, and that if moreover Ar=O, then Mr+1=O.
  • (c) For A=(0100), B=(11), and D=O1, find the least j with Mj=O.

Solution.

  • (a) By induction on j. For j=1, S1=A0BD0=B. Suppose the formula holds for j. By Theorem 8.1.5 (a), Mj+1=MjM=(AjAAjB+SjDODjD), and AjB+SjD=AjBD0+∑i=0j−1AiBDj−i=∑i=0jAiBDj−i=Sj+1. This completes the induction.

  • (b) If D=O, every term of Sj with j−1−i≥1 contains a factor D=O, and only i=j−1 survives, with D0=Il. So Sj=Aj−1B and Dj=O. If also Ar=O, then Mr+1 has blocks Ar+1=O and ArB=O, so Mr+1=O.

  • (c) Here A2=O, so M3=O by (b). But M2=(A2ABOO) with AB=(10)≠O, so M2≠O; and M≠O. The least such j is 3. Explicitly, M=(011001000) and M2=E13.

Found a typo or a mistake? Report it, or read this page’s source

The text of this book is licensed under CC BY-NC-SA 4.0.