19.5  Primitive Matrices

The Perron–Frobenius theorem tells us what an irreducible nonnegative matrix looks like at its spectral radius: ρ(A) is an algebraically simple eigenvalue with a positive eigenvector. It says nothing about what the powers Am do, and Chapter 9 §11 already met the obstacle. The swap (0110) is irreducible, has a positive eigenvector for ρ=1, and its powers alternate forever. This section finds the extra hypothesis that makes the powers settle down, proves that under it (A/ρ)m 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 A.

Throughout, matrices are real and A≥O is meant entrywise, as are A>O, x≥0 and x>0. The spectrum is taken over C, and ρ(A) is the spectral radius (Definition 16.4.1).

19.5.1. Walks in a nonnegative matrix

Whether a power Am has a positive entry at position (i,j) depends only on which entries of A are zero. The bookkeeping device is the directed graph G(A) of §02 (Definition 19.2.1): it has an edge j→i for each nonzero entry aij, and a walk of length m from j to i is a list j=i0,i1,…,im=i of vertices in which each it−1→it is an edge. The edge for aij points from the column index to the row index, the direction in which a column-stochastic chain moves. A walk is closed if i0=im and m≥1.

By §02’s count of walks (Lemma 19.2.1 (a)), for A≥O and m≥0, (Am)ij>0 if and only if G(A) has a walk of length m from j to i. Everything in this section about zero patterns rests on that fact.

19.5.2. Primitive matrices

Here is the property the swap lacks. Its powers are I 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 A∈Mn(R), n≥1, with A≥O is primitive if Ak>O for some integer k≥1, that is, if every entry of some power of A is strictly positive.

In words: we are allowed to wait, but only for a finite number k of steps, and after those k steps all n2 entries must be positive together. By Lemma 19.2.1 (a), A is primitive exactly when there is one length k such that every vertex of G(A) has a walk of length k to every vertex, including to itself.

Examples.

  • Positive matrices. If A>O, take k=1. Perron’s theorem (Theorem 19.1.5) is about these.
  • A matrix with zeros. A=(1120) has a zero entry, but A2=(3122)>O. So A is primitive with k=2. In the graph: the edges are 1→1, 1→2 and 2→1, and 1→1→1, 1→1→2, 2→1→1, 2→1→2 are walks of length 2 between every ordered pair.
  • A slower one. W=(010001110). Its edges are 2→1, 3→2, 1→3, and 2→3, so its closed walks include 1→3→2→1 of length 3 and 2→3→2 of length 2. Multiplying out, W4=(011111121) still has a zero, and W5=(111121122)>O. So W is primitive, and the smallest k is 5.
  • Degenerate case. A 1×1 matrix (a) is primitive if and only if a>0. The zero 1×1 matrix is not, which is why the statements below exclude it.

Nonexample by minimal change. Change the (1,1)-entry of (1120) to 0. The result A′=(0120) is still nonnegative, and it is still irreducible, since (I+A′)1>O (Theorem 19.2.6). But A′2=2I, so the even powers of A′ are multiples of I and the odd powers multiples of A′, and every power has two zero entries: A′ is not primitive. The clause that fails is “some power is positive”; what was lost is the loop 1→1; without it every edge joins 1 and 2, so every closed walk has even length. More generally, the powers of a permutation matrix are permutation matrices (Lemma 3.4.7), and for n≥2 a permutation matrix has zeros; so no permutation matrix of size n≥2 is primitive.

Why this definition. Asking for A>O 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 (i,j) 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 j be reachable from each i by a walk of some length; primitivity asks for walks of one common length. For the swap, every walk from 1 to 2 has odd length and every walk from 1 to 1 has even length, so no single power is positive at both (1,1) and (1,2).

Quick check. Is A=(0111) primitive? Is B=(1101)?

Solution. A2=(1112)>O, so A is primitive. For B, every power is upper triangular, Bm=(1m01), so the (2,1)-entry is always 0 and B is not primitive: G(B) has no walk from 1 to 2 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 A∈Mn(R) be primitive, with Ak>O. Then:

  • (a) Am>O for every m≥k;
  • (b) A is irreducible;
  • (c) ρ(A)>0, and ρ(A) is the only eigenvalue of A of modulus ρ(A).

