Why Period Is a Class Property
A Markov chain can return to a state only at certain step counts. The greatest common divisor of those counts is its period. At first, this appears to be a property of an individual state: different states can have different return paths, and their lists of return times need not look alike. Yet if two states communicate, a path from the first to the second and a path back let us transfer return paths between them. The added path lengths affect all those returns in a controlled way, which is enough to prove that the two greatest common divisors agree.
Let \((X_n)_{n\ge0}\) be a discrete-time Markov chain on a finite or countable state space \(S\), defined on a probability space \((\Omega,\mathcal{F},\mathbb{P})\), with transition matrix \(P=(p_{ij})\). The matrix is row-stochastic: \(p_{ij}\ge0\) and \(\sum_{j\in S}p_{ij}=1\) for every \(i\). Write \(p_{ij}^{(n)}\) for the \((i,j)\) entry of \(P^n\). A path of length \(n\) from \(i\) to \(j\) is a sequence \(i=i_0,i_1,\ldots,i_n=j\) with \(p_{i_{r-1}i_r}>0\) for each step \(r\). Its probability, when started at \(i\), is the positive product \(\prod_{r=1}^n p_{i_{r-1}i_r}\).
For distinct communicating states, both connecting paths have positive length. Their concatenation is a positive-probability return path, so each state has at least one positive return length and its period is defined. If a state does not have any positive-probability return path, this definition does not assign it a period. For \(i=j\), equality of the periods is immediate whenever the period is defined.
The Path-Concatenation Argument
Proof. Concatenate the state sequences of the two paths, writing the shared state \(j\) only once. The resulting sequence has \(a+b\) steps. Its probability is the product of the probabilities of the two original paths: all transition probabilities are positive, so their product is positive. Thus the concatenated sequence is a positive-probability path from \(i\) to \(k\). For the matrix statement, the Chapman–Kolmogorov formula gives \(p_{ik}^{(a+b)}=\sum_{\ell\in S}p_{i\ell}^{(a)}p_{\ell k}^{(b)}\). The term with \(\ell=j\) is positive, and all terms are nonnegative, so the sum is positive. \(\square\)
Proof. If \(i=j\), the assertion is \(d(i)=d(i)\). Now suppose \(i\ne j\). Choose a positive-probability path from \(i\) to \(j\) of length \(a\ge1\), and a positive-probability path from \(j\) to \(i\) of length \(b\ge1\). By the lemma, \(a+b\) is a return length at \(i\), so \(d(i)\) divides \(a+b\). For any \(n\in R_j\), there is a positive-probability return path from \(j\) to itself of length \(n\). Concatenating the three paths gives a return path from \(i\) to itself of length \(a+n+b\). Therefore \(d(i)\) also divides \(a+n+b\). It follows that \(d(i)\) divides their difference \((a+n+b)-(a+b)=n\). This holds for every \(n\in R_j\), so \(d(i)\) is a common divisor of all the return lengths at \(j\). Hence \(d(i)\) divides their greatest common divisor \(d(j)\).
For the reverse divisibility, use a path from \(j\) to \(i\) of length \(b\) and one from \(i\) to \(j\) of length \(a\). Their concatenation gives a return length \(a+b\) at \(j\). For every \(m\in R_i\), inserting a return path of length \(m\) at \(i\) between those connecting paths gives a return length \(b+m+a\) at \(j\). Thus \(d(j)\) divides both \(a+b\) and \(b+m+a\), and hence divides their difference \(m\). It divides every member of \(R_i\), so \(d(j)\) divides \(d(i)\). The two positive integers divide each other, which implies \(d(i)=d(j)\). \(\square\)
The proof does not claim that two communicating states have identical return-time sets. In general they do not. Instead, the same connecting paths contribute the same fixed offset \(a+b\): the period at one state divides that offset and every offset return obtained by inserting a cycle at the other state. Taking differences removes the offset and yields divisibility of every return length.
Worked Examples
Worked Example: Two Communicating States with Several Return Lengths
Consider \(S=\{1,2,3\}\) with transition matrix
Each row sums to \(1\): \(0+1+0=1\), \(\tfrac12+0+\tfrac12=1\), and \(1+0+0=1\). States \(1\) and \(2\) communicate: there is a one-step path \(1\to2\) and a one-step path \(2\to1\), each of positive probability. At state \(1\), the paths \(1\to2\to1\) and \(1\to2\to3\to1\) give return lengths \(2\) and \(3\). Therefore \(d(1)\) divides both \(2\) and \(3\), whose greatest common divisor is \(1\), so \(d(1)=1\).
At state \(2\), the paths \(2\to1\to2\) and \(2\to3\to1\to2\) give return lengths \(2\) and \(3\), respectively. Their probabilities are \(\tfrac12\) and \(\tfrac12\cdot1\cdot1=\tfrac12\), both positive. Thus \(d(2)\) divides \(2\) and \(3\), giving \(d(2)=1\). The two computations agree, as the theorem requires.
Check: \(\gcd(2,3)=1\), since \(1\) divides both numbers and no larger positive integer divides \(2\). All listed paths use only positive entries of \(P\).
Worked Example: A Four-State Deterministic Cycle
Let \(S=\{1,2,3,4\}\), with each state moving to the next state in the cycle \(1\to2\to3\to4\to1\) with probability \(1\). The transition matrix is
Each row sums to \(1\), because every row has one entry equal to \(1\) and the others equal to \(0\). The states communicate: following the arrows forward reaches any chosen state, and continuing around the cycle eventually returns to the starting state. From state \(1\), a return occurs exactly after \(4,8,12,\ldots\) steps. Indeed, after \(n\) steps the state is determined by moving \(n\) places around the four-state cycle, and it is \(1\) precisely when \(n\) is a positive multiple of \(4\). Hence \(R_1=\{4,8,12,\ldots\}\), and \(d(1)=4\).
From state \(3\), the same reasoning gives \(R_3=\{4,8,12,\ldots\}\), so \(d(3)=4\). This direct calculation illustrates the theorem: communication does not require different states to have different periods, even when the return paths are viewed from different starting points.
Check: \(4\) divides each listed return length, and every common divisor of the set must divide its first member \(4\). Therefore the greatest common divisor is exactly \(4\). The theorem also gives \(d(3)=d(1)=4\).
Worked Example: A Self-Loop Changes the Available Return Lengths
Take \(S=\{1,2\}\) and
The first row sums to \(0+1=1\), and the second to \(\tfrac12+\tfrac12=1\). The states communicate: \(1\to2\) has probability \(1\), and \(2\to1\) has probability \(\tfrac12\). At state \(2\), the one-step self-loop has positive probability \(\tfrac12\), so \(1\in R_2\) and \(d(2)=1\).
At state \(1\), there is no one-step return, because \(p_{11}=0\). But \(1\to2\to1\) has probability \(1\cdot\tfrac12=\tfrac12\), giving return length \(2\). Also, \(1\to2\to2\to1\) has probability \(1\cdot\tfrac12\cdot\tfrac12=\tfrac14\), giving return length \(3\). Thus \(d(1)\) divides both \(2\) and \(3\), so \(d(1)=1=d(2)\).
Check: The two paths have the stated probabilities by multiplying their transition probabilities. Since \(\gcd(2,3)=1\), the return lengths already establish period \(1\); the additional return length \(1\) at state \(2\) is consistent with that result.
Common Pitfall: A First Return Is Not the Period
The first positive return length is only the smallest member of \(R_i\); the period is the greatest common divisor of all positive return lengths. In the last example, the shortest return from state \(1\) has length \(2\). A mistaken calculation would therefore report \(d(1)=2\). But the positive-probability path \(1\to2\to2\to1\) has length \(3\), and \(\gcd(2,3)=1\). The correct period is \(1\), in agreement with state \(2\).
Another error is to compare a return at \(j\) with a return at \(i\) without accounting for the lengths of the connecting paths. The proof uses the same paths of lengths \(a\) and \(b\) for every return length at \(j\). Both \(a+b\) and \(a+n+b\) are returns at \(i\); subtracting them isolates \(n\). Without this fixed offset argument, divisibility does not follow.
The result is useful because it lets us assign a single period to an entire communicating class rather than repeatedly computing it state by state. The class must be maximal in the definition: a proper subset whose states communicate is not, for that reason alone, a communicating class. Period equality applies to any two communicating states, while the class terminology refers to the full equivalence class.
Check Your Understanding
For each question, justify your answer using positive-probability paths or return lengths.
- If paths of lengths \(a\) and \(b\) connect \(i\) to \(j\) and \(j\) to \(i\), respectively, what two return lengths at \(i\) can be formed using a return of length \(n\) at \(j\)?
- Why does \(d(i)\) divide \(n\) in the theorem's proof, rather than only divide \(a+n+b\)?
- For the two-state matrix in the third example, identify a positive return length at state \(1\) that is not its shortest return length, and calculate its path probability.
- Can a proper subset of a communicating class also have every pair of its states communicate? Why does that not make the subset a communicating class?
- What must be checked before using the period definition \(d(i)=\gcd R_i\) for a state whose communicating class contains no other states?