discrete time processes
Ergodic Theory of Markov Chains
You should know: markov chains, stationary processes
Overview
Ergodic theory for Markov chains studies when and how a chain converges to its stationary distribution. An ergodic chain is irreducible (any state is reachable from any other) and aperiodic (no cyclical behavior). The fundamental ergodic theorem states that time averages converge to space averages under the stationary distribution. Key results include the convergence theorem (mu_n -> pi in total variation), the law of large numbers for Markov chains, and mixing time estimates.
Intuition
A Markov chain is ergodic when 'forgetting the past' happens: no matter where you start, you eventually look like you were drawn from the stationary distribution. Irreducibility ensures you can always reach every state; aperiodicity removes oscillatory behavior. Once ergodic, the empirical time average of any function converges to its expectation under pi -- analogous to the classical law of large numbers but for dependent samples.
Formal Definition
A Markov chain on a countable state space S with transition matrix P is ergodic if it is both irreducible (for all i, j there exists n with p_{ij}^{(n)} > 0) and positive recurrent (all states have finite mean return time). For an ergodic chain there exists a unique stationary distribution pi satisfying pi = pi * P.
Notation
| Notation | Meaning |
|---|---|
| Unique stationary distribution: pi = pi P | |
| Total variation distance between distributions mu and pi | |
| Mixing time: first n such that TV distance drops below 1/4 | |
| Mean return time to state i: m_i = 1/pi_i |
Theorems
Worked Examples
- 1
The chain alternates between 1 and 2 deterministically. It is irreducible (each state is reachable from the other), but the period of each state is 2 (p_{11}^{(n)} > 0 only for even n).
- 2
The chain is periodic (period 2), so it is NOT ergodic in the sense of aperiodic+irreducible. However, it is irreducible and positive recurrent, so the stationary distribution still exists. Solving pi = pi * P:
- 3
The time averages still converge by the ergodic theorem (positive recurrent + irreducible suffices for LLN), but p_{ij}^{(n)} does not converge pointwise.
✓ Answer
Not aperiodic (period 2), so not ergodic in the full sense, but stationary distribution pi = (1/2, 1/2) exists and time averages converge.
Practice Problems
A Markov chain on {1, 2, 3} has transition matrix P = [[1/2, 1/4, 1/4], [1/3, 1/3, 1/3], [1/4, 1/4, 1/2]]. Is it ergodic? Find the stationary distribution.
State the ergodic theorem for Markov chains and explain why the mean return time to state i equals 1/pi_i.
Common Mistakes
Assuming irreducibility alone implies convergence to stationary distribution
Irreducibility plus positive recurrence gives existence and uniqueness of pi, and the LLN. But pointwise convergence p_{ij}^{(n)} -> pi_j also requires aperiodicity.
Confusing stationary distribution with limiting distribution
Every ergodic chain has both. For periodic chains, the stationary distribution exists but p_{ij}^{(n)} does not converge pointwise (it oscillates).
Quiz
Summary
- An ergodic Markov chain is irreducible, aperiodic, and positive recurrent.
- Ergodic theorem: time averages of f(X_k) converge a.s. to E_pi[f].
- Convergence theorem: p_{ij}^{(n)} -> pi_j for all i, j.
- Mean return time to state i is m_i = 1/pi_i.
- Mixing time t_mix quantifies how long until the chain is close to pi in total variation.
References
- BookNorris, J. R. -- Markov Chains, Chapters 1-2
- BookLevin, D., Peres, Y., Wilmer, E. -- Markov Chains and Mixing Times
Mathematics