Idea.

  • (a) Multiplying a positive matrix by a nonnegative 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 Ak are the k-th powers of those of A. A second eigenvalue of A on the circle of radius ρ would land, after raising to the k-th power, on the circle where Perron’s theorem allows only the simple eigenvalue ρ(Ak).

Proof.

  • (a) Column j of Ak is Ak−1 times column j of A (Theorem 0.9.2; for k=1 read A0=I). Since Ak>O, no column of A is zero. Now suppose Am>O for some m≥k. Then (Am+1)ij=∑l(Am)ilalj is a sum of nonnegative terms, and the term for an l with alj>0 is positive. So Am+1>O, and (a) follows by induction on m.

  • (b) For every ordered pair (j,i), (Ak)ij>0, so Lemma 19.2.1 (a) gives a walk from j to i in G(A). So G(A) is strongly connected (Definition 19.2.2), and A is irreducible by Theorem 19.2.5.

  • (c) Over C, write pA=(x−λ1)⋯(x−λn), with each eigenvalue repeated according to its algebraic multiplicity. By the Spectral Mapping Theorem (Theorem 9.10.1) with q=xk, pAk=(x−λ1k)⋯(x−λnk). So ρ(Ak)=maxi|λi|k=ρ(A)k. By Theorem 19.1.5 applied to Ak>O, ρ(Ak)>0 is an algebraically simple eigenvalue of Ak, and every other eigenvalue of Ak has modulus less than ρ(Ak). In particular ρ(A)k>0, so ρ(A)>0.

By (b) and Theorem 19.3.2, ρ:=ρ(A) is an eigenvalue of A; say λ1=ρ. Suppose some λs with s≥2 had |λs|=ρ but λs≠ρ. Then λsk is an eigenvalue of Ak of modulus ρk=ρ(Ak), so by Perron’s theorem it is not an “other” eigenvalue: λsk=ρk. Then ρk occurs at least twice in the list λ1k,…,λnk, at positions 1 and s, so aAk(ρk)≥2, 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 k, the exponent of A, is well defined and marks a permanent change.

19.5.3. The limit theorem

For the swap, ρ=1 and the powers do not converge. We now show that primitivity is exactly what makes (A/ρ)m converge, and we identify the limit. The answer involves eigenvectors on both sides.

If A≥O is irreducible, then Theorem 19.3.2 (a) and Corollary 19.3.3 (a)–(c) provide v>0 and w>0 with Av=ρ(A)v, w⊤A=ρ(A)w⊤, and w⊤v>0, and the right and left Perron vectors of Definition 19.3.1 are the pair scaled so that 1⊤v=1 and w⊤v=1. Each of v,w is determined up to a positive factor, because ρ(A) is algebraically simple (Theorem 19.3.2 (b)), so its eigenspaces for A and A⊤ are lines (Theorem 9.3.1, Proposition 9.10.5 (b)).

Theorem 19.5.2 (Limit Theorem for Primitive Matrices)

Let A∈Mn(R) be primitive, ρ=ρ(A), and let v>0 and w>0 satisfy Av=ρv and w⊤A=ρw⊤, for instance the right and left Perron vectors of A. Then, entrywise, (1ρA)m⟶vw⊤w⊤v(m→∞). The limit is a positive matrix of rank one, and it does not depend on how v and w are scaled. The same conclusion holds for every irreducible A≥O with ρ(A)>0 whose only eigenvalue of modulus ρ(A) is ρ(A) itself.

Idea. Divide by ρ, so that the Perron eigenvalue becomes 1 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 L. Three identities pin it down: BL=L puts every column of L on the line through v; LB=L puts every row on the line through w⊤; and Lv=v fixes the scale.

Proof. It suffices to prove the last sentence, since a primitive matrix is irreducible with ρ(A)>0 and has ρ(A) as its only eigenvalue of modulus ρ(A), by Proposition 19.5.1 (b) and (c).

