Classification of States: Communication and Recurrence

Imagine a frog hopping between lily pads. It chooses its next pad at random according to fixed probabilities. Will the frog eventually return to its starting pad? Or might it wander off and never come back? This single question — return or escape — turns out to be the organizing principle. It governs the entire long-run behavior of a Markov chain. Before we can talk about equilibrium, cycles, or long-run averages, we need something first. We must know which states "talk" to which. We must also know which states are visited infinitely often. This matters because a Markov chain's state space is rarely a single homogeneous blob. It typically splits into pieces that behave completely differently. Some states are transient way-stations. The chain visits these at most finitely many times before abandoning them forever. Others are recurrent traps. The chain revisits these again and again, with probability one, forever. Grouping states by mutual accessibility gives a partition of the state space. This partition is into communicating classes. Within each class every state shares the same fate — all transient, or all recurrent. This is the first real structural theorem of Markov chain theory. It uses only the Chapman-Kolmogorov Equations as its engine. The big picture: a Markov chain lives on a directed graph of one-step transitions. Communication is an equivalence relation on this graph. This holds once we allow nn-step paths in both directions. So the state space decomposes into disjoint classes. Recurrence versus transience is then a probabilistic dichotomy attached to each class. It is decided by a beautifully simple test. Sum the nn-step return probabilities. Then see whether the series diverges or converges. This test is due essentially to the founders of the subject. It converts an infinite probabilistic question into an infinite series question. The probabilistic question is: does the chain return infinitely often? The series question is amenable to direct computation. This article builds the definitions of accessibility and communication. It proves that communication is an equivalence relation. It defines irreducibility. It states and proves the recurrence/transience dichotomy. It also proves the "solidarity" theorem that recurrence is a class property. It works through fully asymmetric examples, including a random walk and a finite absorbing chain. It sets the stage for finer classification. Periodicity, positive recurrence, and the existence of stationary distributions are treated elsewhere.

Key takeaways
  • A state jj is accessible from ii if the chain can reach jj from ii with positive probability in some number of steps.
  • States i,ji,j communicate if each is accessible from the other; this relation partitions the state space into communicating classes.
  • A chain is irreducible if it has exactly one communicating class — every state reaches every other state.
  • A state is recurrent if, started there, the chain returns to it with probability 1; otherwise it is transient.
  • The dichotomy is decided by a series test: state ii is recurrent iff ∑n=1∞pii(n)=∞\sum_{n=1}^\infty p_{ii}^{(n)} = \infty.
  • Recurrence and transience are class properties: if i↔ji \leftrightarrow j, then ii is recurrent iff jj is recurrent.
  • Key idea: communication classifies where the chain can go; the series test classifies whether it comes back forever.

Where this lives today

Communicating classes and recurrence classification underlie almost every applied use of Markov chains. In queueing theory and operations research, recurrence of a queue-length chain determines system stability: a transient queue-length process signals an overloaded system that drifts to infinite backlog, while recurrence signals a system that empties out infinitely often. In Markov Chain Monte Carlo (MCMC) methods used throughout Bayesian statistics and computational physics, one must first check irreducibility of the proposed chain — otherwise the sampler may be confined to a proper communicating class and never explore the full target distribution. In genetics, the Wright–Fisher and Moran models of allele frequency use absorbing (closed, recurrent, finite) states to model fixation and extinction of alleles. In PageRank and web-graph algorithms, the "random surfer" Markov chain's communicating-class structure (and the damping factor's role in forcing irreducibility) is precisely what guarantees a well-defined stationary ranking. In branching processes and population dynamics, extinction corresponds to absorption into a recurrent singleton state (population = 0), while transient classes describe unsustainable growth trajectories. In cryptographic random number generators built on Markov structures, verifying irreducibility and recurrence ensures the generator's state space is fully and repeatedly explored rather than trapped in a degenerate cycle. This classification is also the precise launching point for the next layer of theory: Periodicity and Positive Recurrence refines recurrent classes further by cycle length and expected return time, which in turn determines the existence and uniqueness of a Stationary Distribution.

Ask the tutor: Can you show me how to determine, step by step, the communicating classes and recurrence type of a chain from its full transition matrix?

DefinitionAccessibility, communication, classes, irreducibility, recurrence

Let (Xn)n≥0(X_n)_{n \ge 0} be a time-homogeneous Markov chain on a countable state space SS with transition matrix P=(pij)i,j∈SP = (p_{ij})_{i,j \in S}, where pij=Pr⁡(Xn+1=j∣Xn=i)p_{ij} = \Pr(X_{n+1} = j \mid X_n = i), and let pij(n)=Pr⁡(Xn=j∣X0=i)p_{ij}^{(n)} = \Pr(X_n = j \mid X_0 = i) denote the nn-step transition probability, with the convention pij(0)=1[i=j]p_{ij}^{(0)} = \mathbf{1}[i=j].

Accessibility. State jj is accessible from ii, written i→ji \to j, if there exists n≥0n \ge 0 with pij(n)>0p_{ij}^{(n)} > 0.

