Tutorials › Stochastic Processes › Periods in Cyclic Decompositions

Classification of States · Tutorial 144 of 994

Periods in Cyclic Decompositions

Learn how return-time residues define a cyclic partition and why every possible transition moves to the next subclass.

Intermediate 10 min read

What You'll Learn

  • Define cyclic subclasses using path lengths from a reference state modulo the period.
  • Prove that the residue assigned to a state does not depend on the chosen path.
  • Show that the subclasses are nonempty and partition the state space.
  • Prove that every positive transition advances exactly one subclass.
  • Determine cyclic classes and periods in finite and countable examples.
  • Identify and correct a faulty argument about residues of return times.

Why Period Creates a Cycle of Classes

In an irreducible chain, states can communicate but need not be reachable at every number of steps. A chain may, for example, alternate between two groups of states: one step always moves from the first group to the second, and the next step returns to the first. The period records this timing constraint. The cyclic decomposition makes the constraint visible by partitioning the states into subclasses that transitions visit in a fixed order.

Let \((X_n)_{n\ge0}\) be a discrete-time Markov chain on a nonempty finite or countable state space \(S\), defined on a probability space \((\Omega,\mathcal{F},\mathbb{P})\). Its transition matrix \(P=(p_{ij})\) is row-stochastic, so \(\sum_{j\in S}p_{ij}=1\) for every \(i\in S\). A path of length \(n\) from \(i\) to \(j\) is a sequence \(i=i_0,i_1,\ldots,i_n=j\) for which each transition has positive probability. In an irreducible chain, for every pair \(i,j\in S\), there is such a path from \(i\) to \(j\).

For a state \(i\), its period is \(d(i)=\gcd\{n\ge1:p_{ii}^{(n)}>0\}\), where \(P^{(n)}=P^n\). Thus the set inside the greatest common divisor consists of the possible positive return times to \(i\). In an irreducible chain this set is nonempty: if there is more than one state, irreducibility gives a positive-length path from \(i\) to another state and back; if \(S=\{i\}\), row-stochasticity gives \(p_{ii}=1\). We use the standard result from the earlier material on periods that communicating states have the same period. Write this common positive integer as \(d\).

Definition (Cyclic subclasses): Fix a reference state \(o\in S\). For \(r\in\{0,1,\ldots,d-1\}\), let \(C_r\) be the set of states \(j\) that can be reached from \(o\) by a path whose length is congruent to \(r\) modulo \(d\). A path of length zero from \(o\) to itself is allowed in this definition.

The definition uses path lengths, not probabilities of being at a state at a particular time. Its key requirement is that every path from \(o\) to a fixed state has the same length modulo \(d\). The theorem below establishes this and the main properties of the resulting classes.

Theorem (Cyclic decomposition): Let \((X_n)_{n\ge0}\) be an irreducible chain on a finite or countable state space, and let its period be \(d\). For any reference state \(o\), the sets \(C_0,\ldots,C_{d-1}\) defined above are well-defined, nonempty, pairwise disjoint, and have union \(S\). Moreover, if \(p_{ij}>0\) and \(i\in C_r\), then \(j\in C_{r+1\pmod d}\).

Proof. First we show that every path from \(o\) to a fixed state \(j\) has the same length modulo \(d\). If \(j=o\), every positive-length path from \(o\) to itself is a return path, so its length is divisible by \(d\); the length-zero path is also congruent to zero. If \(j\ne o\), take any two paths from \(o\) to \(j\), of lengths \(m\) and \(n\). By irreducibility, choose a path from \(j\) back to \(o\) of some positive length \(\ell\). Appending that same path to each of the two paths produces positive return paths from \(o\) with lengths \(m+\ell\) and \(n+\ell\). By the definition of \(d\), both lengths are divisible by \(d\). Their difference \(m-n\) is therefore divisible by \(d\). This proves that the residue used to define \(C_r\) is independent of the chosen path.

