19.2  Irreducibility and Graphs

Perron’s theorem (Theorem 19.1.5) asks for every entry to be positive, and most matrices that arise in practice do not oblige. The bicycle chain of Chapter 9 §11 has a zero entry, since a bicycle at station 3 never reaches station 1 in one night; the Leslie matrix of the same section is mostly zeros; the swap has only two non-zero entries. Some zeros are harmless and some are fatal: the swap keeps ρ=1 as a simple eigenvalue with a positive eigenvector, while for I2 the eigenvalue 1 is double and its positive eigenvectors are no longer all multiples of one. This section finds the dividing line. It depends only on where the zero entries are, and the right way to read that pattern is as a map of one-step moves between the indices: a directed graph. The matrices on the good side of the line are the irreducible ones, and §03 proves that they enjoy nearly all of Perron’s conclusions.

Throughout, F is R or C. The definitions of this section use only whether an entry is zero, so they make sense for any matrix. The statements about powers and positivity need A≥0, and say so.

19.2.1. The graph of a matrix

The question that recurs is this: which entries of Ak are non-zero? For a non-negative matrix, (A2)ij=∑lailalj is positive exactly when some ail and alj are both positive, that is, when one can go from j to some l and from l to i along non-zero entries. In a Markov chain (Definition 9.11.2), alj is the probability of moving from state j to state l in one step, and the sentence says that state i can be reached from j in two steps. So we draw an arrow from j to i for each non-zero entry aij and count routes.

The graph of a matrix has a vertex for each index and an arrow from j to i whenever the entry aij is not zero.

Definition 19.2.1 (Directed Graph of a Matrix; Walks and Paths)

Let n≥1 and A=(aij)∈Mn(F).

  • (a) The directed graph G(A) of A has vertices 1,2,…,n, and an edge from j to i, written j→i, for each pair (i,j) with aij≠0. An edge j→j, from a non-zero diagonal entry, is a loop.
  • (b) A walk of length k≥0 from j to i is a list of vertices j=i0,i1,…,ik=i such that it−1→it is an edge for every t=1,…,k.
  • (c) A path is a walk whose vertices i0,…,ik are distinct.

In words: (a) turns each non-zero entry into an arrow, and the arrow for aij points from the column index to the row index. That is the direction in which A moves things: in x↦Ax, entry j of x contributes aijxj to entry i of the image, and in a column-stochastic chain aij is the probability of the move from j to i. Clause (b) allows k=0: the one-vertex list (j) is a walk of length 0 from j to itself, whatever the matrix. A walk may revisit vertices and use an edge several times; a path may not.

Remark. Many books draw the arrow for aij≠0 from i to j. The two graphs differ by reversing every edge, and nothing below depends on the choice except the wording “from j to i”. We take the direction that matches xk+1=Axk and the column-stochastic convention of Chapter 9 §11.

Examples, simplest first.

  • n=1. G((a)) has one vertex, with a loop if a≠0 and no edge if a=0. In either case there is the walk of length 0 from 1 to 1.
  • The zero matrix 0∈Mn(F) has n vertices and no edges at all. A positive matrix has every possible edge, loops included.
  • A cycle. The permutation matrix C=(001100010) has c21=c32=c13=1, so its edges are 1→2, 2→3 and 3→1.
  • A path. (000100010) has the edges 1→2 and 2→3 only. There is a walk from 1 to 3, and none from 3 to anywhere but 3 itself.
  • A=(020001301) has the edges 2→1, 3→2, 1→3 and the loop 3→3, drawn below. The values of the entries play no part in the graph.
Diagram. Labels: a_31, a_23, a_12, a_33, 1, 2, 3

Non-example by minimal change. The graph records whether an entry is zero, not how large it is. Change the entry 3 of the last matrix to 10−9: the graph is unchanged. Change it to 0: the edge 1→3 disappears, and with it every walk out of vertex 1 other than the one of length 0.

The graph was built to count routes, and it does, for non-negative matrices. The same lemma handles I+A, whose graph is that of A with a loop added at every vertex; a loop lets a walk wait, so walks of length at most k become walks of length exactly k.

Lemma 19.2.1 (Powers Count Walks)

