The Perron–Frobenius theorem tells us what an
irreducible non-negative matrix looks like at its
spectral radius: is an
algebraically simple eigenvalue with a positive
eigenvector. It says nothing about what the powers do, and Chapter 9
§11 already met the obstacle. The swap is irreducible, has a
positive eigenvector for , and its powers
alternate forever. This section finds the extra
hypothesis that makes the powers settle down, proves
that under it converges
to an explicit rank-one matrix, and explains what goes
wrong without it: the eigenvalues of modulus are then spread
evenly around a circle, and their number is read off the
zero pattern of .
Throughout, matrices are real and is meant
entrywise, as are , and . The spectrum
is taken over ,
and is the
spectral radius (Definition 16.4.1).
Walks in a
non-negative matrix
Whether a power has a positive
entry at position depends only on which entries of are zero. The
bookkeeping device is the directed graph of §02 (Definition 19.2.1): it
has an edge
for each non-zero entry , and a walk of
length from to is a list of vertices in which each is an
edge. The edge for points from the
column index to the row index, the direction in which a
column-stochastic chain moves. A walk is
closed if and .
By §02’s count of walks (Lemma 19.2.1 (a)), for
and , if
and only if
has a walk of length from to . Everything in this
section about zero patterns rests on that fact.
Primitive
matrices
Here is the property the swap lacks. Its powers are
and the swap
itself, and each of them has zero entries; no power ever
mixes every state with every other.
A primitive matrix is one that, after enough
steps, connects every index to every index at
once.
Definition
19.5.1 (Primitive Matrix)
A matrix , , with is primitive if for
some integer , that is, if
every entry of some power of is
strictly positive.
In words: we are allowed to wait, but only for a
finite number of
steps, and after those steps all entries must be
positive together. By Lemma 19.2.1 (a),
is primitive
exactly when there is one length such that every vertex
of has a walk
of length to
every vertex, including to itself.
Examples.
- Positive matrices. If , take . Perron’s theorem
(Theorem 19.1.5) is
about these.
- A matrix with zeros. has a zero entry, but
. So
is primitive
with . In the
graph: the edges are ,
and , and
,
,
,
are
walks of length
between every ordered pair.
- A slower one. . Its edges are , , and , so its closed
walks include of length and of length
. Multiplying out,
still has a zero, and . So is primitive, and the
smallest is .
- Degenerate case. A matrix is primitive if and
only if .
The zero
matrix is not, which is why the statements below exclude
it.
Non-example by minimal change.
Change the -entry of to . The result is still
non-negative, and it is still irreducible, since
(Theorem 19.2.6). But
,
so the even powers of are multiples of
and the odd
powers multiples of , and every power
has two zero entries: is not primitive.
The clause that fails is “some power is positive”; what
was lost is the loop ; without it every edge joins and , so every closed walk
has even length. More generally, the powers of a
permutation matrix are permutation matrices (Lemma 3.4.7), and
for a
permutation matrix has zeros; so no permutation matrix
of size is
primitive.
Why this definition. Asking for
itself
would be too strong: it excludes the matrices above,
whose powers behave exactly like those of a positive
matrix. Asking only that each position be positive in
some power, possibly a different power
for each position, is too weak: that is irreducibility,
and the swap satisfies it. Primitivity sits between the
two. It asks for a single power that is
positive everywhere.
Warning. Irreducible does
not mean primitive. Irreducibility asks that
each be reachable
from each by a
walk of some length; primitivity asks
for walks of one common length. For the
swap, every walk from to has odd length and
every walk from
to has even
length, so no single power is positive at both and .
Quick check. Is primitive? Is ?
Solution. , so is primitive. For
, every power is
upper triangular, , so the -entry is always
and is not primitive:
has no walk
from to at all.
The first consequences of the definition come
straight from the graph and from Perron’s theorem
applied to the positive power.
Proposition
19.5.1 (First Properties of Primitive
Matrices)
Let be primitive, with . Then:
- (a) for
every ;
- (b) is irreducible;
- (c) , and
is the
only eigenvalue of of modulus .
Idea.
- (a) Multiplying a
positive matrix by a non-negative matrix with no zero
column keeps it positive. (b) A positive power gives
walks between all vertices, which is strong
connectivity. (c) The eigenvalues of are the -th powers of those of
. A second
eigenvalue of on
the circle of radius would land, after
raising to the -th
power, on the circle where Perron’s theorem allows only
the simple eigenvalue .
Proof.
(a) Column of is times column
of (Theorem 0.9.2; for
read ). Since , no column
of is zero. Now
suppose for some . Then is a sum of non-negative
terms, and the term for an with is
positive. So , and (a) follows by induction on .
(b) For every
ordered pair , , so Lemma 19.2.1 (a) gives
a walk from to
in . So is strongly
connected (Definition 19.2.2),
and is
irreducible by Theorem 19.2.5.
(c) Over , write , with each eigenvalue repeated
according to its algebraic multiplicity. By the Spectral
Mapping Theorem (Theorem 9.10.1) with
, So .
By Theorem 19.1.5 applied
to ,
is an algebraically simple eigenvalue of , and every other
eigenvalue of has modulus less
than .
In particular , so .
By (b) and Theorem 19.3.2,
is an eigenvalue of ; say . Suppose
some with
had but . Then is an
eigenvalue of of modulus ,
so by Perron’s theorem it is not an “other” eigenvalue:
. Then occurs at least
twice in the list , at positions and , so , contradicting simplicity. Hence is the only
eigenvalue of modulus .
Part (c) is the whole spectral content of
primitivity, and the rest of the section shows that it
is also enough. Part (a) says that once the powers
become positive they stay positive, so the least such
, the
exponent of , is well defined and
marks a permanent change.
The limit
theorem
For the swap, and the powers do not converge. We now show
that primitivity is exactly what makes converge,
and we identify the limit. The answer involves
eigenvectors on both sides.
If is
irreducible, then Theorem 19.3.2 (a) and
Corollary 19.3.3
(a)–(c) provide and with , and , and the
right and left Perron vectors of Definition 19.3.1 are
the pair scaled so that and . Each of
is
determined up to a positive factor, because is algebraically
simple (Theorem 19.3.2 (b)),
so its eigenspaces for and are lines (Theorem 9.3.1, Proposition 9.10.5
(b)).
Theorem
19.5.2 (Limit Theorem for Primitive
Matrices)
Let be primitive, , and let
and
satisfy
and
, for instance the right and left
Perron vectors of . Then, entrywise,
The limit is a positive matrix of rank one,
and it does not depend on how and are scaled. The same
conclusion holds for every irreducible with whose
only eigenvalue of modulus is itself.
Idea. Divide by , so that the Perron
eigenvalue becomes and every other
eigenvalue lies strictly inside the unit circle. Chapter
10 §10 then says the powers converge, with no
diagonalizability needed, because it works with the
Jordan form. It remains to name the limit . Three identities pin
it down:
puts every column of on the line through
; puts every row
on the line through ; and fixes the
scale.
Proof. It suffices to prove the
last sentence, since a primitive matrix is irreducible
with and has as its only
eigenvalue of modulus , by Proposition 19.5.1 (b)
and (c).
So let
be irreducible with the only eigenvalue of modulus , and put . By Theorem 9.10.1 with
, the
eigenvalues of
are the numbers , ,
with the same algebraic multiplicities. So is an eigenvalue of
with by Theorem 19.3.2, and
every other eigenvalue of has modulus less than
. Since the -blocks in a Jordan form
of have total
size
(Corollary 10.3.2
(a)), there is a single -block, of size . By Theorem 10.10.4,
converges to
some .
Three identities. By the algebra of limits,
(B3) of Chapter 10 §10, applied entry by entry, and ; but is a tail of
, so it
also tends to .
Hence . Also , so for every , and letting gives .
The columns. says that every
column of lies
in , which is the line , as noted
before the theorem. So column of is for some , that is,
with
.
The rows. reads .
Choose with and compare row
: , so , and lies in the eigenspace
of for . That eigenspace is
the line through , so for some .
The scale. Now , and comparing entry gives . Since
,
,
and .
Finally,
has -entry
and
every column a multiple of , so the limit is
positive of rank one; replacing by with multiplies
numerator and denominator by . This proves the
theorem.
Note what the proof did not use: no
eigenvector basis, no computation of the other
eigenvalues. Chapter 10’s Jordan-form criterion did the
analysis once and for all; Perron–Frobenius supplied the
simple eigenvalue and the two positive eigenvectors.
With the normalization of §03, the
limit is simply the idempotent . §06 turns the
theorem into the long-run theorem for Markov chains.
Example
(A Limit Computed Two Ways)
Let , which is
primitive since . Find from Theorem 19.5.2, and
confirm it with an exact formula for .
Solution. The theorem.
, so . A positive
right eigenvector solves , that is, : take
. A
positive left eigenvector solves ,
with : take . Then , and The formula. , because
, and
. A
direct check gives , so . Since and are complementary
projections, induction on gives For
this is , which is . The error term
is
times a fixed matrix: it decays at the rate and changes sign at every step.
Warning. The limit uses the
left eigenvector, not the transpose of the right
one. For the matrix above, , which is not the limit. The two
agree when is
symmetric, since then ; in general carries the
information about how much each starting index
contributes in the long run.
The limit theorem also gives the converse of Proposition 19.5.1
(c).
Theorem
19.5.3 (Primitivity from the Spectrum)
Let , , be irreducible with . Then
is primitive if
and only if is the only
eigenvalue of of
modulus .
Idea. One direction is already
proved. For the other, the limit theorem gives a
positive limit, and a sequence that
converges to a positive number is eventually positive.
There are only entries to wait
for, so some single power is positive everywhere.
Proof. This is Proposition 19.5.1
(c).
By
the last sentence of Theorem 19.5.2, with
. Each of
the entries
of
converges to a positive number , so it is positive
for all beyond
some : this
is the definition of the limit with .
For larger than
the largest of these finitely many , , and
hence . So is primitive.
The hypothesis excludes only the zero matrix:
for it
holds for every irreducible by Theorem 19.3.2 (d),
and for ,
.
The
peripheral spectrum and the period
What does an irreducible, non-primitive matrix look
like? The eigenvalues of modulus are called the
peripheral eigenvalues of , and the theorem just
proved says that a non-primitive irreducible matrix,
other than the zero matrix, has more than one of them. For
the swap they are . For the cyclic permutation they are the three cube
roots of unity, as we shall compute. The pattern is
general, and it is controlled by a number read off the
walks.
The period is the common step size of all round
trips.
Definition
19.5.2 (Period)
Let , , be irreducible and not the zero matrix.
The period of is the greatest common
divisor of the lengths of all closed walks in .
There is at least one closed walk, so the definition
makes sense. If , then with , and the loop is a closed walk of length . If , then is strongly
connected (Theorem 19.2.5), so
there are walks from to and from to , and one followed by
the other is a closed walk. For the swap, every edge
joins and , so closed walks have
even length, and has length : the period is . For above, closed walks of
lengths and give period . A single positive
diagonal entry is a loop , a closed walk of
length , and
forces period .
The main theorem of this part says that the period
counts the peripheral eigenvalues, and that they sit at
the corners of a regular polygon. As in §01, is the
entrywise absolute value of .
Theorem
19.5.4 (The Peripheral Spectrum)
Let , , be irreducible and not the zero matrix.
Put , let be the number of
distinct eigenvalues of of modulus , and let .
Then:
- (a) the eigenvalues
of of modulus
are exactly
, and
each is algebraically simple;
- (b) is similar to ; in particular
is
unchanged by multiplication by , with algebraic
multiplicities;
- (c) equals the period of
.
Idea. Step
roadmap. ① Take an eigenvector for a peripheral
eigenvalue . The triangle inequality (Theorem 0.6.4) gives
, and superinvariance (Proposition 19.4.2)
forces equality, so is a
positive multiple of . Equality in the
triangle inequality then says all terms of each row sum
point in the same direction, and that is a similarity
with diagonal. ② So the
spectrum is invariant under rotation by every peripheral
angle, the peripheral points form a finite group of
rotations, and a finite group of points on the unit
circle must be the -th roots of unity. ③
The diagonal matrix records a phase at
each vertex, and each edge advances the phase by one
step; going round a closed walk returns the phase, which
ties to walk
lengths.
Proof. Recall that (the remark
after Theorem 19.5.3), and
let be
an eigenvector of for (Theorem 19.3.2
(a)).
Step 1. Let be an eigenvalue. Then there are
real numbers such that whenever ;
consequently, with ,
we have .
Let with . By Lemma 19.1.2 (a), with
since , in
each row So , where and
. If , then Proposition 19.4.2 (b)
with would
give ; hence . So is a
non-negative eigenvector of , and by Theorem 19.3.2 (c) it
is a positive multiple of . Therefore ,
and we may write in polar
form.
Now every inequality in the display is an equality.
Fix . The number
(Theorem 0.6.5) is
non-zero, since and , and . So Lemma 19.1.3, applied
to the numbers
, with
, gives for every . If , dividing
by gives . This
is the first statement. For the second, the -entry of is ,
which is when
and
when .
Step 2. Proof of (a) and
(b). Write over . For every peripheral
, Step 1 and Theorem 7.10.3 give
, and by Theorem 9.10.1 with
,
So multiplication by permutes the
eigenvalues listed with multiplicity:
Let , a set of complex numbers of
modulus
containing ,
because by Theorem 19.3.2. If
and
lie in , then , so by the invariance just
proved, and it has modulus : thus . For fixed
, the map
, , is
injective, since ; as is
finite it is a bijection. Hence the product of all elements of
satisfies , and , so . So is
contained in the set of -th roots of unity,
which has exactly
elements (Example (Roots of Unity)).
Both sets have
elements, so they are equal. This proves the first half
of (a).
Each has , by the invariance with
and Theorem 19.3.2. This
proves (a). Taking in Step 1 gives (b).
Step 3. Proof of (c). Let
be the
period.
divides
. Apply Step
1 to , so .
Along a closed walk each entry is
positive, so Step 1 gives for each , and chaining these
equations gives
. So , and divides (Example (Roots of Unity)).
As this holds for every closed walk, divides .
divides
. If then . Let . Since is strongly
connected (Theorem 19.2.5), every
vertex is joined
to vertex by
walks in both directions; for this includes the
walk of length .
Choose for each
the length
of some walk from
to , with . Any two walks
from to , of lengths and , have lengths
congruent modulo :
following either by a fixed walk from back to , of length , gives closed walks of
lengths
and
(or length ,
trivially a multiple of ), both multiples of
. Now if , a walk
from to followed by the edge
is a walk
from to of length , so . Put and . Then the -entry of is when , since
, and
otherwise. So
. As in Step 2, , so ,
with modulus .
By (a), for some , so , and
divides : , and two integers give the same number
only when divides (Example (Roots of Unity)).
Both and are positive, so . This proves the
theorem.
The two halves of Step 3 are mirror images. The
diagonal similarity attached to a peripheral eigenvalue
is a consistent labeling of the indices by phases, with every
positive entry advancing the phase by one; the walks of
build such a
labeling with
phases.
Combining (c) with Theorem 19.5.3 gives a
test that needs no eigenvalues at all.
Corollary
19.5.5 (Primitivity from Walks)
Let , , be irreducible and not the zero matrix.
Then is
primitive if and only if its period is . In particular, an
irreducible with at least one positive diagonal entry is
primitive.
Proof. Since is not the zero matrix,
by
the remark after Theorem 19.5.3. So by
that theorem, is
primitive if and only if , and
is the period by Theorem 19.5.4 (c). A
positive diagonal entry is a closed walk of length , so the period divides
.
The cyclic
permutation
The standard irreducible matrix that is not primitive
is the cyclic shift. It generalizes Chapter 9’s swap,
and it shows every part of Theorem 19.5.4 at
once.
Example
(The Cyclic Permutation)
Let and
let
send for and . Its permutation matrix (Definition 3.4.2)
has columns . Show that is irreducible with
period , find its
peripheral eigenvalues, and show that does not
converge.
Solution. Walks. The
non-zero entries of are for and , so the edges of
are for and : the graph is the
cycle . Every walk runs round it, and a closed
walk goes round a whole number of times, so its length
is a multiple of ;
the walk has length . So the period is . Following the cycle,
every vertex reaches every vertex, so is strongly
connected and is
irreducible (Theorem 19.2.5).
Eigenvalues. Since
and is
the identity, for every , so . If with
, then
, so and .
Hence
and every eigenvalue is peripheral. By
Theorem 19.5.4, , so the peripheral
eigenvalues are the numbers , ,
each algebraically simple. That accounts for all eigenvalues, and ,
the last equality because both sides are monic of degree
with the same
distinct
roots.
Powers. , so the sequence repeats
with period , and
runs through
distinct
permutation matrices. A sequence that returns to each of
two different matrices infinitely often has no limit, so
does not
converge. Starting a chain at , runs round
forever, although has the steady state
.
For this
is exactly the warning in Chapter 9 §11: the swap has
the eigenvalue , and Chapter 10 §10 identified an
eigenvalue of modulus other than as the only obstruction
to convergence (Corollary 10.10.5).
We now know where that eigenvalue comes from. It is
forced by the period: every closed walk has even length.
§06 shows that the chain still settles down on
average.
How large
a power is needed
The definition of primitivity asks for some but gives
no bound on , so a
direct check might seem to require computing powers
without end. By Lemma 19.2.1 (a), the
zero pattern of depends only on
the zero pattern of , and there are
finitely many patterns, so in principle the question is
finite. The sharp answer is classical.
Theorem
19.5.6 (Wielandt’s Bound)
If is primitive, then .
The bound cannot be improved: for the matrix with ones at the
positions
for and at
and , and zeros
elsewhere, is primitive and has a
zero entry.
This theorem is due to H. Wielandt (1950). We
state it without proof; the proof is a careful
count of walk lengths, and nothing in this book depends
on it. The matrix is the matrix of the examples, where
we saw that
has a zero at position and ; here . In the walks: a closed walk at must leave by and return by
, so it is
made of -cycles
and detours round , and its length , with , is never
. For the bound is , and is not positive
while
is.
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Define a
primitive matrix, and state the limit theorem for
primitive matrices.
- (b) True or false:
every primitive matrix is irreducible. Justify your
answer.
- (c) True or false:
every irreducible non-negative matrix is primitive.
Justify your answer.
- (d) True or false:
if is
irreducible and , then
is primitive. Justify your answer.
- (e) An irreducible
has and period
. Which of its
eigenvalues can you name without further
information?
- (f) Name the two
ingredients from earlier chapters that the proof of Theorem 19.5.2
combines.
Solution.
(a) , , is primitive if
for
some (Definition 19.5.1). Theorem 19.5.2: if
is primitive
with , and , satisfy and , then entrywise.
(b) True, by Proposition 19.5.1
(b).
(c) False. The
swap is irreducible,
but each of its powers is or the swap, and both
have zero entries.
(d) True, by Corollary 19.5.5: the
loop is a
closed walk of length , so the period is . (If , then with is
primitive directly.)
(e) By Theorem 19.5.4, , so the eigenvalues
of modulus are
,
each algebraically simple. The others cannot be named,
but they come in orbits of multiplication by , by part (b) of that
theorem.
(f) The
Jordan-form convergence criterion of Chapter 10 §10 (Theorem 10.10.4),
which gives convergence of ; and the
Perron–Frobenius theorem (Theorem 19.3.2), which
gives the simple eigenvalue and the positive
vectors that
identify the limit.
B. Practice
Exercise
(B1: Which are primitive?)
Determine which of the following matrices are
primitive. Justify your answer.
- (a) .
- (b) .
- (c) .
- (d) .
Solution.
(a) Primitive:
its square is .
(b) Not
primitive. It is the cyclic permutation matrix of Example (The Cyclic Permutation)
with (columns
,
the same shift run the other way), and every power of a
permutation matrix is a permutation matrix (Lemma 3.4.7), which
has zero entries.
(c) Not
primitive. The positive entries are at , so the edges of are , , and , and every edge
joins vertex to
the set . A
closed walk therefore has even length, and has length
: the matrix has
period . It is
irreducible, since every vertex reaches every other
through , so is strongly
connected (Theorem 19.2.5). By Corollary 19.5.5 it is
not primitive. (Directly: has zero -entry for even
and zero -entry for odd .)
(d) Not
primitive. The positive entries sit at positions with , so every edge
has , vertex numbers
never increase along a walk, and there is no walk from
to . By Lemma 19.2.1 (a), the
-entry of
every power is .
Exercise
(B2: A limit without diagonalizing)
Let .
- (a) Show that is primitive.
- (b) Show that , and that is
not diagonalizable.
- (c) Find positive
right and left eigenvectors for , and hence .
Solution.
(a) Compute So is
primitive.
(b) Here , and expansion along the first
row gives Since , this is the claimed factorization. For , has rank (rows 2 and 3 agree,
rows 1 and 2 are independent), so , and is not
diagonalizable.
(c) : the first row gives , and then the
second gives , so . Take ; check: . For the left vector, : the second row gives , and the first
gives . Take ; check: . Then ,
and by Theorem 19.5.2 Part (b) shows that Chapter 9’s
diagonalization method is unavailable here; the theorem
does not need it.
Exercise
(B3: Period and peripheral eigenvalues)
Let .
- (a) Show that is irreducible with
period .
- (b) Use Theorem 19.5.4 to
predict the eigenvalues of modulus in terms of
, then
compute and
confirm.
- (c) Hence explain
why does
not converge.
Solution.
(a) The positive
entries are at , the same pattern as in B1(c), so
the argument there applies: is irreducible with
period .
(b) With and , the
peripheral eigenvalues are and , and the spectrum
is symmetric under . Expanding along the first
row, So , the peripheral eigenvalues are , and the remaining
eigenvalue is its
own negative, as predicted.
(c) The vector
satisfies , so has the eigenvalue
. By Theorem 10.10.4,
the powers of a matrix with an eigenvalue of modulus
other than do not converge.
Concretely, alternates in sign.
C. Going deeper
Exercise
(C1: Shifting by the identity)
Let , , be irreducible, with right and left Perron
vectors , and
let .
- (a) Prove that is primitive,
with and the same Perron vectors .
- (b) Deduce that
, and apply
this to the swap with .
Solution.
(a) has the
same off-diagonal pattern as , so entrywise, since each product
of non-negative matrices can only grow when an entry
grows; so
is irreducible (Theorem 19.2.6). Its
diagonal entries are , so it is primitive by Corollary 19.5.5. By
Theorem 9.10.1 with
, its
eigenvalues are , , and by Theorem 0.6.4, with
itself
an eigenvalue, since .
So . Finally and , with .
(b) By (a) and Theorem 19.5.2 applied
to . For
the swap , , and is a positive right
and left eigenvector, so the limit is . Directly, , whose powers are all equal to
itself, in agreement.
Exercise
(C2: Traces detect the period)
Let be
irreducible, not the zero matrix, with period .
- (a) Prove that for every
that is not
a multiple of , in
two ways: from Theorem 19.5.4 (b),
and from Lemma 19.2.1 (a).
- (b) Deduce that if
and , then
is primitive.
- (c) Check (b) on the
matrix of the
examples.
Solution.
- (a)
Spectrum. Let and
. By Theorem 19.5.4 (c),
the period is
also the number of peripheral eigenvalues, so part (b)
of that theorem applies with this . By Corollary 9.10.2,
applied over ,
. By Theorem 19.5.4 (b),
the list is a rearrangement of
, so . If , then (Example (Roots of Unity)),
so .
Walks. is a sum of non-negative
terms, positive exactly when some ,
that is, by Lemma 19.2.1 (a), when
there is a closed walk of length . Every closed walk has
length a multiple of the period, so for the trace is
.
(b) By (a), and , so , and is primitive by Corollary 19.5.5.
(c) has trace , and has trace ; so is primitive, as found
directly.
Exercise
(C3: A finite test for primitivity)
Let , , and let be the zero pattern
of : the
matrix with a
exactly where
is
positive.
- (a) Prove that is determined by
and .
- (b) Deduce that if
with
, then
for every .
- (c) Prove that if
is primitive,
then
for some . Compare with Theorem 19.5.6.
Hint: there are only zero patterns;
use Proposition 19.5.1
(a).
Solution.
(a) is a sum of
non-negative terms, positive exactly when some has and
. So
if and only if for some , which depends only on
and .
(b) By induction
on : the case
is the
hypothesis, and if , then (a) applied to both gives
.
(c) Among ,
, two
agree, say with , so . By (b), for every , by induction on
. If , then by Proposition 19.5.1 (a)
for
all ;
choosing with
shows that is
the all-ones pattern, so with .
Wielandt’s bound is enormously smaller: for it is against .