Tutorials › Stochastic Processes › Proving Communication Is an Equivalence Relation

Classification of States · Tutorial 130 of 994

Proving Communication Is an Equivalence Relation

Learn how finite paths establish communication as an equivalence relation and why its equivalence classes form a partition.

Intermediate 10 min read

What You'll Learn

  • Define accessibility using positive n-step transition probabilities, including the zero-step case.
  • Prove that accessibility is reflexive and transitive.
  • Prove that mutual accessibility is an equivalence relation.
  • Use the equivalence relation to obtain a partition of the state space.
  • Check communication relationships using exact transition matrices.
  • Avoid confusing a Chapman–Kolmogorov sum with a single product.

From Finite Paths to Communication

In a Markov chain, one state may be reachable from another after a finite number of transitions. Mutual reachability is a natural way to identify states that belong together: each can be reached from the other, though the two routes need not have the same length. The key fact is that this mutual-reachability relation has the three properties of an equivalence relation. The proof uses the zero-step transition for reflexivity and the Chapman–Kolmogorov equations for transitivity.

Let \((X_n)_{n\ge0}\) be a discrete-time Markov chain on a nonempty finite or countable state space \(S\), defined on a probability space \((\Omega,\mathcal{F},\mathbb{P})\). Its transition matrix is \(P=(p_{ij})\), where \(p_{ij}=\mathbb{P}(X_{n+1}=j\mid X_n=i)\); each row sums to \(1\). Write \(P^{(n)}=P^n\) and \(p_{ij}^{(n)}\) for its \(n\)-step transition probabilities. In particular, \(P^{(0)}\) is the identity matrix, so \(p_{ij}^{(0)}=1\) if \(i=j\) and \(0\) otherwise. For a countable state space, the Chapman–Kolmogorov equation is \(p_{ik}^{(m+n)}=\sum_{\ell\in S}p_{i\ell}^{(m)}p_{\ell k}^{(n)}\); its terms are nonnegative.

Definition: A state \(j\) is accessible from state \(i\), written \(i\to j\), if there is an integer \(n\ge0\) for which \(p_{ij}^{(n)}>0\). States \(i\) and \(j\) communicate, written \(i\leftrightarrow j\), if both \(i\to j\) and \(j\to i\). The choice \(n=0\) means that every state is accessible from itself.

Accessibility allows paths of length zero or greater, and a path of length zero does not mean that the chain makes an actual transition. It records the identity \(p_{ii}^{(0)}=1\). For a positive length \(n\), accessibility means that the probability of being at \(j\) after \(n\) steps, starting from \(i\), is positive. The proof below needs no assumption that the chain is irreducible, finite, or stationary.

Two Properties of Accessibility

Proposition: Accessibility is reflexive and transitive. That is, \(i\to i\) for every \(i\in S\), and if \(i\to j\) and \(j\to k\), then \(i\to k\).

Proof. For each \(i\in S\), \(p_{ii}^{(0)}=1>0\), so the definition gives \(i\to i\). Now suppose \(i\to j\) and \(j\to k\). By the definition, there are nonnegative integers \(m,n\) such that \(p_{ij}^{(m)}>0\) and \(p_{jk}^{(n)}>0\). Apply Chapman–Kolmogorov at time \(m+n\). The sum for \(p_{ik}^{(m+n)}\) contains the term with intermediate state \(j\), and every term in the sum is nonnegative. Therefore \(p_{ik}^{(m+n)}=\sum_{\ell\in S}p_{i\ell}^{(m)}p_{\ell k}^{(n)}\ge p_{ij}^{(m)}p_{jk}^{(n)}>0\). Thus \(i\to k\), as required. This also covers \(m=0\) or \(n=0\), since the zero-step probabilities are defined by the identity matrix. \(\square\)

In this proof, the positive product is a lower bound for a Chapman–Kolmogorov sum, not generally the whole sum. Other intermediate states can contribute additional positive terms. This distinction is important when calculating transition probabilities as well as when proving transitivity.

Worked Example: A One-Way Route

Consider \(S=\{1,2\}\) with transition matrix \(P=\begin{bmatrix}\tfrac12&\tfrac12\\0&1\end{bmatrix}\). Its first row sums to \(\tfrac12+\tfrac12=1\), and its second row sums to \(0+1=1\), so it is a transition matrix.

From state \(1\), state \(2\) is accessible because \(p_{12}^{(1)}=p_{12}=\tfrac12>0\). State \(1\) is accessible from itself at time zero because \(p_{11}^{(0)}=1\). From state \(2\), the chain stays at \(2\) with probability \(1\). In fact, for every \(n\ge0\), \(p_{21}^{(n)}=0\) and \(p_{22}^{(n)}=1\): this holds at \(n=0\), and one more transition from \(2\) leaves the state at \(2\). Thus \(2\not\to1\), and \(1\) and \(2\) do not communicate. This example illustrates why a one-way accessible route does not establish communication.