Let A∈Mn(R) be non-negative, and let k≥0 and i,j∈{1,…,n}.

  • (a) (Ak)ij>0 if and only if G(A) has a walk of length k from j to i.
  • (b) ((I+A)k)ij>0 if and only if G(A) has a walk of length at most k from j to i.

Idea. Induction on k, peeling off the first step of a walk. Expanding (Ak+1)ij=∑l(Ak)ilalj gives a sum of non-negative terms, so it is positive exactly when one term is: a first step j→l followed by a walk of length k from l to i. For I+A the diagonal 1 adds the option of waiting at j instead of stepping.

Proof.

  • (a) Induction on k. For k=0, (I)ij>0 exactly when i=j, which is exactly when there is a walk of length 0 from j to i. Suppose (a) holds for k. By Lemma 19.1.1 (c), Ak≥0, so (Ak+1)ij=∑l=1n(Ak)ilalj is a sum of non-negative terms. It is positive if and only if some term is, that is, if and only if there is an l with alj>0 and (Ak)il>0. By the definition of G(A) and the induction hypothesis, this says: there is an edge j→l and a walk of length k from l to i. Putting j in front of that walk gives a walk of length k+1 from j to i, and every such walk arises this way, with l its second vertex.

  • (b) Induction on k, with the same base case, since (I+A)0=I. Suppose (b) holds for k. As (I+A)k≥0 and I+A≥0, ((I+A)k+1)ij=∑l=1n((I+A)k)il(δlj+alj) is positive if and only if there is an l with ((I+A)k)il>0 and either l=j or alj>0. By the induction hypothesis this says: there is a walk of length at most k from l to i, where either l=j or j→l is an edge. In the first case we have a walk of length at most k from j to i; in the second, putting j in front gives one of length at most k+1. Conversely, let a walk of length m≤k+1 from j to i be given. If m≤k, take l=j. If m=k+1≥1, take l to be its second vertex, so that j→l is an edge and the rest of the walk has length k. This proves the lemma.

For the matrix drawn above, A2=(002301361). Its (1,1) entry is 0, and indeed the shortest walk from 1 back to 1 is 1→3→2→1, of length 3. Its (1,3) entry is 2, from the walk 3→2→1.

A long walk can always be shortened to a path, and a path is short.

Lemma 19.2.2 (Shortening a Walk to a Path)

Let A∈Mn(F). If G(A) has a walk from j to i, then it has a path from j to i, and every path has length at most n−1.

Idea. Take a shortest walk. If it visited some vertex twice, the loop between the two visits could be cut out, leaving a shorter walk; so a shortest walk is a path. A path visits distinct vertices, and there are only n of them.

Proof. Among the walks from j to i, choose one of least length k (Theorem 0.2.11), say j=i0,i1,…,ik=i. Suppose two of its vertices coincide, is=it with s<t. Deleting is+1,…,it leaves the list i0,…,is,it+1,…,ik, which is still a walk, because the edge it→it+1 (if t<k) is the edge is→it+1. It has length k−(t−s)<k, contradicting the choice of k. So the vertices are distinct, and the walk is a path. A path of length k has k+1 distinct vertices among the n vertices of G(A), so k+1≤n.

19.2.2. Strong connectivity

Positivity of A says every vertex has an edge to every vertex. The useful weakening is to ask only for a walk.

A graph is strongly connected when every vertex can be reached from every vertex.

Definition 19.2.2 (Strongly Connected)

Let A∈Mn(F). The graph G(A) is strongly connected if, for every ordered pair (j,i) of vertices, there is a walk from j to i.

In words: whichever vertex we start from, every vertex can be reached, and the pair is ordered, so a walk from j to i and a walk from i back to j are both required. By Lemma 19.2.2, the walks may be taken to be paths of length at most n−1. For n=1 the walk of length 0 suffices, so the graph of every 1×1 matrix, (0) included, is strongly connected.

The cycle C above is strongly connected: from any vertex, follow the arrows round. So is the graph drawn above, since it contains the cycle 1→3→2→1, and so is the graph of every positive matrix. The path is not: there is no walk from 3 to 1. Removing one edge from the cycle, by changing c13=1 to 0, gives exactly the path, so the clause that fails is the one for the pair (3,1); the walks from 1 to 2, from 1 to 3 and from 2 to 3 survive.

19.2.3. Irreducible matrices