Communication. States ii and jj communicate, written i↔ji \leftrightarrow j, if i→ji \to j and j→ij \to i.

Communicating classes. The relation ↔\leftrightarrow partitions SS into equivalence classes called communicating classes.

Irreducibility. The chain (equivalently, PP) is irreducible if SS consists of a single communicating class, i.e. i↔ji \leftrightarrow j for all i,j∈Si,j \in S.

First return time and recurrence. For i∈Si \in S, let Ti=min⁡{n≥1:Xn=i}T_i = \min\{n \ge 1 : X_n = i\} (with Ti=∞T_i = \infty if the chain never returns to ii), and let

fi=Pr⁡(Ti<∞∣X0=i)f_i = \Pr(T_i < \infty \mid X_0 = i)

be the probability that, started at ii, the chain ever returns to ii. State ii is recurrent if fi=1f_i = 1, and transient if fi<1f_i < 1.

Intuition

Picture the state space as a directed graph: draw an arrow i→ji \to j whenever pij>0p_{ij} > 0. Accessibility i→ji \to j means there is a directed path (of any length, including a trivial length-0 path when i=ji=j) from ii to jj in this graph. Communication i↔ji \leftrightarrow j means ii and jj lie on a common directed cycle (or are equal). Communicating classes are exactly the strongly connected components of this graph. Some classes have arrows leading out but none leading back in — these are transient, doomed to be abandoned eventually. Other classes are "closed": once entered, the chain can never leave. A closed class is a candidate for recurrence, though closedness alone is not sufficient in infinite state spaces (an infinite closed class can still be transient, as with an asymmetric random walk drifting to +∞+\infty). The return-time picture: from state ii, watch the sequence of visits to ii over time. Each time the chain leaves ii, it returns with the same probability fif_i (this is the Markov property doing the work), independently of the past. So the number of returns to ii, given it starts there, is a geometric-type counting process: if fi=1f_i = 1 the chain returns forever (infinitely many visits, recurrent); if fi<1f_i < 1 the number of visits to ii is a genuine (finite, geometric) random variable, and eventually the chain leaves ii forever (transient). This dichotomy is exactly like asking whether a biased coin, flipped for "will I return," eventually shows tails permanently or is destined to show heads at every attempt.

Figure
Directed transition graph: three communicating classes, only one recurrent
1 transient 2 3 transient class {2,3} 4 5 6 recurrent closed class {4,5,6} flow: {1} → {2,3} → {4,5,6}, no way back

Communication as an equivalence relation

TheoremCommunication is an equivalence relation

Define i↔ji \leftrightarrow j as above. Then ↔\leftrightarrow is reflexive, symmetric, and transitive on SS, hence partitions SS into disjoint equivalence classes (the communicating classes).

Proof

We must check the three properties, using only the definition of accessibility and the Chapman-Kolmogorov Equations

pik(m+n)=∑ℓ∈Spiℓ(m)pℓk(n),m,n≥0.p_{ik}^{(m+n)} = \sum_{\ell \in S} p_{i\ell}^{(m)} p_{\ell k}^{(n)}, \qquad m,n \ge 0.

Reflexivity. For any ii, pii(0)=1>0p_{ii}^{(0)} = 1 > 0 by convention, so i→ii \to i, and hence i↔ii \leftrightarrow i.

Symmetry. If i↔ji \leftrightarrow j then by definition i→ji \to j and j→ij \to i simultaneously hold, so trivially j→ij \to i and i→ji \to j hold, giving j↔ij \leftrightarrow i. (The definition of ↔\leftrightarrow is symmetric in i,ji,j by construction.)

Transitivity. Suppose i↔ji \leftrightarrow j and j↔kj \leftrightarrow k; we show i↔ki \leftrightarrow k. Since i→ji \to j, there is m≥0m \ge 0 with pij(m)>0p_{ij}^{(m)} > 0. Since j→kj \to k, there is n≥0n \ge 0 with pjk(n)>0p_{jk}^{(n)} > 0. By Chapman–Kolmogorov,

pik(m+n)=∑ℓ∈Spiℓ(m)pℓk(n)≥pij(m)pjk(n)>0,p_{ik}^{(m+n)} = \sum_{\ell \in S} p_{i\ell}^{(m)} p_{\ell k}^{(n)} \ge p_{ij}^{(m)} p_{jk}^{(n)} > 0,

since every term in the sum is nonnegative and we have exhibited one strictly positive term. Hence i→ki \to k. By the symmetric argument using k→jk \to j and j→ij \to i (which hold since j↔kj \leftrightarrow k and i↔ji \leftrightarrow j), we get k→ik \to i. Therefore i↔ki \leftrightarrow k. Since ↔\leftrightarrow is reflexive, symmetric, and transitive, it is an equivalence relation, and every equivalence relation on a set partitions that set into disjoint equivalence classes. ■\blacksquare

∎
CorollaryIrreducibility and closed classes