So let A≥O be irreducible with ρ>0 the only eigenvalue of modulus ρ, and put B=ρ−1A. By Theorem 9.10.1 with q=x/ρ, the eigenvalues of B are the numbers λ/ρ, λ∈spec(A), with the same algebraic multiplicities. So 1 is an eigenvalue of B with aB(1)=aA(ρ)=1 by Theorem 19.3.2, and every other eigenvalue of B has modulus less than 1. Since the 1-blocks in a Jordan form of B have total size aB(1)=1 (Corollary 10.3.2 (a)), there is a single 1-block, of size 1. By Theorem 10.10.4, Bm converges to some L∈Mn(C).

Three identities. By the algebra of limits, (B3) of Chapter 10 §10, applied entry by entry, Bm+1=BBm→BL and Bm+1=BmB→LB; but (Bm+1) is a tail of (Bm), so it also tends to L. Hence BL=L=LB. Also Bv=v, so Bmv=v for every m, and letting m→∞ gives Lv=v.

The columns. BL=L says that every column of L lies in E1(B)=Eρ(A), which is the line span(v), as noted before the theorem. So column j of L is ujv for some uj∈C, that is, L=vu⊤ with u=(u1,…,un).

The rows. LB=L reads v(u⊤B)=vu⊤. Choose r with vr≠0 and compare row r: u⊤B=u⊤, so B⊤u=u, and u lies in the eigenspace of A⊤ for ρ. That eigenspace is the line through w, so u=cw for some c∈C.

The scale. Now v=Lv=cv(w⊤v), and comparing entry r gives cw⊤v=1. Since w⊤v>0, c=1/(w⊤v), and L=vw⊤/(w⊤v).

Finally, vw⊤ has (i,j)-entry viwj>0 and every column a multiple of v, so the limit is positive of rank one; replacing v,w by sv,tw with s,t>0 multiplies numerator and denominator by st. 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 w⊤v=1 of §03, the limit is simply the idempotent vw⊤. §06 turns the theorem into the long-run theorem for Markov chains.

Example (A Limit Computed Two Ways)

Let A=(1120), which is primitive since A2>O. Find limm(A/ρ)m from Theorem 19.5.2, and confirm it with an exact formula for Am.

Solution. The theorem. pA=x2−x−2=(x−2)(x+1), so ρ=2. A positive right eigenvector solves (A−2I)v=0, that is, −v1+v2=0: take v=(1,1). A positive left eigenvector solves (A⊤−2I)w=0, with A⊤−2I=(−121−2): take w=(2,1). Then w⊤v=3, and (12A)m⟶L=13(11)(21)=13(2121). The formula. L2=L, because w⊤v/3=1, and L(I−L)=O. A direct check gives 3L−I=(1120)=A, so A=2L−(I−L). Since L and I−L are complementary projections, induction on m gives Am=2mL+(−1)m(I−L),(12A)m=L+(−12)m13(1−1−22). For m=2 this is 13(2121)+112(1−1−22)=14(3122), which is A2/4. The error term is (−12)m times a fixed matrix: it decays at the rate |λ2|/ρ=12 and changes sign at every step.

Warning. The limit uses the left eigenvector, not the transpose of the right one. For the matrix above, vv⊤/(v⊤v)=12(1111), which is not the limit. The two agree when A is symmetric, since then w=v; in general w 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 A∈Mn(R), A≥O, be irreducible with ρ(A)>0. Then A is primitive if and only if ρ(A) is the only eigenvalue of A of modulus ρ(A).

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 n2 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, (A/ρ)m→L with L>O. Each of the n2 entries of (A/ρ)m converges to a positive number cij, so it is positive for all m beyond some mij: this is the definition of the limit with ε=cij/2. For m larger than the largest of these finitely many mij, (A/ρ)m>O, and hence Am=ρm(A/ρ)m>O. So A is primitive.

The hypothesis ρ(A)>0 excludes only the 1×1 zero matrix: for n≥2 it holds for every irreducible A≥O by Theorem 19.3.2 (d), and for n=1, ρ((a))=a.

19.5.4. The peripheral spectrum and the period

What does an irreducible, nonprimitive matrix look like? The eigenvalues of modulus ρ(A) are called the peripheral eigenvalues of A, and the theorem just proved says that a nonprimitive irreducible matrix, other than the 1×1 zero matrix, has more than one of them. For the swap they are ±1. For the 3×3 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 A∈Mn(R), A≥O, be irreducible and not the 1×1 zero matrix. The period of A is the greatest common divisor of the lengths of all closed walks in A.