Now the notion this chapter is built on. We want to single out the matrices whose eigenvalue problem cannot be split into two smaller ones. For a matrix with a zero block in the lower left, it can: A=(BC0D)⟹pA=pBpD, by Theorem 7.8.4 applied to xI−A, and the subspace spanned by the first few standard basis vectors is mapped into itself. For such a matrix Perron’s conclusions fail in general: I2 and diag(2,1) are of this shape. In this chapter a change of basis must preserve non-negativity, and the ones that do so while keeping the entries themselves are the relabelings of the coordinates. So the definition asks whether a relabeling produces the zero block.

A matrix is irreducible if no relabeling of the coordinates puts it in block upper triangular form.

Definition 19.2.3 (Irreducible Matrix)

Let A∈Mn(F).

  • (a) For n≥2, A is reducible if there are a permutation matrix P and an integer k with 1≤k≤n−1 such that P⊤AP=(BC0D),B∈Mk(F), D∈Mn−k(F), with 0 the (n−k)×k zero matrix. It is irreducible if it is not reducible.
  • (b) For n=1, every matrix (a)∈M1(F) is irreducible, including (0).

In words: by Lemma 3.4.7 (b), P⊤=P−1, so P⊤AP is similar to A. It is the matrix of TA in the standard basis taken in another order, and in (a) we ask whether some order has a zero block below the diagonal with both diagonal blocks non-empty, which is what 1≤k≤n−1 says. Irreducible means that no order does. Clause (b) is a convention, justified below.

To see what relabeling does to the entries, we compute it once.

Lemma 19.2.3 (Relabeling the Coordinates)

Let σ∈Sn and A∈Mn(F). Then (Pσ⊤APσ)st=aσ(s)σ(t) for all s,t. Consequently t→s is an edge of G(Pσ⊤APσ) if and only if σ(t)→σ(s) is an edge of G(A).

Proof. By Definition 3.4.2, Pσet=eσ(t). The (s,t) entry of a matrix M is es⊤Met, so by Theorem 0.9.5, (Pσ⊤APσ)st=es⊤Pσ⊤APσet=(Pσes)⊤A(Pσet)=eσ(s)⊤Aeσ(t)=aσ(s)σ(t). The statement about edges is the statement that one of these entries is non-zero exactly when the other is.

So the graph of Pσ⊤APσ is G(A) with the vertex σ(s) renamed s. In particular, Definition 19.2.2 holds for one exactly when it holds for the other. The zero block of Definition 19.2.3 becomes a statement about a set of vertices that no edge leaves.

Lemma 19.2.4 (Reducible Means a Set of Vertices With No Exit)

Let n≥2 and A∈Mn(F). Then A is reducible if and only if there is a set S⊆{1,…,n} with S≠∅ and S≠{1,…,n} such that aij=0whenever j∈S and i∉S, that is, such that no edge of G(A) goes from a vertex in S to a vertex outside S.

Idea. The zero block of Definition 19.2.3 sits in the columns of the first k relabeled vertices and the rows of the others. So take S to be the first k vertices in the new order; conversely, given S, choose the order that lists S first. Lemma 19.2.3 translates between the entries and the vertices.

Proof. (⇐) Let k be the number of elements of S, so 1≤k≤n−1, and choose σ∈Sn listing the elements of S first: σ(1),…,σ(k) are the elements of S and σ(k+1),…,σ(n) the others. For t≤k<s we have σ(t)∈S and σ(s)∉S, so by Lemma 19.2.3, (Pσ⊤APσ)st=aσ(s)σ(t)=0. That is, the lower-left (n−k)×k block of Pσ⊤APσ is zero, and A is reducible.

(⇒) Let P and k be as in Definition 19.2.3 (a). By Definition 3.4.2, P=Pσ for some σ∈Sn. Put S={σ(1),…,σ(k)}, which has k elements, so it is neither empty nor everything. If j∈S and i∉S, then j=σ(t) with t≤k and i=σ(s) with s>k, and aij=(Pσ⊤APσ)st=0 because (s,t) lies in the zero block.

The condition says that the coordinate subspace span{ej:j∈S} is mapped into itself by A, since column j of A is Aej and its entries outside S vanish. So a reducible matrix is one with an invariant subspace spanned by some of the standard basis vectors, other than {0} and Fn, and Theorem 9.1.3 is the source of the block form.