A chain is irreducible iff there is exactly one communicating class. A communicating class CC is called closed if pij=0p_{ij} = 0 for all i∈C,j∉Ci \in C, j \notin C; equivalently, once the chain enters CC it can never leave CC. If SS is finite, every chain has at least one closed communicating class (proof: order classes by the accessibility preorder they induce; a maximal class under "→\to" must be closed, and finiteness guarantees a maximal element exists).

Solidarity: recurrence is a class property

We now connect the graph-theoretic notion of communication to the probabilistic notion of recurrence. The key tool is a clean series criterion.

LemmaSeries criterion for recurrence

Let Ni=∑n=1∞1[Xn=i]N_i = \sum_{n=1}^\infty \mathbf{1}[X_n = i] be the number of visits to ii at times n≥1n \ge 1, started from X0=iX_0 = i. Then:

Pr⁡(Ni=∞∣X0=i)=1 if i is recurrent,Pr⁡(Ni<∞∣X0=i)=1 if i is transient,\Pr(N_i = \infty \mid X_0 = i) = 1 \text{ if } i \text{ is recurrent}, \qquad \Pr(N_i < \infty \mid X_0 = i) = 1 \text{ if } i \text{ is transient},

and in all cases

E[Ni∣X0=i]=∑n=1∞pii(n).E[N_i \mid X_0 = i] = \sum_{n=1}^{\infty} p_{ii}^{(n)}.

Consequently, ii is recurrent if and only if ∑n=1∞pii(n)=∞\sum_{n=1}^\infty p_{ii}^{(n)} = \infty, and transient if and only if this sum is finite.

Proof

We use the strong Markov property: at the (a.s. finite, on the event of returning) random time TiT_i, the process (XTi+n)n≥0(X_{T_i + n})_{n\ge0}, given Ti<∞T_i < \infty and XTi=iX_{T_i} = i, is again a Markov chain with transition matrix PP started at ii, independent of the path up to TiT_i. This follows from the ordinary Markov property applied at each fixed time nn, summed over the possible values of Ti=nT_i = n, since {Ti=n}\{T_i = n\} is determined by X0,…,XnX_0,\dots,X_n. Let Ti(1)=TiT_i^{(1)} = T_i be the first return time to ii, and inductively let Ti(k+1)T_i^{(k+1)} be the first time after Ti(k)T_i^{(k)} that the chain revisits ii (i.e. the first return time to ii of the chain restarted at time Ti(k)T_i^{(k)}), for k≥1k \ge 1, defined only on the event that all preceding return times are finite. By the strong Markov property applied repeatedly, the successive "inter-return" excursions are i.i.d.: each Ti(k+1)−Ti(k)T_i^{(k+1)} - T_i^{(k)}, conditional on Ti(k)<∞T_i^{(k)} < \infty, has the same distribution as Ti(1)T_i^{(1)} started fresh from ii, and is independent of the earlier excursions. In particular,

Pr⁡(Ti(k)<∞∣X0=i)=fik,\Pr(T_i^{(k)} < \infty \mid X_0 = i) = f_i^k,

by induction: this holds for k=1k=1 by definition of fif_i, and given Ti(k)<∞T_i^{(k)} < \infty, the event {Ti(k+1)<∞}\{T_i^{(k+1)} < \infty\} has conditional probability fif_i by the strong Markov property, giving Pr⁡(Ti(k+1)<∞)=fi⋅fik=fik+1\Pr(T_i^{(k+1)}<\infty) = f_i \cdot f_i^k = f_i^{k+1}. Now Ni≥kN_i \ge k if and only if Ti(k)<∞T_i^{(k)} < \infty (at least kk returns occur), so

Pr⁡(Ni≥k∣X0=i)=fik,k=0,1,2,…\Pr(N_i \ge k \mid X_0 = i) = f_i^k, \qquad k = 0, 1, 2, \dots

Case fi=1f_i = 1 (recurrent). Then Pr⁡(Ni≥k)=1\Pr(N_i \ge k) = 1 for every kk, so Pr⁡(Ni=∞)=lim⁡k→∞Pr⁡(Ni≥k)=1\Pr(N_i = \infty) = \lim_{k\to\infty} \Pr(N_i \ge k) = 1 (continuity of probability from above / downward-continuity for the decreasing events {Ni≥k}\{N_i \geq k\}). Then E[Ni]=∞=∑npii(n)E[N_i] = \infty = \sum_n p_{ii}^{(n)} trivially matches; we verify the sum identity below in general.

Case fi<1f_i < 1 (transient). Then Pr⁡(Ni≥k)=fik→0\Pr(N_i \ge k) = f_i^k \to 0, so Pr⁡(Ni<∞)=1\Pr(N_i < \infty) = 1, and NiN_i has a geometric-type distribution: Pr⁡(Ni=k)=fik(1−fi)\Pr(N_i = k) = f_i^k(1-f_i) for k≥0k \ge 0 (a shifted geometric distribution, since Pr⁡(Ni=k)=Pr⁡(Ni≥k)−Pr⁡(Ni≥k+1)=fik−fik+1=fik(1−fi)\Pr(N_i=k) = \Pr(N_i\ge k) - \Pr(N_i \ge k+1) = f_i^k - f_i^{k+1} = f_i^k(1-f_i)). Hence