There is at least one closed walk, so the definition makes sense. If n=1, then A=(a) with a>0, and the loop 1→1 is a closed walk of length 1. If n≥2, then G(A) is strongly connected (Theorem 19.2.5), so there are walks from 1 to 2 and from 2 to 1, and one followed by the other is a closed walk. For the swap, every edge joins 1 and 2, so closed walks have even length, and 1→2→1 has length 2: the period is 2. For W above, closed walks of lengths 3 and 2 give period 1. A single positive diagonal entry aii is a loop i→i, a closed walk of length 1, and forces period 1.

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, |z|=(|z1|,…,|zn|) is the entrywise absolute value of z∈Cn.

Theorem 19.5.4 (The Peripheral Spectrum)

Let A∈Mn(R), A≥O, be irreducible and not the 1×1 zero matrix. Put ρ=ρ(A), let h be the number of distinct eigenvalues of A of modulus ρ, and let ω=e2πi/h. Then:

  • (a) the eigenvalues of A of modulus ρ are exactly ρ,ρω,ρω2,…,ρωh−1, and each is algebraically simple;
  • (b) A is similar to ωA; in particular spec(A) is unchanged by multiplication by ω, with algebraic multiplicities;
  • (c) h equals the period of A.

Idea. Step roadmap. ① Take an eigenvector z for a peripheral eigenvalue ρeiθ. The triangle inequality (Theorem 0.6.4) gives A|z|≥ρ|z|, and superinvariance (Proposition 19.4.2) forces equality, so |z| is a positive multiple of v. Equality in the triangle inequality then says all terms of each row sum point in the same direction, and that is a similarity D−1AD=eiθA with D 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 h points on the unit circle must be the h-th roots of unity. ③ The diagonal matrix D 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 h to walk lengths.

Proof. Recall that ρ>0 (the remark after Theorem 19.5.3), and let v>0 be an eigenvector of A for ρ (Theorem 19.3.2 (a)).

Step 1. Let λ=ρeiθ be an eigenvalue. Then there are real numbers φ1,…,φn such that eiφj=eiθeiφi whenever aij>0; consequently, with D=diag(eiφ1,…,eiφn), we have D−1AD=eiθA.

Let Az=λz with z≠0. By Lemma 19.1.2 (a), with |A|=A since A≥O, in each row ρ|zi|=|λzi|=|∑jaijzj|≤∑jaij|zj|=(A|z|)i. So A|z|≥ρ|z|, where |z|≥0 and |z|≠0. If A|z|≠ρ|z|, then Proposition 19.4.2 (b) with s=ρ would give ρ>ρ; hence A|z|=ρ|z|. So |z| is a nonnegative eigenvector of A, and by Theorem 19.3.2 (c) it is a positive multiple of v. Therefore |z|>0, and we may write zj=|zj|eiφj in polar form.

Now every inequality in the display is an equality. Fix i. The number S=∑jaijzj=λzi=ρ|zi|ei(θ+φi) (Theorem 0.6.5) is nonzero, since ρ>0 and |zi|>0, and |S|=∑j|aijzj|. So Lemma 19.1.3, applied to the n numbers aijzj, with S/|S|=ei(θ+φi), gives aijzj=aij|zj|ei(θ+φi) for every j. If aij>0, dividing by aij|zj|>0 gives eiφj=ei(θ+φi)=eiθeiφi. This is the first statement. For the second, the (i,j)-entry of D−1AD is e−iφiaijeiφj, which is eiθaij when aij>0 and 0=eiθaij when aij=0.

Step 2. Proof of (a) and (b). Write pA=(x−λ1)⋯(x−λn) over C. For every peripheral λ=ρeiθ, Step 1 and Theorem 7.10.3 give pA=peiθA, and by Theorem 9.10.1 with q=eiθx, (x−λ1)⋯(x−λn)=pA=peiθA=(x−eiθλ1)⋯(x−eiθλn). So multiplication by eiθ permutes the eigenvalues listed with multiplicity: aA(eiθμ)=aA(μ)for every μ∈C.

