A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Markov Chains

Research Depth 95 in the knowledge graph ☐ I know this ☆ Set as goal
157topics build on this
522prerequisites beneath it
See this on the map →
Conditional ExpectationIndependence of Sigma-Algebras→→Computational Simulation of Social SystemsContinuous-Time Markov Chains+8 more
markov-chains stochastic-processes probability

Core Idea

A Markov chain {Xₙ} satisfies the Markov property: P(Xₙ₊₁ ∈ A | Xₙ = x, Xₙ₋₁, ..., X₀) = P(Xₙ₊₁ ∈ A | Xₙ = x). The transition kernel P(x, A) = P(Xₙ₊₁ ∈ A | Xₙ = x) fully specifies the chain. Markov chains are widely used to model random processes with limited dependence on history.

Explainer

A stochastic process is a sequence of random variables indexed by time: X₀, X₁, X₂, ... In general, predicting Xₙ₊₁ might require knowledge of the entire history X₀, ..., Xₙ — an unwieldy amount of information that grows without bound. A Markov chain is the simplest and most important class of stochastic processes, defined by one restriction: the conditional distribution of Xₙ₊₁ given the entire history depends only on the current state Xₙ. Formally, P(Xₙ₊₁ ∈ A | X₀, ..., Xₙ) = P(Xₙ₊₁ ∈ A | Xₙ) almost surely. The past is irrelevant once you know the present.

This memoryless structure connects directly to your prerequisite on conditional expectation. The Markov property is a statement about conditional distributions: conditioning on the full past σ-algebra σ(X₀, ..., Xₙ) gives the same result as conditioning on the current state σ(Xₙ). The independence ideas from σ-algebra theory make this precise — the future is conditionally independent of the remote past given the present. This collapsing of history into a single state variable is what makes Markov chains analytically tractable: everything about the future is encoded in where you are now.

The transition kernel P(x, A) = P(Xₙ₊₁ ∈ A | Xₙ = x) is the central object of the theory. For each fixed x, P(x, ·) is a probability measure on the state space; for each measurable set A, P(·, A) is a measurable function. For countable state spaces, the kernel reduces to a transition matrix Pᵢⱼ = P(Xₙ₊₁ = j | Xₙ = i), and n-step transition probabilities are just the matrix power Pⁿ. For general state spaces, the n-step kernel is defined by the Chapman-Kolmogorov equations: Pⁿ(x, A) = ∫ Pⁿ⁻¹(y, A) P(x, dy).

Time-homogeneity — the assumption that P(x, A) does not depend on the time index n — is a separate condition that is often imposed but not part of the bare definition. Most classical results assume it: with a fixed transition kernel, the long-run behavior is determined by the spectral properties of the transition operator. A stationary distribution π satisfies π(A) = ∫ P(x, A) π(dx) — it is a fixed point of the dynamics. Whether such a distribution exists and is unique (and whether the chain converges to it from any starting point) are the central questions of Markov chain ergodic theory, which you will explore when you study stationary distributions.

The two topics that build on this — stationary distributions and martingales — represent the two main directions of Markov chain theory. Stationary distributions answer the long-run question: where does the chain spend its time? Martingales answer a different question about processes with conserved conditional expectations, and many natural functions of Markov chains (hitting times, optional stopping) are martingales. Markov chains are the gateway to all of modern stochastic processes, appearing in queuing theory, statistical physics, Bayesian computation (MCMC), and reinforcement learning.

Practice Questions 3 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Weak Law of Large Numbers → Probability Axioms and Rules → Conditional Probability → Conditional Distributions → Conditional Expectation → Markov Chains

Longest path: 96 steps · 522 total prerequisite topics

Prerequisites (2)

Leads To (10)