E[Ni∣X0=i]=∑k=0∞kPr⁡(Ni=k)=fi1−fi<∞.E[N_i \mid X_0=i] = \sum_{k=0}^\infty k \Pr(N_i=k) = \frac{f_i}{1-f_i} < \infty.

The sum identity, in general. By definition, Ni=∑n=1∞1[Xn=i]N_i = \sum_{n=1}^\infty \mathbf{1}[X_n = i], and by monotone convergence (all terms nonnegative) we may exchange sum and expectation:

E[Ni∣X0=i]=∑n=1∞Pr⁡(Xn=i∣X0=i)=∑n=1∞pii(n).E[N_i \mid X_0 = i] = \sum_{n=1}^\infty \Pr(X_n = i \mid X_0 = i) = \sum_{n=1}^\infty p_{ii}^{(n)}.

This holds unconditionally (whether or not ii is recurrent), giving the claimed identity. Combining with the two cases: if ii is recurrent, E[Ni]=∞E[N_i]=\infty forces ∑npii(n)=∞\sum_n p_{ii}^{(n)} = \infty; if ii is transient, E[Ni]=fi/(1−fi)<∞E[N_i] = f_i/(1-f_i) < \infty forces ∑npii(n)<∞\sum_n p_{ii}^{(n)} < \infty. Conversely each direction is an "only if" as well since the two cases are exhaustive and mutually exclusive (fi=1f_i=1 or fi<1f_i<1), and ∑npii(n)\sum_n p_{ii}^{(n)} is finite exactly in the transient case and infinite exactly in the recurrent case. ■\blacksquare

∎
TheoremSolidarity of communicating classes

If i↔ji \leftrightarrow j, then ii is recurrent if and only if jj is recurrent. Consequently, recurrence and transience are constant on each communicating class: we may speak of a recurrent class or a transient class without ambiguity.

Proof

This is the central structural result; we prove it via the series criterion of the Series criterion for recurrence lemma above, combined with the Chapman–Kolmogorov equations. Suppose i↔ji \leftrightarrow j with i≠ji \ne j (the case i=ji=j is trivial). Then there exist integers m,n≥1m, n \ge 1 with

pij(m)=α>0,pji(n)=β>0.p_{ij}^{(m)} = \alpha > 0, \qquad p_{ji}^{(n)} = \beta > 0.

We claim: for every r≥0r \ge 0,

pjj(n+r+m)≥β pii(r) α.p_{jj}^{(n + r + m)} \ge \beta \, p_{ii}^{(r)} \, \alpha.

Indeed, by two applications of Chapman–Kolmogorov (splitting the j→jj \to j journey of length n+r+mn+r+m into j→ij \to i in nn steps, then i→ii \to i in rr steps, then i→ji \to j in mm steps),

pjj(n+r+m)=∑k,ℓ∈Spjk(n)pkℓ(r)pℓj(m)≥pji(n)pii(r)pij(m)=β pii(r) α,p_{jj}^{(n+r+m)} = \sum_{k,\ell \in S} p_{jk}^{(n)} p_{k\ell}^{(r)} p_{\ell j}^{(m)} \ge p_{ji}^{(n)} p_{ii}^{(r)} p_{ij}^{(m)} = \beta\, p_{ii}^{(r)}\, \alpha,

by restricting the sum over (k,ℓ)(k,\ell) to the single nonnegative term (k,ℓ)=(i,i)(k,\ell) = (i,i) and discarding all other (nonnegative) terms. Summing over r=0,1,2,…r = 0, 1, 2, \dots:

∑r=0∞pjj(n+r+m)≥αβ∑r=0∞pii(r).\sum_{r=0}^\infty p_{jj}^{(n+r+m)} \ge \alpha\beta \sum_{r=0}^\infty p_{ii}^{(r)}.

The left side is a sub-sum of ∑s=1∞pjj(s)\sum_{s=1}^\infty p_{jj}^{(s)} (over s=n+r+m≥n+m≥2s = n+r+m \ge n+m \ge 2, a subset of the positive integers), hence

∑s=1∞pjj(s)≥αβ∑r=0∞pii(r)=αβ(1+∑r=1∞pii(r)).\sum_{s=1}^\infty p_{jj}^{(s)} \ge \alpha \beta \sum_{r=0}^\infty p_{ii}^{(r)} = \alpha\beta\Big(1 + \sum_{r=1}^\infty p_{ii}^{(r)}\Big).

