Tutorials › Stochastic Processes › Recurrence in Finite Closed Classes

Recurrence and Transience · Tutorial 166 of 994

Recurrence in Finite Closed Classes

Prove that every state in a finite closed communicating class is recurrent, then check the conclusion on cycles and chains with self-loops.

Advanced 10 min read

What You'll Learn

  • Define a closed communicating class using transition probabilities and communication paths.
  • Prove recurrence by finding a uniform positive chance of reaching a target within a fixed number of steps.
  • Handle singleton classes and the first-return time explicitly.
  • Verify recurrence in deterministic cycles and finite chains with self-loops.
  • Distinguish recurrence from aperiodicity and from returning at every time.

Why Finiteness and Closure Force a Return

A chain may move around a class of states without ever leaving it. If the class is finite and each state can communicate with every other, then from any state there is a path back to a chosen target. Finiteness makes this observation stronger: there is a fixed bound on the path lengths and a positive lower bound on their probabilities. Repeated opportunities to use those paths rule out avoiding the target forever.

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\in S\). A path from \(x\) to \(y\) is a finite sequence of transitions with positive probability; states \(x\) and \(y\) communicate if each can be reached from the other. A communicating class is a maximal set of mutually communicating states. It is closed if \(p_{xy}=0\) whenever \(x\) is in the class and \(y\) is outside it.

Definition: A state \(i\) is recurrent if, when \(X_0=i\), the first return time \(T_i^+=\inf\{n\ge1:X_n=i\}\) is finite with probability \(1\), that is, \(\mathbb{P}_i(T_i^+<\infty)=1\). Here \(\mathbb{P}_i\) denotes probability for the chain started at \(i\). A return at time zero is not counted.

The closed-class condition means the chain stays in the class once it starts there. The communication condition supplies a route to each target. The theorem below combines those facts; it does not require positive probability of staying at the target in one step.

Theorem: Every state in a finite closed communicating class is recurrent.

Proof. Let \(C\) be a finite closed communicating class and fix \(i\in C\). If \(C=\{i\}\), closure and the row-sum condition give \(p_{ii}=1\): there are no transitions from \(i\) to states outside \(C\), and \(i\) is the only state in \(C\). Thus \(T_i^+=1\) with probability \(1\).

Now suppose \(C\) contains at least two states. For each \(x\in C\setminus\{i\}\), communication gives a path from \(x\) to \(i\) of some positive length \(\ell_x\). Let \(r_x>0\) be the product of the transition probabilities along this path. Since \(C\setminus\{i\}\) is finite, the numbers \(L=\max_{x\ne i}\ell_x\) and \(\varepsilon=\min_{x\ne i}r_x\) are well defined, with \(L\ge1\) and \(\varepsilon>0\). From any \(x\ne i\), the probability of hitting \(i\) within the next \(L\) steps is at least \(\varepsilon\), because the chosen path reaches \(i\) in at most \(L\) steps.

Consider the chain started at \(i\). If it has not returned by time \(n\ge1\), then \(X_n\in C\setminus\{i\}\): closure keeps it in \(C\), and the event of no return excludes \(i\). The Markov property therefore gives, conditional on its history through time \(n\), probability at least \(\varepsilon\) of hitting \(i\) within the next \(L\) steps. Consequently, for every integer \(k\ge0\),

$$ \mathbb{P}_i(T_i^+>1+kL)\le (1-\varepsilon)^k. $$

Indeed, the bound for \(k=0\) is \(\mathbb{P}_i(T_i^+>1)\le1\). If the chain has avoided return through time \(1+kL\), the conditional probability that it also avoids \(i\) for the next \(L\) steps is at most \(1-\varepsilon\). Multiplying this conditional bound gives the displayed inequality by induction. Since \(0<\varepsilon\le1\), its right-hand side tends to zero as \(k\) tends to infinity (and is zero for \(k\ge1\) if \(\varepsilon=1\)). The events \(\{T_i^+>1+kL\}\) decrease to \(\{T_i^+=\infty\}\), so continuity of probability for decreasing events gives \(\mathbb{P}_i(T_i^+=\infty)=0\). Thus \(i\) is recurrent. The choice of \(i\) was arbitrary, proving the claim for every state in \(C\). \(\square\)