Let G={λ/ρ:λ∈spec(A), |λ|=ρ}, a set of h complex numbers of modulus 1 containing 1, because ρ∈spec(A) by Theorem 19.3.2. If g=eiθ and g′ lie in G, then ρg′∈spec(A), so gρg′∈spec(A) by the invariance just proved, and it has modulus ρ: thus gg′∈G. For fixed g∈G, the map G→G, x↦gx, is injective, since g≠0; as G is finite it is a bijection. Hence the product Π of all elements of G satisfies Π=∏x∈Ggx=ghΠ, and Π≠0, so gh=1. So G is contained in the set of h-th roots of unity, which has exactly h elements 1,ω,…,ωh−1 (Example (Roots of Unity)). Both sets have h elements, so they are equal. This proves the first half of (a).

Each ρωj has aA(ρωj)=aA(ρ)=1, by the invariance with eiθ=ωj and Theorem 19.3.2. This proves (a). Taking λ=ρω in Step 1 gives (b).

Step 3. Proof of (c). Let d be the period.

h divides d. Apply Step 1 to λ=ρω, so eiθ=ω. Along a closed walk i0→i1→⋯→iL=i0 each entry aitit−1 is positive, so Step 1 gives eiφit−1=ωeiφit for each t, and chaining these L equations gives eiφi0=ωLeiφiL=ωLeiφi0. So ωL=1, and h divides L (Example (Roots of Unity)). As this holds for every closed walk, h divides d.

d divides h. If n=1 then d=1. Let n≥2. Since G(A) is strongly connected (Theorem 19.2.5), every vertex j is joined to vertex 1 by walks in both directions; for j=1 this includes the walk of length 0. Choose for each j the length ℓj of some walk from 1 to j, with ℓ1=0. Any two walks from 1 to j, of lengths ℓ and ℓ′, have lengths congruent modulo d: following either by a fixed walk from j back to 1, of length s, gives closed walks of lengths ℓ+s and ℓ′+s (or length 0, trivially a multiple of d), both multiples of d. Now if aij>0, a walk from 1 to j followed by the edge j→i is a walk from 1 to i of length ℓj+1, so ℓi≡ℓj+1(modd). Put ζ=e2πi/d and E=diag(ζ−ℓ1,…,ζ−ℓn). Then the (i,j)-entry of E−1AE is ζℓi−ℓjaij=ζaij when aij>0, since ζd=1, and 0 otherwise. So E−1AE=ζA. As in Step 2, spec(A)=ζspec(A), so ζρ∈spec(A), with modulus ρ. By (a), ζ=ωj for some j, so ζh=(ωh)j=1, and d divides h: e2πih/d=1=e2πi⋅0/d, and two integers k,l give the same number e2πik/d=e2πil/d only when d divides k−l (Example (Roots of Unity)).

Both h and d are positive, so h=d. 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 h phases, with every positive entry advancing the phase by one; the walks of A build such a labeling with d 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 A∈Mn(R), A≥O, be irreducible and not the 1×1 zero matrix. Then A is primitive if and only if its period is 1. In particular, an irreducible A≥O with at least one positive diagonal entry is primitive.

Proof. Since A is not the 1×1 zero matrix, ρ(A)>0 by the remark after Theorem 19.5.3. So by that theorem, A is primitive if and only if h=1, and h is the period by Theorem 19.5.4 (c). A positive diagonal entry is a closed walk of length 1, so the period divides 1.

19.5.5. 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 n≥2 and let σ∈Sn send j↦j+1 for j<n and n↦1. Its permutation matrix P=Pσ (Definition 3.4.2) has columns e2,e3,…,en,e1. Show that P is irreducible with period n, find its peripheral eigenvalues, and show that Pm does not converge.

Solution. Walks. The nonzero entries of P are pj+1,j for j<n and p1n, so the edges of G(P) are j→j+1 for j<n and n→1: the graph is the cycle 1→2→⋯→n→1. Every walk runs round it, and a closed walk goes round a whole number of times, so its length is a multiple of n; the walk 1→2→⋯→n→1 has length n. So the period is n. Following the cycle, every vertex reaches every vertex, so G(P) is strongly connected and P is irreducible (Theorem 19.2.5).

