SECTION 1
Historical Context & Motivation
The study of random processes that evolve over time has a rich mathematical heritage, and Markov chains stand at the center of this tradition. The concept arose from a deceptively simple question: if a system moves randomly between a finite number of states, and each transition depends only on the current state, what happens after a very long time? The answer — that many such systems settle into a predictable steady-state distribution — has profound consequences for fields ranging from economics and genetics to information retrieval and queuing theory. Understanding this long-run behavior transforms Markov chains from a tool for one-step prediction into a framework for analyzing equilibrium phenomena in stochastic systems.
1906 • Markov's Original Formulation
1936 • Kolmogorov's Foundational Work
1953 • Metropolis Algorithm
1998 • Google PageRank
The central question motivating steady-state analysis is both elegant and practical: given a system that evolves according to fixed probabilistic rules, does the distribution over states eventually stabilize, and if so, what is that equilibrium distribution? The answer connects linear algebra — specifically eigenvalue problems — with probability theory, producing one of the most widely applicable results in finite mathematics.
SECTION 2
Core Principles & Definitions
Before exploring steady-state behavior, it is essential to establish the building blocks. A Markov chain is defined by a finite set of states and a transition matrix P whose entry pij gives the probability of moving from state i to state j in one step. The Markov property asserts that the future depends only on the present state, not on how the system arrived there — a property often called memorylessness. All rows of P must sum to 1, making P a stochastic matrix. With these definitions in hand, we can formalize the conditions under which long-run behavior stabilizes.
Transition Matrix P
State Distribution Vector
Regular Chain
Steady-State Vector π
Convergence Theorem
KEY TAKEAWAY
SECTION 3
Visual Explanation — State Transition Diagram
A state transition diagram provides the most intuitive visualization of a Markov chain. Each state is represented as a node, and directed edges carry the transition probabilities. The following diagram illustrates a three-state Markov chain — the same system we will analyze algebraically in later sections. Notice how every state has outgoing edges whose probabilities sum to 1, and every state is reachable from every other state, confirming that the chain is regular.
The transition matrix corresponding to this diagram is read row by row: the first row contains the probabilities leaving S1 (0.5, 0.3, 0.2), the second row contains those leaving S2 (0.4, 0.4, 0.2), and the third row contains those leaving S3 (0.3, 0.5, 0.2). Because every entry of P is already positive, P¹ itself has all positive entries, which means this chain is regular and possesses a unique steady-state vector.
SECTION 4
Mathematical Framework
Finding the steady-state vector π reduces to solving a system of linear equations. Because π must be a fixed point of the transition operator, it satisfies the steady-state equation together with the normalization constraint that the components of π sum to 1. This pair of conditions yields a system whose unique solution can be obtained with standard row-reduction techniques from linear algebra.
EVOLUTION RULE
q⁽ⁿ⁾ is the row distribution vector after n steps; P is the transition matrix. Multiplying by P advances the system by one time step.
STEADY-STATE EQUATION
The steady-state vector π is a left eigenvector of P corresponding to eigenvalue 1. Equivalently, π(P − I) = 0, where I is the identity matrix.
NORMALIZATION CONSTRAINT
Since π is a probability distribution, its entries must sum to 1. This constraint replaces one of the dependent equations in π(P − I) = 0 to produce a unique solution.
CONVERGENCE
For a regular chain, powers of P converge to a matrix W whose every row is the steady-state vector π. This means the long-run distribution is independent of the initial state.
Why Replace an Equation?
SECTION 5
Convergence Behavior — Watching Distributions Stabilize
To build intuition for convergence, consider tracking the distribution vector q⁽ⁿ⁾ over successive steps. The diagram below plots the probability of being in each state against the step number for the three-state chain from Section 3, starting from the initial distribution q⁽⁰⁾ = (1, 0, 0) — that is, the system begins entirely in state S1. Despite this extreme starting condition, the distribution converges rapidly to the steady-state vector within roughly 3–4 steps.
The key observation from this visualization is that convergence is geometric — the distance between q⁽ⁿ⁾ and π shrinks by a roughly constant factor at each step. This factor is governed by the second-largest eigenvalue magnitude |λ₂| of the transition matrix P. A smaller |λ₂| means faster convergence. For our three-state chain, convergence is rapid because the gap between λ₁ = 1 and the magnitudes of the remaining eigenvalues is substantial. Regardless of whether the system starts in S₁, S₂, or S₃, or any mixture thereof, it reaches the same equilibrium — a hallmark of regular Markov chains.
| Step n | q₁⁽ⁿ⁾ | q₂⁽ⁿ⁾ | q₃⁽ⁿ⁾ |
|---|---|---|---|
| 0 | 1.000 | 0.000 | 0.000 |
| 1 | 0.500 | 0.300 | 0.200 |
| 2 | 0.430 | 0.370 | 0.200 |
| 3 | 0.423 | 0.377 | 0.200 |
| 5 | 0.422 | 0.378 | 0.200 |
| ∞ (π) | 19/45 ≈ 0.422 | 17/45 ≈ 0.378 | 9/45 = 0.200 |
Distribution vector q⁽ⁿ⁾ converging to the steady-state vector π = (19/45, 17/45, 9/45)
SECTION 6
Worked Example — Finding the Steady-State Vector
We now compute the exact steady-state vector for the three-state chain introduced in Section 3. The transition matrix is:
TRANSITION MATRIX
Rows correspond to states S₁, S₂, S₃. Each row sums to 1.
Compute the Steady-State Vector π = (π₁, π₂, π₃)
- 1
Step 1 — Write πP = π as a system
Expanding the matrix equation πP = π with π = (π₁, π₂, π₃) gives three equations: (1) 0.5π₁ + 0.4π₂ + 0.3π₃ = π₁, (2) 0.3π₁ + 0.4π₂ + 0.5π₃ = π₂, (3) 0.2π₁ + 0.2π₂ + 0.2π₃ = π₃. Note that we multiply π (a row vector) on the right by P, so column j of P gives the coefficient of πⱼ in the resulting equation for state j. - 2
Step 2 — Rearrange each equation
Moving the right-hand side to the left: (1) −0.5π₁ + 0.4π₂ + 0.3π₃ = 0, (2) 0.3π₁ − 0.6π₂ + 0.5π₃ = 0, (3) 0.2π₁ + 0.2π₂ − 0.8π₃ = 0. These are the rows of π(P − I) = 0. Note that these three equations are linearly dependent — any two determine a one-dimensional solution space. - 3
Step 3 — Replace one equation with normalization
Drop equation (3) and replace it with the normalization constraint: π₁ + π₂ + π₃ = 1. The system is now: −0.5π₁ + 0.4π₂ + 0.3π₃ = 0, 0.3π₁ − 0.6π₂ + 0.5π₃ = 0, π₁ + π₂ + π₃ = 1. - 4
Step 4 — Solve by elimination
Multiply equations (1) and (2) through by 10 to clear decimals: (1) −5π₁ + 4π₂ + 3π₃ = 0, giving 5π₁ = 4π₂ + 3π₃. (2) 3π₁ − 6π₂ + 5π₃ = 0, giving 3π₁ = 6π₂ − 5π₃. Eliminate π₁ by multiplying equation (1) by 3 and equation (2) by 5: 15π₁ = 12π₂ + 9π₃ and 15π₁ = 30π₂ − 25π₃. Setting these equal: 12π₂ + 9π₃ = 30π₂ − 25π₃, so 34π₃ = 18π₂, giving π₂ = (17/9)π₃. Substituting back into 5π₁ = 4π₂ + 3π₃: 5π₁ = 4(17/9)π₃ + 3π₃ = (68/9 + 27/9)π₃ = (95/9)π₃, so π₁ = (19/9)π₃.π₁ = (19/9)π₃, π₂ = (17/9)π₃ - 5
Step 5 — Apply normalization
Substituting into π₁ + π₂ + π₃ = 1: (19/9)π₃ + (17/9)π₃ + (9/9)π₃ = 1 → (45/9)π₃ = 1 → 5π₃ = 1 → π₃ = 1/5 = 9/45. Then π₂ = (17/9)(9/45) = 17/45, and π₁ = (19/9)(9/45) = 19/45.π = (19/45, 17/45, 9/45) ≈ (0.4222, 0.3778, 0.2000) - 6
Step 6 — Verify
Check πP = π: First component: 0.5(19/45) + 0.4(17/45) + 0.3(9/45) = (9.5 + 6.8 + 2.7)/45 = 19/45 ✓. Second component: 0.3(19/45) + 0.4(17/45) + 0.5(9/45) = (5.7 + 6.8 + 4.5)/45 = 17/45 ✓. Third component: 0.2(19/45) + 0.2(17/45) + 0.2(9/45) = 0.2(45/45) = 9/45 ✓. The normalization also checks: 19/45 + 17/45 + 9/45 = 45/45 = 1 ✓.Verified: πP = π and π₁ + π₂ + π₃ = 1.
Steady-State Result
SECTION 7
Conditions, Strengths & Limitations
Not every Markov chain possesses a unique steady-state vector. The convergence theorem applies specifically to regular chains, and certain structural properties — periodicity, absorbing states, and reducibility — can prevent convergence to a single equilibrium. The following table summarizes the key conditions and their implications for steady-state analysis.
| Property | Definition | Impact on Steady State |
|---|---|---|
| Irreducible | Every state can reach every other state (possibly in multiple steps). | Necessary for a unique stationary distribution. If the chain is reducible, different communicating classes may have separate steady states. |
| Aperiodic | The GCD of return times to any state is 1; the chain does not cycle deterministically. | Required for Pⁿ to converge. A periodic chain has a stationary distribution but Pⁿ oscillates and does not settle to a fixed limit. |
| Regular | Some power Pⁿ has all positive entries (implies irreducible and aperiodic). For finite chains, a regular chain is also called ergodic. | Sufficient condition for unique steady state. Pⁿ converges to a rank-1 matrix with identical rows equal to π. |
| Absorbing states | A state i with pii = 1; once entered, the system never leaves. | The chain is not regular. Long-run behavior concentrates entirely in absorbing states; analyzed via absorbing chain theory instead. |
| Self-loops | Positive diagonal entries pii > 0 for at least one state. | Helpful: a self-loop on any state automatically breaks periodicity, simplifying verification of regularity. |
Key structural properties affecting steady-state existence and uniqueness
KEY TAKEAWAY
SECTION 8
Connections to Advanced Theory
The introductory steady-state concepts covered in this lesson provide a foundation for several more advanced topics in stochastic processes and linear algebra. Understanding how the basic theory extends will help contextualize the significance of the steady-state vector and clarify the assumptions we have been working under.
| Introductory Concept | Advanced Extension |
|---|---|
| Steady-state vector πP = π | Perron–Frobenius theory: guarantees the dominant eigenvalue of a positive stochastic matrix is 1 with a unique positive eigenvector. |
| Finite-state discrete-time chain | Continuous-time Markov chains (CTMCs): transitions governed by rate matrices Q instead of probability matrices P. Steady state satisfies πQ = 0. |
| Regularity ensures convergence | Mixing time analysis: quantifies how many steps are needed until the distribution is ε-close to π, using spectral gap (1 − |λ₂|). |
| Row-reduction to find π | Markov Chain Monte Carlo (MCMC): constructs chains whose steady state equals a target distribution, enabling sampling from complex probability models. |
| Absorbing chains excluded | Absorbing Markov chain theory: uses the fundamental matrix N = (I − Q)⁻¹ to compute expected absorption times and absorption probabilities. |
From introductory concepts to advanced theory
Perhaps the most celebrated modern application of steady-state theory is the PageRank algorithm. Google's founders modeled the World Wide Web as a directed graph with billions of nodes, treated a hypothetical random surfer as a Markov chain, and computed the steady-state vector of the resulting (modified) transition matrix. Each page's steady-state probability became its importance score — a direct, large-scale application of the concepts in this lesson. The modification (adding a "teleportation" probability) ensures the chain is regular, illustrating how real-world systems are engineered to satisfy the convergence theorem.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
A Markov chain models a system that transitions among a finite set of states according to fixed probabilities encoded in a transition matrix P. The Markov property — memorylessness — ensures that the next state depends only on the current state. When a chain is regular (some power Pⁿ has all positive entries), the distribution q⁽ⁿ⁾ converges to a unique steady-state vector π regardless of the initial distribution.
The steady-state vector is found by solving the system πP = π subject to the normalization constraint π₁ + π₂ + ⋯ + πₙ = 1, a problem reducible to standard row reduction from linear algebra. Regularity requires both irreducibility and aperiodicity; chains with absorbing states or periodic behavior require alternative analytical tools. The steady-state concept underpins applications from PageRank and market-share modeling to MCMC sampling, making it one of the most broadly applicable results in finite mathematics.