What the Uniform Bound Says

The essential step is a uniform lower bound, not an identical route from every state. For a fixed target, each other state in the class may have its own path and path length. Because there are only finitely many starting states, the longest chosen path is still finite and the smallest of their positive path probabilities is still positive. At each block of \(L\) steps spent away from the target, the chain therefore has probability at least \(\varepsilon\) to reach it. The probability of avoiding it through \(k\) such blocks is bounded by a geometric sequence.

The first-return version needs one small adjustment: the chain starts at \(i\), so a path of length zero from \(i\) to itself cannot count as a return. The proof first considers time \(1\). If no return has occurred by then, the chain is at a different state of \(C\), where the uniform path bound applies. The singleton case is handled separately because there are no other states from which to choose paths.

Corollary: If the chain starts at any state in a finite closed communicating class \(C\), then every state of \(C\) is visited infinitely often with probability \(1\).

Proof. Fix \(i\in C\). The proof of the theorem supplies a uniform positive chance to hit \(i\) within a bounded number of steps from each state other than \(i\). From \(i\), either the chain returns in one step or it moves to another state in \(C\); in the latter case, the same bound applies after that step. Thus, from any state in \(C\), the probability of avoiding \(i\) for \(k\) successive blocks of a sufficiently large fixed length is bounded by \((1-\delta)^k\) for some \(\delta>0\). This tends to zero, so the probability of avoiding \(i\) forever after any fixed time is zero. The event that \(i\) is visited only finitely often is contained in the union, over all integer times \(m\ge0\), of the events that \(i\) is never visited after time \(m\). Each of these events has probability zero, and a countable union of probability-zero events has probability zero. Hence \(i\) is visited infinitely often almost surely. Since \(C\) is finite, the same conclusion holds simultaneously for every \(i\in C\): the union of the finitely many exceptional probability-zero events still has probability zero. \(\square\)

Worked Examples

Worked Example: A Deterministic Three-State Cycle

Let \(S=C=\{1,2,3\}\), with transitions \(1\to2\), \(2\to3\), and \(3\to1\), each with probability \(1\). The transition matrix is

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

Each row sums to \(1\): the row totals are \(0+1+0=1\), \(0+0+1=1\), and \(1+0+0=1\). The class is closed because all transitions stay in \(C\). It is communicating because following the cycle reaches either of the other states from each starting state. Starting at \(1\), the path is \(1,2,3,1,2,3,\ldots\), so \(T_1^+=3\) with probability \(1\). Starting at \(2\) or \(3\) gives the same first-return time, \(3\). Each state is recurrent.

Check: Starting from \(1\), the chain is at \(1\) at time \(n\) exactly when \(n\) is a multiple of \(3\). In particular, the return probability at time \(3\) is \(1\), while at times \(1\) and \(2\) it is \(0\). Recurrence requires eventual return with probability \(1\), not a positive probability of returning at every time.

Worked Example: A Two-State Chain with Self-Loops

Take \(C=\{1,2\}\) and

$$ P= \begin{bmatrix} \tfrac12&\tfrac12\\ \tfrac13&\tfrac23 \end{bmatrix}. $$

The row sums are \(\tfrac12+\tfrac12=1\) and \(\tfrac13+\tfrac23=1\). The class is closed, and the positive transitions in both directions show that its states communicate. The theorem therefore gives recurrence. We can also verify the return probabilities directly. Starting from \(1\), a return at time \(1\) occurs with probability \(\tfrac12\). For a first return at time \(n\ge2\), the chain must move from \(1\) to \(2\), remain at \(2\) for \(n-2\) steps, and then move from \(2\) to \(1\). Thus

$$ \mathbb{P}_1(T_1^+=1)=\tfrac12,\qquad \mathbb{P}_1(T_1^+=n)=\tfrac12\left(\tfrac23\right)^{n-2}\tfrac13 =\tfrac16\left(\tfrac23\right)^{n-2},\quad n\ge2. $$

Summing all the first-return probabilities gives

