Continuous-Time Markov Chains

Research Depth 84 in the knowledge graph I know this Set as goal
Unlocks 1 downstream topic
ctmc generator-matrix transition-rates exponential-holding-times

Core Idea

A continuous-time Markov chain (CTMC) is a Markov process on a countable state space where the process holds in each state for an Exponential(qᵢ) time, then jumps to state j with probability qᵢⱼ/qᵢ. The generator matrix Q (with off-diagonal entries qᵢⱼ ≥ 0 and rows summing to zero) encodes the dynamics. The forward equation dp/dt = pQ and backward equation dp/dt = Qp govern the evolution of transition probabilities, and the stationary distribution π satisfies πQ = 0.

Explainer

A continuous-time Markov chain (CTMC) extends discrete-time Markov chains to continuous time. The process lives on a countable state space S and evolves by holding in the current state i for a random Exponential(qᵢ) time, then jumping to a new state j ≠ i with probability qᵢⱼ/qᵢ, where qᵢ = Σ_{j≠i} qᵢⱼ is the total exit rate. The exponential holding time is not a choice but a necessity: the memoryless property of the exponential is the only way to ensure the Markov property holds in continuous time.

The dynamics are encoded in the generator matrix (or Q-matrix) Q, where the off-diagonal entry qᵢⱼ ≥ 0 is the rate of transitioning from i to j, and the diagonal entry qᵢᵢ = -Σ_{j≠i} qᵢⱼ makes each row sum to zero. The transition probability matrix P(t) = e^{Qt} satisfies the Kolmogorov equations: forward dP/dt = P(t)Q and backward dP/dt = QP(t). For finite state spaces, these are systems of linear ODEs with the matrix exponential as the solution. The generator Q is the continuous-time analogue of the transition matrix P - I from discrete time: it describes instantaneous rates rather than one-step probabilities.

The stationary distribution π satisfies πQ = 0 with Σπᵢ = 1 — the continuous-time analogue of πP = π. For irreducible CTMCs on finite state spaces, a unique stationary distribution always exists. For birth-death processes (where transitions occur only between adjacent states), the stationary distribution has a product-form solution: πₙ = π₀ · (λ₀λ₁...λₙ₋₁)/(μ₁μ₂...μₙ), where λᵢ are birth rates and μᵢ are death rates. This is the foundation of queuing theory (M/M/1, M/M/c, and related queues) and population dynamics.

CTMCs are connected to both discrete-time chains and diffusion processes. The embedded chain Yₙ (the sequence of states visited, ignoring holding times) is a discrete-time Markov chain with transition matrix pᵢⱼ = qᵢⱼ/qᵢ for j ≠ i. The uniformization technique converts a CTMC into a discrete-time chain by embedding it in a Poisson process with rate q ≥ max qᵢ: the chain jumps at every Poisson event, possibly staying in the same state. In the other direction, when the state space is taken to the continuum and transition rates scale appropriately, CTMCs converge to diffusion processes — the Kolmogorov forward equation for CTMCs becomes the Fokker-Planck equation for diffusions.

Practice Questions 3 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionFundamental Theorem of Calculus Part 1Fundamental Theorem of Calculus Part 2U-SubstitutionIntegration by PartsSeparable Differential EquationsIntegrating Factor Method for First-Order Linear ODEsFirst-Order Linear Ordinary Differential EquationsSecond-Order Linear Homogeneous Differential EquationsCharacteristic Equation Method for Linear ODEsComplex Roots and Oscillatory SolutionsSpring-Mass Systems and Mechanical VibrationsResonance and Damping in Forced VibrationsRLC Circuit Applications of Differential EquationsIntroduction to Differential EquationsContinuous-Time Markov Chains

Longest path: 85 steps · 392 total prerequisite topics

Prerequisites (3)

Leads To (1)