Return Times and Their Greatest Common Divisor
A Markov chain can have a stationary distribution and still fail to approach it at each time step. One reason is that the chain may be restricted to a repeating schedule: for example, it may alternate between two groups of states. The period of a state records this timing constraint using the lengths of paths that return to that state. The key quantity is not one return time, but the greatest common divisor of all possible return times.
Let \((X_n)_{n\ge0}\) be a time-homogeneous Markov chain on a 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 each \(i\). Write \(p_{ii}^{(n)}=\mathbb{P}_i(X_n=i)\), where \(\mathbb{P}_i\) denotes the law of the chain started at \(i\). Its possible positive return times are the integers \(n\ge1\) for which \(p_{ii}^{(n)}>0\).
For an irreducible chain, every state has at least one possible positive return time: if there is more than one state, a path from \(i\) to another state and a path back give a return path; a one-state irreducible chain returns in one step. In a reducible chain, a state might have no possible return at all. In that case the displayed greatest common divisor is not defined, and we do not assign that state a period by this definition.
In an irreducible chain, states communicate: \(i\leftrightarrow j\) means that each can be reached from the other with positive probability in some finite number of steps. The following result explains why it makes sense to speak of the period of an irreducible class.
Proof. If \(i=j\), the claim is immediate. Otherwise, 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\). Their concatenation is a return path to \(i\) of length \(a+b\), so \(d(i)\) divides \(a+b\). Now take any possible return length \(r\ge1\) to \(j\). Concatenating the path from \(i\) to \(j\), a return path to \(j\) of length \(r\), and the path back to \(i\) gives a return path to \(i\) of length \(a+r+b\). Thus \(d(i)\) divides \(a+r+b\) as well, and hence divides their difference \(r\). Since this is true for every possible return length \(r\) to \(j\), \(d(i)\) divides \(d(j)\). Interchanging \(i\) and \(j\) gives \(d(j)\) divides \(d(i)\), so the positive integers are equal. \(\square\)
How Period One Removes a Timing Obstruction
Having period one means that the possible return times have no common divisor greater than one. This fact has a stronger consequence than merely having two return times with different parity: returns are possible at every sufficiently large integer time. The arithmetic fact behind this statement is recorded and proved next.
Proof. First choose a finite subset \(a_1,\ldots,a_k\) of \(A\) whose greatest common divisor is \(1\). Such a subset exists: enumerate members of \(A\), take successive greatest common divisors, and note that this is a nonincreasing sequence of positive integers. It can decrease only finitely often, and its eventual value is the greatest common divisor of \(A\), namely \(1\).
Set \(a=a_1\). Consider residues modulo \(a\) that can be represented by nonnegative integer sums of \(a_1,\ldots,a_k\). These residues include \(0\), and are closed under addition. They form the whole group of residues modulo \(a\): the integer combinations of \(a_1,\ldots,a_k\) include \(1\), since their greatest common divisor is \(1\); and any negative coefficient can be replaced, modulo \(a\), by a nonnegative coefficient by adding a sufficiently large multiple of \(a\) to that coefficient. (For the coefficient of \(a_1=a\), changing the coefficient does not change the residue.) Therefore, for each residue \(r\) modulo \(a\), choose a nonnegative sum \(c_r\) of \(a_1,\ldots,a_k\) with residue \(r\). There are only \(a\) residues, so \(N=\max_r c_r\) is finite. If \(n\ge N\) has residue \(r\), then \(n-c_r\) is a nonnegative multiple of \(a=a_1\). Consequently \(n=c_r+q a_1\) for some integer \(q\ge0\), a sum of members of \(A\). This proves the claim. \(\square\)
Return paths can be concatenated: if positive-probability paths return to \(i\) in \(u\) and \(v\) steps, their concatenation is a positive-probability return path in \(u+v\) steps. Therefore the lemma implies the following result for any state with period one.
Proof. Apply the lemma to the set of possible positive return times to \(i\). Every sufficiently large \(n\) is a sum of return times from that set. Concatenating the corresponding positive-probability paths gives a positive-probability return path of total length \(n\), which means \(p_{ii}^{(n)}>0\). \(\square\)
There is also a useful finite-state consequence. For an irreducible, finite-state chain with period one, some power \(P^{(n)}\) has every entry positive; in fact, every sufficiently large power does. This explains why aperiodicity is a standard hypothesis in convergence results: it removes a recurring time schedule that could prevent the transition probabilities from settling. This consequence alone is not a convergence theorem; hypotheses such as irreducibility and positive recurrence also matter in the relevant settings.
Proof. Fix a reference state \(r\). By the corollary, there is an integer \(L_0\) such that \(p_{rr}^{(L)}>0\) for every \(L\ge L_0\). For each \(i\), irreducibility gives a positive-probability path from \(i\) to \(r\), of some length \(a_i\ge0\); for each \(j\), it gives a path from \(r\) to \(j\), of some length \(b_j\ge0\). A length can be zero when the endpoints are \(r\). For any \(n\ge a_i+b_j+L_0\), set \(L=n-a_i-b_j\), so \(L\ge L_0\). Concatenate the chosen path from \(i\) to \(r\), a return path from \(r\) to \(r\) of length \(L\), and the chosen path from \(r\) to \(j\). This is a positive-probability path of length \(n\), so \(p_{ij}^{(n)}>0\). Since \(S\) is finite, the maximum of \(a_i+b_j+L_0\) over all pairs \(i,j\) is finite; take it as \(N\). Then the conclusion holds for every pair and every \(n\ge N\). \(\square\)
Worked Period Calculations
Worked Example: Alternation Has Period Two
Consider the chain on \(S=\{0,1\}\) with transition matrix \(P=\begin{bmatrix}0&1\\1&0\end{bmatrix}\). Each row sums to \(0+1=1\) and \(1+0=1\), so the matrix is row-stochastic. From either state the chain moves to the other state at every step. Starting at \(0\), it returns to \(0\) exactly at the positive even times \(2,4,6,\ldots\); hence \(d(0)=\gcd\{2,4,6,\ldots\}=2\). Starting at \(1\) gives the same return times, so \(d(1)=2\).
The distribution \(\pi=(\tfrac12,\tfrac12)\) is stationary: \(\pi P=(\tfrac12,\tfrac12)=\pi\). But from initial distribution \(\mu_0=(1,0)\), \(\mu_1=(0,1)\), \(\mu_2=(1,0)\), and the distributions continue to alternate. This computation shows how a stationary distribution can coexist with failure of convergence at each time step when the chain is periodic.
Worked Example: Return Times Two and Three Give Period One
Consider \(S=\{0,1\}\) and \(P=\begin{bmatrix}0&1\\\tfrac12&\tfrac12\end{bmatrix}\). The first row sums to \(0+1=1\), and the second sums to \(\tfrac12+\tfrac12=1\). Starting at \(0\), the chain returns in two steps along \(0\to1\to0\), with probability \(1\cdot\tfrac12=\tfrac12>0\). It also returns in three steps along \(0\to1\to1\to0\), with probability \(1\cdot\tfrac12\cdot\tfrac12=\tfrac14>0\). Thus the set of possible return times contains \(2\) and \(3\), so its greatest common divisor divides \(\gcd(2,3)=1\). Since a period is a positive integer, \(d(0)=1\).
The chain is irreducible: \(0\) reaches \(1\) in one step, and \(1\) reaches \(0\) with probability \(\tfrac12>0\). The theorem on communicating states therefore gives \(d(1)=d(0)=1\). In particular, it is not necessary to list every possible return time to compute the period when a finite subset already has greatest common divisor one.
Worked Example: A Four-State Cycle Has Period Four
Let \(S=\{0,1,2,3\}\), and let the chain move deterministically around the cycle \(0\to1\to2\to3\to0\). Its transition matrix is \(P=\begin{bmatrix}0&1&0&0\\0&0&1&0\\0&0&0&1\\1&0&0&0\end{bmatrix}\). The row sums, in order, are \(0+1+0+0=1\), \(0+0+1+0=1\), \(0+0+0+1=1\), and \(1+0+0+0=1\).
Starting at \(0\), the chain is at \(0\) after \(n\) steps exactly when \(n\) is a positive multiple of \(4\). Thus its possible positive return times are \(4,8,12,\ldots\), and \(d(0)=\gcd\{4,8,12,\ldots\}=4\). The chain is irreducible, so every state has this same period. In particular, a chain need not alternate between only two groups to be periodic: a longer cycle creates a longer timing constraint.
What Period One Does—and Does Not—Say
For an irreducible chain, the shared period is the class's common timing constraint. Period one removes that arithmetic constraint: returns are possible at all sufficiently large times, and, in a finite irreducible chain, so are transitions between every pair of states. This is the role of aperiodicity in convergence arguments. It does not by itself guarantee convergence or even a unique stationary distribution if other required conditions fail.
For example, consider the reducible chain on \(\{0,1\}\) with \(P=\begin{bmatrix}1&0\\0&1\end{bmatrix}\). Both rows sum to \(1\), and each state returns in one step, so each has period one. Yet an initial distribution \((\alpha,1-\alpha)\) stays \((\alpha,1-\alpha)\) at every time. Different initial distributions therefore do not approach a single common distribution. This example does not contradict convergence results that assume irreducibility: the two states do not communicate.
Common mistake. In the two-state chain from the second worked example, one might say that the period is \(2\) because the shortest return takes two steps. That calculation confuses the shortest return time with the greatest common divisor of all possible return times. The three-step path has probability \(\tfrac14>0\), so the return-time set contains both \(2\) and \(3\), and \(\gcd(2,3)=1\). The correct period is one.
| Return-time information | Conclusion |
|---|---|
| All possible return times are divisible by \(d\) | The period is their greatest common divisor, not necessarily the shortest return time. |
| Two possible return times have greatest common divisor \(1\) | The state's period is \(1\). |
| Two states communicate | Their periods are equal. |
| An irreducible finite chain has period \(1\) | Every sufficiently large transition-matrix power has all entries positive. |
Check Your Understanding
For each question, identify which return-time probabilities are positive before taking a greatest common divisor.
- A state has possible return times \(6,9,12,\ldots\). What is its period?
- A chain is irreducible, and one state has possible return times \(4\) and \(7\). What is the period of every state in the chain?
- Why does a return path of length \(u\) followed by one of length \(v\) imply a possible return time \(u+v\)?
- In the deterministic four-state cycle, can the state return in \(10\) steps? Use the cycle structure to justify your answer.
- Why does the two-state identity chain show that period one alone does not imply convergence to a single common distribution?