Tutorials › Stochastic Processes › Periodicity as an Obstruction to Convergence

Convergence to Equilibrium and Ergodic Theorems · Tutorial 213 of 994

Periodicity as an Obstruction to Convergence

Learn how cyclic classes expose the persistent oscillation of an irreducible periodic Markov chain, even when a stationary distribution exists.

Advanced 10 min read

What You'll Learn

  • Define cyclic classes from return-time lengths and verify their transition structure.
  • Prove that stationary mass is equally divided among the cyclic classes.
  • Establish a total-variation lower bound for every starting state and time.
  • Distinguish a stationary distribution from convergence of the distributions at each step.
  • Compute periodicity, stationary distributions, and total-variation distances in finite chains.

Stationarity Does Not Guarantee Convergence

A Markov chain can have a stationary distribution and still fail to approach it at each successive time. The obstruction is periodicity: transitions move the chain through a sequence of classes in a fixed cyclic order. At any given time, a chain started at one state is confined to just one of those classes, while a stationary distribution spreads its mass across all of them. This difference remains visible in total variation, no matter how many steps have elapsed.

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})\). Its natural filtration is \(\mathcal{F}_n=\sigma(X_0,\ldots,X_n)\). The matrix is row-stochastic: \(\sum_{j\in S}p_{ij}=1\) for every \(i\). The chain is irreducible if each state can be reached from each other state with positive probability in some finite number of steps. Its period is the greatest common divisor of the positive return times \(n\) for which \(p_{ii}^{(n)}>0\); for an irreducible chain this value is the same for every state. A chain is periodic when this period \(d\) exceeds \(1\).

Definition: For probability distributions \(\mu\) and \(\nu\) on a countable state space, their total-variation distance is \(\|\mu-\nu\|_{\mathrm{TV}}=\sup_{A\subseteq S}|\mu(A)-\nu(A)|=\tfrac12\sum_{i\in S}|\mu_i-\nu_i|\). A distribution \(\pi\) is stationary if \(\pi P=\pi\); if the initial distribution is \(\pi\), then the distribution at every time remains \(\pi\).

The last property is not a convergence statement. It says what happens when the chain is already started in equilibrium. The question here is whether a chain started at a particular state approaches equilibrium in total variation. For an irreducible periodic chain, the answer is no.

Cyclic Classes

Fix a reference state \(o\). A path of length \(m\) from \(o\) to \(j\) means a sequence of \(m\) transitions, each having positive probability. Assign \(j\) the residue modulo \(d\) of the length of any such path. This assignment is well-defined: if two paths from \(o\) to \(j\) have lengths \(m\) and \(n\), append the same path from \(j\) back to \(o\). The resulting lengths are return times to \(o\), so both are divisible by \(d\), and therefore \(m-n\) is divisible by \(d\). For \(j=o\), assign residue \(0\), since every positive return time to \(o\) is divisible by \(d\).

Write \(C_r\) for the set of states assigned residue \(r\), where residues are taken modulo \(d\). These sets are the cyclic classes. An edge of positive probability from \(i\) to \(j\) increases path length by one, so it moves from \(C_r\) to \(C_{r+1}\). All \(d\) classes are nonempty: take any positive-probability return path from \(o\) to itself, of length \(L\). Since \(L\) is a positive multiple of \(d\), its first \(d\) vertices have path lengths \(0,\ldots,d-1\) and belong to the corresponding classes.

Theorem (Cyclic-class obstruction): Suppose an irreducible Markov chain on a finite or countable state space has period \(d>1\) and a stationary distribution \(\pi\). Its state space has cyclic classes \(C_0,\ldots,C_{d-1}\), every transition moves from \(C_r\) to \(C_{r+1}\), and \(\pi(C_r)=1/d\) for each \(r\). For any starting state \(j\in C_s\) and every \(n\ge0\), \(\|\mathbb{P}_j(X_n\in\cdot)-\pi\|_{\mathrm{TV}}\ge 1-1/d\). In particular, the laws from a fixed starting state do not converge in total variation.

