Chapter 18 §08 met the doubly stochastic matrices,
the nonnegative matrices whose rows and columns all add
up to . It showed
that every permutation matrix is an extreme point of the
set they
form, stated Birkhoff’s theorem that there are no other
extreme points, proved that this is equivalent to “every
doubly stochastic matrix is an average of permutation
matrices”, and left the proof to this chapter. This
section supplies it. The proof is a count: a corner of
has so
many zero entries that some row holds a single , and deleting that row
and its column leaves a corner of . We then
bound how many permutation matrices an average needs,
turn the theorem into a procedure for finding them, and
use it to give the second proof of Schur’s majorization
theorem that Chapter 18 §08 sketched.
Throughout, the field is , and inequalities
between matrices or vectors are entrywise, as in §01.
Recall Definition 18.8.4: is
doubly stochastic if for all
, and every row
and every column adds up to ; in terms of the
all-ones vector, and . So is stochastic in the
book’s column sense (Definition 9.11.1),
and so is .
What is
left to prove
Here is where Chapter 18 §08 stopped. The set is convex and
compact. The
permutation matrices , (Definition 3.4.2),
lie in it, and each is an extreme point (Proposition 18.8.9). The
two forms of Birkhoff’s theorem, “the extreme points are
the permutation matrices” and “ is the convex
hull of the permutation matrices”, were shown to be
equivalent there, using Minkowski’s theorem (Theorem 18.8.5) in one
direction and Proposition 18.8.2 in
the other. For , the Quick check after the statement found
by hand:
it is the segment from to the swap
matrix.
So one implication is missing: every extreme
point of
is a permutation matrix. For nothing as simple
as the
computation is available, since already has four
free parameters. What does the work instead is a result
of Chapter 18 §09 that recognizes a corner of a
polyhedron from its tight constraints.
Recall Definition 18.9.2 and Theorem 18.9.2. A
polyhedron is a set ; its extreme points are called
vertices; and a point of it is a
vertex exactly when the rows of the
constraints that hold with equality at , the
active rows, include linearly independent
ones. An equation is allowed, as a pair of inequalities
and ; both are active at every point of the
polyhedron.
To put
in this form, list the entries of a matrix
as one column,
the vectorization of Chapter 8. A linear expression
in the entries is then the dot
product of
with , and
we may treat the coefficient matrix itself as
the row of the constraint. Three families of coefficient
matrices appear. With the matrix unit
(a in position
, zeros
elsewhere), let the matrices whose -th row, respectively
-th column,
consists of ones and whose other entries are zero. The
letter is
local to this section; elsewhere is a companion
matrix and a real
Jordan block. Then
is the -th row sum
of , and gives the -th column sum. So is the polyhedron cut out by
- (i) the inequalities , with rows
;
- (ii) the row equations “row sum
equals ”, with rows ;
- (iii) the column equations
“column sum
equals ”, with
rows .
At a point , every row and is active, and
is active
exactly when . The whole argument turns on how much the
equations are
worth. They are not independent: adding all row sums and
adding all column sums both give the sum of all entries,
that is, with
the all-ones matrix. The next lemma says that this is
the only relation.
Lemma
19.7.1 (The Row and Column Sum
Conditions)
Let , and
let be the space of real matrices whose rows and
columns all add up to . Then:
- (a) ;
- (b) the matrices span a subspace of of dimension
.
Idea. A matrix in is determined by its
top-left block, which can be anything: the last
column and the last row are then forced by the zero
sums, and the corner comes out consistent. That gives
(a). For (b),
is exactly the set of matrices killed by the sum conditions, so
rank–nullity converts one count into the other.
Proof.
(a) If , and . Let , and let delete the last row and the last
column; it is linear. It is injective: if has top-left
block zero, then for the -th
row sum is , for the -th
column sum is , and then the last row sum is . So . It is
surjective: given , with row sums , column sums , and total , let have top-left block
, last column
, and last row . The -th row sum for is , the -th column sum for is , and the
last row and last column both sum to . So and . Hence
is an
isomorphism and .
(b) Let be the matrix
whose rows are the transposed vectorizations and , for
.
Then
lists the row sums and the column sums of , so the null space of
is , of dimension
by (a), as
is an
isomorphism. By Theorem 3.5.7,
, and by Theorem 3.5.5 this
is the dimension of the span of the rows of . Since is an isomorphism,
the matrices
span a
subspace of dimension , as claimed.
So of the constraints defining , the that come from
equations contribute only dimensions to the active rows, wherever we
stand. The rest must come from zero entries.
Quick check. A vertex of needs linearly independent
active rows. How many zero entries must it therefore
have, at least? Does the identity matrix meet this
requirement?
Solution. The row and column
equations supply at most independent rows, by Lemma 19.7.1 (b). Each
zero entry adds one row , so at least
zero
entries are needed; that is, at most nonzero entries. The
identity has zero
entries and
nonzero ones, so it meets the requirement with room to
spare.
Birkhoff’s
theorem
Now the main theorem. We state both forms, since both
are used, but prove only the missing implication.
Theorem
19.7.2 (Birkhoff’s Theorem)
Let . The
extreme points of are exactly the
permutation
matrices of size .
Equivalently, every doubly stochastic matrix is a convex
combination of permutation matrices:
Idea. Step
roadmap. Let be an extreme point of
and induct
on .
① Count. is a vertex of the
polyhedron above, so it has independent active
rows. At most of them come from the equations, so at least
entries of are
zero, and at most are nonzero.
② Pigeonhole. Every row has a
nonzero entry, since it adds up to . With rows and fewer than
nonzero entries,
some row has exactly one, and that entry is . Its column then has no
room for anything else.
③ Strip. Delete that row and column.
What is left is doubly stochastic of size , and, the key
point, it is again extreme: any way of
splitting it would split .
④ Induct. The smaller matrix is a
permutation matrix, and putting the back gives one of size
.
Proof. By Proposition 18.8.9,
every permutation matrix is an extreme point of . Distinct
permutations give distinct matrices, since column of is , so
there are of
them. The equivalence of the two forms was proved in
Chapter 18 §08, from Theorem 18.8.5 and Proposition 18.8.2. It
remains to show that every extreme point of is a permutation
matrix. We prove this by induction on .
For , , and
.
Let ,
assume the statement for , and let be an extreme point of
.
Step 1: at most nonzero
entries. As shown above, is a polyhedron
in , and is one of its vertices
(Definition 18.9.2). By
Theorem 18.9.2, the
active rows at
include
linearly independent ones. Let be the number of zero
entries of . The
active rows are , , and for the positions with . All of them
lie in the subspace whose dimension is at most , by Lemma 19.7.1 (b) and
the dimension formula for sums (Theorem 1.7.3). A
subspace containing linearly independent
vectors has dimension at least , by Theorem 1.6.3 (a)
applied in that subspace. Hence , and
the number of nonzero entries of is .
Step 2: a row with a single . Each row of
adds up to , so it has at least one
nonzero entry. If every row had at least two, would have at least
nonzero entries,
contradicting Step 1. So some row has exactly one nonzero
entry, say ,
and the row sum gives . Column consists of nonnegative
entries adding up to , one of which is ; so for every
.
Step 3: the reduced matrix is
extreme. Let
be with row
and column deleted. Its entries
are nonnegative. Each of its rows is a row of with the entry removed, so it
still adds up to ;
likewise each of its columns is a column of with removed. So
. For , let
be the matrix obtained by inserting a new row at
position and a
new column at position , with a where they cross and
zeros elsewhere along them. Then ;
whenever , since the inserted row and column
add up to and add
to every old row
and column; only if ; and , because the
inserted entries are the same for , and their midpoint.
Now suppose with .
Then with , and since is extreme, , so . By the midpoint
test (Lemma 18.8.1), is an extreme
point of .
Step 4: induction. By the induction
hypothesis,
is a permutation matrix: it has exactly one in each row and each
column and zeros elsewhere. Then so does : row
and column contain only the
inserted , and
every other row and column is one of with a inserted. By the remark
after Definition 3.4.2,
is a permutation
matrix. This completes the induction and proves the
theorem.
This pays Chapter 18 §08’s promise. With Minkowski’s
theorem it describes completely: a
compact convex set with exactly corners, each a
permutation matrix.
Step 3 is not decoration. It is tempting to finish
from Step 1 alone, by an induction on the number of
nonzero entries, and that induction does not close.
Warning. Few nonzero
entries do not by themselves make a permutation
matrix. The matrix has nonzero entries, the most Step 1 allows,
and it is not a permutation matrix; it is the midpoint
of and the
permutation matrix that swaps the last two coordinates.
Deleting its first row and column leaves , with nonzero entries, more
than the that a vertex of may have. The
count must be applied afresh at each size, and that
needs the smaller matrix to be extreme, which is what
Step 3 proves.
How many
permutation matrices
Birkhoff’s theorem writes every doubly stochastic
matrix as an average of permutation matrices, but a
priori with up to terms. Carathéodory’s
theorem (Theorem 18.2.2) cuts
this down to one more than the dimension, and the
dimension is the one computed in Lemma 19.7.1.
Corollary
19.7.3 (Birkhoff’s Theorem with a Count)
Let .
Every is a convex combination of at most
permutation matrices.
Idea. All of lies in the
coset of matrices with row and column sums , which is , of
dimension .
Translate to
and apply Carathéodory’s theorem there.
Proof. Let . By Theorem 19.7.2 and Theorem 18.1.3, for some permutation matrices and weights . Put . Every doubly
stochastic matrix satisfies and , so . As the weights add up to , so lies in the convex hull of , a subset of the real vector space
, which has
dimension
by Lemma 19.7.1 (a). By
Theorem 18.2.2, for some ,
permutation matrices , and weights
. Adding
back gives , as claimed.
For the
bound is , and
every point strictly inside the segment needs both ends.
For , Exercise
C1 shows that can
be needed. That is best possible for every is a known result
which we state without proof. Compare the density
matrices of Chapter 18 §08, where the spectral theorem
did much better than Carathéodory’s count. Here there is
no such structure to exploit.
Finding
the permutations
The proof of Birkhoff’s theorem says that the
permutation matrices suffice. It does not say how to
find them. One consequence of the theorem does, because
it only concerns which entries are zero.
Corollary
19.7.4 (A Positive Diagonal)
Let . Then there is a permutation with for
every .
Proof. By Theorem 19.7.2, with every and , so
some . The entry of is , and every term of the
sum has nonnegative entries. Hence for every .
In words, one can pick one positive entry in each
column, all in different rows. This gives a procedure,
often called peeling. Given , choose
as in the
corollary and let , so .
- If , then
each column has
its whole sum at
position ,
and .
- If ,
then has nonnegative entries and all row
and column sums , so and . Every zero of is a zero of , since has its ’s at positive entries
of , and the
entry where the minimum was attained becomes a
new zero.
Repeat with , producing , and
write . A
doubly stochastic matrix has at least nonzero entries, one
per column, and each round removes at least one, so the
procedure stops after at most rounds, with
a permutation matrix. Unwinding the rounds writes as a convex
combination of the permutation matrices found. In fact
peeling never needs more than the of Corollary 19.7.3. Let
be the subspace
of those
with
wherever has a
zero; since zeros of stay zeros, ,
and
lies in but not
in , being
positive at the new zero. So each round with lowers , which starts at
most by Lemma 19.7.1 (a) and
never drops below ; there are at most
such
rounds, and one final round. Still, peeling finds
a decomposition, not necessarily the
shortest one.
Example
(Peeling a 4 × 4 matrix)
Write as a convex combination of permutation
matrices.
Solution. The entries are
nonnegative, each row of adds up to , and so does each
column: , , , . So . We peel , whose row and
column sums start at ; subtracting times a permutation
matrix lowers them all by . A permutation is
recorded by the positions of its ’s, one per column.
Round 1. The diagonal of is , all positive,
so take with weight . Subtracting leaves
Round 2. Column is now nonzero only in
rows and . Try row there: the positions
, , , carry , so take this
with
weight :
Round 3. The positions carry ; weight :
Round 4. The positions carry ; weight . What remains has a single in positions , a permutation matrix , with
weight .
The weights account for the whole sum, and dividing
by , where , and send to , to , to , and to respectively.
Five terms, within the bound . To
check, add up any entry: position is covered by and , giving , which is .
Schur’s
theorem again
Chapter 17 §08 proved Schur’s majorization theorem,
Theorem 17.8.2: for a
Hermitian , the
diagonal vector is majorized
by the eigenvalue vector 𝛌. The proof
there went through Ky Fan’s maximum principle. Chapter
18 §08 noted that Birkhoff’s theorem would give a second
proof, and sketched it. Here it is in full. The first
ingredient says that the diagonal is a doubly stochastic
image of the spectrum.
Lemma
19.7.5 (The Diagonal Is a Doubly Stochastic
Image of the Spectrum)
Let or
, let be
Hermitian, and let with unitary and . Then the matrix is doubly stochastic, and 𝛌 Such a
exists by Corollary 12.4.3,
after reordering the columns of , since a Hermitian
matrix is normal: the diagonal entries of the it gives are the
eigenvalues of
with multiplicity, because similar matrices have the
same characteristic polynomial (Theorem 7.10.3), and
they are real (Theorem 12.2.1),
so they can be put in decreasing order.
Proof. Write . By the definition of the matrix
product, , which is the -th entry of 𝛌. The
entries of are
nonnegative. Row
of adds up to
, and column adds up to , since is unitary. So .
A doubly stochastic matrix of the form
is called unistochastic. Not every
doubly stochastic matrix is one (Exercise C3 asks for a
witness), but the lemma needs only that . The
second ingredient is Birkhoff’s theorem, which makes
𝛌 an
average of rearrangements of 𝛌.
Proposition
19.7.6 (Doubly Stochastic Maps Even Out)
Let and . Then
.
Idea. A permutation matrix only
rearranges , and
rearrangements are invisible to majorization. Birkhoff’s
theorem writes as an average
of rearrangements, and the vectors majorized by form a convex
set.
Second proof of Theorem 17.8.2.
Let be
Hermitian. By Lemma 19.7.5, 𝛌 with , and by
Proposition 19.7.6,
𝛌𝛌. So 𝛌.
The first proof compared running totals using a
variational principle; this one never compares running
totals directly. It sees Schur’s theorem as a statement
about averaging: the diagonal entries are weighted
averages of the eigenvalues, with weights that form a
doubly stochastic matrix, and averaging can only even
out a vector.
Example
(The averaging made visible)
For of Chapter 17 §08, whose eigenvalues are 𝛌
with unit eigenvectors , , (Example (Coordinate vectors against eigenvectors)),
compute , check
𝛌, and write as an
average of rearrangements of 𝛌.
Solution. Take with columns ; it is orthogonal and . Squaring
its entries, Every row and column of adds up to . Then 𝛌 To decompose , let be the permutation
matrix of , , , . Then , since and have their ’s in the off-diagonal
positions and never in the same place, so With 𝛌 and 𝛌,
the cyclic shifts of , Each diagonal entry is an average of all three
eigenvalues, with weight on one of them
and on the
other two. That is why the diagonal is so much
flatter than .
Together with Theorem 17.8.5, the
lemma and the proposition already show that the
diagonals of the Hermitian matrices with spectrum 𝛌 are exactly the
vectors 𝛌
with . The lemma puts every such diagonal
among the 𝛌; the
proposition puts every 𝛌 among the
𝛌; and Schur–Horn realizes every 𝛌
as a diagonal. So all three sets coincide, and in
particular every 𝛌 is 𝛌 for some . This
converse of the proposition is part of the theorem of
Hardy, Littlewood, and Pólya, which Chapter 21 takes
up.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) State Birkhoff’s
theorem in both forms.
- (b) Name the results
of Chapter 18 that the proof of Theorem 19.7.2 uses,
and say what each contributes.
- (c) What upper bound
does Step 1 of the proof give for the number of nonzero
entries of a vertex of ? How many does a
vertex actually have?
- (d) True or false:
every matrix in with at most
nonzero
entries is a permutation matrix. Justify your
answer.
- (e) True or false:
the product of two doubly stochastic matrices is doubly
stochastic. Justify your answer.
- (f) True or false:
every is a convex combination of at most
five permutation matrices. Justify your answer.
Solution.
(a) The extreme
points of
are exactly the
permutation matrices; equivalently, is the convex
hull of the permutation matrices, that is, every doubly
stochastic matrix is a convex combination of
them.
(b) Theorem 18.9.2, which
says that a vertex has independent active
constraints and so forces many zero entries; Lemma 18.8.1, the
midpoint test, used to show that the stripped matrix is
again extreme; and Proposition 18.8.9 with
the equivalence of the two forms, which rests on Theorem 18.8.5 and Proposition 18.8.2.
(c) At most . By Theorem 19.7.2 a
vertex is a permutation matrix, with exactly nonzero entries. The
bound of Step 1 is far from sharp; it is only the first
step of an induction.
(d) False. The
matrix in the
warning after Theorem 19.7.2 lies in
and has
nonzero entries, but it is not a permutation
matrix.
(e) True. If
, the entries of are sums of products
of nonnegative numbers, and , .
(f) True, by Corollary 19.7.3 with
: .
B. Practice
Exercise
(B1: Which are corners?)
For each matrix, determine whether it lies in and, if so,
whether it is an extreme point of . Justify your
answers.
Solution. has exactly one
in each row and
each column and zeros elsewhere, so it is a permutation
matrix, in
and extreme by Proposition 18.8.9.
has
nonnegative entries and every row and column of adds up to , so . It is
not a permutation matrix, so by Theorem 19.7.2 it is
not extreme. Explicitly, with the permutation matrix
with ’s at , and
.
is not in
: its rows
add up to .
is not in
: its rows
and columns add up to (rows ; columns ), but the entry
is negative. It
is in the coset of the proof of Corollary 19.7.3,
which shows that the nonnegativity conditions
matter.
Exercise
(B2: Peeling a 3 × 3 matrix)
Let Check that , and write as a convex
combination of permutation matrices by peeling. Hence
confirm the bound of Corollary 19.7.3 for
this .
Solution. The entries are
nonnegative; the rows of add up to , , , and the
columns to , , , all .
So .
Peel .
Round 1. The diagonal is positive;
subtract :
Round 2. The positions carry
; subtract
, where has its ’s there:
Round 3. The positions carry
; subtract
, with ’s there. What remains
has ’s at : a
permutation matrix , with weight .
So and with weights nonnegative and adding up to
. Hence uses four permutation
matrices, within the bound .
Exercise
(B3: Schur’s theorem by averaging)
Let .
- (a) Find 𝛌 and an
orthogonal with
𝛌.
- (b) Compute and check
that 𝛌.
- (c) Write as a convex
combination of permutation matrices, and hence as an
average of rearrangements of 𝛌. Confirm
𝛌 from Definition 17.8.1.
Solution.
(a) and , so 𝛌.
With the unit eigenvectors
and as columns, which is orthogonal, and
by Corollary 12.5.2.
(b) , and .
(c) , so . Directly: both vectors
are decreasing, the totals are , and at , . So 𝛌.
C. Going deeper
Exercise
(C1: Five permutation matrices can be needed)
Let be the
permutation matrix of the -cycle , and let be those of the transpositions
. The six permutation matrices of size are (the
even ones) and
(the odd ones).
- (a) Show that each
of the nine positions holds a in exactly one even and
exactly one odd permutation matrix, and that each even
and each odd permutation matrix share exactly one
position of a .
- (b) Deduce that if
for real numbers , then for the even
and for the odd
, for some
.
- (c) Let . Show that
every way of writing as a convex
combination of permutation matrices uses at least five
of them with positive weight.
Hint: in (a), a permutation of is determined
by where it sends any two points.
Solution.
(a) A permutation
matrix
has a in position
exactly when
. The
permutations of with are determined by where they send the other
two points, which must go to the other two values in one
of two ways, so there are exactly two. If is one of them,
the other is , with the transposition
exchanging the two remaining values, so their signs are
opposite (Definition 7.3.2, Theorem 7.3.1): one
is even and one is odd. For the second claim, let be even and odd. They cannot
agree at all three points, since they differ; they
cannot agree at exactly two, since two agreements force
the third; and if they agreed nowhere, would fix
no point and so be a -cycle, which is even,
while is odd.
So they agree at exactly one point , that is, they share
exactly one position .
(b) Look at
position : by
(a) exactly one even and one odd have a there, so the equation
gives . By (a) again, every pair of an even and an odd arises in this way
at their shared position, so for
every such pair. Fixing one odd , all even equal , and then
every odd .
(c) The given
weights are on and on
; they are nonnegative with sum . If is any other convex
combination, the difference of the two weight lists
satisfies (b), so the even weights are and the odd ones for some real . Nonnegativity needs
(from ) and (from ). For , all six weights are positive. At exactly one
vanishes, that of ; at exactly
one vanishes, that of , the others being
and . So every representation has at least five
positive weights, and the bound of Corollary 19.7.3 is
attained.
Exercise
(C2: Integer matrices with equal line sums)
Let , and
let
have nonnegative integer entries, with
every row and every column adding up to .
- (a) Prove that is a sum of permutation matrices,
not necessarily distinct.
- (b) Carry this out
for .
Hint: apply Corollary 19.7.4 to
.
Solution.
(a) By induction
on . The matrix
is
doubly stochastic, so by Corollary 19.7.4 there
is with
for every . These are positive
integers, so each is at least , and has
nonnegative integer entries with every row and column
adding up to .
If , then
has
line sums and
nonnegative entries, so it is and . If , the induction
hypothesis writes as a sum of permutation
matrices, and adding gives .
(b) Every row and
column adds up to . The diagonal is positive;
subtracting
leaves The positions are
positive; subtracting that permutation matrix leaves the
permutation matrix with ’s at . So
is plus these two
permutation matrices.
Exercise
(C3: The dimension, and a matrix that is not
unistochastic)
Let .
- (a) Prove that if
has
every , then . Deduce that and .
- (b) Show that is doubly stochastic but is not
of the form for any unitary .
Hint for (b): two columns of must be orthogonal;
look at which rows both can be nonzero in.
Solution.
(a) The entries
of
are , and its rows and
columns add up to , since . So it lies in . The proof of Corollary 19.7.3
showed , a coset, which is an affine
set containing , so . Conversely, let
, , and put . Then and
lie in ,
and the affine combination lies in .
So , and by Lemma 19.7.1
(a).
(b) The entries
are nonnegative and every row and column adds up to
. Suppose with unitary. The zero
entries force . Columns and of are and
, and they are orthogonal because is unitary: But , so , a contradiction. Hence is not
unistochastic.