Now some examples, simplest first.

  • n=1. Irreducible by (b).
  • Positive matrices are irreducible: no entry is 0, so no set S as in Lemma 19.2.4 exists.
  • The swap (0110) is irreducible. For n=2, the candidates are S={1}, which needs a21=0, and S={2}, which needs a12=0; both entries are 1. So a matrix may have zeros, even mostly zeros, and be irreducible.
  • Triangular matrices with n≥2 are reducible. An upper triangular one already has the block form with P=I and k=1. A lower triangular one, such as the path matrix, is reducible too, by Lemma 19.2.4 with S={n}: column n has its only possible non-zero entry on the diagonal. Reversing the order of the coordinates, σ(s)=n+1−s, turns the path matrix into J3(0), which is upper triangular.
  • The zero matrix of size n≥2 is reducible, and so is In: any S will do.

Non-example by minimal change. The cycle C is irreducible, as the next theorem will show. Change its entry c13 from 1 to 0: the result is the path matrix, and S={3} now has no exit, because the only non-zero entry of column 3 outside row 3, the entry c13, has become 0. That single clause of Lemma 19.2.4 is what changed.

Example (A reducible matrix that does not look it)

Decide whether A=(102345607) is irreducible, and if not, put it in block triangular form.

Solution. Column 2 has its only non-zero entry in row 2, so S={2} has no exit: a12=a32=0. By Lemma 19.2.4, A is reducible. Following the proof, list 2 first: σ(1)=2, σ(2)=1, σ(3)=3. By Lemma 19.2.3, the (s,t) entry of Pσ⊤APσ is aσ(s)σ(t), so Pσ⊤APσ=(a22a21a23a12a11a13a32a31a33)=(435012067). Hence pA(x)=(x−4)(x2−8x−5), and the eigenvalues are 4 and 4±21. In the graph, vertex 2 has only a loop leaving it: a chain that reaches state 2 stays there.

Why this definition, and why every 1×1 matrix is irreducible. The block form is the matrix picture of an invariant coordinate subspace, and it is exactly what splits pA into two factors and lets the conclusions of Perron’s theorem fail, as I2 shows. For n=1 there is no room for two non-empty blocks, and a convention is needed. Some books call (0) reducible. We call every 1×1 matrix irreducible because that is the choice that makes the two theorems below true with no exception: the graph of a 1×1 matrix is always strongly connected, through the walk of length 0, and (I+A)1−1=I=(1) is always positive. The price is paid in §03: the irreducible matrix (0) has spectral radius 0, so the statement there that an irreducible non-negative matrix has ρ(A)>0 carries the hypothesis n≥2.

Warning. Irreducibility depends only on which entries are zero, never on their size. For every t≠0, however small, At=(1t11) is irreducible, and for t>0 its eigenvalues 1±t are distinct, with the positive eigenvector (t,1) for 1+t. At t=0 it is lower triangular, hence reducible, and 1 becomes a double eigenvalue with the eigenvector e2 only. An entry of 10−9 and an entry of 109 count the same; an entry of 0 is different in kind. The property is not preserved by powers either: the swap is irreducible and its square is I2, which is not.

The first theorem says that irreducibility, defined through relabelings, is exactly strong connectivity of the graph.

Theorem 19.2.5 (Irreducible If and Only If Strongly Connected)

Let n≥1 and A∈Mn(F). Then A is irreducible if and only if G(A) is strongly connected.

Idea. Both sides are about a set of vertices with no exit. If some vertex i cannot be reached from j, the set of vertices that can be reached from j contains j, misses i, and has no exit, since an exit would reach one more vertex. Conversely, a set with no exit traps every walk that starts inside it.

Proof. If n=1, both sides hold, by Definition 19.2.3 (b) and the walk of length 0. Let n≥2. By Lemma 19.2.4 it suffices to show: G(A) fails to be strongly connected if and only if there is a set S, neither empty nor all of {1,…,n}, from which no edge leaves.

(⇒) Suppose there are j and i with no walk from j to i. Let S be the set of vertices l such that there is a walk from j to l. Then j∈S, by the walk of length 0, and i∉S. If l∈S and l→m is an edge, then appending m to a walk from j to l gives a walk from j to m, so m∈S. Hence no edge leaves S.