Now suppose ii is recurrent. By the series criterion, ∑r=1∞pii(r)=∞\sum_{r=1}^\infty p_{ii}^{(r)} = \infty. Since αβ>0\alpha\beta > 0 is a fixed positive constant, the right-hand side above is +∞+\infty, forcing ∑s=1∞pjj(s)=∞\sum_{s=1}^\infty p_{jj}^{(s)} = \infty. By the series criterion again (applied to jj), jj is recurrent. By the identical argument with the roles of i,ji,j (and m,nm,n; α,β\alpha,\beta) swapped — which is legitimate since i↔ji \leftrightarrow j is a symmetric relation, so j↔ij \leftrightarrow i holds with the same witnessing exponents relabeled — if jj is recurrent then ii is recurrent. Hence ii is recurrent iff jj is recurrent, proving the equivalence. Since every two states in the same communicating class are related by ↔\leftrightarrow, recurrence/transience is constant across each class. ■\blacksquare

∎
CorollaryFinite closed classes are recurrent

Every finite, closed communicating class is recurrent. In particular, if SS is finite and the chain is irreducible, every state is recurrent.

Proof

Let CC be a finite closed communicating class, and fix i∈Ci \in C. Since CC is closed, Pr⁡(Xn∈C for all n∣X0=i)=1\Pr(X_n \in C \text{ for all } n \mid X_0 = i) = 1 (the chain started in CC never leaves CC). Hence, almost surely, for every nn the chain occupies some state of CC, and since CC is finite,

∑j∈C∑n=1Npij(n)=Nfor every N,\sum_{j \in C} \sum_{n=1}^{N} p_{ij}^{(n)} = N \quad \text{for every } N,

because ∑j∈Cpij(n)=1\sum_{j\in C} p_{ij}^{(n)} = 1 for each nn (closedness: the chain is in CC with probability 1 at every time n≥0n\ge0 given it starts in CC). Dividing, the average over j∈Cj \in C of ∑n=1Npij(n)\sum_{n=1}^N p_{ij}^{(n)} equals N/∣C∣→∞N/|C| \to \infty. Since CC is finite, some particular j∈Cj \in C must have ∑n=1∞pij(n)=∞\sum_{n=1}^{\infty} p_{ij}^{(n)} = \infty (otherwise the finite sum of finitely many finite limits would be finite, contradicting divergence of the average). By the series criterion, jj is recurrent. Since i↔ji \leftrightarrow j (as CC is a communicating class) and recurrence is a class property (solidarity theorem), ii is recurrent. As i∈Ci \in C was arbitrary, all of CC is recurrent. ■\blacksquare

∎

Worked examples

Example 1: A three-state chain with one transient and one recurrent class (asymmetric transitions). Let S={1,2,3}S = \{1,2,3\} with transition matrix

P=(0.50.500.20.30.5001).P = \begin{pmatrix} 0.5 & 0.5 & 0 \\ 0.2 & 0.3 & 0.5 \\ 0 & 0 & 1 \end{pmatrix}.

Read off accessibility: 1→11 \to 1 (p11=0.5>0p_{11}=0.5>0), 1→21\to 2 (p12=0.5>0p_{12}=0.5>0), 2→12\to1 (p21=0.2>0p_{21}=0.2>0), 2→22\to 2, 2→32\to 3 (p23=0.5>0p_{23}=0.5>0), 3→33 \to 3 (p33=1p_{33}=1), and 3→13 \to 1? We need p31(n)p_{31}^{(n)} for some nn: since p31=0p_{31}=0 and p32=0p_{32}=0 and p33=1p_{33}=1, by induction p31(n)=0p_{31}^{(n)} = 0 for all n≥0n\ge0 (once at 3, always at 3). So 3↛13 \not\to 1 and 3↛23 \not\to 2. Check 1↔21 \leftrightarrow 2: we have 1→21\to2 directly and 2→12\to1 directly, so yes, 1↔21\leftrightarrow2. Does 1→31 \to 3? Yes, via 1→2→31\to2\to3 (p13(2)≥p12p23=0.5×0.5=0.25>0p_{13}^{(2)} \ge p_{12}p_{23} = 0.5 \times 0.5 = 0.25>0). But 3→13 \to 1 fails as shown. So 1↮31 \not\leftrightarrow 3 and 2↮32\not\leftrightarrow3. Communicating classes: {1,2}\{1,2\} and {3}\{3\}. Class {3}\{3\} is closed (state 3 only transitions to itself) and finite, hence recurrent by the corollary above — indeed f3=Pr⁡(T3<∞∣X0=3)=1f_3 = \Pr(T_3<\infty\mid X_0=3)=1 trivially since p33=1p_{33}=1. Class {1,2}\{1,2\} is not closed, since p23=0.5>0p_{23} = 0.5 > 0 leaks out to state 3, which is outside {1,2}\{1,2\}. We show directly that 11 (hence, by solidarity, also 22) is transient. Started at state 1, at each visit to {1,2}\{1,2\} there is a fixed positive probability of eventually being routed to state 2 and then absorbed into state 3, never to return. Precisely, let u=Pr⁡(absorbed in 3 eventually∣X0=1)u = \Pr(\text{absorbed in } 3 \text{ eventually} \mid X_0=1) and v=Pr⁡(absorbed in 3∣X0=2)v = \Pr(\text{absorbed in }3\mid X_0=2). Conditioning on the first step,