Every state belongs to some \(C_r\), because irreducibility provides a path from \(o\) to that state, whose length has a residue modulo \(d\). The path-length property just proved means a state cannot belong to two different subclasses, so the subclasses are pairwise disjoint and their union is \(S\). To prove nonemptiness, choose a positive return path from \(o\) to \(o\), of length \(L\). Its length is divisible by \(d\), so \(L\ge d\). For each \(r\in\{0,\ldots,d-1\}\), take the endpoint of the first \(r\) steps of this path, taking the endpoint to be \(o\) when \(r=0\). This state is reachable from \(o\) in exactly \(r\) steps, so it belongs to \(C_r\). Finally, suppose \(i\in C_r\) and \(p_{ij}>0\). A path from \(o\) to \(i\), followed by the positive transition from \(i\) to \(j\), is a path from \(o\) to \(j\) whose length is one more. Thus \(j\in C_{r+1\pmod d}\). All assertions follow. \(\square\)

What the Transition Rule Says

The theorem asserts that every positive-probability transition advances one subclass, including transitions that cross from \(C_{d-1}\) back to \(C_0\). It does not say that every state in \(C_r\) can transition to every state in \(C_{r+1\pmod d}\); it specifies where a transition may go, not which transitions must exist.

The same rule applies to paths of any length. If \(i\in C_r\) and a path of length \(n\) from \(i\) to \(j\) has positive probability, then \(j\in C_{r+n\pmod d}\). This follows by applying the one-step rule successively along the path: after the first step the class index has increased by one, after the second by two, and after \(n\) steps by \(n\), with indices taken modulo \(d\). In particular, if \(p_{ij}^{(n)}>0\), then \(j\in C_{r+n\pmod d}\). For a countable state space, a positive \(n\)-step transition probability is a sum of nonnegative probabilities over length-\(n\) paths; if that sum is positive, at least one path in the sum has positive probability.

Worked Example: A Deterministic Four-State Cycle

Consider \(S=\{0,1,2,3\}\), with transitions \(0\to1\), \(1\to2\), \(2\to3\), and \(3\to0\), each with probability \(1\). Each row of \(P\), in state order \(0,1,2,3\), is respectively \((0,1,0,0)\), \((0,0,1,0)\), \((0,0,0,1)\), and \((1,0,0,0)\); each row sums to \(1\). The chain is irreducible because repeatedly following the cycle reaches any state from any starting state.

Starting from \(0\), a return is possible exactly after \(4,8,12,\ldots\) steps: the chain moves forward one position at every step and is back at \(0\) precisely when the number of steps is divisible by \(4\). The return time \(4\) is possible, and every possible return time is divisible by \(4\), so the period is \(d=4\). The path from \(0\) to state \(j\) has length \(j\), giving

$$ C_0=\{0\},\qquad C_1=\{1\},\qquad C_2=\{2\},\qquad C_3=\{3\}. $$

Check: The four transitions go from \(C_0\) to \(C_1\), from \(C_1\) to \(C_2\), from \(C_2\) to \(C_3\), and from \(C_3\) to \(C_0\), exactly as the theorem requires. The return after four steps also returns to the original subclass, since \(4\equiv0\pmod4\).

Worked Example: Two Subclasses in a Four-State Chain

Let \(S=\{a,b,c,d\}\), with transition matrix in that order

$$ P= \begin{bmatrix} 0&1&0&0\\ \tfrac12&0&\tfrac12&0\\ 0&0&0&1\\ \tfrac12&0&\tfrac12&0 \end{bmatrix}. $$

The row sums are \(0+1+0+0=1\), \(\tfrac12+0+\tfrac12+0=1\), \(0+0+0+1=1\), and \(\tfrac12+0+\tfrac12+0=1\). The chain is irreducible: the positive transitions include \(a\to b\to c\to d\to a\), a directed cycle through all four states.

Starting at \(a\), the path \(a\to b\to a\) has length \(2\) and probability \(1\cdot\tfrac12=\tfrac12>0\). Every return path to \(a\) has even length: transitions alternate between \(\{a,c\}\) and \(\{b,d\}\), so a return to \(a\), in the first set, requires an even number of steps. Thus the greatest common divisor of positive return times is \(2\), and \(d=2\). From \(a\), state \(b\) is reached in one step and \(c\) in two; state \(d\) is reached by \(a\to b\to c\to d\), in three steps. The classes are therefore

