Markov chains and stationary distributions

Database › Mathematics › Applied mathematics › Probability

PROB-0009DefinitionUndergraduate

A Markov chain moves between states with probabilities depending only on the current state; the distribution evolves by a stochastic matrix and an irreducible aperiodic chain approaches a unique stationary distribution.

$$p_j(n+1)=\sum_ip_i(n)P_{ij},\quad\sum_jP_{ij}=1;\qquad\pi=\pi P\ \Leftarrow\ \pi_iP_{ij}=\pi_jP_{ji}$$

Explanation

The rows of a stochastic matrix sum to 1, so it has eigenvalue 1; the corresponding left eigenvector is the stationary distribution $\pi$. If every state can reach every other (irreducible) and the chain is not periodic, all other eigenvalues have modulus below 1 and $p(n)\to\pi$ from any start; the second-largest eigenvalue sets the relaxation rate. In continuous time the same structure gives the master equation $\dot p_j=\sum_i(p_iW_{ij}-p_jW_{ji})$.

Detailed balance (each pair of transitions balanced separately) is sufficient for stationarity. The Metropolis algorithm builds a chain with stationary distribution $\propto e^{-\beta E}$ by accepting a proposed move with probability $\min(1,e^{-\beta\Delta E})$.

Example 1

A sunny day is followed by rain with probability 0.2; a rainy day is followed by sun with probability 0.6. Find the long-run fraction of sunny days.

Solution

Balance: $\pi_s\times0.2=\pi_r\times0.6$, so $\pi_s=3\pi_r$ and $\pi_s=0.75$. The other eigenvalue $1-0.2-0.6=0.2$ shows memory fades within a few days.

Example 2

Show that the Metropolis acceptance rule satisfies detailed balance for $\pi_i\propto e^{-\beta E_i}$ (symmetric proposals).

Solution

If $E_j>E_i$: $P_{ij}\propto e^{-\beta(E_j-E_i)}$, $P_{ji}\propto1$. Then $\pi_iP_{ij}\propto e^{-\beta E_i}e^{-\beta(E_j-E_i)}=e^{-\beta E_j}=\pi_jP_{ji}$.

Related entries