How a Communicating Class Gets Its Type
A communicating class can contain many states, but its recurrence classification does not depend on which state is chosen. This is useful because the class may be infinite: finiteness alone cannot determine whether a return is certain or how many visits to expect. Instead, the relevant quantities are the probability of returning to a state and the sum of its return probabilities over time. Closedness gives additional information: every recurrent communicating class is closed, but an infinite closed class need not be recurrent.
Let \((X_n)_{n\ge0}\) be a discrete-time Markov chain on a countable state space \(S\), defined on a probability space \((\Omega,\mathcal{F},\mathbb{P})\), with transition matrix \(P=(p_{ij})\). Its rows sum to \(1\), and \(p_{ij}^{(n)}=\mathbb{P}_i(X_n=j)\). States \(i\) and \(j\) communicate, written \(i\leftrightarrow j\), if each can be reached from the other in finitely many steps with positive probability. A communicating class is an equivalence class under this relation. The class \(C\) is closed if \(p_{ij}=0\) for every \(i\in C\) and \(j\notin C\).
These definitions apply to countable state spaces, not just finite ones. In particular, recurrence means that a return occurs eventually with probability \(1\); it does not mean that the expected time until return is finite.
Return Probability and Expected Visits
Proof. Start the chain at \(i\), and let \(V_i=\sum_{n\ge0}\mathbf{1}_{\{X_n=i\}}\) be its total number of visits to \(i\). The number of visits includes the visit at time \(0\). Thus, for each integer \(k\ge1\), the event \(V_i\ge k\) is the event that at least \(k-1\) returns occur. At each return, the chain starts afresh from \(i\): this follows from the Markov property by conditioning on each possible finite return time and the path up to that time. Repeating this argument gives \(\mathbb{P}_i(V_i\ge k)=f_i^{\,k-1}\). For a positive integer-valued random variable, possibly infinite, its expectation equals \(\sum_{k\ge1}\mathbb{P}(V_i\ge k)\); this follows by writing \(V_i=\sum_{k\ge1}\mathbf{1}_{\{V_i\ge k\}}\) and taking expectations of increasing partial sums. Therefore \(G_i=\mathbb{E}_i[V_i]=\sum_{k\ge1}f_i^{\,k-1}\). This geometric series equals \(1/(1-f_i)\) for \(f_i<1\), and diverges for \(f_i=1\). Also, \(\mathbb{E}_i[V_i]=\sum_{n\ge0}\mathbb{P}_i(X_n=i)=\sum_{n\ge0}p_{ii}^{(n)}\), by the same increasing-sums argument. The claimed equivalences follow. \(\square\)
This identity translates a question about eventual return into one about all \(n\)-step return probabilities. The classification does not require the terms \(p_{ii}^{(n)}\) to be computed in closed form: it is enough to determine whether their sum is finite.
Worked Example: A Closed Infinite Recurrent Class
Take \(S=\{0,1,2,\ldots\}\). From state \(0\), move to state \(n\ge1\) with probability \(2^{-n}\); from every state \(n\ge1\), move to \(0\) with probability \(1\). These are the only transitions. The row at \(0\) sums to \(\sum_{n=1}^{\infty}2^{-n}=1\), and each other row sums to \(1\). Every state can reach \(0\), and \(0\) can reach every positive integer with positive probability, so all states form one communicating class. It is closed because the state space is the class itself.
Starting from \(0\), the first step moves to some positive state and the next step returns to \(0\). Hence \(f_0=1\), and \(0\) is recurrent. For \(n\ge1\), each visit to \(n\) is followed by a move to \(0\). On each subsequent visit to \(0\), the probability of choosing \(n\) is \(2^{-n}\). The probability of failing to choose \(n\) in \(m\) such visits is \((1-2^{-n})^m\), which tends to \(0\). Thus \(f_n=1\) as well, so every state is recurrent.
Check using the visit sum at \(0\): From \(0\), return occurs exactly at even times, and \(p_{00}^{(2k)}=1\) for every integer \(k\ge0\), while \(p_{00}^{(2k+1)}=0\). Therefore \(G_0=\sum_{k\ge0}1=\infty\), agreeing with \(f_0=1\). The return-probability formula also gives \(G_0=1/(1-1)=\infty\).
Recurrence Type Is Shared Within a Class
Proof. Suppose \(i\leftrightarrow j\). There are positive integers \(r,s\) such that \(p_{ij}^{(r)}>0\) and \(p_{ji}^{(s)}>0\). Chapman–Kolmogorov, with the intermediate states \(i\) and \(j\) selected in the sum, gives, for every \(n\ge0\),
The constant \(c=p_{ji}^{(s)}p_{ij}^{(r)}\) is positive. Summing the inequality over \(n\ge0\) shows that if \(G_i=\infty\), then \(G_j=\infty\), since the left side is a subseries of \(G_j\) and is at least \(cG_i\). Interchanging \(i\) and \(j\) gives the reverse implication. Thus \(G_i\) is infinite exactly when \(G_j\) is infinite; it is finite exactly when \(G_j\) is finite. By the return-probability and visit-sum theorem, the two states have the same recurrence type. Since this holds for every pair in the class, the whole class has one type. \(\square\)
The theorem gives a direct classification procedure: choose any representative state in a communicating class, determine whether its return probability is \(1\), or equivalently whether its expected visit sum diverges, and assign that type to the entire class. This remains valid when the class is infinite.
Worked Example: A Closed Infinite Transient Class
Let \(S=\mathbb{Z}\). From every integer \(x\), move to \(x+1\) with probability \(2/3\) and to \(x-1\) with probability \(1/3\). Every row sums to \(2/3+1/3=1\). The chain is irreducible: any integer can be reached from any other by a finite sequence of left and right steps, each having positive probability. Its single communicating class \(S\) is closed.
We compute the probability of returning to \(0\) after the first step. Put \(r=(1/3)/(2/3)=1/2\). From \(1\), the probability of hitting \(0\) before \(M\), for an integer \(M>1\), is \((r-r^M)/(1-r^M)\). To obtain this, the probability \(u_k\) of hitting \(0\) before \(M\) from \(k\in\{0,\ldots,M\}\) satisfies \(u_0=1\), \(u_M=0\), and \(u_k=(2/3)u_{k+1}+(1/3)u_{k-1}\). The solution is \(u_k=(r^k-r^M)/(1-r^M)\), as substitution into the recurrence and the two boundary values verifies. Letting \(M\) tend to infinity gives probability \(r=1/2\) of ever hitting \(0\) from \(1\): the events of hitting \(0\) before \(M\) increase to the event of ever hitting \(0\).
From \(-1\), the probability of hitting \(0\) before \(-M\), for \(M>1\), is \((1-r^{M-1})/(1-r^M)\). This follows from the same recurrence after shifting the interval \([-M,0]\) to \([0,M]\). As \(M\) tends to infinity this probability tends to \(1\), and the events increase to the event of ever hitting \(0\). Thus the hitting probability from \(-1\) is \(1\). After the first step from \(0\), the chain is at \(1\) with probability \(2/3\) and at \(-1\) with probability \(1/3\). Consequently,
Since \(f_0<1\), state \(0\) is transient. The class theorem shows that every state is transient. The visit-sum check gives \(G_0=1/(1-2/3)=3\), a finite expected total number of visits including time \(0\). Thus this example is closed and irreducible but transient.
What Closedness Does—and Does Not—Tell You
Proof. Let \(C\) be a recurrent communicating class, and take \(i\in C\). By the class theorem, \(i\) is recurrent. Suppose there were a state \(k\notin C\) with \(p_{ik}>0\). If \(k\) could reach \(i\) with positive probability in finitely many steps, then \(i\) could reach \(k\) in one step and \(k\) could reach \(i\); this would imply \(k\leftrightarrow i\), contradicting \(k\notin C\). Therefore \(\mathbb{P}_k(T_i<\infty)=0\), where \(T_i=\inf\{n\ge0:X_n=i\}\). Starting from \(i\), a first step to \(k\) makes a return to \(i\) impossible. The probability of that first step is positive, so \(f_i<1\), contradicting recurrence. Hence no such transition exists. Applying this argument to every \(i\in C\) proves that \(C\) is closed. \(\square\)
The reverse implication fails for infinite classes, as the preceding biased random walk demonstrates. Closedness rules out transitions to other classes; it does not decide whether a state inside the class will return. The return probability or visit sum supplies that missing information.
Worked Example: A Transient Class That Is Not Closed
Consider \(S=\{1,2\}\) with transition matrix
The first row sums to \(\tfrac12+\tfrac12=1\), and the second row sums to \(0+1=1\). State \(1\) cannot be reached from \(2\), so the communicating classes are \(\{1\}\) and \(\{2\}\). The class \(\{1\}\) is not closed because \(p_{12}=\tfrac12>0\). Starting at \(1\), a return at time \(n\ge1\) requires \(n\) consecutive transitions from \(1\) to itself, so \(p_{11}^{(n)}=(1/2)^n\). In particular, \(f_1=1/2\), and
Thus \(\{1\}\) is transient, as the visit-sum criterion confirms. State \(2\) stays at \(2\) with probability \(1\), so it is recurrent and its singleton class is closed.
Common Classification Errors
A common mistake is to treat closedness as a recurrence test. In the biased random walk example, the entire state space is a closed irreducible class, but its return probability is \(2/3\), not \(1\). The correct calculation is \(f_0=(2/3)(1/2)+(1/3)(1)=2/3\), which classifies the class as transient. Calling it recurrent merely because it is closed confuses “cannot leave the class” with “returns to a particular state with probability one.”
A second mistake is to decide the class type from a single state's apparent behavior without checking communication. The class theorem requires mutual communication; if two states lie in different classes, their recurrence types need not agree, as the two-state example shows. Conversely, once mutual communication is established, the theorem guarantees that one representative's return classification applies throughout that class.
For an infinite state space, do not infer that recurrence entails a finite expected return time. Recurrence is the condition \(f_i=1\); the expected visit sum is then infinite. The expected number of time steps until return is a different quantity and requires separate analysis.
Check Your Understanding
Use return probabilities, visit sums, and communication to justify each classification.
- If \(f_i=\tfrac34\), compute \(G_i\) and classify \(i\).
- Suppose \(i\leftrightarrow j\), \(G_i=\infty\), and \(p_{ji}^{(2)}>0\), \(p_{ij}^{(1)}>0\). What does the class theorem imply about \(j\)?
- Why does a positive transition from a recurrent state \(i\) to a state outside its communicating class contradict recurrence?
- Can a closed communicating class on an infinite state space be transient? Give the class from the tutorial that demonstrates this and state its return probability at \(0\).
- For the two-state matrix in the last example, verify that the expected visit sum at state \(1\) agrees with \(1/(1-f_1)\).