Check: The zero-step probabilities give \(1\to1\) and \(2\to2\); the positive one-step probability gives \(1\to2\); and no transition of any length gives \(2\to1\). These facts agree with the definition.

Communication Is an Equivalence Relation

Theorem: Communication is reflexive, symmetric, and transitive on \(S\). Consequently, it is an equivalence relation.

Proof. For reflexivity, accessibility is reflexive by the proposition: \(i\to i\) for every \(i\). Hence both requirements in the definition of \(i\leftrightarrow i\) hold. For symmetry, if \(i\leftrightarrow j\), then \(i\to j\) and \(j\to i\). These same two statements, in reversed order, give \(j\leftrightarrow i\). For transitivity, suppose \(i\leftrightarrow j\) and \(j\leftrightarrow k\). The first assumption gives \(i\to j\) and \(j\to i\); the second gives \(j\to k\) and \(k\to j\). By transitivity of accessibility, \(i\to k\) follows from \(i\to j\) and \(j\to k\), while \(k\to i\) follows from \(k\to j\) and \(j\to i\). Thus \(i\leftrightarrow k\). All three defining properties hold, so communication is an equivalence relation. \(\square\)

Symmetry here comes directly from the definition of communication: it requires accessibility in both directions. Accessibility itself need not be symmetric. Transitivity is the part that depends on combining paths, which is why the Chapman–Kolmogorov equation matters.

Worked Example: A Three-State Cycle

Let \(S=\{1,2,3\}\), with deterministic transitions \(1\to2\), \(2\to3\), and \(3\to1\). The transition matrix is \(P=\begin{bmatrix}0&1&0\\0&0&1\\1&0&0\end{bmatrix}\). Each row sums to \(1\): the row sums are \(0+1+0=1\), \(0+0+1=1\), and \(1+0+0=1\).

From state \(1\), state \(2\) is accessible in one step, with probability \(1\), and state \(3\) is accessible in two steps, following \(1\to2\to3\), with probability \(1\). In the reverse directions, \(2\to1\) takes two steps, following \(2\to3\to1\), and \(3\to1\) takes one step; both have probability \(1\). Thus \(1\) communicates with \(2\) and with \(3\). Also, \(2\to3\) takes one step and \(3\to2\) takes two steps, each with probability \(1\), so those states communicate as well. Each state also communicates with itself using zero steps.

Check: The six ordered pairs of distinct states are covered: \(1\to2\), \(2\to1\), \(1\to3\), \(3\to1\), \(2\to3\), and \(3\to2\). Each has the stated positive path probability \(1\); the three diagonal pairs use probability \(1\) at time zero. Thus every pair of states communicates, in agreement with reflexivity, symmetry, and transitivity.

Equivalence Classes Partition the State Space

An equivalence relation gives a precise way to group elements. For each \(i\in S\), define its equivalence class by \(C(i)=\{j\in S:j\leftrightarrow i\}\). A partition of \(S\) is a collection of nonempty subsets whose union is \(S\) and such that any two distinct subsets in the collection are disjoint.

Corollary: The distinct sets \(C(i)\), as \(i\) ranges over \(S\), form a partition of \(S\).

Proof. Every class \(C(i)\) is nonempty because \(i\leftrightarrow i\), so \(i\in C(i)\). Each state \(x\in S\) belongs to \(C(x)\), which proves that the classes cover \(S\). To show that any two classes that overlap are equal, suppose \(C(i)\cap C(j)\) contains a state \(x\). Then \(x\leftrightarrow i\) and \(x\leftrightarrow j\). By symmetry, \(i\leftrightarrow x\); by transitivity with \(x\leftrightarrow j\), \(i\leftrightarrow j\). Now take any \(y\in C(i)\). Then \(y\leftrightarrow i\), and \(i\leftrightarrow j\), so transitivity gives \(y\leftrightarrow j\), which means \(y\in C(j)\). Hence \(C(i)\subseteq C(j)\). Interchanging \(i\) and \(j\) gives \(C(j)\subseteq C(i)\), so \(C(i)=C(j)\). Therefore, distinct classes are disjoint, and the nonempty classes cover \(S\). They form a partition. \(\square\)

This conclusion concerns the set-theoretic structure induced by communication. It does not require a finite state space: the proof applies to any nonempty finite or countable \(S\), because it uses only the equivalence-relation properties.

