advanced28 min studyLesson 651 in Mathematics

Transition kernels and communicating classes

Separate stochastic evolution, accessibility, closed classes and periods before asking about convergence.

On this page

What you’ll understand

  • Use row-stochastic kernels and row probability vectors consistently.
  • Identify communicating classes and determine which are closed.
  • Compute a class period from positive-probability return lengths.

A transition matrix specifies local randomness, but its directed support determines which long-term questions are meaningful. A chain can contain several independent closed regions, a transient entrance state, and a periodic component at the same time. Solving one stationary linear system without first finding these pieces can hide that structure. Throughout this module, time is discrete unless explicitly described otherwise, states are finite or countably infinite, and probability distributions multiply kernels from the left. The finite case supports strong convergence theorems that require additional recurrence assumptions on an infinite state space.

A stochastic kernel is a conditional law

For a state space S, the entry P(x,y) is the conditional probability of the next state y given the present state x. Every entry is nonnegative and every row sums to one. Time homogeneity means the same kernel is used at every step; it does not mean the chain starts in equilibrium. The Markov property says that conditioning on the entire past gives this same next-state law once the present state is known. It concerns conditional distributions rather than deterministic independence between consecutive states.

If the initial law is a row vector μ, its law after n steps is μPⁿ. Matrix multiplication sums over intermediate states, giving the Chapman–Kolmogorov identity. On a countable space these sums remain well defined because their terms are nonnegative. A positive entry of Pⁿ means at least one positive-probability route of length n exists. A zero in P itself therefore rules out a direct jump but need not rule out eventual access through other states. Keeping the direction of multiplication fixed prevents balance equations from being inadvertently transposed.

P(x,y)≥0,∑yP(x,y)=1,Pμ(Xn=y)=(μPn)(y),Pm+n(x,y)=∑zPm(x,z)Pn(z,y)P(x,y)\geq0,\quad\sum_yP(x,y)=1,\qquad\mathbb P_\mu(X_n=y)=(\mu P^n)(y),\qquad P^{m+n}(x,y)=\sum_zP^m(x,z)P^n(z,y)
Rows encode the next-state law. The last identity sums over the state reached after the first m transitions.↔ Scroll wide equations horizontally.

Communication organizes the directed support

State x reaches y when some nonnegative power of the kernel has a positive x,y entry. Allowing power zero makes reachability reflexive. Two states communicate when each reaches the other, and this equivalence relation partitions the space into communicating classes. A class is closed when no transition leaves it. An irreducible chain has one communicating class, so every state can eventually reach every other. A closed class can still have many outgoing arrows internally; closedness refers only to crossing its boundary.

For a finite chain, every trajectory eventually enters some closed communicating class with probability one, and each such class is positive recurrent. States outside the closed classes are transient. Finiteness is doing real work: a deterministic chain moving from n to n+1 on the nonnegative integers has no closed communicating class of this kind and never settles into a finite region. A reducible finite chain has stationary laws supported on its closed classes, while the weights assigned to those classes depend on how a stationary law is chosen rather than on a unique global equilibrium.

x↔y  ⟺  (∃m≥0:Pm(x,y)>0) and (∃n≥0:Pn(y,x)>0),P(x,S∖C)=0(x∈C)x\leftrightarrow y\iff (\exists m\geq0:P^m(x,y)>0)\ \text{and}\ (\exists n\geq0:P^n(y,x)>0),\qquad P(x,S\setminus C)=0\quad(x\in C)
Mutual accessibility defines communication. The final condition defines a closed class C, provided C is already a communicating class.↔ Scroll wide equations horizontally.

Periodicity survives irreducibility

For a state with at least one positive-probability return, its period is the greatest common divisor of all positive return lengths. Communicating states have the same period. In an irreducible chain, period one is called aperiodicity. A positive self-loop forces period one, but a self-loop is sufficient rather than necessary: return paths of lengths two and three also give greatest common divisor one. An isolated transient state with no possible return needs separate treatment instead of assigning a misleading period from an empty list.

Irreducibility answers whether movement between states is possible; aperiodicity answers whether an arithmetic clock obstructs convergence. A deterministic cycle is irreducible on its vertices but its point-mass initial law rotates forever. Replacing a kernel by the average of itself and the identity, called making it lazy, retains communication while supplying self-loops. This changes the actual transition clock and generally changes mixing times, so laziness should be stated as a modification of the chain rather than silently assumed in an argument about its spectrum.

Two closed components and one entrance

On states 0,1,2,3,4, let rows 0 and 1 each put probability 1/2 on 0 and 1; let 2→3 and 3→2 deterministically; let 4 jump to 0 with probability 1/4 and to 2 with probability 3/4. Classify the states and compute P²(4,1).

  1. States 0 and 1 communicate, and their class is closed. Each has a self-loop, so this class has period one.

  2. States 2 and 3 form another closed class. Returns have even lengths, so its period is two. State 4 cannot be reached again after leaving and is transient.

  3. A two-step route from 4 to 1 must use intermediate state 0. Its probability is (1/4)(1/2)=1/8; the route through 2 ends at 3 instead.

The result

The closed classes are {0,1} and {2,3}, with different periods. The full chain is reducible, and P²(4,1)=1/8.

Explore the model

Interactive lab

Interactive lab · markov

An arrow can disappear without losing a stationary readout

Pause and Reset, then set p=0.30,q=0.20. Starting from state 0, predict P(state 1)=0.30 after one Step. For a fresh comparison Reset and set p=0,q=0.20; predict that state 0 stays absorbing although a unique stationary law still exists. Finally Reset and set p=1,q=1; Step twice to see probabilities alternate 0,1,0. One Step is one transition; the stationary readout is separate from the transient SVG probabilities.

An arrow can disappear without losing a stationary readoutExact finite-step probabilities for a two-state chain starting in state 0, not sampled trajectories. Playback advances two transitions per second. When p = q = 0 every distribution is stationary; when p = q = 1 the chain alternates forever. A single zero transition creates an absorbing state. Current readings: P(state 1) at step 0: 0%; Stationary P(state 1): 60%; Chain behavior: Monotone convergence. All parameters are adjustable with the labeled controls below.Two-state Markov distribution after 0 steps: state zero probability 1, state one probability 0.Initial distribution (1, 0) · step 0p = 0.3q = 0.201100%0%1−p1−qP(0)P(1)Monotone convergence
P(state 0)P(state 1)Stationary distribution
P(state 1) at step 0
0%
Stationary P(state 1)
60%
Chain behavior
Monotone convergence
t = 0 s

Exact finite-step probabilities for a two-state chain starting in state 0, not sampled trajectories. Playback advances two transitions per second. When p = q = 0 every distribution is stationary; when p = q = 1 the chain alternates forever. A single zero transition creates an absorbing state. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forCommunication, absorption and period must be read from the transitions, not inferred from the mere presence of a stationary number.

Check your understanding

An irreducible finite chain has a self-loop at one state. What follows?

Try it yourself

For the deterministic cycle 0→1→2→0, identify its communicating classes and period. Repeat after replacing P by (I+P)/2.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

List possible return lengths before and after the modification, and check whether any directed access is lost.

Compare with the solution

The original three states form one closed communicating class. A return occurs exactly at positive multiples of three, so its period is three. The lazy modification retains the original arrows and adds a self-loop at every state; it is still one closed class, now of period one. Its law from a single state is no longer a deterministic rotation, but aperiodicity alone does not assert one-step stationarity.

Take it with you

  • A row probability law evolves by μPⁿ.
  • Closed communicating classes describe possible equilibrium components.
  • Irreducibility and aperiodicity answer different structural questions.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.