ArticleslgStudy

science

Continuous-time Markov chain

Continuous-time Markov chain is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Continuous-time Markov chain rather than just read about it. In short: A continuous-time Markov chain (CTMC) is a continuous stochastic process in which, for each state, the process will change state according to an exponential random variable and then move to a different state as specified by the probabilities of a stochastic matrix. An equivalent formulation describes the process as changing state according to the least value of a set of exponential random variables, one for each pos…

Continuous-time Markov chain — main illustration
Continuous-time Markov chain — illustration

Key takeaways

  • Continuous-time Markov chain belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Continuous-time Markov chain to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Continuous-time Markov chain from memory before moving on to harder problems.

Reference excerpt

A continuous-time Markov chain (CTMC) is a continuous stochastic process in which, for each state, the process will change state according to an exponential random variable and then move to a different state as specified by the probabilities of a stochastic matrix. An equivalent formulation describes the process as changing state according to the least value of a set of exponential random variables, one for each possible state it can move to, with the parameters determined by the current state. An example of a CTMC with three states {0,1,2} is as follows: the process makes a transition after the amount of time specified by the holding time—an exponential random variable Ei, where i is its current state. Each random variable is independent and such that E0∼Exp(6), E1∼Exp(12) and E2∼Exp(18). When a transition is to be made, the process moves according to the jump chain, a discrete-time Markov chain with stochastic matrix:

[012121302356160]. Equivalently, by the property of competing exponentials, this CTMC changes state from state i according to the minimum of two random variables, which are independent and such that Ei,j∼Exp(qi,j) for i≠j where the parameters are given by the Q-matrix Q=(qi,j)

[−6334−128153−18]. Each non-diagonal entry qi,j can be computed as the probability that the jump chain moves from state i to state j, divided by the expected holding time of state i. The diagonal entries are chosen so that each row sums to 0. A CTMC satisfies the Markov property, that its behavior depends only on its current state and not on its past behavior, due to the memorylessness of the exponential distribution and of discrete-time Markov chains.

Definition Let (Ω,𝒜,Pr⁡) be a probability space, let S be a countable nonempty set, and let T=ℝ≥0 (T for "time"). Equip S with the discrete metric, so that we can make sense of right continuity of functions ℝ≥0→S. A continuous-time Markov chain is defined by:

A probability vector λ on S (which below we will interpret as the initial distribution of the Markov chain), and A rate matrix Q on S, that is, a function Q:S2→ℝ such that for all distinct i,j∈S,0≤qi,j, for all i∈S, ∑j∈S:j≠iqi,j=−qi,i. (Even if S is infinite, this sum is a priori well defined (possibly equalling +∞) because each term appearing in the sum is nonnegative. A posteriori, we know the sum must also be finite (not equal to +∞), since we're assuming it's equal to −qi,i and we've assumed Q is real valued. Some authors instead use a definition that's word-for-word the same except for a modified stipulation Q:S2→ℝ∪{−∞}, and say Q is stable or totally stable to mean range⁡Q⊆ℝ, i.e., every entry is real valued.) Note that the row sums of Q are 0: ∀i∈S, ∑j∈Sqi,j=0, or more succinctly, Q⋅1=0. This situation contrasts with the situation for discrete-time Markov chains, where all row sums of the transition matrix equal unity. Now, let X:T→SΩ such that ∀t∈T X(t) is (𝒜,𝒫(S))-measurable. There are three equivalent ways to define X being Markov with initial distribution λ and rate matrix Q: via transition probabilities or via the jump chain and holding times. As a prelude to a transition-probability definition, we first motivate the definition of a regular rate matrix. We will use the transition-rate matrix Q to specify the dynamics of the Markov chain by means of generating a collection of transition matrices P(t) on S (t∈ℝ≥0), via the following theorem.

We say Q is regular to mean that we do have uniqueness for the above system, i.e., that there exists exactly one solution. We say Q is irregular to mean Q is not regular. If S is finite, then there is exactly one solution, namely P=(etQ)t∈T, and hence Q is regular. Otherwise, S is infinite, and there exist irregular transition-rate matrices on S. If Q is regular, then for the unique solution P, for each t∈T, P(t) will be a stochastic matrix. We will assume Q is regular from the beginning of the following subsection up through the end of this section, even though it is conventional to not include this assumption. (Note for the expert: thus we are not defining continuous-time Markov chains in general but only non-explosive continuous-time Markov chains.)

