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 -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 -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.
- A state is accessible from if the chain can reach from with positive probability in some number of steps.
- States 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 is recurrent iff .
- Recurrence and transience are class properties: if , then is recurrent iff 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?
Let be a time-homogeneous Markov chain on a countable state space with transition matrix , where , and let denote the -step transition probability, with the convention .
Accessibility. State is accessible from , written , if there exists with .
Communication. States and communicate, written , if and .
Communicating classes. The relation partitions into equivalence classes called communicating classes.
Irreducibility. The chain (equivalently, ) is irreducible if consists of a single communicating class, i.e. for all .
First return time and recurrence. For , let (with if the chain never returns to ), and let
be the probability that, started at , the chain ever returns to . State is recurrent if , and transient if .
Intuition
Picture the state space as a directed graph: draw an arrow whenever . Accessibility means there is a directed path (of any length, including a trivial length-0 path when ) from to in this graph. Communication means and 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 ). The return-time picture: from state , watch the sequence of visits to over time. Each time the chain leaves , it returns with the same probability (this is the Markov property doing the work), independently of the past. So the number of returns to , given it starts there, is a geometric-type counting process: if the chain returns forever (infinitely many visits, recurrent); if the number of visits to is a genuine (finite, geometric) random variable, and eventually the chain leaves 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.
Communication as an equivalence relation
Define as above. Then is reflexive, symmetric, and transitive on , hence partitions into disjoint equivalence classes (the communicating classes).
We must check the three properties, using only the definition of accessibility and the Chapman-Kolmogorov Equations
Reflexivity. For any , by convention, so , and hence .
Symmetry. If then by definition and simultaneously hold, so trivially and hold, giving . (The definition of is symmetric in by construction.)
Transitivity. Suppose and ; we show . Since , there is with . Since , there is with . By Chapman–Kolmogorov,
since every term in the sum is nonnegative and we have exhibited one strictly positive term. Hence . By the symmetric argument using and (which hold since and ), we get . Therefore . Since is reflexive, symmetric, and transitive, it is an equivalence relation, and every equivalence relation on a set partitions that set into disjoint equivalence classes.
∎A chain is irreducible iff there is exactly one communicating class. A communicating class is called closed if for all ; equivalently, once the chain enters it can never leave . If is finite, every chain has at least one closed communicating class (proof: order classes by the accessibility preorder they induce; a maximal class under "" 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.
Let be the number of visits to at times , started from . Then:
and in all cases
Consequently, is recurrent if and only if , and transient if and only if this sum is finite.
We use the strong Markov property: at the (a.s. finite, on the event of returning) random time , the process , given and , is again a Markov chain with transition matrix started at , independent of the path up to . This follows from the ordinary Markov property applied at each fixed time , summed over the possible values of , since is determined by . Let be the first return time to , and inductively let be the first time after that the chain revisits (i.e. the first return time to of the chain restarted at time ), for , 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 , conditional on , has the same distribution as started fresh from , and is independent of the earlier excursions. In particular,
by induction: this holds for by definition of , and given , the event has conditional probability by the strong Markov property, giving . Now if and only if (at least returns occur), so
Case (recurrent). Then for every , so (continuity of probability from above / downward-continuity for the decreasing events ). Then trivially matches; we verify the sum identity below in general.
Case (transient). Then , so , and has a geometric-type distribution: for (a shifted geometric distribution, since ). Hence
The sum identity, in general. By definition, , and by monotone convergence (all terms nonnegative) we may exchange sum and expectation:
This holds unconditionally (whether or not is recurrent), giving the claimed identity. Combining with the two cases: if is recurrent, forces ; if is transient, forces . Conversely each direction is an "only if" as well since the two cases are exhaustive and mutually exclusive ( or ), and is finite exactly in the transient case and infinite exactly in the recurrent case.
∎If , then is recurrent if and only if 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.
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 with (the case is trivial). Then there exist integers with
We claim: for every ,
Indeed, by two applications of Chapman–Kolmogorov (splitting the journey of length into in steps, then in steps, then in steps),
by restricting the sum over to the single nonnegative term and discarding all other (nonnegative) terms. Summing over :
The left side is a sub-sum of (over , a subset of the positive integers), hence
Now suppose is recurrent. By the series criterion, . Since is a fixed positive constant, the right-hand side above is , forcing . By the series criterion again (applied to ), is recurrent. By the identical argument with the roles of (and ; ) swapped — which is legitimate since is a symmetric relation, so holds with the same witnessing exponents relabeled — if is recurrent then is recurrent. Hence is recurrent iff is recurrent, proving the equivalence. Since every two states in the same communicating class are related by , recurrence/transience is constant across each class.
∎Every finite, closed communicating class is recurrent. In particular, if is finite and the chain is irreducible, every state is recurrent.
Let be a finite closed communicating class, and fix . Since is closed, (the chain started in never leaves ). Hence, almost surely, for every the chain occupies some state of , and since is finite,
because for each (closedness: the chain is in with probability 1 at every time given it starts in ). Dividing, the average over of equals . Since is finite, some particular must have (otherwise the finite sum of finitely many finite limits would be finite, contradicting divergence of the average). By the series criterion, is recurrent. Since (as is a communicating class) and recurrence is a class property (solidarity theorem), is recurrent. As was arbitrary, all of is recurrent.
∎Worked examples
Example 1: A three-state chain with one transient and one recurrent class (asymmetric transitions). Let with transition matrix
Read off accessibility: (), (), (), , (), (), and ? We need for some : since and and , by induction for all (once at 3, always at 3). So and . Check : we have directly and directly, so yes, . Does ? Yes, via (). But fails as shown. So and . Communicating classes: and . Class is closed (state 3 only transitions to itself) and finite, hence recurrent by the corollary above — indeed trivially since . Class is not closed, since leaks out to state 3, which is outside . We show directly that (hence, by solidarity, also ) is transient. Started at state 1, at each visit to there is a fixed positive probability of eventually being routed to state 2 and then absorbed into state 3, never to return. Precisely, let and . Conditioning on the first step,
From the first equation, . Substituting into the second: , hence . So absorption into is certain from either state 1 or 2 — the class is abandoned with probability 1, confirming transience: (in fact the chain visits 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 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 geometrically fast here since the substochastic sub-block on has spectral radius ).
Example 2: Simple random walk on with parameter (asymmetric case) — a transient irreducible chain. Let , and let be the position after steps of a walk that moves with probability and with probability , independently at each step, . This chain is irreducible: from any one can reach any (if , take steps of , each with positive probability ; if , symmetric argument with ). By solidarity, all states share the same recurrence type, so it suffices to test state . We compute . A return to after steps requires even (an odd number of steps cannot sum to zero, by a parity/parity-of-sum argument: the sum of terms each has the same parity as ). For , a return to requires exactly up-steps and down-steps, in any order, so
We must determine whether converges or diverges. Use Stirling's approximation: as (a standard consequence of Stirling's formula , applied to ). Hence
Since , by AM–GM we have strictly (with equality only at ), so is a fixed number strictly less than . Then , and since this is the general term of a convergent series (geometric decay dominates the sub-exponential factor; formally, for , and for , and the ratio test on the asymptotic equivalence confirms convergence of the original series). Therefore
By the series criterion, state — and, by solidarity, every state — is transient whenever . (For contrast, at , , and diverges, so the symmetric random walk on 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 ) is recurrent at and transient for every , illustrating that recurrence is a genuinely probabilistic (not purely combinatorial) property, decided by the quantitative series test rather than by connectivity alone.
The corollary that every finite closed communicating class is recurrent crucially requires finiteness. Drop finiteness, keeping closedness, and the conclusion can fail. Take (the nonnegative integers) with transition probabilities
for some fixed (a random walk on the half-line, reflected at , 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 for ). So itself is a single communicating class, and it is trivially closed (there is nowhere else to go). But is infinite. We claim state (hence, by solidarity, every state) is transient. Intuitively, since , the walk has a systematic upward drift once away from the boundary, and by the strong law of large numbers for the increments, almost surely on the event that the walk never hits the reflecting boundary again — so almost surely, and the walk visits only finitely often almost surely. To make this rigorous without invoking the strong law, compare with the unrestricted asymmetric random walk on from Example 2: reflection at 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 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 is transient (Example 2), so is the reflected walk. Hence : 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
| Situation | What to check | Common pitfall |
|---|---|---|
| Deciding if two states communicate | Need both and (possibly via different path lengths ) | Confusing accessibility ( only) with communication |
| Finite state space, irreducible | All states automatically recurrent | Thinking finiteness alone (without irreducibility) forces recurrence — false, see Example 1's transient class , which is finite but not closed |
| Infinite state space, irreducible & closed | Must still run the series test (or a valid comparison) | Assuming "closed + irreducible" recurrent; false without finiteness (see counterexample) |
| Applying the series test | Sum for a fixed state ; only need to check one state per class | Forgetting to use solidarity, and needlessly re-deriving recurrence type state-by-state |
| Absorbing states | A state with is automatically a closed singleton class, hence recurrent | None generally, but forgetting that singleton classes can also be transient if 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
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.
What is the difference between accessibility and communication?
Accessibility is a one-directional statement: starting from , there is some finite number of steps with positive probability of being at . Communication additionally requires the reverse: 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 , then is recurrent if and only if is recurrent. The proof uses the Chapman-Kolmogorov equations to show that a positive-probability round trip between and lets you "borrow" arbitrarily many returns to and convert them into returns to (and vice versa), so the infinite sum diverges exactly when 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 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 with step probability : it is irreducible (every integer is accessible from every other) yet transient, since the drift causes the walk to wander off to or almost surely without infinitely many returns to the origin. Only the symmetric case 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 -step return probabilities and check convergence versus divergence of . 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 equals , then not only does the chain return once almost surely, it returns a second time almost surely (started fresh from after the first return, by the strong Markov property), and inductively returns infinitely often almost surely. Conversely if , 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 and rather than just one?
Because only guarantees some path from to of some length , and some path from to of some (possibly different) length — these lengths need not be equal or related in any simple way. The Chapman-Kolmogorov equations let us splice an path of length , a excursion of any length , and a path of length (or the analogous splice through ) into a valid path of total length , 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 and 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 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.