$$ \sum_{n\ge1}\mathbb{P}_1(T_1^+=n) =\tfrac12+\tfrac16\sum_{r\ge0}\left(\tfrac23\right)^r =\tfrac12+\tfrac16\cdot3=1. $$

Here the geometric-series sum is \(1/(1-\tfrac23)=3\). From state \(2\), the return probability at time \(1\) is \(\tfrac23\). For \(n\ge2\), the first-return probability is \(\tfrac13(\tfrac12)^{n-2}\tfrac12=\tfrac16(\tfrac12)^{n-2}\). Its total is \(\tfrac23+\tfrac16\cdot2=1\), confirming recurrence for state \(2\) as well.

Check: The two first-return distributions each sum to \(1\), and each uses the probabilities from the corresponding row of \(P\). The self-loops create possible returns at time \(1\), but recurrence does not depend on having a self-loop.

Worked Example: A Three-State Class with Unequal Routes

Consider \(C=\{a,b,c\}\), with transitions described by

$$ P= \begin{bmatrix} \tfrac12&\tfrac12&0\\ \tfrac13&\tfrac13&\tfrac13\\ \tfrac12&0&\tfrac12 \end{bmatrix}, $$

where the state order is \(a,b,c\). The row sums are \(\tfrac12+\tfrac12+0=1\), \(\tfrac13+\tfrac13+\tfrac13=1\), and \(\tfrac12+0+\tfrac12=1\). The transitions \(a\to b\), \(b\to a\), \(b\to c\), and \(c\to a\) show that each state can reach the others; all transitions stay in \(C\), so the class is closed and communicating.

For target \(b\), from \(a\) the one-step path \(a\to b\) has probability \(\tfrac12\). From \(c\), the path \(c\to a\to b\) has length \(2\) and probability \(\tfrac12\cdot\tfrac12=\tfrac14\). Thus the proof’s choices can be \(L=2\) and \(\varepsilon=\tfrac14\). Starting at \(b\), if no first return occurs at time \(1\), the chain is at \(a\) or \(c\). From either state, it reaches \(b\) within the next two steps with probability at least \(\tfrac14\). The probability of avoiding \(b\) through \(1+2k\) steps is consequently at most \(\tfrac23(\tfrac34)^k\): the factor \(\tfrac23\) is the probability of not returning at time \(1\), and each subsequent two-step block contributes a factor at most \(\tfrac34\).

Check: The bound tends to zero because \((\tfrac34)^k\to0\). Therefore \(\mathbb{P}_b(T_b^+=\infty)=0\), in agreement with the theorem. The paths to the target need not have the same length or probability; finiteness lets us use the largest selected length and the smallest selected path probability.

Recurrence Is Not Aperiodicity

Recurrence concerns whether a return eventually occurs; it does not say which return times are possible. In the deterministic three-state cycle, returns to state \(1\) occur at times \(3,6,9,\ldots\), so the greatest common divisor of the possible positive return times is \(3\). The state is recurrent but periodic. In the two-state example, state \(1\) can return at time \(1\), and state \(2\) can return at time \(1\); a positive one-step return makes the greatest common divisor of the possible return times equal to \(1\). Both states are recurrent, and these return-time patterns differ.

Common mistake. A self-loop is not necessary for recurrence. In the deterministic cycle, \(p_{11}=0\), so the calculation “\(p_{11}=0\), therefore state \(1\) is transient” is wrong: it checks only a return at time \(1\). The actual path is \(1\to2\to3\to1\), giving \(\mathbb{P}_1(T_1^+=3)=1\). To test recurrence, consider the probability of any finite positive-time return, not just the one-step transition back to the starting state.

Check Your Understanding

Use the definition of recurrence and the uniform path argument to answer these questions.

  1. Why does closure ensure that, on the event of no return to \(i\), the chain remains in \(C\setminus\{i\}\)?
  2. In a finite closed communicating class, what makes the minimum path probability \(\varepsilon\) strictly positive?
  3. For the deterministic three-state cycle, list the positive return times to state \(2\). Is the state recurrent, and is it aperiodic?
  4. For the two-state matrix in the second example, what is the probability of a first return to state \(1\) at time \(3\)?
  5. Why must the singleton-class case be treated separately in the uniform-path proof?