Many Markov chains forget where they started: run them for long enough, and they seem to not depend on the initial state. This is what makes long-run averages of a chain meaningful, and also makes sampling methods like Markov Chain Monte Carlo viable.

This is a neat little proof of the requisite proposition: an irreducible aperiodic Markov Chain with an invariant distribution π\pi converges in distribution to π\pi.

Suppose a transition matrix PP on a countable state space II is irreducible and aperiodic, and moreover that it admits an invariant distribution π\pi. Then for a Markov Chain (Xn)∼Markov(λ,P)(X_n) \sim \mathrm{Markov}(\lambda, P) for any starting distribution λ\lambda, we have

P[Xn=i]→πi as n→∞ \mathbb{P}\left[ X_n = i \right] \to \pi_i \text{ as } n \to \infty

This proof uses a technique called coupling. Define a new Markov Chain (Yn)∼Markov(π,P)(Y_n) \sim \mathrm{Markov}(\pi, P), and take the coupled Wn=(Xn,Yn)W_n = (X_n, Y_n). This is a Markov Chain on the state space I×II \times I, with transition matrix P~\tilde{P} defined by p~(i,k)(j,l)=pijpkl\tilde{p}_{(i,k)(j,l)} = p_{ij}p_{kl} and initial distribution λ~(i,k)=λiπk\tilde{\lambda}_{(i,k)} = \lambda_i \pi_k.

Since PP is irreducible and aperiodic, pij(n)>0p_{ij}^{(n)} > 0 for all sufficiently large nn. The same therefore holds for P~\tilde{P}: it must be irreducible. Moreover, π~(i,k)=πiπk\tilde{\pi}_{(i,k)} = \pi_i \pi_k is an invariant distribution for P~\tilde{P}, and an irreducible chain with an invariant distribution is positive recurrent, so P~\tilde{P} is positive recurrent.

For an arbitrary reference state bb, define the first passage time of WW to (b,b)(b, b) to be

T=inf⁡{n∈N:Xn=Yn=b} T = \inf \{ n \in \mathbb{N} : X_n = Y_n = b \}

As P~\tilde{P} is irreducible and recurrent, T<∞T < \infty with probability 1.

Define a new process ZnZ_n which follows XnX_n until time TT and YnY_n afterwards. Since both chains are at bb at time TT, the strong Markov property means (Zn)∼Markov(λ,P)(Z_n) \sim \mathrm{Markov}(\lambda, P) too, so P[Xn=i]=P[Zn=i]\mathbb{P}[X_n = i] = \mathbb{P}[Z_n = i]. Now, note that

P[Zn=i]=P[Zn=i,n<T]+P[Zn=i,n≥T]=P[Zn=i,n<T]+P[Yn=i,n≥T]=P[Zn=i,n<T]+πi−P[Yn=i,n<T] \begin{align*} \mathbb{P} \left[ Z_n = i \right] &= \mathbb{P} \left[ Z_n = i, n < T \right] + \mathbb{P} \left[ Z_n = i, n \geq T \right] \\ &= \mathbb{P} \left[ Z_n = i, n < T \right] + \mathbb{P} \left[ Y_n = i, n \geq T \right] \\ &= \mathbb{P} \left[ Z_n = i, n < T \right] + \pi_i - \mathbb{P} \left[ Y_n = i, n < T \right] \end{align*}

because Zn=YnZ_n = Y_n for n≥Tn \geq T. Therefore

∣P[Xn=i]−πi∣=∣P[Zn=i,n<T]−P[Yn=i,n<T]∣ | \mathbb{P} \left[ X_n = i \right] - \pi_i | = | \mathbb{P} \left[ Z_n = i, n < T \right] - \mathbb{P} \left[ Y_n = i, n < T \right] |

The right hand side of this is bounded by P[n<T]\mathbb{P} \left[ n < T \right], since both terms lie between 00 and P[n<T]\mathbb{P} \left[ n < T \right]. This bound tends to 00 as nn grows to infinity, as TT is finite with unit probability. Thus the left hand side, which is non-negative, must also tend to 00. Therefore

P[Xn=i]→πi as n→∞ \mathbb{P}\left[ X_n = i \right] \to \pi_i \text{ as } n \to \infty

exactly as required.