u=0.5 u+0.5 v,v=0.2 u+0.3 v+0.5.u = 0.5\,u + 0.5\,v, \qquad v = 0.2\,u + 0.3\,v + 0.5.

From the first equation, 0.5u=0.5v⇒u=v0.5 u = 0.5 v \Rightarrow u = v. Substituting into the second: v=0.2v+0.3v+0.5=0.5v+0.5⇒0.5v=0.5⇒v=1v = 0.2v + 0.3v + 0.5 = 0.5v + 0.5 \Rightarrow 0.5v = 0.5 \Rightarrow v=1, hence u=1u=1. So absorption into {3}\{3\} is certain from either state 1 or 2 — the class {1,2}\{1,2\} is abandoned with probability 1, confirming transience: f1<1f_1 < 1 (in fact the chain visits {1,2}\{1,2\} only a random finite number of times before leaving forever), matching the theorem that non-closed finite classes are transient (a fact one proves the same way: any state with a positive-probability path leading out of its class and never returning is transient, since u=v=1u=v=1 shows the class is left with probability 1, so in particular the return probability to state 1 restricted to using only within-class steps forever is impossible; a fully rigorous version follows the series test, and one can check directly p11(n)→0p_{11}^{(n)} \to 0 geometrically fast here since the substochastic sub-block on {1,2}\{1,2\} has spectral radius <1<1).

Example 2: Simple random walk on Z\mathbb{Z} with parameter p≠1/2p \ne 1/2 (asymmetric case) — a transient irreducible chain. Let S=ZS = \mathbb{Z}, and let XnX_n be the position after nn steps of a walk that moves +1+1 with probability pp and −1-1 with probability q=1−pq=1-p, independently at each step, 0<p<10<p<1. This chain is irreducible: from any ii one can reach any jj (if j>ij>i, take j−ij-i steps of +1+1, each with positive probability pj−i>0p^{j-i}>0; if j<ij<i, symmetric argument with qq). By solidarity, all states share the same recurrence type, so it suffices to test state 00. We compute p00(n)p_{00}^{(n)}. A return to 00 after nn steps requires n=2kn=2k even (an odd number of ±1\pm1 steps cannot sum to zero, by a parity/parity-of-sum argument: the sum of nn terms each ±1\pm1 has the same parity as nn). For n=2kn=2k, a return to 00 requires exactly kk up-steps and kk down-steps, in any order, so

p00(2k)=(2kk)pkqk.p_{00}^{(2k)} = \binom{2k}{k} p^k q^k.

We must determine whether ∑k=1∞(2kk)(pq)k\sum_{k=1}^\infty \binom{2k}{k}(pq)^k converges or diverges. Use Stirling's approximation: (2kk)∼4kπk\binom{2k}{k} \sim \dfrac{4^k}{\sqrt{\pi k}} as k→∞k\to\infty (a standard consequence of Stirling's formula n!∼2πn (n/e)nn! \sim \sqrt{2\pi n}\,(n/e)^n, applied to (2k)!/(k!)2(2k)!/(k!)^2). Hence

(2kk)(pq)k∼(4pq)kπk.\binom{2k}{k}(pq)^k \sim \frac{(4pq)^k}{\sqrt{\pi k}}.

Since p≠1/2p \ne 1/2, by AM–GM we have pq=p(1−p)<1/4pq = p(1-p) < 1/4 strictly (with equality only at p=1/2p=1/2), so r:=4pq∈[0,1)r := 4pq \in [0,1) is a fixed number strictly less than 11. Then (2kk)(pq)k∼rk/πk\binom{2k}{k}(pq)^k \sim r^k/\sqrt{\pi k}, and since r<1r<1 this is the general term of a convergent series (geometric decay dominates the sub-exponential 1/k1/\sqrt{k} factor; formally, rk/πk≤rkr^k/\sqrt{\pi k} \le r^k for k≥1k\ge1, and ∑rk<∞\sum r^k <\infty for r<1r<1, and the ratio test on the asymptotic equivalence confirms convergence of the original series). Therefore

∑k=1∞p00(2k)<∞⟹∑n=1∞p00(n)<∞.\sum_{k=1}^\infty p_{00}^{(2k)} < \infty \quad \Longrightarrow \quad \sum_{n=1}^\infty p_{00}^{(n)} < \infty.

