Periodicity and Positive Recurrence
Consider a Markov chain that models a token moving around a cycle of three rooms. It always advances clockwise. It returns to its starting room only at times . It never returns at time or . Compare this with a random walker who can also stand still. That walker can return at any time large enough. Both chains might visit their starting state infinitely often. Yet they feel structurally different. Periodicity is the concept that pins down this difference precisely. It turns out to matter enormously for whether long-run averages converge to numbers or oscillate forever. A second, subtler distinction lurks even among chains that return to a state with probability one. A recurrent state can have a finite expected return time or an infinite one. The simple symmetric random walk on is recurrent — it returns to almost surely. But the expected time to do so is infinite. This article isolates that dichotomy: positive recurrence versus null recurrence. These two ideas, periodicity and positive/null recurrence, are the last refinements needed. They complete a full classification of Markov chain behavior. Together with Classification of States — which already sorted states into transient and recurrent — they set up exactly the hypotheses required. These hypotheses ensure the existence and uniqueness of a stationary distribution. They also let The Ergodic Theorem for Markov Chains hold with genuine convergence rather than mere oscillation. The article gives the precise definitions of period and of positive/null recurrence via mean return time. It proves that periodicity and positive recurrence are class properties (constant on communicating classes). It also proves the key finite-state theorem. This theorem shows recurrence automatically upgrades to positive recurrence when the state space is finite.
- The period of a state is ; a state is aperiodic if .
- Period is a class property: all states in one communicating class share the same period.
- A recurrent state is positive recurrent if its mean return time is finite, and null recurrent if .
- Positive recurrence, like periodicity, is a class property — it transfers along communication.
- In a finite communicating class, recurrence implies positive recurrence automatically; null recurrence needs infinitely many states.
- Aperiodic + positive recurrent states are exactly those with genuine long-run limiting probabilities .
- Key idea: period controls when returns can occur; positive/null recurrence controls how long, on average, you wait for one.
Where this lives today
Periodicity and positive recurrence are not merely classification bookkeeping — they are the exact hypotheses under which core limit theorems fire. In Markov Chain Monte Carlo (MCMC) algorithms (Metropolis–Hastings, Gibbs sampling), engineers deliberately design transition kernels to be aperiodic and positive recurrent, since these are precisely the conditions guaranteeing the empirical chain converges to the target stationary distribution rather than oscillating between disjoint support sets. In queueing theory, positive recurrence of a queue-length chain corresponds to system stability — a null recurrent or transient queue-length process means the queue is not stable in the strong sense of having a finite mean busy-period cycle, which is exactly the mathematical content behind stability criteria like for M/M/1 queues. In algorithmic analysis and randomized algorithms, expected hitting/return times of Markov chains (random walks on graphs, card-shuffling chains) are computed via positive recurrence and directly bound expected running times. In statistical physics, periodicity of a chain's state graph corresponds to bipartite-like or lattice structure in spin systems, and aperiodicity is required for detailed-balance Glauber dynamics to converge to the Gibbs measure. In cryptography and pseudo-random number generation, the period of a deterministic recursive sequence (viewed as a degenerate, deterministic Markov chain) governs the cycle length of the generator, and designers explicitly maximize this period to avoid predictable repetition.
Ask the tutor: Can you show me why Kac's formula holds, and how it connects positive recurrence to the existence of a stationary distribution?
Let be a discrete-time Markov chain on a countable state space with transition matrix , and write for the -step transition probabilities.
Period. For , let
If (i.e. never returns to itself in positive time), the period is undefined or by convention set to . Otherwise define
the period of . The state is aperiodic if , and periodic if .
Return time. Let (with ) be the first return time to . Recall from Classification of States that is recurrent if , and transient otherwise.
Mean return time. For a recurrent state , define
The state is positive recurrent if , and null recurrent if is recurrent but . (Transient states are assigned neither label; is not even naturally defined as an expectation of an a.s.-finite quantity for transient .)
Intuition
Periodicity is about the arithmetic structure of possible return times. If a chain can only return to its start at multiples of , then knowing and tells you immediately that . The chain effectively partitions into rotating "shells," and it cycles through them in lockstep — this is why period is best visualized as states arranged around a wheel of spokes, with all transitions advancing exactly one spoke per step (in an irreducible periodic chain). Aperiodicity is the generic, "well-mixed" case: a self-loop () alone forces , since forces . Positive versus null recurrence is a quantitative refinement of recurrence, not a structural/combinatorial one. Recurrence only says the return time is a.s. finite; it says nothing about its expectation. A heavy-tailed distribution for — one that is finite a.s. but has infinite mean, exactly as a Cauchy-type return-time distribution would — produces null recurrence. This is precisely what happens on infinite state spaces such as or under the simple random walk: the walker is guaranteed to come home, but the expected wait is infinite because excursions can be extremely long with non-negligible probability. On a finite state space this pathology is impossible, which is the content of the theorem below.
Let denote that states and communicate: and for some . Communication is an equivalence relation, partitioning into communicating classes. Let lie in the same communicating class. Then: 1. (Period) . 2. (Recurrence) is recurrent if and only if is recurrent. 3. (Positive recurrence) If and are recurrent, then is positive recurrent if and only if is positive recurrent.
We use the elementary technique of path concatenation: chaining an excursion from to , a loop at , and an excursion back from to , to compare return probabilities and return times directly.
Setup. Since , fix integers with
Part 1: equal period. For any with , the Chapman–Kolmogorov equation gives
because the event "go in steps, then in steps, then in steps" is one particular way to realize the event , and probabilities of unions of paths dominate the probability of any single path. Hence whenever . Taking is not generally valid since trivially but we want with ; instead note directly that taking any fixed valid shows , giving one element of ; more useful is the following: since the above holds for every , we get
In particular, fixing two elements , both and lie in , so and , hence . As range over all of , this shows divides every difference of elements of ; combined with for a single , standard gcd manipulation gives for every (subtract minus a fixed multiple to isolate divisibility of each itself — concretely, since divides and for all , and is a set of positive integers closed under addition (if and then , so is closed under addition), we can choose to get ). Thus for every , i.e. . By the symmetric argument (swapping the roles of , ), . Since both are positive integers, .
Part 2: recurrence transfers. This is a standard fact already established as part of Classification of States (recurrence/transience is a class property via the same excursion-chaining argument): if is recurrent then so is , and vice versa. We use it as a known prerequisite result; it is not circular since it is proved independently of periodicity or positive recurrence, using only the strong Markov property and the Borel–Cantelli lemmas applied to the number of visits .
Part 3: positive recurrence transfers. Assume recurrent (hence, by Part 2, this is consistent — both are recurrent or both transient). We must show . Consider the chain started at . Because is recurrent, it returns to infinitely often almost surely; let be the successive return times to , so and are i.i.d. copies of by the strong Markov property. We show forces and conversely, using a "sandwich by excursions through ." Key estimate. Starting from , consider the first time the chain visits ; call it (finite a.s. since communicate and both are recurrent, so is visited from a.s. — this again uses recurrence transferred by Part 2, together with the fact hmm let us use appropriately: actually we chose above, consistent naming). By irreducibility on the class, satisfies some finite bound we now derive; more precisely we bound from below and above using an excursion from that is forced to pass through . We argue via a direct two-sided inequality relating and . Define for the chain started at : let be the first hitting time of after time (finite a.s. since is reachable from , using and recurrence). By the Markov property at the hitting time,
Split the excursion from back to according to whether it passes through before returning to . This is delicate in general, so instead we use the cleanest classical route: compare and via the number of visits to between consecutive visits to . Since the class is irreducible and recurrent, define ; because communicate, (there is positive probability of reaching using the path witnessing ... more carefully, since , wait we need visits starting from reaching , which holds since means ; for we use , so indeed from the chain reaches with positive probability within steps, hence within one excursion with probability ). By the standard renewal-theoretic identity for irreducible recurrent chains (a form of Kac's formula applied class-wide, established via the ratio of expected visit counts): between two consecutive visits to , the expected number of visits to is a finite positive constant, call it , and symmetrically , with related to by the identity
which is finite and positive precisely because it counts expected visits to within one -to- excursion, a quantity bounded via the geometric-type tail bound
(each time the chain is at it has probability of reaching within the next steps before wandering elsewhere, by the strong Markov property and the bound , giving geometric-type decay and hence a finite expectation ). By symmetry as well, and both are strictly positive since communicate. Since (with , a finite positive constant), we conclude
This establishes Part 3.
∎Because period, recurrence, and (given recurrence) positive/null recurrence are constant on communicating classes, it is meaningful to speak of a communicating class itself as periodic with period , aperiodic, transient, recurrent, positive recurrent, or null recurrent — the label applies uniformly to every state in the class.
Let be a finite communicating class of recurrent states in a Markov chain with transition matrix . Then every state in is positive recurrent. Equivalently: an irreducible Markov chain on a finite state space is automatically positive recurrent (once it is recurrent — and in fact every irreducible chain on a finite state space is recurrent, though that fact is separate and established in Classification of States).
We give a proof by contradiction using a law-of-large-numbers argument on visit frequencies, valid for the finite irreducible recurrent class (relabelled). Fix . Since is recurrent and finite, the chain restricted to (which it never leaves, by irreducibility together with recurrence — a recurrent state's class is closed) visits every state of infinitely often almost surely, started from any state in . This follows because for , from recurrence of the class, the expected number of visits to starting from is infinite (a state is recurrent iff its expected number of returns is infinite, the defining dichotomy proved in Classification of States), and since , the chain does visit with probability eventually and returns infinitely often. Assume for contradiction that some state is null recurrent, i.e. . By Part 3 of the preceding theorem, every state in is then null recurrent, so for all . Now consider the long-run fraction of time spent in state , up to time , started from :
By the renewal reward theorem (equivalently, the strong law of large numbers applied to the i.i.d. inter-return times to state , and to the number of returns by time ), for every ,
with the convention . This is the standard renewal-theoretic long-run-frequency identity: if is recurrent with i.i.d. excursion lengths of mean (finite or infinite), the long-run fraction of time at converges a.s. to , by the strong law of large numbers for renewal processes (the number of visits to by time , divided by , converges to the reciprocal of the mean inter-visit time). Since we assumed for every , this gives almost surely, for every . But is finite and the chain never leaves (as argued above, using recurrence and irreducibility), so for every ,
since at each time the chain is in exactly one state of . Taking on both sides: the left side, being a finite sum () of terms each converging a.s. to , converges a.s. to . But the right side is identically . This gives almost surely, a contradiction. Hence no state of can be null recurrent; since is recurrent, every state of must be positive recurrent.
∎Worked examples
Example 1 (Period of an asymmetric cyclic-with-shortcut chain). Let arranged as a -cycle with transition probabilities
(so from every state the chain jumps forward by with probability or by with probability ; all other transition probabilities are ). This chain is clearly irreducible (every state reachable from every other by repeated forward jumps around the cycle), and the state space is finite, so by the theorem above every state is automatically positive recurrent once we confirm recurrence — which holds automatically for any irreducible finite-state chain (a fact from Classification of States). We compute the period of state . Returning to after steps requires a sequence of jumps of size and jumps of size , with and . We seek the set and its gcd.
- : take (five size- jumps: ). This path has positive probability . So .
- : we need with , i.e. . With , works: , total displacement . This path (three size-1 jumps and one size-2 jump, in any order, e.g. ) has positive probability. So .
Since , we already get , forcing . The shortcut jump (size ) breaks the pure period- structure that the plain -cycle (with only forward- jumps) would have had; that plain cycle has , since there. Adding the shortcut option makes the chain aperiodic, illustrating how a single extra transition can collapse a large period down to . By the class-property theorem, every state of this irreducible chain shares period , so the whole chain is aperiodic. Combined with finiteness, this chain is aperiodic and positive recurrent — exactly the hypotheses under which genuinely converges (foreshadowing the The Ergodic Theorem for Markov Chains).
Example 2 (Null recurrence: an asymmetric-tail birth–death chain on ). Let with transition probabilities, for ,
This is a birth–death chain with a slight downward drift that weakens as (the drift toward is on the order of ). Such chains are classical examples straddling the recurrent/transient and positive/null recurrent boundaries depending on the decay rate. For birth–death chains on with (), a standard criterion (derived from analyzing the embedded random walk via a scale function / gambler's-ruin argument, a tool built on top of, but not circular with, our results) states:
- The chain is recurrent iff .
- Given recurrence, it is positive recurrent iff where is the (unnormalized) stationary measure, and null recurrent otherwise.
Here and , so
Then
(telescoping the product of consecutive-integer ratios), which grows like ; summing over , , so the chain is recurrent. For positive recurrence, compute the unnormalized stationary weights (with from the boundary rule ). We have for , and the factor is . So
Writing out the telescoping product: , , , . Hence
So for , which behaves like for large . Since (comparison with , a convergent -series with ), the stationary measure is summable, so the chain is positive recurrent, not null recurrent — despite the drift toward decaying to zero. If instead the drift had decayed like rather than , the analogous computation would produce , whose sum diverges, giving null recurrence — this is exactly the borderline phenomenon (weak restoring force recurrent but null) that occurs for the plain symmetric random walk on itself (constant drift ), the canonical example of null recurrence.
The theorem "recurrent + finite state space positive recurrent" requires finiteness of the class; dropping it produces genuine null recurrence, as already seen in the birth–death family above at the borderline rate. Here is the canonical minimal counterexample. Let be the simple symmetric random walk on : for all . This chain is irreducible (any integer reachable from any other) and, by a classical fact (proved via Stirling's approximation showing , hence recurrent by the recurrence criterion from Classification of States), it is recurrent: . However the mean return time is infinite:
This can be seen from the generating function of first-return probabilities: if , then (recurrence) but , and the classical computation (from the reflection principle / hitting-time generating function for simple random walk) gives as . So : the walk is null recurrent. If the state space here were finite, the theorem forbids this: a finite recurrent class must be positive recurrent. The random walk on evades the theorem precisely because is countably infinite — the proof's key step (that forces some to stay bounded away from ) fails for an infinite class, where mass can leak out to states arbitrarily far away, allowing every individual state's visit frequency to vanish in the limit even though the walk never actually leaves the (infinite) state space. This is exactly why the finiteness hypothesis cannot be dropped.
Scope, edge cases & common traps
| Situation | Period | Recurrence type |
|---|---|---|
| Self-loop present () at some state in the class | forces for the whole class | independent of recurrence status |
| Finite irreducible chain | any possible | always positive recurrent (if recurrent, which finite irreducible chains always are) |
| Infinite irreducible recurrent chain | any possible | can be positive or null recurrent |
| Transient state | period still well-defined via if nonempty | "positive/null recurrent" labels do not apply |
| Reducible chain (multiple classes) | period, recurrence type may differ between classes | must restrict theorem to one communicating class at a time |
The mathematician behind it
Origins · 1 minAndrei Andreyevich Markov and how this was discovered
Markov introduced the chains that bear his name in 1906, originally to extend the law of large numbers to sequences of dependent trials, famously applying the theory to letter-sequence statistics in Pushkin's Eugene Onegin. The refined classification into periodic/aperiodic and positive/null recurrent states was developed later, through the twentieth century, by probabilists formalizing renewal theory and ergodic behavior — notably through the work of Kolmogorov, Doeblin, and Kai Lai Chung, who built the rigorous theory of recurrence classes and mean return times on Markov's original combinatorial foundation.
What exactly does "period" measure, intuitively?
The period measures the greatest common divisor of all the time-lengths over which the chain can return to with positive probability. If , returns can only occur at multiples of steps (though not necessarily at every multiple, especially for small ones), and the state space naturally splits into cyclic sub-classes that the chain visits in fixed rotating order. Aperiodicity () means return times have no common divisor greater than , which typically happens whenever there's any flexibility in path lengths — for instance, a self-loop, or two different closed walks of coprime length.
Why is period a property of the whole communicating class rather than of individual states?
Because states in the same class can reach each other, any return path through one state can be "rerouted" through another by tacking on the fixed excursions that connect them. This forces their sets of possible return times to be linked by a constant shift, which preserves the gcd. The formal proof (given above) shows any return length for one state can be converted, by adding a fixed constant, into a return length for the other, forcing their periods to divide each other and hence to be equal.
Is every recurrent chain either positive or null recurrent, with no other options?
Yes — for a recurrent state, the return time is finite almost surely by definition, so its expectation is always a well-defined quantity in (it cannot be since always). The dichotomy positive () versus null () is therefore exhaustive and mutually exclusive for recurrent states; there is no third option.
Does positive recurrence require the chain to be aperiodic?
No — the two properties are logically independent. A periodic chain (like a random walk on a cycle) can easily be positive recurrent, since on a finite state space every recurrent class is automatically positive recurrent regardless of period. What periodicity does affect is the mode of convergence: for a periodic positive recurrent chain, does not converge to as , but rather oscillates, hitting except along the multiples of , where a Cesàro-averaged or subsequential limit of holds instead.
How does Kac's formula connect positive recurrence to stationary distributions?
Kac's return-time formula states that for an irreducible positive recurrent chain, the unique stationary distribution satisfies for every state . This is why positive recurrence, rather than mere recurrence, is exactly the condition needed for a genuine (summing to ) stationary probability distribution to exist: a null recurrent chain has an essentially unique stationary measure but it cannot be normalized to sum to , since for every state. This link is developed fully in the study of Stationary Distributions.
Can a chain be periodic and null recurrent at the same time?
Yes, these properties are independent, though examples require an infinite state space (since finite recurrent classes are always positive recurrent). One can build a periodic analogue of the simple random walk on — for instance, a walk on the even integers with period built by inserting deterministic "wait states" — that remains null recurrent while having period ; the periodic structure only constrains when returns can happen, not the magnitude of the mean return time.
Why does the proof of "finite recurrent implies positive recurrent" break for infinite state spaces?
The proof crucially uses that the visit frequencies over a finite class must sum exactly to at every time , since the chain is confined to and occupies exactly one state at a time. Passing to the limit, this forces at least one to stay bounded away from , ruling out all . For an infinite class, the sum over infinitely many terms, each individually tending to , can still be identically at each finite without any contradiction — mass simply spreads out over an ever-larger number of states, which is exactly the mechanism behind null recurrence on .