Worked Example: Two Groups of Mutually Reachable States

Consider \(S=\{1,2,3,4\}\) and \(P=\begin{bmatrix}0&\tfrac12&\tfrac12&0\\\tfrac12&0&\tfrac12&0\\\tfrac12&\tfrac12&0&0\\0&0&0&1\end{bmatrix}\). The row sums are, respectively, \(0+\tfrac12+\tfrac12+0=1\), \(\tfrac12+0+\tfrac12+0=1\), \(\tfrac12+\tfrac12+0+0=1\), and \(0+0+0+1=1\). Thus every row is a probability distribution.

Between any two distinct states in \(\{1,2,3\}\), the one-step transition probability is \(\tfrac12>0\): the entries \(p_{12},p_{13},p_{21},p_{23},p_{31},p_{32}\) are all \(\tfrac12\). Hence every pair among \(1,2,3\) communicates; each also communicates with itself at time zero. State \(4\) communicates with itself at time zero, and it stays at \(4\) with probability \(1\). No transition leaves \(4\), and the entries from \(1,2,3\) to \(4\) are all zero. Therefore, no state among \(1,2,3\) is accessible from \(4\), and \(4\) is not accessible from any of them.

Consequently, the distinct equivalence classes are \(C(1)=C(2)=C(3)=\{1,2,3\}\) and \(C(4)=\{4\}\). They are nonempty, disjoint, and their union is \(\{1,2,3,4\}\), verifying the partition conclusion in this example.

A Calculation Pitfall: A Product Is Not Usually the Whole Sum

A common error in using Chapman–Kolmogorov is to replace its sum over intermediate states by just one product. Suppose a route from \(i\) to \(j\) takes \(m\) steps and a route from \(j\) to \(k\) takes \(n\) steps. Their product \(p_{ij}^{(m)}p_{jk}^{(n)}\) is one contribution to \(p_{ik}^{(m+n)}\); it need not equal the full probability, since other intermediate states may also contribute.

Worked Example: Include Every Intermediate State

Use \(S=\{1,2,3,4\}\) and \(P=\begin{bmatrix}0&\tfrac12&0&\tfrac12\\0&0&\tfrac12&\tfrac12\\0&0&1&0\\0&0&\tfrac12&\tfrac12\end{bmatrix}\). The row sums are \(0+\tfrac12+0+\tfrac12=1\), \(0+0+\tfrac12+\tfrac12=1\), \(0+0+1+0=1\), and \(0+0+\tfrac12+\tfrac12=1\).

There is a one-step route from \(1\) to \(2\), with probability \(p_{12}=\tfrac12>0\), and a one-step route from \(2\) to \(3\), with probability \(p_{23}=\tfrac12>0\). The route through \(2\) contributes \(p_{12}p_{23}=\tfrac12\cdot\tfrac12=\tfrac14\) to \(p_{13}^{(2)}\). But state \(4\) is another possible intermediate state: \(p_{14}p_{43}=\tfrac12\cdot\tfrac12=\tfrac14\). The other intermediate-state contributions are \(p_{11}p_{13}=0\cdot0=0\) and \(p_{13}p_{33}=0\cdot1=0\). Therefore, \(p_{13}^{(2)}=0+\tfrac14+0+\tfrac14=\tfrac12\), not merely \(\tfrac14\).

Correction: The positive route through \(2\) proves \(p_{13}^{(2)}\ge\tfrac14>0\), which is enough to establish accessibility. The full two-step probability is \(\tfrac12\) because the route through \(4\) contributes another \(\tfrac14\).

For a proof of transitivity, it is the positive lower bound that matters. For an exact probability calculation, every intermediate state in the Chapman–Kolmogorov sum must be included. Keeping those two uses distinct avoids both a logical gap in the proof and an incorrect numerical answer.

Check Your Understanding

Use the definitions and proofs above to answer the following questions. When calculating a transition probability, include all intermediate states that can contribute.

  1. Why does \(p_{ii}^{(0)}=1\) imply that \(i\) is accessible from itself, even if \(p_{ii}=0\)?
  2. If \(p_{ij}^{(m)}>0\) and \(p_{jk}^{(n)}>0\), what lower bound does Chapman–Kolmogorov give for \(p_{ik}^{(m+n)}\)?
  3. In the three-state cycle example, how many steps does it take to go from state \(3\) to state \(2\), and what is the probability of that route?
  4. In the four-state example with two groups, list the equivalence class containing state \(4\), and state why it contains no other state.
  5. Why does an overlap between \(C(i)\) and \(C(j)\) imply that the two classes are equal rather than merely that they share a state?