By the series criterion, state 00 — and, by solidarity, every state — is transient whenever p≠1/2p \ne 1/2. (For contrast, at p=1/2p=1/2, (2kk)(1/4)k∼1/πk\binom{2k}{k}(1/4)^k \sim 1/\sqrt{\pi k}, and ∑1/k\sum 1/\sqrt{k} diverges, so the symmetric random walk on Z\mathbb{Z} is recurrent — the celebrated Pólya recurrence result, foreshadowing finer classification of recurrence strength.) This example is instructive: irreducibility alone says nothing about recurrence — the same irreducible graph structure (nearest-neighbor walk on Z\mathbb{Z}) is recurrent at p=1/2p=1/2 and transient for every p≠1/2p \ne 1/2, illustrating that recurrence is a genuinely probabilistic (not purely combinatorial) property, decided by the quantitative series test rather than by connectivity alone.

CounterexampleWhy finiteness cannot be dropped from "closed classes are recurrent"

The corollary that every finite closed communicating class is recurrent crucially requires finiteness. Drop finiteness, keeping closedness, and the conclusion can fail. Take S={0,1,2,… }S = \{0,1,2,\dots\} (the nonnegative integers) with transition probabilities

pi,i+1=p,pi,i−1=q=1−p  (i≥1),p0,1=1,p_{i,i+1} = p, \qquad p_{i,i-1} = q = 1-p \ \ (i \ge 1), \qquad p_{0,1} = 1,

for some fixed p>1/2p > 1/2 (a random walk on the half-line, reflected at 00, biased upward). This chain is irreducible: every state communicates with every other (one can always walk up or down along the integers, reaching any target in finitely many steps with positive probability, and the walk can also return since q>0q>0 for i≥1i\ge1). So SS itself is a single communicating class, and it is trivially closed (there is nowhere else to go). But SS is infinite. We claim state 00 (hence, by solidarity, every state) is transient. Intuitively, since p>1/2p>1/2, the walk has a systematic upward drift once away from the boundary, and by the strong law of large numbers for the increments, Xn/n→p−q>0X_n/n \to p - q > 0 almost surely on the event that the walk never hits the reflecting boundary again — so Xn→∞X_n \to \infty almost surely, and the walk visits 00 only finitely often almost surely. To make this rigorous without invoking the strong law, compare with the unrestricted asymmetric random walk on Z\mathbb{Z} from Example 2: reflection at 00 only ever pushes trajectories up relative to the unrestricted walk (a standard coupling/reflection argument: couple the reflected walk with an unrestricted walk using the same up/down coin flips whenever the unrestricted walk is ≥\ge the reflected one, showing the reflected walk's excursions above 0 are stochastically dominated in decay rate by the transient unrestricted walk's return probabilities). Since the unrestricted walk with p>1/2p>1/2 is transient (Example 2), so is the reflected walk. Hence f0<1f_0 < 1: this infinite closed communicating class is transient, not recurrent. This shows the finiteness hypothesis in the corollary is not a mere technical convenience — closedness (a purely graph-theoretic, "nowhere to escape" condition) is simply not strong enough to force recurrence once the class is infinite; the extra room to escape to infinity defeats returning, and only the genuinely probabilistic series test (or, here, a comparison argument reducing to it) settles the matter.

Scope, edge cases & common traps

SituationWhat to checkCommon pitfall
Deciding if two states communicateNeed both i→ji\to j and j→ij \to i (possibly via different path lengths m≠nm \ne n)Confusing accessibility (i→ji\to j only) with communication
Finite state space, irreducibleAll states automatically recurrentThinking finiteness alone (without irreducibility) forces recurrence — false, see Example 1's transient class {1,2}\{1,2\}, which is finite but not closed
Infinite state space, irreducible & closedMust still run the series test (or a valid comparison)Assuming "closed + irreducible" ⇒\Rightarrow recurrent; false without finiteness (see counterexample)
Applying the series testSum ∑npii(n)\sum_n p_{ii}^{(n)} for a fixed state ii; only need to check one state per classForgetting to use solidarity, and needlessly re-deriving recurrence type state-by-state
Absorbing statesA state ii with pii=1p_{ii}=1 is automatically a closed singleton class, hence recurrentNone generally, but forgetting that singleton classes can also be transient if pii<1p_{ii}<1 and the state is left forever (e.g. state 1 in a chain that only ever visits it once)

The mathematician behind it

Origins · 1 minAndrei Andreyevich Markov and how this was discovered
AA
Andrei Andreyevich Markov
1856–1922 · Imperial Academy of Sciences, St. Petersburg

Andrei Markov developed the theory of chains bearing his name initially to settle a dispute about independence assumptions underlying the Law of Large Numbers, showing dependent sequences could still obey averaging laws. He introduced the notion of a sequence of trials in which each outcome depends on the immediately preceding one — the defining structural idea from which accessibility, communication, and recurrence all descend. His original motivating example was the alternation of vowels and consonants in Pushkin's verse Eugene Onegin, a playful but rigorous demonstration that dependence need not destroy statistical regularity.