Transition-probability definition Let P be the (unique) solution of the system (0). (Uniqueness guaranteed by our assumption that Q is regular.) We say X is Markov with initial distribution λ and rate matrix Q to mean: for any nonnegative integer n≥0, for all t0,…,tn+1∈T such that t0<⋯<tn+1, for all i0,…,in+1∈I,

Using induction and the fact that ∀A,B∈𝒜 Pr⁡(B)≠0→Pr⁡(A∩B)=Pr⁡(A∣B)Pr⁡(B), we can show the equivalence of the above statement containing (1) and the following statement: for all i∈I, Pr⁡(X0=i)=λi and for any nonnegative integer n≥0, for all t0,…,tn+1∈T such that t0<⋯<tn+1, for all i0,…,in+1∈I such that 0<Pr⁡(X0=i0,…,Xtn=in) (it follows that 0<Pr⁡(Xtn=in)),

It follows from continuity of the functions (P(t)i,j)t∈T (i,j∈S) that the trajectory (Xt(ω))t∈T is almost surely right continuous (with respect to the discrete metric on S): there exists a Pr-null set N such that {ω∈Ω:(Xt(ω))t∈T is right continuous}⊆N.

Jump-chain/holding-time definition

Sequences associated to a right-continuous function Let f:T→S be right continuous (when we equip S with the discrete metric). Define

h=h(f)=(inf⁡{u∈(0,+∞):f(t+u)≠f(t)})t∈T)∪{+∞,0}, let

H=H(f)=(h∘n0)n∈ℤ≥0 be the holding-time sequence associated to f, choose s∈S, and let

y=y(f)=({f(∑k∈nHk) if ∑k∈nHk<+∞,s else)n∈ω be "the state sequence" associated to f.

Definition of the jump matrix Π The jump matrix Π, alternatively written Π(Q) if we wish to emphasize the dependence on Q, is the matrix Π=([i=j])i∈Z,j∈S∪⋃i∈S∖Z({((i,j),−qi,j/qi,i):j∈S∖{i}}∪{((i,i),0)}), where Z=Z(Q)={k∈S:qk,k=0} is the zero set of the function (qk,k)k∈S.

Jump-chain/holding-time property We say X is Markov with initial distribution λ and rate matrix Q to mean: the trajectories of X are almost surely right continuous, let f be a modification of X to have (everywhere) right-continuous trajectories, ∑n∈ℤ≥0H(f(ω))n=+∞ almost surely (note to experts: this condition says X is non-explosive), the state sequence y(f(ω)) is a discrete-time Markov chain with initial distribution λ (jump-chain property) and transition matrix Π(Q), and ∀n∈ℤ≥0 ∀B∈ℬ(ℝ≥0) Pr⁡(Hn(f)∈B)=Exp⁡(−qYn,Yn)(B) (holding-time property).

Infinitesimal definition

… excerpt ends here. Continue reading the full article.

Illustrations

Continuous-time Markov chain: Directed graph representation of a continuous-time Markov chain describing the state of financial markets (Note: numbers are made-up.)
Directed graph representation of a continuous-time Markov chain describing the state of financial markets (Note: numbers are made-up.)
Continuous-time Markov chain: Transition graph with transition probabilities, exemplary for the states 1, 5, 6 and 8. There is a bidirectional secret passage between states 2 and 8.
Transition graph with transition probabilities, exemplary for the states 1, 5, 6 and 8. There is a bidirectional secret passage between states 2 and 8.

Worked examples

Example 1 — a first encounter with Continuous-time Markov chain

Start with the simplest possible case. Write down what Continuous-time Markov chain claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Continuous-time Markov chain before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Continuous-time Markov chain ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Continuous-time Markov chain

In research
Continuous-time Markov chain appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Continuous-time Markov chain in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Continuous-time Markov chain is common in secondary-school and first-year university syllabi. It links to neighbouring topics Markov models, Markov processes, so understanding it makes those chapters shorter.
In everyday life
Look for Continuous-time Markov chain outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Continuous-time Markov chain” →

How to study Continuous-time Markov chain in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Continuous-time Markov chain means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Continuous-time Markov chain out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Continuous-time Markov chain in simple terms?

A continuous-time Markov chain (CTMC) is a continuous stochastic process in which, for each state, the process will change state according to an exponential random variable and then move to a different state as specified by the probabilities of a stochastic matrix. An equivalent formulation describ…

Why does Continuous-time Markov chain matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Continuous-time Markov chain?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Continuous-time Markov chain.

Tags

  • Markov models
  • Markov processes

Keep exploring