(⇐) Suppose no edge leaves S, and choose j∈S and i∉S. Let j=i0,i1,…,ik be any walk from j. Then every it lies in S, by induction on t: i0=j∈S, and if it−1∈S, the edge it−1→it does not leave S, so it∈S. Hence no walk from j ends at i, and G(A) is not strongly connected. This proves the theorem.

So the cycle C is irreducible, and so is the matrix drawn earlier: their graphs are strongly connected. Deciding irreducibility from the definition means looking at n! relabelings; deciding it from the graph means following arrows.

Quick check. Is M=(0100100000010010) irreducible? Every row and every column of M contains a non-zero entry off the diagonal.

Solution. No. The edges of G(M) are 1→2, 2→1, 3→4 and 4→3, so there is no walk from 1 to 3, and M is reducible by Theorem 19.2.5. Directly, S={1,2} has no exit, and indeed M=(0110)⊕(0110) is already block diagonal, with P=I and k=2. Having an off-diagonal entry in every row and column is necessary for irreducibility when n≥2 (Exercise C1), but it is not sufficient.

19.2.4. A test by one matrix power

For a non-negative matrix, Lemma 19.2.1 turns strong connectivity into positivity of a single matrix, and that is the bridge back to Perron’s theorem.

Theorem 19.2.6 (Irreducibility Through a Power of I+A)

Let n≥1 and let A∈Mn(R) be non-negative. Then A is irreducible if and only if (I+A)n−1>0.

Idea. Read both sides as statements about walks. Positivity of (I+A)n−1 asks for a walk of length at most n−1 between every ordered pair of vertices, and strong connectivity asks for a walk of any length. The two agree because a walk can always be shortened to a path, and a path has at most n−1 edges.

Proof. By Lemma 19.2.1 (b), (I+A)n−1>0 if and only if, for every ordered pair (j,i), there is a walk of length at most n−1 from j to i. By Lemma 19.2.2, if there is any walk from j to i then there is one of length at most n−1, namely a path; so the condition is equivalent to asking for a walk of any length from j to i, for every ordered pair. That is Definition 19.2.2, and by Theorem 19.2.5 it is equivalent to irreducibility.

Both sides always hold for n=1, as the convention intends. The hypothesis A≥0 cannot be dropped: (−111−1) is irreducible, but adding I cancels its diagonal and leaves the swap, which is not positive. Cancellation is exactly what non-negativity rules out, since a sum of non-negative terms is zero only when every term is.

Example (The cycle, by one power)

For the cycle C=(001100010), compute (I+C)2, and compare with the powers Ck.

Solution. C is the permutation matrix of 1↦2↦3↦1, so C2=(010001100) and C3=I by Lemma 3.4.7 (a). As I and C commute, (I+C)2=I+2C+C2=(112211121)>0, so C is irreducible by Theorem 19.2.6, as the graph already showed. On the other hand every power Ck is I, C or C2, each with six zero entries, so no power of C is positive. In the graph, the walks from j have lengths forced modulo 3 by where they end. The loops of I+C let a walk wait, which is what C alone cannot do. §05 returns to this difference; it is the difference between irreducible and primitive.

The theorem is the reason irreducibility is enough for most of Perron’s conclusions. If A≥0 is irreducible, then B=(I+A)n−1 is positive, so Theorem 19.1.5 applies to B, and B is a polynomial in A, so every eigenvector of A is an eigenvector of B. §03 turns this observation into the Perron–Frobenius theorem.

19.2.5. The reducible normal form

A reducible matrix splits into two diagonal blocks, and each block may be reducible again. Splitting until nothing splits gives a normal form.

Theorem 19.2.7 (Reducible Normal Form)

Let n≥1 and A∈Mn(F).

  • (a) There are a permutation matrix P and an integer m≥1 such that P⊤AP=(A11A12⋯A1m0A22⋯A2m⋮⋱⋮0⋯0Amm), block upper triangular, with every diagonal block Aii square and irreducible.
  • (b) In that case pA=pA11pA22⋯pAmm, so the eigenvalues of A, with their algebraic multiplicities, are those of the diagonal blocks taken together.
  • (c) ρ(A)=maxiρ(Aii); if A≥0, every Aii≥0.

