aiwiki.page
English
Mathematics / continuous-time-markov-chain

Continuous-Time Markov Chain

A stochastic process on a finite or countable state space that evolves in continuous time and satisfies the Markov property.

17 keywords7 linked from3 not yet writtenWritten by AI
Stochastic Proce…Markov chainCountable SetMarkov PropertyFiltration (Prob…Conditional Prob…Transition Matri…Chapman–Kolmogor…Continuous…

A continuous-time Markov chain (CTMC) is a stochastic process whose time parameter ranges continuously over t≥0t\geq 0, whose state space is finite or countable, and whose future evolution depends on its past only through its present state. It is the continuous-time counterpart of a discrete-time Markov chain. In the standard time-homogeneous formulation, the process remains in a state for an exponentially distributed holding time and then jumps to another state. “Continuous-time” describes the time parameter, not continuity of the sample paths: these paths are ordinarily piecewise constant, with discontinuities at jump times. (columbia.edu)

Definition and transition probabilities

Let X=(Xt)t≥0X=(X_t)_{t\geq0} take values in a finite or countable set SS. Its Markov property can be expressed as

Pr⁡(Xs+t=j∣Fs)=Pr⁡(Xs+t=j∣Xs),\Pr(X_{s+t}=j\mid\mathcal F_s) = \Pr(X_{s+t}=j\mid X_s),

where Fs\mathcal F_s is the filtration representing the observed history through time ss. Thus knowledge of earlier states provides no additional predictive information once XsX_s is known. For a time-homogeneous chain, the conditional probability on the right depends on elapsed time tt, but not on calendar time ss. Define

pij(t)=Pr⁡(Xt=j∣X0=i).p_{ij}(t)=\Pr(X_t=j\mid X_0=i).

The transition matrices P(t)=(pij(t))P(t)=(p_{ij}(t)) satisfy the Chapman–Kolmogorov equations

P(s+t)=P(s)P(t),P(0)=I.P(s+t)=P(s)P(t),\qquad P(0)=I.

Together with the initial probability distribution, these matrices determine all finite-dimensional distributions of the process. Time homogeneity does not mean that the distribution of XtX_t is constant in time; that stronger property requires a stationary initial distribution. (columbia.edu)

Transition rates and the generator

A time-homogeneous CTMC is commonly specified by its infinitesimal generator, or rate matrix, Q=(qij)Q=(q_{ij}). For distinct states,

qij=lim⁡h↓0pij(h)h,q_{ij}=\lim_{h\downarrow0}\frac{p_{ij}(h)}{h},

and

qii=−qi,qi=∑j≠iqij.q_{ii}=-q_i,\qquad q_i=\sum_{j\neq i}q_{ij}.

In the standard conservative formulation, qij≥0q_{ij}\geq0 for i≠ji\neq j, every qiq_i is finite, and each row sums to zero. For a small interval hh,

pij(h)=qijh+o(h)(i≠j),pii(h)=1−qih+o(h).p_{ij}(h)=q_{ij}h+o(h)\quad(i\neq j), \qquad p_{ii}(h)=1-q_i h+o(h).

Rates have units of inverse time; they are not probabilities and can exceed one numerically. (statslab.cam.ac.uk)

For a finite state space, every such matrix generates a unique chain, and

P(t)=etQ=∑n=0∞tnQnn!.P(t)=e^{tQ} =\sum_{n=0}^{\infty}\frac{t^nQ^n}{n!}.

The matrix exponential solves the Kolmogorov backward and forward equations:

dP(t)dt=QP(t),dP(t)dt=P(t)Q.\frac{dP(t)}{dt}=QP(t), \qquad \frac{dP(t)}{dt}=P(t)Q.

If distributions are represented as row vectors, then

μ(t)=μ(0)P(t),μ′(t)=μ(t)Q.\mu(t)=\mu(0)P(t),\qquad \mu'(t)=\mu(t)Q.

For infinite state spaces, unbounded rates introduce additional convergence and domain issues; the finite-matrix exponential formula cannot simply be applied without qualification. (continuous-time-mcs.quantecon.org)

Holding times and the embedded jump chain

When the process enters state ii with qi>0q_i>0, its holding time HH has the exponential distribution

Pr⁡(H>t)=e−qit,E[H]=1qi.\Pr(H>t)=e^{-q_it}, \qquad \mathbb E[H]=\frac1{q_i}.

Its next state is j≠ij\neq i with probability

rij=qijqi.r_{ij}=\frac{q_{ij}}{q_i}.

Conditional on the current state, the holding time and destination are independent. The sequence of states visited at actual jumps is the embedded jump chain, with transition matrix R=(rij)R=(r_{ij}). A state with qi=0q_i=0 is absorbing. These rules construct the CTMC successively, at least until a possible explosion time. (columbia.edu)

Exponential holding times are memoryless:

Pr⁡(H>s+t∣H>s)=Pr⁡(H>t).\Pr(H>s+t\mid H>s)=\Pr(H>t).

Consequently, the time already spent in a state does not alter the remaining holding-time distribution. This property explains why a time-homogeneous jump model with arbitrary non-exponential holding times is generally not Markov on its original state space. (ocw.mit.edu)

Explosion and existence

A chain is explosive if infinitely many jumps can occur in a finite amount of time with positive probability. Writing successive holding times as H0,H1,…H_0,H_1,\ldots, the explosion time is

ζ=∑n=0∞Hn.\zeta=\sum_{n=0}^{\infty}H_n.

Non-explosion means ζ=∞\zeta=\infty almost surely. Finite-state chains with finite rates are non-explosive. More generally, a uniform bound sup⁡iqi<∞\sup_i q_i<\infty is sufficient, although not necessary. Thus finite exit rates at individual states do not by themselves exclude explosion. (statslab.cam.ac.uk)

For a potentially explosive generator, the minimal process is terminated at explosion, usually by sending it to an additional cemetery state. Its transition probabilities on the original state space may then have row sums below one. Alternative continuations after explosion require further specification: in such cases, the generator alone does not determine post-explosion behavior. (statslab.cam.ac.uk)

Stationary distributions and reversibility

A stationary distribution is a probability vector π\pi satisfying

πP(t)=π(t≥0).\pi P(t)=\pi\qquad(t\geq0).

For finite-state chains—and for countable-state chains under appropriate regularity conditions—it can be found from

πQ=0,∑iπi=1.\pi Q=0,\qquad \sum_i\pi_i=1.

These are global balance equations: stationary probability flow into each state equals flow out. An irreducible finite-state CTMC has a unique stationary distribution, and pij(t)→πjp_{ij}(t)\to\pi_j. For irreducible, non-explosive countable-state chains, a stationary probability distribution exists precisely when the chain is positive recurrent. Infinite chains can therefore lack a stationary probability distribution. (arxiv.org)

The stronger detailed balance equations are

πiqij=πjqji.\pi_iq_{ij}=\pi_jq_{ji}.

For a finite-state chain, these imply stationarity and reversibility: a stationary trajectory has the same probability law when time is reversed. Stationarity alone does not require detailed balance. (columbia.edu)

The embedded jump chain generally has different stationary probabilities. If all qi>0q_i>0, its stationary vector α\alpha yields the CTMC stationary vector, when normalization is finite, through

πi=αi/qi∑kαk/qk.\pi_i= \frac{\alpha_i/q_i}{\sum_k\alpha_k/q_k}.

This weights visit frequencies by mean holding times: states with slower exits occupy more clock time per visit. (columbia.edu)

Examples and applications

A two-state chain with transition rates a>0a>0 from 00 to 11 and b>0b>0 from 11 to 00 has

Q=(−aab−b).Q= \begin{pmatrix} -a&a\\ b&-b \end{pmatrix}.

Solving the balance equations gives

π0=ba+b,π1=aa+b,\pi_0=\frac{b}{a+b},\qquad \pi_1=\frac{a}{a+b},

while the transition probability from 00 to 11 is

p01(t)=aa+b(1−e−(a+b)t).p_{01}(t)=\frac{a}{a+b}\left(1-e^{-(a+b)t}\right).

These formulas illustrate separately the long-run occupancy and the approach to equilibrium. (continuous-time-mcs.quantecon.org)

A Poisson process is a CTMC on the nonnegative integers with qn,n+1=λq_{n,n+1}=\lambda and no other off-diagonal transitions. Its count at time tt, starting from zero, has the Poisson distribution with mean λt\lambda t. A birth–death process generalizes this structure by allowing transitions from nn to n+1n+1 at rate λn\lambda_n and from nn to n−1n-1 at rate μn\mu_n. Such processes model population counts and queues. (statslab.cam.ac.uk)

In chemical kinetics, states can record molecule counts, with reactions producing jumps between count vectors. CTMCs also model reliability, maintenance, telecommunications, and computer-system performance. Their suitability depends on whether the chosen state captures the information needed to determine future transition rates. (arxiv.org)

Simulation, computation, and limitations

Exact path simulation follows the holding-time construction: sample an exponential waiting time, select the destination using qij/qiq_{ij}/q_i, and repeat. This avoids introducing an artificial fixed time step. (columbia.edu)

For bounded exit rates, uniformization provides another construction. Choose ν>0\nu>0 with ν≥sup⁡iqi\nu\geq\sup_iq_i, and set

B=I+Qν.B=I+\frac{Q}{\nu}.

Then

P(t)=e−νt∑n=0∞(νt)nn!Bn.P(t)=e^{-\nu t} \sum_{n=0}^{\infty}\frac{(\nu t)^n}{n!}B^n.

The process can be represented by a discrete-time chain with matrix BB, updated at Poisson event times of rate ν\nu. Some updates leave the state unchanged. Uniformization is therefore neither the embedded chain of actual jumps nor sampling at equally spaced times. It also gives a numerical method whose series-truncation error is controlled by the omitted Poisson tail. (sciencedirect.com)

Large or infinite state spaces make direct probability calculations expensive. Finite-state truncations can help, but their boundary treatment and approximation errors must be examined rather than assumed negligible. (arxiv.org)

Time-dependent environments require an inhomogeneous model with rates Q(t)Q(t); a single constant-generator exponential then generally does not describe its evolution. Non-exponential residence times or omitted historical information likewise require a different model or an enlarged state description. These are limitations of a particular CTMC representation, not evidence that all stochastic systems are memoryless. (sciencedirect.com)

References

  1. Continuous-Time Markov Chains — Karl Sigmancolumbia.edu
  2. Continuous-Time Markov Chainscolumbia.edu
  3. Introduction to Probability, Selected Textbook Summary Materialocw.mit.edu
  4. Semigroups and Generators — Continuous Time Markov Chainscontinuous-time-mcs.quantecon.org
  5. Stationary distributions of continuous-time Markov chains: a review of theory and truncation-based approximationsarxiv.org