Eigenvalues. Since Pej=eσ(j) and σn is the identity, Pnej=ej for every j, so Pn=I. If Pz=λz with z≠0, then z=Pnz=λnz, so λn=1 and |λ|=1. Hence ρ(P)=1 and every eigenvalue is peripheral. By Theorem 19.5.4, h=n, so the peripheral eigenvalues are the n numbers 1,ω,…,ωn−1, ω=e2πi/n, each algebraically simple. That accounts for all n eigenvalues, and pP=(x−1)(x−ω)⋯(x−ωn−1)=xn−1, the last equality because both sides are monic of degree n with the same n distinct roots.

Powers. Pn=I, so the sequence P,P2,… repeats with period n, and Pm runs through n distinct permutation matrices. A sequence that returns to each of two different matrices infinitely often has no limit, so Pm does not converge. Starting a chain at e1, Pme1 runs round e1,e2,…,en,e1,… forever, although P has the steady state 1n1.

For n=2 this is exactly the warning in Chapter 9 §11: the swap has the eigenvalue −1=e2πi/2, and Chapter 10 §10 identified an eigenvalue of modulus 1 other than 1 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.

19.5.6. How large a power is needed

The definition of primitivity asks for some Ak>O but gives no bound on k, so a direct check might seem to require computing powers without end. By Lemma 19.2.1 (a), the zero pattern of Am depends only on the zero pattern of A, 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 A∈Mn(R) is primitive, then A(n−1)2+1>O. The bound cannot be improved: for n≥2 the matrix Wn with ones at the positions (i,i+1) for i<n and at (n,1) and (n,2), and zeros elsewhere, is primitive and Wn(n−1)2 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 W3 is the matrix W of the examples, where we saw that W4 has a zero at position (1,1) and W5>O; here (n−1)2+1=5. In the walks: a closed walk at 1 must leave by 1→3 and return by 2→1, so it is made of 3-cycles 1→3→2→1 and detours round 3→2→3, and its length 3+3a+2b, with a,b≥0, is never 4. For n=4 the bound is 10, and W49 is not positive while W410 is.

Remark. The bound is quadratic in n, not n−1 as for (I+A)n−1 in Theorem 19.2.6. Adding I puts a loop at every vertex, which lets walks wait; a primitive matrix may have no such loops, and then the walks must make up lengths from long cycles, as Wn does with its cycles of lengths n and n−1.

19.5.7. 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 nonnegative matrix is primitive. Justify your answer.
  • (d) True or false: if A≥O is irreducible and a11>0, then A is primitive. Justify your answer.
  • (e) An irreducible A≥O has ρ(A)=2 and period 4. 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) A∈Mn(R), A≥O, is primitive if Ak>O for some k≥1 (Definition 19.5.1). Theorem 19.5.2: if A is primitive with ρ=ρ(A), and v>0, w>0 satisfy Av=ρv and w⊤A=ρw⊤, then (A/ρ)m→vw⊤/(w⊤v) entrywise.

  • (b) True, by Proposition 19.5.1 (b).

  • (c) False. The swap (0110) is irreducible, but each of its powers is I or the swap, and both have zero entries.

  • (d) True, by Corollary 19.5.5: the loop 1→1 is a closed walk of length 1, so the period is 1. (If n=1, then A=(a11) with a11>0 is primitive directly.)

  • (e) By Theorem 19.5.4, h=4, so the eigenvalues of modulus 2 are 2,2i,−2,−2i, each algebraically simple. The others cannot be named, but they come in orbits of multiplication by i, by part (b) of that theorem.

  • (f) The Jordan-form convergence criterion of Chapter 10 §10 (Theorem 10.10.4), which gives convergence of (A/ρ)m; and the Perron–Frobenius theorem (Theorem 19.3.2), which gives the simple eigenvalue ρ and the positive vectors v,w that identify the limit.

B. Practice

Exercise (B1: Which are primitive?)

Determine which of the following matrices are primitive. Justify your answer.

  • (a) (0111).
  • (b) (010001100).
  • (c) (010101010).
  • (d) (110011001).