Idea. Strong induction on n: if A is irreducible there is nothing to do, and otherwise one relabeling gives two smaller diagonal blocks, which the induction hypothesis puts in normal form. The only work is to check that the two relabelings of the blocks combine into one relabeling of A, and block multiplication does that.

Proof.

  • (a) Strong induction on n (Theorem 0.2.10). If A is irreducible, which includes the case n=1, take P=I and m=1. Otherwise n≥2, and there are a permutation matrix P0 and 1≤k≤n−1 with P0⊤AP0=(BC0D),B∈Mk(F), D∈Mn−k(F). Both sizes are less than n, so by the induction hypothesis there are permutation matrices Q1=Pα (α∈Sk) and Q2=Pβ (β∈Sn−k) such that Q1⊤BQ1 and Q2⊤DQ2 are block upper triangular with square irreducible diagonal blocks. The direct sum Q=Q1⊕Q2 (Definition 8.1.2) is the permutation matrix Pγ of the permutation γ with γ(t)=α(t) for t≤k and γ(k+q)=k+β(q) for q≤n−k, since its columns are eγ(1),…,eγ(n). By Proposition 8.1.2, Q⊤=Q1⊤⊕Q2⊤, and by Theorem 8.1.1, Q⊤(P0⊤AP0)Q=(Q1⊤BQ1Q1⊤CQ20Q2⊤DQ2). This is block upper triangular, and its diagonal blocks are those of Q1⊤BQ1 followed by those of Q2⊤DQ2, all square and irreducible. With P=P0Q, which is a permutation matrix by Lemma 3.4.7 (a), the left side is P⊤AP by Theorem 0.9.5. This proves (a).

  • (b) P⊤=P−1 by Lemma 3.4.7 (b), so P⊤AP is similar to A, and pA=pP⊤AP by Theorem 7.10.3. The matrix xI−P⊤AP is block upper triangular with diagonal blocks xI−Aii. Applying Theorem 7.8.4 over F[x], as the paragraph after it notes, to the first diagonal block and the rest, and then to the rest by induction on m, gives pA=∏ipAii. The roots of a product, with multiplicities, are those of the factors together.

  • (c) By (b), spec(A)=⋃ispec(Aii), and the largest modulus over a union is the largest of the largest moduli. If A≥0, then by Lemma 19.2.3 the entries of P⊤AP are entries of A, so they are ≥0, and so are those of each Aii.

The diagonal blocks of the normal form correspond to groups of vertices of G(A) that can all reach one another. The first block is a group with no exit, and each later block can send edges only to the blocks before it. In a Markov chain the first block is therefore a set of states that the chain, once inside, never leaves; §06 uses exactly this. The blocks are unique up to their order and up to relabeling within each block, but we shall not need this and do not prove it.

Example (A normal form with three blocks)

Put A=(0010120110000013) in reducible normal form, and find ρ(A).

Solution. Read the edges column by column. Column 1 gives 1→2 and 1→3; column 2 gives the loop 2→2; column 3 gives 3→1 and 3→4; column 4 gives 4→2 and the loop 4→4. So 1 and 3 reach each other, and from them one can go to 4 and then to 2, but never back. The groups are {2}, {4} and {1,3}. Vertex 2 has no exit, so it comes first; the edges from 4 go only to 2 and 4, so 4 comes next; then 1,3. With σ=(2,4,1,3), that is σ(1)=2, σ(2)=4, σ(3)=1, σ(4)=3, Lemma 19.2.3 gives Pσ⊤APσ=(2110030100010010), with diagonal blocks (2), (3) and the swap (0110), each irreducible. By Theorem 19.2.7 (b), pA(x)=(x−2)(x−3)(x2−1), so the eigenvalues are 2,3,1,−1, and ρ(A)=3, the spectral radius of the second block.

19.2.6. Exercises

A. Check your understanding

Exercise (A1)
  • (a) Define the directed graph G(A), a walk, and strong connectivity. Which way does the edge for aij≠0 point?
  • (b) Define irreducible, including the case n=1, and state Theorem 19.2.6.
  • (c) True or false: a matrix with a zero entry is reducible. Justify your answer.
  • (d) True or false: if A≥0 is irreducible, then so is A2. Justify your answer.
  • (e) True or false: A is irreducible if and only if A⊤ is. Justify your answer.
  • (f) True or false: the 2×2 zero matrix is irreducible. Justify your answer.

