the Perron-Frobenius theorem
/ peh-RON froh-BAY-nee-oos /
Why does a transition matrix always have an equilibrium, and why is it unique and reachable? The deep answer comes from linear algebra, not probability: the Perron-Frobenius theorem, a powerful result about matrices with non-negative entries. It is the structural reason behind the existence and uniqueness of the stationary distribution and the convergence of P^n.
The theorem says that an irreducible matrix with non-negative entries has a largest eigenvalue that is real, positive, and simple (no ties), with an eigenvector whose entries are all strictly positive — and no other eigenvector can be chosen all-positive. For a stochastic matrix P (rows summing to 1), that leading eigenvalue is exactly 1, all other eigenvalues have magnitude at most 1, and the positive left eigenvector, normalised to sum to 1, is precisely the stationary distribution pi solving pi P = pi. So 'a unique equilibrium exists with positive weight on every state' is just Perron-Frobenius applied to an irreducible chain.
It also explains convergence and its speed. If the chain is aperiodic, eigenvalue 1 is the strict champion: every other eigenvalue has magnitude strictly below 1, so their contributions to P^n decay, leaving only the stationary part — hence P^n converges. The second-largest eigenvalue magnitude controls how fast: the gap between 1 and it sets the mixing rate. A periodic chain has other eigenvalues also on the unit circle (like -1), which is exactly why it oscillates and fails to converge. PageRank is Perron-Frobenius made famous: Google's ranking is the positive Perron eigenvector of a giant stochastic matrix of the web.
Weather P has rows (0.8, 0.2) and (0.4, 0.6). Its eigenvalues are 1 and 0.4. Perron-Frobenius: 1 is the largest, simple, with positive left eigenvector (2/3, 1/3) — the stationary distribution. The other eigenvalue 0.4 has magnitude below 1, so the distance to equilibrium shrinks like 0.4^n each step — fast convergence because 0.4 is small.
Eigenvalue 1 gives the stationary distribution; the next eigenvalue's size sets the speed of convergence.
Perron-Frobenius needs irreducibility for the leading eigenvector to be unique and strictly positive. A reducible matrix (multiple closed classes) can have several independent equilibria — uniqueness is not free.