$$ C_0=\{a,c\},\qquad C_1=\{b,d\}. $$

Check: The positive transitions from \(a\) and \(c\) go to \(b\) and \(d\), respectively, so they go from \(C_0\) to \(C_1\). The positive transitions from \(b\) and \(d\) go to \(a\) or \(c\), so they go from \(C_1\) to \(C_0\). The explicit return \(a\to b\to a\) has length \(2\), matching the period.

Worked Example: The Simple Random Walk on the Integers

Let \(S=\mathbb{Z}\), and from each integer \(i\) move to \(i-1\) with probability \(\tfrac12\) and to \(i+1\) with probability \(\tfrac12\). This is a countable-state discrete-time chain on a probability space \((\Omega,\mathcal{F},\mathbb{P})\). For every state the two possible transition probabilities sum to \(\tfrac12+\tfrac12=1\). It is irreducible: to reach any integer \(j\) from \(i\), take \(|j-i|\) consecutive steps in the required direction, a path with positive probability \((\tfrac12)^{|j-i|}\); if \(j=i\), the length-zero path suffices.

A return to \(i\) can occur after two steps, by moving to \(i+1\) and back, with probability \(\tfrac12\cdot\tfrac12=\tfrac14>0\). Every step changes the parity of the integer, so returning to \(i\) requires an even number of steps. The period is therefore \(\gcd\{2,4,6,\ldots\}=2\). Starting from \(0\), the subclasses are the even and odd integers:

$$ C_0=\{2k:k\in\mathbb{Z}\},\qquad C_1=\{2k+1:k\in\mathbb{Z}\}. $$

Check: If \(i=2k\) is even, then \(i-1=2k-1\) and \(i+1=2k+1\) are both odd. If \(i=2k+1\) is odd, then \(i-1=2k\) and \(i+1=2k+2\) are both even. Thus each positive transition advances to the other subclass.

A Pitfall About Residues

A tempting but incorrect argument says that because the greatest common divisor of the return times is \(d\), their residues modulo \(d\) generate every residue modulo \(d\). This cannot be right: each positive return time is divisible by \(d\), so each has residue \(0\) modulo \(d\). For example, if the return times are \(2,4,6,\ldots\), their residues modulo \(2\) are all \(0\); those residues do not generate the residue \(1\).

The correct nonemptiness argument uses a return path, not the residues of return times. Choose a positive return path of length \(L\). Since \(d\) divides \(L\), \(L\ge d\). For each \(r\in\{0,\ldots,d-1\}\), the endpoint after the first \(r\) steps is reachable from the reference state in \(r\) steps, and hence lies in \(C_r\). This directly supplies a state in every subclass. In the two-step return path \(o\to x\to o\) when \(d=2\), the prefix of length one reaches \(x\in C_1\), while \(o\in C_0\).

Another useful discipline is to distinguish what the construction proves from what it does not. Every positive transition must advance one class, but the theorem does not assert that all transitions between consecutive classes have positive probability. Nor does it assert that the chain’s distribution is stationary or converges; the cyclic partition is a structural statement about possible paths.

Check Your Understanding

Use path lengths and the transition rule to answer the following.

  1. In a chain with period \(5\), a state lies in \(C_3\). In which subclass must the endpoint of any positive two-step path lie?
  2. Why do all paths from the reference state to a fixed state have the same length modulo \(d\)? State the role of a path back to the reference state.
  3. For the four-state chain in the second worked example, verify from the displayed rows that the transitions from \(C_1\) go only to \(C_0\).
  4. For the simple random walk on the integers, give a positive-probability path from \(2\) to \(7\), and state its length modulo the period.
  5. Explain why the fact that all return lengths are \(0\) modulo \(d\) does not establish that each cyclic subclass is nonempty.