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.
Cutting a
matrix into blocks
Take two matrices over whose top-right corners are
zero: The lines cut each matrix into four pieces. Name
them: and
, with
, , and so on. If we
pretend that the pieces are numbers and multiply as for
matrices, keeping the order of every product, we get
With , , and , this predicts 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 matrices
became four products of matrices, , , , and ; 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 row
partition of is a list of
positive integers with
, and a column partition is a
list of positive integers with
. Put and , with . For and , the block of
is the matrix
with entries We then write , displayed as an array of
blocks, and call
a block matrix.
Let . Partitions of and are
conformable if the column partition of
and the row
partition of are
the same list , in the
same order.
In words: the row partition says where the horizontal
lines go. Block row consists of the rows
with indices in , a run of consecutive rows, and
similarly block column consists of the columns
in . The block is what survives
when we keep only the rows in and the columns in
, renumbered
from .
Conformability says that the vertical lines through
sit at the same
places as the horizontal lines through . That is exactly what
will make each product “block of times block of ” defined.
Well-definedness. The runs are
disjoint and cover , and the same holds for . So every
entry of lies in
exactly one block. Conversely, if we are given matrices
, there is exactly one
with these blocks. Block sizes must fit: all blocks in
block row have
rows, and all
blocks in block column have columns. We allow
only positive parts, so no block is empty.
Examples.
- Every entry a block. With and for all , the block is the matrix . A matrix is its
own finest block matrix.
- One block. With , the single
block is 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
, column partition
. The
blocks are the
columns of :
, as in Chapter 0.
- The hook. For and above, both partitions
are , so the
column partition of equals the row
partition of :
they are conformable.
Nonexample by minimal change. Keep
with column
partition , but
cut with row
partition . The
product is
still defined, and both partitions are legitimate. What
fails is conformability: the first block column of has columns, while the
first block row of has row, so the “product”
of
a matrix
with a
matrix is undefined.
Quick check. Let
have row partition and column partition , and let
have row partition . Are the partitions conformable? What are the
sizes of the blocks and ?
Solution. No. The column partition
of is and the row
partition of is
. Both lists
sum to , but they
differ in order, and conformability asks for the same
list. The block is (block row
has rows, block column
has columns), and every
has rows.
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 .
Theorem
8.1.1 (Block Multiplication)
Let and be conformably partitioned:
with row
partition and column partition , and
with row
partition and column partition .
Partition with row partition and
column partition . Then for all and , Each product is defined
and lies in .
Idea. Look at one entry of , in row and column . It is a sum over the
middle index . Cut that sum into the runs given by
the common partition. The part over pairs row of , restricted to the
columns of block column , with column of , restricted to the
rows of block row . That is one entry of
. The
only real work is translating indices between the big
matrix and the blocks.
Proof. Let be
the partial sums of the three partitions, as in Definition 8.1.1,
and . The block is and is , so their
product is defined and is , as is the
block .
Fix , and
let
and . Put and . By
Definition 8.1.1
and Definition 0.9.9,
The sets are disjoint with union , so the
finite sum may be grouped according to them. In the
group for ,
substitute ; as
runs through ,
runs through
exactly once. Hence where the last step is the definition of the
blocks and
. By Definition 0.9.9 the
inner sum is ,
and by Definition 0.9.6 the
outer sum is the -entry of . Since and were arbitrary, . This proves the theorem.
So conformably partitioned matrices multiply like
matrices whose entries are matrices. The commonest case
is a
block matrix: 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
in the sense of Chapter 7 §4, for instance . Section 3 uses
this.
Warning. Keep the order
inside every block product. The top-left block
of the product above is , not :
blocks are matrices, and matrices do not commute. In the
hook, , while . For the
same reason, the formula for a determinant does not survive
with blocks: in general . Take , , , in . Then , with
determinant . But
and subtracting row from row , which does not change
the determinant (Theorem 7.5.1), gives
the permutation matrix that swaps and , whose
determinant is .
So . Section 3 shows that the formula does hold
when and commute; here .
Transposing a block matrix transposes each block and
reflects the array of blocks.
Proposition
8.1.2 (Transpose of a Block Matrix)
Let have row partition , column
partition , and blocks . Give the row partition
and
the column partition . Then . In particular .
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 trivially (one block) and
into columns (row partition , column partition ). These are
conformable, and the theorem says that the -th block of , its -th column, is . That is the
column view of Theorem 0.9.2.
Partitioning
into rows and
trivially gives the row view in the same way.
Now cut into
columns and into
rows. Both middle partitions are (with
ones), so they
are conformable, and the product has a single block.
Corollary
8.1.3 (Outer Product Expansion)
Let have columns , and let have rows . Then where each is column of times row of .
Proof. Give the row partition
and the column
partition , so that its blocks are ;
give the row
partition and the column partition , so that . The
partitions are conformable, and by Theorem 8.1.1 the
single block of is .
Each term is a
column times a row, an outer product,
and it has rank at most : its columns are the
multiples of the
single vector . So the
corollary writes every product of an and an matrix as a
sum of matrices
of rank at most one, in the spirit of Exercise (B3: Rank-one pieces),
which writes a matrix of rank as a sum of rank-one matrices. For
example, which is the product computed entry by
entry.
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 be positive integers and
square for each . Their direct
sum is the matrix in
which, with row partition and column partition both
equal to , has block and block for . A square matrix
is block diagonal with respect to the
partition if it has this form. For two blocks,
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. , with all .
- The identity. , and more generally is the
matrix of a projection (Corollary 4.5.2).
- A genuine block. , with partition .
- One block. With , 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 -entry of
the third example from to . The partition still has square
diagonal blocks and , and the block is still zero. What fails is the
clause that the block is zero: it is now . The matrix is block upper
triangular, which is treated below, but not block
diagonal for this partition.
Why the symbol . The
matrix
acts on by
sending each of the two summands into itself, acting as
on the first and
as 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. is a matrix,
not a subspace, and the order matters. For
subspaces, and are the same set. For matrices, and 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 , , and . Then:
- (a) , , and ;
- (b) for every , and for every ;
- (c) is
invertible if and only if and are both invertible,
and then ;
- (d) and .
Proof.
(a) Sums and
scalar multiples are computed blockwise, and by Theorem 8.1.1 the
product has blocks , ,
, and .
(b) By induction
on . For , by Definition 0.9.14. If
, then by (a). For , (a)
gives .
(c) The matrix
is
block upper triangular with square diagonal blocks, so
by Theorem 7.8.4. Its
diagonal entries are those of followed by those of
, so the traces
add (Definition 0.9.12).
(d) By (a),
,
so by Theorem 3.4.5 is
invertible with inverse .
If
is
invertible, then 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
, and both are invertible by Theorem 7.5.2.
By induction on the number of blocks, the same rules
hold for : everything is done block by block.
For instance , since by induction.
Block
triangular matrices
Allow one more nonzero block: with , square, and
. Such a matrix is block upper
triangular; with the zero block above the
diagonal instead, block lower
triangular. Chapter 7 computed
(Theorem 7.8.4).
Products and inverses keep the shape.
Theorem
8.1.5 (Block Triangular Products and
Inverses)
Let ,
and let and
, with ,
, and .
- (a) ; in particular it is
block upper triangular.
- (b) is invertible if and
only if and
are both
invertible.
- (c) In that case
Idea. Where does the formula come
from? Solve by back substitution
with blocks. The second block row says , so
. The first says , so . Reading off the
coefficients of and gives the four
blocks of .
The proof only has to check the answer.
Proof.
(a) By Theorem 8.1.1, the
blocks of are , ,
, and .
(b) By Theorem 7.8.4, .
By Theorem 7.5.2, is invertible if and
only if , which in a field happens exactly when and (Theorem 0.7.1 (f) and
(d)), that is, when and are both
invertible.
(c) Let be the displayed
matrix. By (a) with , , and , By Theorem 3.4.5,
.
Transposing with Proposition 8.1.2
turns this into the lower triangular version: if and are invertible, then
. A special case is used
constantly: for every .
Adding times the
second block of coordinates to the first is undone by
subtracting it.
Quick check. The matrix , with row partition and column partition
, 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 is and the bottom-right block is , so “ is invertible” does
not even make sense. (The lower-left block is the entry in
position ,
which is .)
Matrices of
operators in adapted bases
Now the shapes pay off. For an operator and a
subspace , we say that maps into if for every
.
Then the restriction ,
, is an operator on , linear because its
values are those of . Such subspaces are the
subject of Chapter 9; here we only ask what they do to
the matrix of .
When and a basis of is followed by a basis
of , the combined
list is a basis of (Theorem 1.7.5),
which we call adapted to the
decomposition. If
maps both pieces into themselves, the matrix splits.
Theorem
8.1.6 (Direct Sums Give Block Diagonal
Matrices)
Let be finite-dimensional with ,
let and be bases of and , and let . For
, the
following are equivalent:
- (a) maps into and into ;
- (b) is
block diagonal with respect to the partition .
In that case .
Proof. By Theorem 1.7.5, is a basis of . By Definition 4.1.1,
column of
holds the coordinates of , and column
those of
.
(a) (b). Since
, write . By uniqueness of coordinates
(Theorem 1.5.1), the
last entries of
column are and the first are ,
which is column
of .
In the same way , so column is in its first entries and equals
column of
in its last . This
shows .
(b) (a). If the
block is
zero, then the coordinates of each vanish in the
last places, so
. For , linearity gives
, since is a subspace. The
block being
zero gives in the same way, and hence maps into .
For example, let on with (even polynomials) and (odd
polynomials). Since , , , and , maps
each piece into itself, and in the basis
In the standard order the same
operator has the matrix with in position and in position , which is not
block diagonal for the partition . Ordering
the basis to match the decomposition is part of the
method.
If maps only
one subspace into
itself, we can still take a basis of 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
induces on the quotient . 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 be
finite-dimensional, , and a subspace with .
Let be a basis of , extended to a basis
of
.
- (a) maps into if and only if the
lower-left block of is
zero.
- (b) In that case the
rule defines an operator on , and for some , where is a basis of .
Idea. Read the matrix one column at
a time. The first
columns describe , which lie in
exactly when
their -coordinates
vanish. The last
columns describe , which may
have any -part; passing to
erases that
part and leaves precisely the -coordinates,
which are the lower-right block.
Proof.
(a) Column of is the
coordinate vector of (Definition 4.1.1),
and by Theorem 1.5.1 its
last entries
vanish if and only if . If maps into , this holds for every
. Conversely, if
it holds for every , then for we get , because is a subspace.
(b) Let be
the quotient map, linear with kernel (Theorem 4.4.4).
The composite
is linear (Theorem 2.4.2), and
for ,
because . So ,
and by Theorem 4.4.10
(a) there is exactly one linear
with . By Theorem 4.4.5,
is a basis
of .
By (a), the lower-left block is zero, and as in the
proof of Theorem 8.1.6, the
upper-left block is .
For ,
write , so that column of is
. Applying the linear map
, and using
, By Definition 4.1.1,
column of is ,
which is the lower-right part of column of . This
proves (b), with .
The upper-left block depends only on the basis , and the
lower-right block only on the cosets . So replacing each by with can
change the top-right block , but leaves both
diagonal blocks unchanged. The theorem splits into two smaller
operators, and every quantity that sees only diagonal
blocks splits with it. By Theorem 7.8.4, . Applied over (Chapter 7 §8 notes
that the block triangular determinant holds over any
commutative ring),
gives . Chapter 9 builds on
exactly this factorization.
Example
(A Plane Mapped into Itself)
Let , , and . Show that
maps into , find for the
basis with ,
, and interpret the lower-right block.
Solution. If , then the
entries of also sum to , so maps into . The vectors
lie in and are
independent (look at the first entries, then the last),
and
since is the
kernel of the nonzero functional (Theorem 2.3.1). So
is a basis of (Theorem 1.6.4), and
is a basis of
: in a
relation , the
entries sum to , and then , so
is an independent list of vectors (Theorem 1.6.4). Now
so The lower-left block is zero, as Theorem 8.1.7
predicts. The lower-right block says , so is the identity on
the line .
Indeed has entries summing to
, so for every : moves vectors, but
never changes the sum of their coordinates, and that sum
is all that
remembers.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Define what it
means for partitions of and
to be conformable.
- (b) State the block
multiplication formula for .
- (c) True or false:
the top-left block of that product is .
Justify your answer.
- (d) True or false:
if
and ,
then . Justify your answer.
- (e) True or false:
if with
, square is invertible,
then is
block upper triangular. Justify your answer.
- (f) In a basis whose
first vectors
form a basis of ,
what does a zero lower-left block of say
about ?
Solution.
(a) The column
partition of and
the row partition of are the same list
, in
the same order (Definition 8.1.1).
(b) It is , provided the partitions are
conformable (Theorem 8.1.1).
(c) False in
general. The block is , with each block of the
left factor on the left. For matrices with
partition ,
take ,
in , and all
other blocks zero. Then the top-left block of the
product is , while .
(d) False. For
, .
(e) True. By Theorem 8.1.5 (b),
and are invertible, and
(c) gives
with lower-left block .
(f) That maps into (Theorem 8.1.7
(a)).
B. Practice
Exercise
(B1: Multiplying block matrices)
Let both with row and column partition .
- (a) Compute blockwise, and
check one block against the entry formula.
- (b) Explain why the
partitions would not be conformable if
were given the
row partition
instead.
Solution.
(a) Write and
with , , , , , , , . The partitions are conformable (both
middle partitions are ), so by Theorem 8.1.1 Hence Check the -entry directly: row of is and column
of is , giving .
(b) The column
partition of is
, and the row
partition is a
different list. Concretely, the top-left block of is , while the
top-left block of would be , and a matrix cannot
multiply a matrix.
Exercise
(B2: Inverting a block triangular matrix)
Use Theorem 8.1.5 to
find the inverse of and check one block of .
Solution. With the partition , with , , . Both and are nonzero,
so by Theorem 0.9.8 Then and . By Theorem 8.1.5 (c),
Check the top-right block of : as it must be.
Exercise
(B3: A projection in an adapted basis)
Let , , and .
- (a) Show that , that for
and
, and that .
- (b) Let . Use Theorem 8.1.6 to
write down
without computing, and confirm it as , where has the vectors of
as
columns.
- (c) Hence find and .
Solution.
(a) Multiplying,
has rows , , , so . Also ,
, and
(the first column is zero), so fixes every vector of
by linearity. The
three vectors of are the columns of
, and expanding along the last
column, . So is invertible (Theorem 7.5.2), its
columns form a basis of (Theorem 3.4.4), and
by Theorem 1.7.5.
(b) maps into (as the identity) and
into (as zero). By Theorem 8.1.6,
. By Theorem 4.2.3,
. Here (check ), and
has columns
, , ,
so .
(c) , so
by Theorem 8.1.4 (b)
(or directly from ). By Theorem 4.2.5,
, which matches .
C. Going deeper
Exercise
(C1: Square-zero matrices of half rank)
Let .
- (a) For , let .
Show that and that .
- (b) Let have dimension , and let satisfy
and . Show that
.
Choose with a basis of , and put .
Prove that is a basis of and that .
- (c) Deduce that for
every invertible , the matrix is similar to
.
Hint: for the independence in (b), apply .
Solution.
(a) By Theorem 8.1.1,
. The first
columns of are zero, and
column is
, where is column
of . A combination is zero
exactly when , so a list of these
columns is independent exactly when the corresponding
columns of are.
Hence , that is, .
(b) If , then , so .
By Theorem 2.3.1, , so by Theorem 1.6.8. The
vectors
exist because can be any basis of , each of whose
vectors is of
something.
Let . Applying
, and using , gives . The form a basis
of , so all
, and then
gives all . So is a linearly
independent list of vectors, hence a basis (Theorem 1.6.4).
Since and ,
column of
is zero and column is . So .
- (c) If is invertible, then by
(a) the operator on satisfies and (Theorem 4.1.5,
and Theorem 3.4.4 for
). By
(b) there is a basis with . The matrix of in the standard basis
is , so
and are similar by
Theorem 4.2.4.
Exercise
(C2: Powers of block triangular matrices)
Let , , and , and let .
- (a) Prove that for
every ,
- (b) Deduce that if
, then for
, and that
if moreover , then .
- (c) For , , and , find the least
with .
Solution.
(a) By induction
on . For , .
Suppose the formula holds for . By Theorem 8.1.5 (a),
and . This completes the
induction.
(b) If , every term of
with contains
a factor ,
and only
survives, with . So and . If also , then has blocks and , so .
(c) Here , so by (b). But
with
, so ; and . The least such
is . Explicitly, and .