Proof. The path construction above gives the partition into nonempty classes and shows that transitions from \(C_r\) go only to \(C_{r+1}\). Write \(\pi(C_r)=\sum_{i\in C_r}\pi_i\). Stationarity and the transition property give \(\pi(C_{r+1})=\sum_{j\in C_{r+1}}\sum_{i\in S}\pi_i p_{ij}=\sum_{i\in C_r}\pi_i\sum_{j\in C_{r+1}}p_{ij}=\pi(C_r)\). The middle equality holds because states outside \(C_r\) have no transitions into \(C_{r+1}\), and for each \(i\in C_r\) the sum of probabilities into \(C_{r+1}\) is \(1\). Thus all class masses are equal. Since the classes partition \(S\) and \(\pi(S)=1\), each has mass \(1/d\).

Now fix any starting state \(j\in C_s\), not just the reference state. By induction on \(n\), the transition property implies \(\mathbb{P}_j(X_n\in C_{s+n\bmod d})=1\): it holds at \(n=0\), and one more transition moves the occupied class forward by one. Set \(A=C_{s+n\bmod d}\). The law at time \(n\) assigns mass \(1\) to \(A\), while \(\pi(A)=1/d\). The supremum definition of total variation therefore gives \(\|\mathbb{P}_j(X_n\in\cdot)-\pi\|_{\mathrm{TV}}\ge|1-1/d|=1-1/d\), for every \(j\) and \(n\). Finally, for a fixed start \(j\in C_s\), the probability of \(C_s\) equals \(1\) at times \(n=kd\) and \(0\) at times \(n=kd+1\), for integers \(k\ge0\). If the laws converged in total variation, their probabilities of the fixed set \(C_s\) would converge, which these alternating values do not. \(\square\)

The lower bound has an important scope: it compares the law from a fixed state with the stationary distribution. It does not say that every initial distribution fails to converge. If the initial distribution is already \(\pi\), stationarity gives \(\mu_n=\pi\) for all \(n\). The obstruction concerns the persistent phase information carried by a particular starting class.

Worked Examples

Worked Example: A Two-State Alternating Chain

Consider \(S=\{0,1\}\), with each state moving to the other with probability \(1\). Its transition matrix, in the order \(0,1\), is \(P=\begin{bmatrix}0&1\\1&0\end{bmatrix}\). Both rows sum to \(1\). Find the stationary distribution and the total-variation distance from state \(0\) at every time.

The stationary equations for \(\pi=(\pi_0,\pi_1)\) are \(\pi_0=\pi_1\), \(\pi_1=\pi_0\), and \(\pi_0+\pi_1=1\). Hence \(\pi=(1/2,1/2)\). From state \(0\), the distribution is \((1,0)\) at even times and \((0,1)\) at odd times. At either kind of time, its total-variation distance from \(\pi\) is \(\tfrac12(|1-\tfrac12|+|0-\tfrac12|)=\tfrac12\).

Check: The chain returns to \(0\) after \(2,4,6,\ldots\) steps, so its period is \(2\). The theorem predicts a lower bound \(1-\tfrac12=\tfrac12\), matching the computed distance at every time.

Worked Example: A Three-State Cycle

On \(S=\{0,1,2\}\), let the chain move deterministically from \(0\) to \(1\), from \(1\) to \(2\), and from \(2\) to \(0\). In this order, \(P=\begin{bmatrix}0&1&0\\0&0&1\\1&0&0\end{bmatrix}\). Each row sums to \(1\). Starting from \(0\), compute the stationary distribution and the distance from it at every time.

The stationary equations are \(\pi_0=\pi_2\), \(\pi_1=\pi_0\), and \(\pi_2=\pi_1\). Together with \(\pi_0+\pi_1+\pi_2=1\), these give \(\pi=(1/3,1/3,1/3)\). At time \(n\), the chain is at the single state \(n\bmod 3\), so its law is a point mass. The total-variation distance of any point mass \(\delta_i\) from this \(\pi\) is \(\tfrac12(|1-\tfrac13|+|0-\tfrac13|+|0-\tfrac13|)=\tfrac23\).

Check: Return to any state occurs exactly at positive multiples of \(3\), so \(d=3\). The lower bound \(1-\tfrac13=\tfrac23\) agrees with the direct computation. The state probabilities rotate; they do not approach their stationary values one step at a time.

Worked Example: A Period-Two Chain with Nonuniform State Probabilities