Solution.

  • (a) G(A) has vertices 1,…,n and an edge j→i for each aij≠0, pointing from the column index to the row index. A walk of length k from j to i is a list j=i0,…,ik=i with each it−1→it an edge. G(A) is strongly connected if there is a walk from j to i for every ordered pair (j,i).

  • (b) For n≥2, A is reducible if P⊤AP=(BC0D) for some permutation matrix P and square blocks B, D of sizes k and n−k, 1≤k≤n−1; irreducible means not reducible. Every 1×1 matrix is irreducible. The theorem: a non-negative A∈Mn(R) is irreducible if and only if (I+A)n−1>0.

  • (c) False. The swap (0110) has two zero entries and is irreducible, since its graph 1→2→1 is strongly connected (Theorem 19.2.5).

  • (d) False. The swap is irreducible and its square I2 is reducible, being triangular.

  • (e) True. G(A⊤) is G(A) with every edge reversed, since (A⊤)ij=aji. Reversing a walk from j to i in G(A) gives a walk from i to j in G(A⊤), so one graph is strongly connected exactly when the other is, and Theorem 19.2.5 finishes.

  • (f) False. With n=2, the zero matrix is already upper triangular, so it is reducible with P=I, k=1. Only the 1×1 zero matrix is irreducible, and that by convention.

B. Practice

Exercise (B1: Deciding irreducibility)

Determine which of the following matrices are irreducible. Justify your answers, and for each reducible one give a permutation matrix that puts it in block upper triangular form.

  • (a) (010001100)
  • (b) (120030456)
  • (c) (0100001000011100)
  • (d) (1100110001110011)

Solution.

  • (a) The non-zero entries a12,a23,a31 give the edges 2→1, 3→2, 1→3: the cycle 1→3→2→1, which is strongly connected. Irreducible, by Theorem 19.2.5.

  • (b) Column 3 has its only non-zero entry in row 3, so S={3} has no exit, and the matrix is reducible by Lemma 19.2.4. With σ(1)=3, σ(2)=1, σ(3)=2, Lemma 19.2.3 gives Pσ⊤APσ=(645012003), which is even triangular.

  • (c) The edges are 1→4 (from a41), 2→1 and 2→4 (from a12,a42), 3→2 (from a23) and 4→3 (from a34). The walk 1→4→3→2→1 passes through every vertex and returns, so any vertex reaches any other by following it. Irreducible.

  • (d) Columns 3 and 4 have zeros in rows 1 and 2, so S={3,4} has no exit: reducible. With σ=(3,4,1,2), Pσ⊤APσ=(1101110000110011). The edge 2→3 goes into S, which is allowed; only edges out of S are forbidden.

Exercise (B2: One power decides)

For each matrix, compute (I+A)2 and decide whether A is irreducible. For the reducible one, read off from (I+A)2 a set of vertices with no exit.

  • (a) A=(011100010)
  • (b) A=(100101010)

Solution.

  • (a) I+A=(111110011), and multiplying out, (I+A)2=(232221121)>0. Hence A is irreducible by Theorem 19.2.6.

  • (b) I+A=(200111011), and (I+A)2=(400322122), which has zero entries, so A is reducible. By Lemma 19.2.1 (b), column j of (I+A)2 is positive exactly in the rows i reachable from j. Column 2 is positive in rows 2,3 only, so the vertices reachable from 2 form S={2,3}, and by the proof of Theorem 19.2.5 no edge leaves it. Indeed a12=a13=0.

Exercise (B3: Eigenvalues from the normal form)

Let A=(102130405). Put A in reducible normal form, and hence find its eigenvalues and ρ(A).

Solution. The edges are 1→1, 1→2, 1→3 (column 1), the loop 2→2 (column 2), and 3→1, 3→3 (column 3). Vertex 2 has no exit, and 1, 3 reach each other. List 2 first: σ(1)=2, σ(2)=1, σ(3)=3. By Lemma 19.2.3, Pσ⊤APσ=(310012045). The blocks (3) and (1245) are irreducible, the second because both its off-diagonal entries are non-zero. By Theorem 19.2.7 (b), pA(x)=(x−3)(x2−6x−3), so the eigenvalues are 3 and 3±23, and by (c), ρ(A)=3+23≈6.46, coming from the second block.

