Analyze Markov chains, compute steady-state distributions, transition probabilities, absorption probabilities, and visualize state diagrams.
A Markov chain is a stochastic model describing a sequence of possible events where the probability of each event depends only on the state attained in the previous event. This memoryless property is called the Markov property.
Mathematical Definition:
A discrete-time Markov chain with state space S = {1, 2, ..., n} is defined by:
P(Xt+1 = j | Xt = i, Xt-1 = it-1, ..., X0 = i0) = P(Xt+1 = j | Xt = i) = pij
The transition probabilities pij form the transition matrix P, where each row sums to 1.
| Property | Definition | Implication |
|---|---|---|
| Irreducible | Every state can be reached from every other state | Single communicating class |
| Aperiodic | Greatest common divisor of return times is 1 | Convergence to steady-state |
| Regular | Some power of P has all positive entries | Unique steady-state distribution |
| Ergodic | Irreducible and aperiodic | Convergence to steady-state distribution |
| Absorbing State | State i with pii = 1 | Once entered, cannot leave |
| Transient State | Probability of eventual return < 1 | Eventually leaves and doesn't return |
| Recurrent State | Probability of eventual return = 1 | Returns infinitely often |
Chapman-Kolmogorov Equations: The n-step transition probabilities satisfy P(n+m) = P(n) P(m). This allows computation of multi-step transitions.
Steady-State Distribution: For an irreducible, aperiodic Markov chain, there exists a unique stationary distribution π satisfying πP = π and ∑πi = 1. This represents the long-term behavior.
Fundamental Matrix Theorem: For absorbing Markov chains, the matrix (I - Q)-1 (where Q is the submatrix of transient states) gives the expected number of visits to transient states before absorption.
Calculator Features: