From Local Balance to Cycle Products
Detailed balance compares transitions one edge at a time: the weight assigned to a state, multiplied by the probability of leaving along an edge, must match the corresponding quantity for the reversed edge. Kolmogorov’s cycle criterion turns this local condition into a test around closed paths. Its converse is useful too: when all cycle products match, ratios along paths can be used to build a reversible measure. The key issue in that construction is ensuring that the answer does not depend on which path is chosen.
Let \((X_n)_{n\ge0}\) be a discrete-time Markov chain on a probability space \((\Omega,\mathcal{F},\mathbb{P})\), with finite or countable state space \(S\) and transition matrix \(P=(p_{ij})\). Assume throughout the main criterion that the chain is irreducible: for every \(i,j\in S\), there is an \(n\ge0\) such that \(p_{ij}^{(n)}>0\). A finite path \(v_0,v_1,\ldots,v_\ell\) is allowed if each transition along it has positive probability, meaning \(p_{v_{r-1}v_r}>0\) for \(1\le r\le\ell\). A cycle is an allowed path with \(v_\ell=v_0\); intermediate states may repeat. Its forward product is the product of the probabilities along the path, and its reverse product is the product along the path traversed in reverse.
For a cycle, the reverse product is meaningful even before reverse transitions have been shown positive: it is the product of the corresponding entries of \(P\), and may be zero. Under irreducibility, the cycle condition itself will force the reverse transitions of every positive edge to be positive.
Proof. Consider a cycle \(v_0,v_1,\ldots,v_\ell=v_0\). Detailed balance on each step gives \(m_{v_{r-1}}p_{v_{r-1}v_r}=m_{v_r}p_{v_rv_{r-1}}\). Multiply these \(\ell\) equalities. The product of the measure factors on the left is \(\prod_{r=1}^{\ell}m_{v_{r-1}}\), while on the right it is \(\prod_{r=1}^{\ell}m_{v_r}\); these are equal because the lists of states differ only by a cyclic shift. The remaining factors are the forward and reverse transition products, respectively. Cancelling the common positive measure product proves the cycle condition. This argument also applies when states repeat, since each equality is included with its multiplicity. \(\square\)
Constructing a Reversible Measure from Cycles
The proposition proves necessity. For sufficiency, choose a reference state \(o\), assign it weight \(m_o=1\), and define the weight of another state by multiplying transition-probability ratios along a path from \(o\). This only works if every edge has a reverse edge, and it defines a single weight only if different paths give the same ratio. The cycle condition supplies both facts.
Proof. Necessity is the proposition. To prove sufficiency, assume the cycle condition holds on every finite cycle.
Step 1: positive transitions have positive reverses. Suppose \(p_{ij}>0\). Irreducibility gives an allowed path from \(j\) back to \(i\). Prepending the edge \(i\to j\) makes a cycle whose forward product is positive. By the cycle condition, its reverse product is positive too. That reverse product contains the factor \(p_{ji}\), so \(p_{ji}>0\). Thus every positive transition has a positive reverse.
Step 2: define weights and establish path independence. Fix \(o\in S\). For any allowed path \(v_0=o,v_1,\ldots,v_\ell=i\), define its ratio by \(R(v_0,\ldots,v_\ell)=\prod_{r=1}^{\ell}(p_{v_{r-1}v_r}/p_{v_rv_{r-1}})\). Every denominator is positive by Step 1. Set \(m_i=R(v_0,\ldots,v_\ell)\). For \(i=o\), the path of length zero gives \(m_o=1\). For any two allowed paths \(A,B\) from \(o\) to \(i\), follow \(A\) by the reverse of \(B\). This is an allowed cycle by Step 1. Its forward product is the forward product of \(A\) times the reverse product of \(B\); its reverse product is the reverse product of \(A\) times the forward product of \(B\). Equality of these products implies \(R(A)=R(B)\). Therefore \(m_i\) is independent of the chosen path, is positive and finite, and is well-defined.
Step 3: verify detailed balance. If \(p_{ij}>0\), append the edge \(i\to j\) to a path from \(o\) to \(i\). By the definition and path independence, \(m_j=m_i p_{ij}/p_{ji}\), so \(m_i p_{ij}=m_jp_{ji}\). If \(p_{ij}=0\), Step 1 implies \(p_{ji}=0\), so the same balance equality holds with both sides zero. Hence \(m\) is a positive reversible measure.
Step 4: uniqueness up to scale. Let \(\widetilde m\) be another positive reversible measure. On every allowed edge \(i\to j\), detailed balance gives \(\widetilde m_j/\widetilde m_i=p_{ij}/p_{ji}=m_j/m_i\). Along any allowed path from \(o\) to \(i\), multiplying these ratios gives \(\widetilde m_i/\widetilde m_o=m_i/m_o=m_i\), because \(m_o=1\). Thus \(\widetilde m_i=\widetilde m_o m_i\) for every state \(i\), as required. \(\square\)
The construction gives a measure, not automatically a probability distribution. When \(Z=\sum_{i\in S}m_i<\infty\), define \(\pi_i=m_i/Z\). Then \(\sum_i\pi_i=1\) and \(\pi_i p_{ij}=\pi_jp_{ji}\). Summing over \(i\) gives \(\sum_i\pi_i p_{ij}=\pi_j\sum_i p_{ji}\) only if the sum is over the wrong index; instead, detailed balance gives \(\sum_i\pi_i p_{ij}=\pi_j\sum_i p_{ji}\) with \(p_{ji}\) interpreted as transitions out of \(j\) to \(i\), whose sum over \(i\) is \(1\). Hence \(\pi P=\pi\). If \(Z=\infty\), the constructed reversible measure still satisfies detailed balance, but cannot be normalized to a probability distribution.
Worked Example: Checking a Cycle from Detailed Balance
Consider a discrete-time chain on \(S=\{1,2,3\}\) with transition matrix \(P=\begin{bmatrix}\tfrac12&\tfrac14&\tfrac14\\[2pt]\tfrac18&\tfrac58&\tfrac14\\[2pt]\tfrac14&\tfrac12&\tfrac14\end{bmatrix}\). The row sums are \(\tfrac12+\tfrac14+\tfrac14=1\), \(\tfrac18+\tfrac58+\tfrac14=1\), and \(\tfrac14+\tfrac12+\tfrac14=1\). The measure \(m=(1,2,1)\) is positive. Check detailed balance and the cycle \(1\to2\to3\to1\).
For the three distinct pairs, \(m_1p_{12}=1\cdot\tfrac14=\tfrac14=2\cdot\tfrac18=m_2p_{21}\); \(m_2p_{23}=2\cdot\tfrac14=\tfrac12=1\cdot\tfrac12=m_3p_{32}\); and \(m_3p_{31}=1\cdot\tfrac14=\tfrac14=1\cdot\tfrac14=m_1p_{13}\). Diagonal balance holds automatically. The forward cycle product is \(\tfrac14\cdot\tfrac14\cdot\tfrac14=\tfrac1{64}\). The reverse product is \(\tfrac14\cdot\tfrac12\cdot\tfrac18=\tfrac1{64}\), as the proposition requires.
Check: The measure has total mass \(1+2+1=4\), so its normalized version is \(\pi=(\tfrac14,\tfrac12,\tfrac14)\). Its entries sum to \(1\), and the balance equalities remain true after division by \(4\).
Worked Example: Building Weights from Cycle Products
Consider a chain on \(S=\{1,2,3\}\) with \(P=\begin{bmatrix}\tfrac14&\tfrac14&\tfrac12\\[2pt]\tfrac18&\tfrac58&\tfrac14\\[2pt]\tfrac16&\tfrac1{12}&\tfrac34\end{bmatrix}\). The row sums are \(\tfrac14+\tfrac14+\tfrac12=1\), \(\tfrac18+\tfrac58+\tfrac14=1\), and \(\tfrac16+\tfrac1{12}+\tfrac34=1\). All distinct states communicate directly in both directions, so the chain is irreducible. Use paths from state \(1\) to construct a reversible measure.
Set \(m_1=1\). Along \(1\to2\), the required ratio is \(m_2/m_1=p_{12}/p_{21}=(\tfrac14)/(\tfrac18)=2\), so \(m_2=2\). Along \(1\to3\), \(m_3/m_1=p_{13}/p_{31}=(\tfrac12)/(\tfrac16)=3\), so \(m_3=3\). Check the remaining edge: \(p_{23}/p_{32}=(\tfrac14)/(\tfrac1{12})=3\), and \(m_3/m_2=3/2\). These do not match, so this matrix does not satisfy the cycle condition.
To see the failure directly, the cycle \(1\to2\to3\to1\) has forward product \(\tfrac14\cdot\tfrac14\cdot\tfrac16=\tfrac1{96}\). Its reverse product is \(\tfrac12\cdot\tfrac1{12}\cdot\tfrac18=\tfrac1{192}\). They differ, so the attempted path construction is inconsistent. For example, the direct path \(1\to3\) gives \(m_3=3\), while the path \(1\to2\to3\) gives \(m_3=2\cdot3=6\).
Check: The two candidate values \(3\) and \(6\) have ratio \(2\), matching the forward-to-reverse cycle-product ratio \((\tfrac1{96})/(\tfrac1{192})=2\). Thus the inconsistency is exactly the failed cycle condition.
Worked Example: A Chain Satisfying the Criterion
Change only the transition probabilities from state \(3\) to states \(1\) and \(2\), giving \(P=\begin{bmatrix}\tfrac14&\tfrac14&\tfrac12\\[2pt]\tfrac18&\tfrac58&\tfrac14\\[2pt]\tfrac16&\tfrac16&\tfrac23\end{bmatrix}\). The row sums are \(\tfrac14+\tfrac14+\tfrac12=1\), \(\tfrac18+\tfrac58+\tfrac14=1\), and \(\tfrac16+\tfrac16+\tfrac23=1\). For the triangle, the forward product is \(\tfrac14\cdot\tfrac14\cdot\tfrac16=\tfrac1{96}\); the reverse product is \(\tfrac12\cdot\tfrac16\cdot\tfrac18=\tfrac1{96}\). The triangle cycle condition holds.
Set \(m_1=1\) and use the paths \(1\to2\) and \(1\to3\). As before, \(m_2=(\tfrac14)/(\tfrac18)=2\), and \(m_3=(\tfrac12)/(\tfrac16)=3\). Now check all three edge pairs: \(m_1p_{12}=\tfrac14=m_2p_{21}\); \(m_1p_{13}=\tfrac12=m_3p_{31}\); and \(m_2p_{23}=2\cdot\tfrac14=\tfrac12=m_3p_{32}=3\cdot\tfrac16\). Thus \(m=(1,2,3)\) is reversible. Its total mass is \(1+2+3=6\), so \(\pi=(\tfrac16,\tfrac13,\tfrac12)\) is a probability distribution.
Check: The balance equalities imply stationarity. For example, \((\pi P)_1=\tfrac16\cdot\tfrac14+\tfrac13\cdot\tfrac18+\tfrac12\cdot\tfrac16=\tfrac1{24}+\tfrac1{24}+\tfrac1{12}=\tfrac16=\pi_1\); the other coordinates follow by summing their balance equalities over incoming states.
Why Irreducibility Matters
The irreducibility assumption prevents one-way transitions from escaping the cycle tests. For instance, on \(S=\{1,2\}\), take \(p_{11}=0\), \(p_{12}=1\), \(p_{21}=0\), and \(p_{22}=1\). Both rows sum to \(1\). There is no allowed cycle using the edge \(1\to2\): once the chain reaches \(2\), it stays there. The cycle condition on allowed cycles therefore holds vacuously, but detailed balance for the pair \((1,2)\) would require \(m_1\cdot1=m_2\cdot0\), impossible for positive \(m_1\). Irreducibility was used in the proof to complete each positive edge into a cycle and thereby force its reverse to be positive.
Common mistake. A cycle-product check on one convenient cycle is not enough to establish reversibility unless the criterion has been checked for every cycle, or an argument establishes that the checked cycles determine all others. In the failed-chain example, using only the path \(1\to3\) suggested \(m_3=3\), but the path \(1\to2\to3\) suggested \(m_3=6\). Treating either path as authoritative would conceal the contradiction. Always check that path ratios are consistent; the cycle condition is precisely what guarantees that consistency for an irreducible chain.
Check Your Understanding
For each question, distinguish a positive reversible measure from a probability distribution.
- Starting from detailed balance, show how the measure factors cancel when the edge equations are multiplied around a cycle.
- Why does irreducibility ensure that a positive transition \(p_{ij}\) belongs to a cycle with positive forward product?
- For a path from a reference state \(o\) to \(i\), write the product of ratios used to define \(m_i\). What property makes it independent of the path?
- In the reducible two-state example, which detailed-balance equation fails for every positive choice of \(m_1,m_2\)?
- If a constructed reversible measure has infinite total mass, which part of the cycle-criterion conclusion remains valid, and which probability-distribution conclusion is unavailable?