Solution.

  • (a) Primitive: its square is (1112)>O.

  • (b) Not primitive. It is the cyclic permutation matrix of Example (The Cyclic Permutation) with n=3 (columns e3,e1,e2, 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 (1,2),(2,1),(2,3),(3,2), so the edges of G(A) are 1→2, 2→1, 2→3 and 3→2, and every edge joins vertex 2 to the set {1,3}. A closed walk therefore has even length, and 1→2→1 has length 2: the matrix has period 2. It is irreducible, since every vertex reaches every other through 2, so G(A) is strongly connected (Theorem 19.2.5). By Corollary 19.5.5 it is not primitive. (Directly: Am has zero (1,2)-entry for even m and zero (1,1)-entry for odd m.)

  • (d) Not primitive. The positive entries sit at positions (i,j) with i≤j, so every edge j→i has i≤j, vertex numbers never increase along a walk, and there is no walk from 1 to 2. By Lemma 19.2.1 (a), the (2,1)-entry of every power is 0.

Exercise (B2: A limit without diagonalizing)

Let A=(001201210).

  • (a) Show that A is primitive.
  • (b) Show that pA=(x−2)(x+1)2, and that A is not diagonalizable.
  • (c) Find positive right and left eigenvectors for ρ(A), and hence limm(A/2)m.

Solution.

  • (a) Compute A2=(210212203),A4=(A2)2=(63210381029)>O. So A is primitive.

  • (b) Here xI−A=(x0−1−2x−1−2−1x), and expansion along the first row gives pA=x(x2−1)+(−1)((−2)(−1)−x(−2))=x3−x−2−2x=x3−3x−2. Since (x−2)(x+1)2=(x−2)(x2+2x+1)=x3−3x−2, this is the claimed factorization. For λ=−1, A+I=(101211211) has rank 2 (rows 2 and 3 agree, rows 1 and 2 are independent), so gA(−1)=1<2=aA(−1), and A is not diagonalizable.

  • (c) A−2I=(−2012−2121−2): the first row gives v3=2v1, and then the second gives 2v1−2v2+2v1=0, so v2=2v1. Take v=(1,2,2); check: Av=(2,4,4). For the left vector, A⊤−2I=(−2220−2111−2): the second row gives w3=2w2, and the first gives w1=w2+w3=3w2. Take w=(3,1,2); check: w⊤A=(0+2+4, 0+0+2, 3+1+0)=(6,2,4)=2w⊤. Then w⊤v=3+2+4=9, and by Theorem 19.5.2 (12A)m⟶19(122)(312)=19(312624624). 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=(010202010).

  • (a) Show that A is irreducible with period 2.
  • (b) Use Theorem 19.5.4 to predict the eigenvalues of modulus ρ(A) in terms of ρ(A), then compute pA and confirm.
  • (c) Hence explain why (A/ρ(A))m does not converge.

Solution.

  • (a) The positive entries are at (1,2),(2,1),(2,3),(3,2), the same pattern as in B1(c), so the argument there applies: A is irreducible with period 2.

  • (b) With h=2 and ω=−1, the peripheral eigenvalues are ρ and −ρ, and the spectrum is symmetric under λ↦−λ. Expanding along the first row, pA=det(x−10−2x−20−1x)=x(x2−2)+1⋅(−2x)=x(x−2)(x+2). So ρ=2, the peripheral eigenvalues are ±2, and the remaining eigenvalue 0 is its own negative, as predicted.

  • (c) The vector z=(1,−2,1) satisfies Az=(−2,4,−2)=−2z, so A/2 has the eigenvalue −1. By Theorem 10.10.4, the powers of a matrix with an eigenvalue of modulus 1 other than 1 do not converge. Concretely, (A/2)mz=(−1)mz alternates in sign.

C. Going deeper

Exercise (C1: Shifting by the identity)

Let A∈Mn(R), A≥O, be irreducible, with right and left Perron vectors v,w, and let t>0.

  • (a) Prove that A+tI is primitive, with ρ(A+tI)=ρ(A)+t and the same Perron vectors v,w.
  • (b) Deduce that ((A+tI)/(ρ(A)+t))m→vw⊤/(w⊤v), and apply this to the swap with t=1.

Solution.

  • (a) A+tI≥O has the same off-diagonal pattern as A, so (I+A+tI)n−1≥(I+A)n−1>O entrywise, since each product of nonnegative matrices can only grow when an entry grows; so A+tI is irreducible (Theorem 19.2.6). Its diagonal entries are ≥t>0, so it is primitive by Corollary 19.5.5. By Theorem 9.10.1 with q=x+t, its eigenvalues are λ+t, λ∈spec(A), and |λ+t|≤|λ|+t≤ρ(A)+t by Theorem 0.6.4, with ρ(A)+t itself an eigenvalue, since ρ(A)∈spec(A). So ρ(A+tI)=ρ(A)+t. Finally (A+tI)v=(ρ(A)+t)v and w⊤(A+tI)=(ρ(A)+t)w⊤, with v,w>0.

  • (b) By (a) and Theorem 19.5.2 applied to A+tI. For the swap S, ρ=1, and 1 is a positive right and left eigenvector, so the limit is 11⊤/(1⊤1)=11⊤/2. Directly, (S+I)/2=12(1111), whose powers are all equal to itself, in agreement.

Exercise (C2: Traces detect the period)

Let A≥O be irreducible, not the 1×1 zero matrix, with period h.

  • (a) Prove that tr(Am)=0 for every m≥1 that is not a multiple of h, in two ways: from Theorem 19.5.4 (b), and from Lemma 19.2.1 (a).
  • (b) Deduce that if tr(A2)>0 and tr(A3)>0, then A is primitive.
  • (c) Check (b) on the matrix W of the examples.

Solution.

  • (a) Spectrum. Let ω=e2πi/h and pA=∏i(x−λi). By Theorem 19.5.4 (c), the period h is also the number of peripheral eigenvalues, so part (b) of that theorem applies with this ω. By Corollary 9.10.2, applied over C, tr(Am)=∑iλim. By Theorem 19.5.4 (b), the list ωλ1,…,ωλn is a rearrangement of λ1,…,λn, so ∑iλim=∑i(ωλi)m=ωm∑iλim. If h∤m, then ωm≠1 (Example (Roots of Unity)), so tr(Am)=0.

    Walks. tr(Am)=∑i(Am)ii is a sum of nonnegative terms, positive exactly when some (Am)ii>0, that is, by Lemma 19.2.1 (a), when there is a closed walk of length m. Every closed walk has length a multiple of the period, so for h∤m the trace is 0.

  • (b) By (a), h∣2 and h∣3, so h=1, and A is primitive by Corollary 19.5.5.

  • (c) W2=(001110011) has trace 2, and W3=(110011111) has trace 3; so W is primitive, as found directly.

Exercise (C3: A finite test for primitivity)

Let A∈Mn(R), A≥O, and let Zm be the zero pattern of Am: the 0/1 matrix with a 1 exactly where Am is positive.

  • (a) Prove that Zm+1 is determined by Zm and Z1.
  • (b) Deduce that if Za=Zb with a<b, then Za+j=Zb+j for every j≥0.
  • (c) Prove that if A is primitive, then Ak>O for some k≤2n2. Compare with Theorem 19.5.6.

Hint: there are only 2n2 zero patterns; use Proposition 19.5.1 (a).

Solution.

  • (a) (Am+1)ij=∑l(Am)ilalj is a sum of nonnegative terms, positive exactly when some l has (Am)il>0 and alj>0. So (Zm+1)ij=1 if and only if (Zm)il=(Z1)lj=1 for some l, which depends only on Zm and Z1.

  • (b) By induction on j: the case j=0 is the hypothesis, and if Za+j=Zb+j, then (a) applied to both gives Za+j+1=Zb+j+1.

  • (c) Among Z1,…,ZN+1, N=2n2, two agree, say Za=Zb with a<b≤N+1, so a≤N. By (b), Za+q(b−a)=Za for every q≥0, by induction on q. If Ak>O, then by Proposition 19.5.1 (a) Am>O for all m≥k; choosing q with a+q(b−a)≥k shows that Za is the all-ones pattern, so Aa>O with a≤2n2. Wielandt’s bound (n−1)2+1 is enormously smaller: for n=3 it is 5 against 512.

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.