Probability Meets Eigenvectors
A Markov chain hops among states with fixed probabilities; its transition matrix has nonnegative entries and columns summing to .
That column condition forces to be an eigenvalue (the all-ones vector is a LEFT eigenvector), and its right eigenvector — normalized to sum to — is the STEADY STATE: the distribution the chain settles into regardless of where it started. Finding it is one homogeneous solve: . All other eigenvalues have , and the second-largest, , sets the MIXING RATE: the memory of the starting state decays like .
Google's original algorithm models a random web surfer: from each page, follow a random link (with occasional random jumps). The importance of a page is its share of the STEADY-STATE distribution of that Markov chain — the eigenvector of a matrix with billions of rows, computed by simply iterating (the power method) until it stops changing. A trillion-dollar company, built on this chapter.
Some states trap you (absorbing); the natural question becomes "how long until absorption?" First-step analysis: from state , one step happens, then you are somewhere new — so , a small LINEAR SYSTEM in the expected times.
A state that advances with probability and stalls otherwise contributes expected steps (the geometric distribution). Gambler's ruin, board-game durations, drug absorption, and queue lengths are all this one linear system with different numbers.
For : (a) steady state: gives , so ; (b) mixing rate: trace minus the known eigenvalue leaves — deviations shrink per step, so after steps only of any initial imbalance survives. Verify (a) by one multiplication: ✓.
Proofs & Why It Matters
Let . Column sums equal means — so is an eigenvalue of , and a matrix and its transpose share a characteristic polynomial, hence eigenvalues: is an eigenvalue of too.
Moreover no eigenvalue can exceed in magnitude: if , comparing the largest-magnitude entry of both sides shows (each entry of is a weighted average of entries of ). SIGNIFICANCE: existence of a steady state is thus STRUCTURAL — probability is conserved, so equilibrium is guaranteed; the only question is how fast you get there, which is 's job.
Markov chains tie the whole course together: the steady state is an eigenvector (eigenvalues topic), computing is diagonalization (powers topic), the entries of converge because (spectral thinking), and expected absorption times are a linear system (row reduction). One applied object exercising every tool in the box — which is exactly why it closes the course.
Going Deeper: Worked Problems
Sunny goes to sunny with probability , else rainy; rainy goes to rainy , sunny , cloudy ; cloudy goes to sunny , cloudy . Find the long-run fraction of sunny days.
Step 1 — transition matrix (columns from-state, rows to-state): ; each column sums to ✓.
Step 2 — steady state solves : from row 2, gives ; from row 3, gives .
Step 3 — normalize: , so sunny, , .
Step 4 — verify row 1: ✓. The forecast for a year from now needs no calendar — only this eigenvector.
A token starts at and each second moves with probability or stays with probability ; it stops on reaching . Expected time to stop?
Step 1 — let be the expected remaining time from position , with .
Step 2 — first-step analysis at each state: , so , i.e. .
Step 3 — unwind from the end: , , .
Step 4 — interpret: each step forward takes expected seconds (geometric distribution), and three steps are needed — linearity of expectation gives directly, and the linear system confirms it.