Consider the state order \(0,1,2,3\) and transition matrix \(P=\begin{bmatrix}0&1&0&0\\ \tfrac13&0&\tfrac23&0\\0&0&0&1\\\tfrac34&0&\tfrac14&0\end{bmatrix}\). The row sums are \(1\), \(1/3+2/3=1\), \(1\), and \(3/4+1/4=1\). The chain follows the positive-probability cycle \(0\to1\to2\to3\to0\), so it is irreducible. Its classes are \(C_0=\{0,2\}\) and \(C_1=\{1,3\}\). Every transition switches classes, and the two-step return \(0\to1\to0\) has positive probability, so the period is \(2\).

To solve \(\pi P=\pi\), the four coordinate equations are \(\pi_0=\tfrac13\pi_1+\tfrac34\pi_3\), \(\pi_1=\pi_0\), \(\pi_2=\tfrac23\pi_1+\tfrac14\pi_3\), and \(\pi_3=\pi_2\). Substituting \(\pi_1=\pi_0\) and \(\pi_3=\pi_2\) into the first equation gives \(\pi_0=\tfrac13\pi_0+\tfrac34\pi_2\), hence \(\tfrac23\pi_0=\tfrac34\pi_2\) and \(\pi_0=\tfrac98\pi_2\). Normalization gives \(2\pi_0+2\pi_2=1\), so \(2(\tfrac98\pi_2)+2\pi_2=\tfrac{17}{4}\pi_2=1\). Therefore \(\pi_2=\pi_3=4/17\) and \(\pi_0=\pi_1=9/34\), or \(\pi=(9/34,9/34,8/34,8/34)\).

Check: Its entries sum to \(9/34+9/34+8/34+8/34=1\). Multiplication gives \(\pi P=(\tfrac{3}{34}+\tfrac{6}{34},\tfrac{9}{34},\tfrac{6}{34}+\tfrac{2}{34},\tfrac{8}{34})=(9/34,9/34,8/34,8/34)=\pi\). Each class has stationary mass \(17/34=1/2\), although the individual state probabilities are not all equal. From any fixed starting state, the law at each time is supported on one class, so its distance from \(\pi\) is at least \(1/2\).

What the Obstruction Does—and Does Not—Say

The class argument explains why stationary probabilities and convergence answer different questions. Stationarity is the balance equation \(\pi P=\pi\); it says that one step preserves a distribution. Convergence asks whether repeated transitions from a specified initial law approach a particular distribution. A stationary distribution may exist even when the latter fails. In a periodic chain, each step shifts the class occupied by a point-started chain, so the phase does not disappear.

The result is specifically a total-variation obstruction. It gives a uniform positive lower bound at every time, and therefore rules out total-variation convergence to \(\pi\). It also rules out a total-variation limit of any kind for a fixed point start: probabilities of a cyclic class oscillate between \(1\) and \(0\) along two subsequences. This argument does not rule out convergence of time averages, which average over different phases; that is a distinct question.

Common pitfall. For the two-state chain, it is tempting to say that the laws “average out” to \((1/2,1/2)\), and therefore converge to \(\pi\). The arithmetic average of the first \(2m\) laws is indeed \((1/2,1/2)\), but the law at time \(n\) is still either \((1,0)\) or \((0,1)\). Its distance from \(\pi\) is \(\tfrac12\), not \(0\). Averaging a sequence of distributions is not the same operation as taking the limit of its individual terms.

When checking a proposed convergence claim for an irreducible chain, first identify the period. If \(d>1\), find its cyclic classes and track which class contains the chain at time \(n\). For a point start, that class has probability \(1\), while its stationary mass is \(1/d\); this single event already gives the lower bound \(1-1/d\). Aperiodicity removes this particular obstruction, but does not by itself establish convergence without the other hypotheses needed for a convergence theorem.

Check Your Understanding

Use the definitions and results above to answer the following questions.

  1. For a period-\(4\) irreducible chain with a stationary distribution, what is the lower bound on the total-variation distance from any fixed starting state at every time?
  2. In the four-state example, verify directly that the transitions alternate between \(C_0=\{0,2\}\) and \(C_1=\{1,3\}\).
  3. Why does a point-started chain in the three-state cycle fail to converge in total variation, even though its stationary distribution is uniform?
  4. Can a periodic chain have a law that remains stationary at every time? State the condition on its initial distribution that ensures this.
  5. Explain why the arithmetic average of the first \(2m\) laws in the two-state example does not prove convergence of the laws themselves.