The determinant of a square matrix answers a
yes-or-no question: is the matrix invertible? A
rectangular matrix has no determinant, and a singular
square matrix has determinant , which says nothing
about how singular it is. Yet every matrix is
full of square pieces, and each piece has a determinant.
This section shows that these small determinants measure
the rank exactly. It then answers a second question left
open by multiplicativity: if is and is , the product
is square, so
what is ?
The answer, the Cauchy–Binet formula, is proved by the
same multilinear expansion that gave uniqueness of the
determinant in Theorem 7.4.2.
Submatrices
and minors
In Definition 7.6.1 we
deleted one row and one column of a square matrix and
took the determinant of what was left. That is a special
case of a more flexible operation: keep
any rows and
any columns. The recurring
object is the square block sitting at the crossings of
the chosen rows and columns, and it deserves a name.
A minor is the determinant of a square block cut
out of a matrix by choosing some rows and the same
number of columns.
For a positive integer , write .
Definition
7.7.1 (Submatrix and Minor)
Let , and let .
Let and be sets with
exactly elements each,
listed in increasing order. The
submatrix of on rows and columns is the matrix whose -entry is . Its determinant is a
minor of .
In words: cross out every row not in and every column not in
, and push the
surviving entries together without changing
their order. The chosen rows need not be
adjacent, and neither need the columns. The sets and have the
same size, so the block is square and
has a determinant.
A
minor is a single entry, . For a square with , the minor of Definition 7.6.1 is
the minor with and .
The only
minor of a square matrix is itself. An matrix has
minors of size ,
one for each choice of and .
Example. Let Its minors all use , and there are three choices of
: Its six minors are its entries. It has no minors, since
it has only two rows.
A degenerate example. Every minor of
the zero matrix is :
each block is a zero matrix, whose determinant is by Theorem 7.4.6. This
case matters because it is exactly the matrix of rank
, and the theorem
below has to treat it separately.
Non-example by minimal change. Take
the same rows and columns but list the columns of above in the order
: the block
has determinant , not . Every entry is still
an entry of from
rows and
columns ;
what fails is the clause listed in increasing
order. Reordering columns changes the
determinant by a sign (Theorem 7.2.1), so
the order convention is what makes “the” minor on a single
well-defined number.
Why this definition. Insisting on
increasing order costs nothing and removes all sign
ambiguity. Insisting on is forced: only square blocks have
determinants.
Warning. Rank is not read
off principal minors. A
principal minor uses the same index set
for rows and columns (). It is tempting to test rank using only
these, but they can all vanish for a non-zero matrix.
For , the
principal minors are , and , yet . The
non-zero minor is the off-diagonal entry . The theorem below uses all
minors.
Quick check. How many minors does a
matrix
have? How many minors?
Solution. A minor needs
of the rows and of the columns: . A minor uses all three rows and of the columns: .
Rank via
minors
A non-zero determinant of a square block means the
block is invertible, so its columns are independent.
Independent columns inside a block come from independent
columns of the whole matrix. So a large non-zero minor
forces large rank. The converse, that large rank
produces a large non-zero minor, needs us to find the
right rows as well as the right columns. Both directions
together give a description of rank using only
determinants:
Theorem
7.7.1 (Rank via Minors)
Let be non-zero.
- (a) is the
largest integer such that has a
non-zero minor.
- (b) Equivalently,
for each : if and only if some minor of is non-zero; and if and
only if every minor of is zero.
Idea. Two inequalities. ① A
non-zero
minor on rows and
columns makes
invertible; a dependence among the columns of indexed by would restrict to a
dependence among the columns of . So . ② If
,
choose
independent columns (pivot columns). The matrix they
form has rank , so
by row rank = column rank it has independent rows. Those
rows cut out an block with independent rows, hence a non-zero
determinant.
Proof. Step 1: a non-zero
minor
forces . Let and with . Write for the
columns of .
Suppose with .
Reading only the entries in rows of this
vector equation gives for , that is, with
. By Theorem 7.5.2, is invertible,
so by Theorem 3.4.4.
Hence is a linearly independent list in
, and by Theorem 1.6.3 (a),
.
Step 2: has a non-zero minor, where
. Since , some column is
non-zero, so . By Theorem 3.5.2 (a),
the pivot columns ()
are linearly independent. Let
and let be the matrix with these
columns. By Theorem 3.5.10 (a),
,
so by Theorem 3.5.5 the
row space of has dimension
. The rows of span its row
space, so by Theorem 1.5.4 some
of them, in rows
, form a basis of it; in particular they are
linearly independent. These are exactly the rows of
, where . Transposition is a linear
bijection from rows to columns in , so the columns of
are linearly
independent. By Theorem 3.4.4,
is
invertible, so by Theorem 7.5.2, and
by Theorem 7.4.5.
Conclusion. By Step 2 there is a
non-zero minor of size , and by Step 1 there is
none of size larger than . This proves (a). For
(b): if , then Step 2 gives a non-zero minor with
, and we
still need one of size exactly . Expanding that determinant
along any row (Theorem 7.6.1) writes
it as a combination of minors of the block, each of which
is also an minor of ; since the determinant
is non-zero, one of these minors is non-zero. Repeating
times gives a
non-zero
minor. Conversely, a non-zero minor gives
by
Step 1. The second equivalence in (b) is the negation of
the first.
The theorem turns “rank at most ” into a finite list
of polynomial equations in the entries: all minors vanish.
That is why rank can only drop when the
entries satisfy special equations, as the next example
shows.
Example
(Rank of a Family of Matrices)
For ,
let Find for every .
Solution. The only minor is . By cofactor
expansion along the first row (Theorem 7.6.1), So for ,
has a non-zero minor and by Theorem 7.7.1.
For every minor is zero, so . Look
for a
minor that does not involve : rows and columns
give Hence . The same minor shows for
every , so rank
never occurs.
Multiplicativity, Theorem 7.5.4,
handles
when both factors are square. Now let
and . The product is , so it has a
determinant, but and do not exist. The natural candidates to
replace them are the largest minors: the minors of
, which keep all
rows and choose
columns , and the
minors
of , which keep
all columns and choose the same rows .
Theorem
7.7.2 (Cauchy–Binet Formula)
Let and . Then the sum running over all -element subsets of . In particular:
- (a) if , the sum is
empty and ;
- (b) if , the only subset is
and the
formula is .
Idea. Treat as a function of the
columns of . Column of is , a combination of the columns of
. Expand by
multilinearity in all columns at once,
exactly as in the uniqueness proof: one term for each
way of picking a column of in slot . ① Terms that pick the
same column twice vanish, because the determinant is
alternating. ② The surviving picks use
distinct columns, forming a set , in some order; putting
them in increasing order costs the sign of the
reordering (Lemma 7.4.1). ③
Collecting all orders of the same produces a Leibniz sum,
which is .
Proof. Write
for the columns of and for the entries of
. For , the function is an alternating -linear form by Theorem 7.4.3.
By Theorem 0.9.2, column
of is . Expanding by linearity in each of
its arguments in
turn, where runs over
all functions . If is not injective,
two arguments of
are equal and the term is because is alternating (Definition 7.2.2). So
only injective contribute. In
particular, if there is no injective , and , which
proves (a).
An injective has an image
with elements, and then
for exactly one . Conversely
each pair
gives an injective . By Lemma 7.4.1 with
,
since has columns
. Hence The matrix has -entry , so its -entry is
,
and the inner sum is by Definition 7.4.1.
This proves the formula. For , the only is , with and
,
which gives (b).
Part (b) is a second proof of multiplicativity, and
part (a) matches what rank predicts: if , then by Theorem 3.5.9, so
is not
invertible. The formula also passes a sanity check at
: a row times an
column
is the
matrix , and the minors are
single entries.
Example
(Cauchy–Binet for a times Product)
Let over .
Compute
directly and by the Cauchy–Binet formula. Then compute
.
Solution. Directly. , so .
By Cauchy–Binet. Here , , and there are
three subsets .
The minors of
were computed after Definition 7.7.1. The
minors of keep
both columns and rows :
|
|
|
|
|
|
|
|
|
|
|
|
The sum is , in agreement.
The other product. is , and here the
roles are , so by Theorem 7.7.2 (a).
Indeed , whose
third row is
times the first minus the second, so .
Warning. For non-square
factors,
and
differ. For square matrices . In the example above, while
. An
even smaller case: and
give and , with determinants
and . Also, do not write
“”
for non-square ,
: those symbols
are undefined, and the sum over is what replaces
them.
Quick check. Let with . Without
computing, what is ?
Solution. is the product of
the
matrix and the
matrix
. Here the
product is and the middle size is , so by Theorem 7.7.2
(a).
Sums of
squares over the reals
Over , take
. The
minors of are
the minors of
with rows and columns exchanged, so Cauchy–Binet writes
as a
sum of squares.
Corollary
7.7.3 (Gram Determinants Are
Non-negative)
Let . Then with equality if and only if .
Proof. By Definition 0.9.10, the
-entry of
is
the -entry
of , so . By Theorem 7.4.5, . Substituting into Theorem 7.7.2 with
gives
the formula. A sum of squares of real numbers is , and it is if and only if every
term is . Every
minor of
has the form
,
since an
minor must use all rows. If , the sum is
empty and . Otherwise, by Theorem 7.7.1 (b) (or
directly if ), all these minors vanish if and only if
.
The matrix collects the dot
products of the rows of with each other. Such
matrices of pairwise inner products are Gram
matrices; Chapters 11 and 13 study them, and
there this corollary becomes the statement that a Gram
matrix is positive semidefinite. For the corollary is a
classical identity about two vectors, Exercise (B3: The Lagrange identity).
Over or the conclusion
“” has no
meaning, and the equality case can fail: over , has rank but .
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Define the minor of
on rows and
columns .
- (b) True or false:
if every principal minor of a square matrix is zero, the
matrix is zero. Justify your answer.
- (c) True or false:
if has a non-zero minor, then
.
Justify your answer.
- (d) True or false:
if
has a zero minor, then . Justify your answer.
- (e) State the
Cauchy–Binet formula, and say what it gives when .
- (f) Let . Why is ?
Solution.
(a) For and , it
is ,
where has -entry (Definition 7.7.1).
(b) False. has principal minors
but .
(c) True, by Step
1 of the proof of Theorem 7.7.1, or by
part (b) of that theorem.
(d) False. The
rank is decided by whether some minor
is non-zero, not by one zero minor. has the zero minor on rows
and
columns ,
namely , but
.
(e) For
and , ,
summed over -subsets . If there are no
such subsets and .
(f) is , the product
of a and
a
matrix. By Theorem 7.7.2 (a)
with , .
B. Practice
Exercise
(B1: Rank with a parameter)
For ,
let . Use minors to find for every
.
Solution. By cofactor expansion
along the first row (Theorem 7.6.1), If , this minor is non-zero, so by Theorem 7.7.1.
If , then
, so
.
The minor on rows and columns is .
Hence .
If , every
entry is . Every
minor is
, and the minors are
non-zero. Hence .
Exercise
(B2: Checking Cauchy–Binet)
Let and over
.
- (a) Compute directly.
- (b) Compute by the
Cauchy–Binet formula.
- (c) Hence, without
multiplying, find .
Solution.
(a) , so .
(b) The three
subsets of of
size give The sum is , agreeing with (a).
(c) is a
product through , so by Theorem 7.7.2
(a).
Exercise
(B3: The Lagrange identity)
Let and be vectors in , , and write .
- (a) Let have rows and . Compute .
- (b) Hence prove the
Lagrange identity
- (c) Check it for
and
, and
deduce for all .
Solution.
(a) By Theorem 0.9.2, the
-entry of
is row
of times column of , which is row of transposed. Hence
(b) The left side
of the identity is . By Corollary 7.7.3 with
, it equals
the sum over of , and
has determinant . This proves the identity.
(c) Left side:
,
,
,
so . Right side: the pairs give
, , , and . In
general the right side is a sum of squares of reals,
hence , so
.
C. Going deeper
Exercise
(C1: Counting spanning trees)
Consider the network with vertices and five
edges, oriented as , , , , . A spanning tree is a set of
edges that
connects all four vertices (ignoring orientation). Let
be its incidence matrix (Definition 3.7.1),
let ,
and let and
be and with the row (and, for
, the column) of
vertex
deleted.
- (a) Compute and .
- (b) List the
spanning trees and count them.
- (c) Show that , and
use Corollary 7.7.3 to
write as
a sum over -element sets of
edges.
- (d) Compute the
minor of for
the tree and for the non-tree .
Explain, for these two sets, why the answers are and .
The matrix-tree theorem says that
for every connected network, equals the
number of spanning trees; parts (c) and (d) are the
heart of its proof, which Chapter 24 completes.
Hint: for (d), a set of edges containing a cycle
gives dependent columns.
Solution.
(a) Column of has at the tail and at the head: (Diagonal entries count the edges at a vertex;
off-diagonal entries are for each edge joining
two vertices.) Expanding along the first row,
(b) There are
sets of three edges. Three edges on four vertices
connect everything exactly when they contain no cycle,
and the only -edge
cycles are the triangles
(vertices )
and (vertices ). So there are spanning
trees, matching .
(c) Deleting row
of deletes row of (row view) and
column of (column view of
), by Theorem 0.9.2. So
,
with , and Corollary 7.7.3 gives
, one term for each set
of three
edges.
(d) For ,
, which is
lower triangular with determinant (Theorem 7.4.6). For
, the columns are , , , and the third
is the sum of the first two: going around the cycle
equals going directly . So the columns are dependent and the minor
is by Theorem 7.2.1. Thus
the non-tree contributes and the tree
contributes .
Exercise
(C2: Rank does not depend on the field)
Let be a
subfield of a field (Definition 1.9.1),
and let . We may also regard as a matrix in .
- (a) Explain why each
minor
is the same element whether computed in or in .
- (b) Prove that the
rank of over
equals its rank
over .
- (c) Deduce: if a
system
with rational coefficients has a non-zero complex
solution, it has a non-zero rational solution.
Solution.
(a) By Definition 7.4.1,
is a
finite sum of
products of entries of . The entries lie in
, and has the same addition
and multiplication as , so the sum is the same
element of .
(b) If , both ranks are
. Otherwise, by Theorem 7.7.1 (a)
applied over and
over , each rank
is the largest
for which some minor is non-zero. By (a) the list of minors,
and which of them are non-zero, is the same in both
cases. Hence the two ranks agree.
(c) Take , . A non-zero
complex solution means over
, so
by Theorem 3.5.7. By
(b), , so over , and a non-zero
rational solution exists.