History
- 1906: Markov introduces chains of dependent random variables, proving a law of large numbers for them.
- 1913: Markov applies his chain model to letter sequences in Pushkin's Eugene Onegin, an early empirical Markov-chain analysis.
- 1930s: Andrei Kolmogorov and Sydney Chapman formalize the transition-probability calculus (the Chapman-Kolmogorov Equations), enabling the systematic nn-step analysis used in recurrence proofs.
- 1936: Kolmogorov's classification of states into recurrent and transient types is developed rigorously within the emerging axiomatic probability framework.
- 1953: William Feller's treatise systematizes the communicating-class decomposition and the series criterion for recurrence in the now-standard form used in this article.
What is the difference between accessibility and communication?

Accessibility i→ji \to j is a one-directional statement: starting from ii, there is some finite number of steps nn with positive probability of being at jj. Communication i↔ji \leftrightarrow j additionally requires the reverse: j→ij \to i as well. Every pair of communicating states is mutually accessible, but accessibility alone can be a one-way street — for instance in an absorbing chain, transient states are accessible from each other but the absorbing state is accessible from them without the reverse holding. Communication is symmetric by definition; accessibility in general is not. This distinction is exactly what produces the directed, non-symmetric structure of communicating classes: arrows can point into a closed recurrent class from transient classes, but never back out.

Can a communicating class contain both recurrent and transient states?

No. This is precisely the content of the solidarity theorem: if i↔ji \leftrightarrow j, then ii is recurrent if and only if jj is recurrent. The proof uses the Chapman-Kolmogorov equations to show that a positive-probability round trip between ii and jj lets you "borrow" arbitrarily many returns to ii and convert them into returns to jj (and vice versa), so the infinite sum ∑npii(n)\sum_n p_{ii}^{(n)} diverges exactly when ∑npjj(n)\sum_n p_{jj}^{(n)} does. Hence recurrence (and transience) are genuinely properties of the entire communicating class, not of individual states, and it is standard and safe to say "class CC is recurrent" without ambiguity.

Does irreducibility imply recurrence?

Not in general — only when combined with finiteness of the state space. An irreducible chain on a finite state space is automatically recurrent (proved via the corollary above), but an irreducible chain on an infinite state space can be transient. The clearest example is the simple random walk on Z\mathbb{Z} with step probability p≠1/2p \ne 1/2: it is irreducible (every integer is accessible from every other) yet transient, since the drift causes the walk to wander off to +∞+\infty or −∞-\infty almost surely without infinitely many returns to the origin. Only the symmetric case p=1/2p=1/2 is recurrent. So irreducibility controls connectivity, while recurrence is a separate, genuinely quantitative property requiring the series test.

How do I actually compute whether a specific state is recurrent?

In principle, sum the nn-step return probabilities pii(n)p_{ii}^{(n)} and check convergence versus divergence of ∑npii(n)\sum_n p_{ii}^{(n)}. In practice, for finite chains, it is far easier to identify communicating classes from the transition graph, check which classes are closed, and invoke the corollary: closed + finite implies recurrent, and any state that can with positive probability permanently leave its class (i.e., lies in a non-closed class) is transient. For infinite chains, direct combinatorial computation (as with the random walk, via Stirling's approximation on central binomial coefficients) or comparison/coupling arguments with a chain of known type are the standard techniques.

Is recurrence the same as returning "eventually" versus returning "infinitely often"?

They are equivalent, and this equivalence is itself a theorem (proved above via the strong Markov property applied to successive excursions). If the one-step return probability fif_i equals 11, then not only does the chain return once almost surely, it returns a second time almost surely (started fresh from ii after the first return, by the strong Markov property), and inductively returns infinitely often almost surely. Conversely if fi<1f_i < 1, the number of returns is almost surely finite, with a specific geometric-type distribution. So "returns eventually with probability 1" and "returns infinitely often with probability 1" turn out to be the same event (up to probability 1) for a recurrent state — a pleasant and non-obvious consequence of the strong Markov property.

Why does the proof of solidarity need two exponents mm and nn rather than just one?

Because i↔ji \leftrightarrow j only guarantees some path from ii to jj of some length mm, and some path from jj to ii of some (possibly different) length nn — these lengths need not be equal or related in any simple way. The Chapman-Kolmogorov equations let us splice an i→ji\to j path of length mm, a j→jj\to j excursion of any length rr, and a j→ij \to i path of length nn (or the analogous splice through ii) into a valid path of total length m+r+nm+r+n, which is exactly what is needed to compare the two series termwise up to a fixed positive constant. Trying to use a single shared exponent would not work in general, since nothing guarantees i→ji\to j and j→ij \to i happen in the same number of steps.

What role does this classification play in finding stationary distributions?

It is the essential first step. A stationary distribution can only be supported on recurrent states (transient states are visited only finitely often, so cannot carry positive long-run mass), and for an irreducible chain, existence and uniqueness of a stationary distribution is governed by a finer notion built on top of recurrence — positive recurrence, meaning the expected return time E[Ti]E[T_i] is finite, not merely that return happens with probability 1. This is exactly the subject of Periodicity and Positive Recurrence and Stationary Distributions, which refine the transient/recurrent dichotomy established here into the sharper trichotomy of transient, null recurrent, and positive recurrent states.

Where this leads