C. Going deeper

Exercise (C1: A necessary condition that is not sufficient)
  • (a) Prove that if n≥2 and A∈Mn(F) is irreducible, then every row and every column of A contains a non-zero entry off the diagonal.
  • (b) Show that the converse fails for every even n≥4.

Solution.

  • (a) Suppose column j has no non-zero entry off the diagonal: aij=0 for all i≠j. Then S={j} has no exit, and S is neither empty nor everything because n≥2, so A is reducible by Lemma 19.2.4. Suppose instead row i has aij=0 for all j≠i. Then S={1,…,n}∖{i} has no exit, since the only entries ai′j with j∈S and i′∉S are the aij with j≠i; again A is reducible.

  • (b) Let n=2m with m≥2, and let M be the direct sum of m copies of the swap (0110). Every row and column has a 1 off the diagonal. But S={1,2} has no exit, since column 1 and column 2 are zero outside rows 1,2, so M is reducible. The Quick check is the case m=2.

Exercise (C2: The exponent n−1 is sharp)

Let n≥2 and let Cn be the cyclic permutation matrix with Cnej=ej+1 for j<n and Cnen=e1.

  • (a) Prove that Cn is irreducible, but that (I+Cn)n−2 is not positive.
  • (b) Prove that if A≥0 is irreducible, then (I+A)k>0 for every k≥n−1.

Solution.

  • (a) The non-zero entries of Cn are (Cn)j+1,j=1 for j<n and (Cn)1n=1, so the edges of G(Cn) are j→j+1 and n→1, and there are no others. Following them from any vertex visits every vertex, so G(Cn) is strongly connected and Cn is irreducible (Theorem 19.2.5). Each vertex has exactly one outgoing edge, so the only walk from 1 of length m≤n−1 is 1→2→⋯→m+1. In particular the shortest walk from 1 to n has length n−1, and there is no walk of length at most n−2 from 1 to n. By Lemma 19.2.1 (b), ((I+Cn)n−2)n1=0.

  • (b) By Lemma 19.2.1 (b), ((I+A)k)ij>0 exactly when there is a walk of length at most k from j to i. For k≥n−1, a walk of length at most n−1 is one of length at most k, and such walks exist for every pair by the proof of Theorem 19.2.6. Hence (I+A)k>0.

Exercise (C3: Irreducibility as growth of supports)

Let n≥2 and A∈Mn(R) with A≥0. For x≥0, call {i:xi>0} the support of x.

  • (a) Prove that the support of (I+A)x is the support S of x together with every vertex i for which there is an edge j→i with j∈S.
  • (b) Prove that A is irreducible if and only if, for every x≥0 with at least one zero entry and at least one positive entry, (I+A)x has more positive entries than x.
  • (c) Deduce, without using walks, that (I+A)n−1x>0 for every non-zero x≥0 when A is irreducible, and hence that (I+A)n−1>0.

Hint for (b): use Lemma 19.2.4.

Solution.

  • (a) ((I+A)x)i=xi+∑jaijxj is a sum of non-negative terms, so it is positive if and only if xi>0 or some aijxj>0, that is, i∈S or there is j∈S with aij>0, which is an edge j→i.

  • (b) Let x be as stated, with support S, which is neither empty nor everything. By (a), (I+A)x has support containing S, and strictly larger exactly when some edge goes from S to a vertex outside S. (⇒) If A is irreducible, Lemma 19.2.4 says every such S has an exit, so the support grows. (⇐) If A were reducible, take S with no exit from Lemma 19.2.4, and let x have entry 1 on S and 0 elsewhere. Then (I+A)x has support exactly S, with the same number of positive entries, contradicting the hypothesis.

  • (c) Let x≥0, x≠0, and put xk=(I+A)kx≥0. By (a) the supports never shrink, and by (b) the support grows by at least one element at each step until it is everything. It starts with at least one element, so after at most n−1 steps it has n, and then stays so: xn−1>0. Applying this to x=ej shows that column j of (I+A)n−1 is positive, for every j.

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.