Rate graph for the generator \(Q=\begin{pmatrix}-5&4&1\\2&-10&8\\3&3&-6\end{pmatrix}\): all six off-diagonal rates are positive, so the chain is irreducible.
Continuous-Time Markov Chains (CTMC)
This lecture note is still being edited: the text may contain typos, inaccuracies, and locally unpolished spots. If you find something, please let the author know (contact details on the course page).
1 General information
1.1 The Markov property
Let \(\mathcal{X}\) be an at most countable set.
The terminology repeats the discrete case.
The set \(\mathcal{X}\) is called the phase space or state space of the Markov chain;
The conditional probabilities
\[ \mathbb {P}\left(X_{t}=j \mid X_{s}=i\right) \]
are called the transition probabilities of the Markov chain.
From the transition probabilities one can build transition probability matrices from time point \(s\) to time point \(t\):
\[ \mathbf{P}_{s \to t} := \left( \mathbb {P}\left(X_{t}=j \mid X_{s}=i\right) \right)_{i, j \in \mathcal{X}}, \]
where \(i\) is the row index and \(j\) is the column index of the matrix.
\(\Pi^{(0)} = \left(\mathbb {P}\left(X_0 = j\right), j \in \mathcal{X}\right)\) is the initial distribution of the chain.
\(\Pi^{(t)} = \left(\mathbb {P}\left(X_{t}=j\right), j \in \mathcal{X}\right)\) is the distribution of the chain at time \(t \geqslant 0\).
As in the discrete case, the finite-dimensional distributions are uniquely determined by the transition probabilities and the initial distribution. The properties of the transition probabilities remain the same.
As in the discrete case, the properties listed are not only necessary but also sufficient for the existence of a Markov chain.
A CTMC is called homogeneous if
\[ \mathbf{P}_{s \to t} = \mathbf{P}_{s + u \to t + u} \]
holds for any \(0 \leq s \leq t\), \(0 \leq u\).
From now on, unless stated otherwise, we consider only homogeneous CTMCs.
1.2 Standard stochastic semigroup
For a homogeneous CTMC we have
\[ \mathbf{P}_{s \to t} = \mathbf{P}_{0 \to t-s} \]
i.e. all transition probabilities are determined by the transition probabilities out of zero. As in the discrete case, let us introduce the notation
\[ \mathbf{P}_{t} := \mathbf{P}_{0 \to t} \]
For a homogeneous DTMC, the transition probabilities were completely determined by a single stochastic matrix \(\mathbf{P}\) of one-step transitions. In the continuous case, unlike discrete time, the distribution of a homogeneous Markov chain is determined not by a single matrix, but by an entire continuum of stochastic matrices \(\mathbf{P}_t, t \geq 0\). Moreover, we have
\(\mathbf{P}_0 = \mathbf{E}\);
\(\mathbf{P}_{t + s} = \mathbf{P}_{t} \cdot \mathbf{P}_{s}\) (the Chapman-Kolmogorov equations)
A family of stochastic matrices satisfying these properties is called a stochastic semigroup.
For any stochastic semigroup of (stochastic) matrices one can construct a homogeneous CTMC.
We have already imposed the homogeneity condition on our CTMC. In the discrete case we stopped there: the homogeneity condition turned out to be sufficient to obtain a fairly rich theory, characterize limiting behavior, and so on. In the continuous case, homogeneity alone is not enough, since some pathological examples arise. Let us look at them.
The chain considered in the example can, in an arbitrarily small amount of time, make arbitrarily many jumps (from state \(0\) to \(1\) and back). To rule this out, let us impose on the stochastic semigroup the property of continuity at zero:
\[ \mathbf{P}_{t} \xrightarrow [t \to 0+]{} \underbrace{\mathbf{P}_0}_{= \mathbf{E}} \]
By this we mean the entrywise limit: for any \(i,j \in \mathcal{X}\),
\[ \begin{align} \underbrace{\left(\mathbf{P}_t\right)_{ij}}_{= \mathbb {P}_{i}\left(X_{t} = j\right)} & \xrightarrow [t \to 0+]{} \\ & \quad \underbrace{\left(\mathbf{P}_{0}\right)_{ij}}_{= \left(\mathbf{E}\right)_{ij} = \delta _{i}^{j}} \end{align} \]
A stochastic semigroup \((\mathbf{P}_t, t \geq 0)\) (and the corresponding CTMC) possessing continuity at zero is called standard. From now on, unless stated otherwise, we consider only standard homogeneous CTMCs.
1.3 The generator (\(Q\)-matrix) of a CTMC
The following result, proved by Kolmogorov, is far from obvious: it turns out that if a stochastic semigroup is (entrywise) continuous at zero, then it is differentiable at zero.
See the proof in (ΠΡΠ»ΠΈΠ½ΡΠΊΠΈΠΉ and Π¨ΠΈΡΡΠ΅Π² 2005, chap. 4, Β§ 16, Thm. 9).
The matrix \(\mathbf{Q}\) can be written concisely as
\[ \begin{align} & \qquad \qquad \qquad \qquad \qquad \qquad \mathbf{Q} = \mathbf{P}'_0 \\ & \text{(meaning the entrywise right derivative)} \end{align} \]
It is called the infinitesimal matrix, the generator, or the transition rate matrix of the CTMC \((X_t, t \geq 0)\) or of its stochastic semigroup \((\mathbf{P}_{t}, t \geq 0)\) (after all, \(\mathbf{Q}\) does not depend on the initial distribution of the chain, only on the transition probabilities, i.e. on the stochastic semigroup). From the lemma we know that the diagonal of \(\mathbf{Q}\) consists of nonpositive numbers, possibly even \(-\infty\). Off the diagonal are nonnegative (finite) numbers. The name generator is given to the matrix \(\mathbf{Q}\) because it can be used, in most cases, to uniquely recover the stochastic semigroup. Looking ahead, the formula is:
\[ \mathbf{P}_t = e^{\mathbf{Q}t} := \sum _{k=0}^{\infty }\frac{1}{k!}t^k \mathbf{Q}^k \]
Examples of generators:
\[ \begin{pmatrix} -1 & 1 \\ 3 & -3 \end{pmatrix}, \qquad \begin{pmatrix} -5 & 4 & 1 \\ 2 & -10 & 8 \\ 3 & 3 & -6 \end{pmatrix}, \qquad \begin{pmatrix} -14& 7 & 5 & 2\\ 0 & 0 & 0 & 0 \\ 3 & 7 & -10 & 0 \\ 1 & 1 & 1 & -3 \end{pmatrix} \tag{1}\]
Consider, for example, the 3rd generator. A CTMC with this generator (more precisely, one of its possible modifications with cΓ dlΓ g paths) behaves as follows:
If the chain finds itself in state \(i\), it stays in this state for a random time, distributed as \(\operatorname {Exp}(-\mathbf{Q}_{ii})\). For example, if it is in state \(1\), it will wait a time \(\operatorname {Exp}(14)\).
When the waiting time in state \(i\) ends, the chain needs to jump to a new state. It picks the new state \(j\) at random, independently of past behavior, jumping to a given state with probability proportional to \(\mathbf{Q}_{ij}\). For example, if the chain was in state \(i=1\), it jumps from there to state \(2\) with probability \(\frac{7}{14}\), to state \(3\) with probability \(\frac{5}{14}\), and to state \(4\) with probability \(\frac{2}{14}\).
A special case is a state with a zero diagonal entry: for the 3rd generator \(\mathbf{Q}_{22} = 0\), i.e. the waiting time in state \(2\) is distributed as \(\operatorname {Exp}(0)\), which it is natural to interpret as \(+\infty\): once the chain enters state \(2\), it stays there forever (an absorbing state).
The Poisson process is simultaneously a renewal process and a Markov chain. A natural question: is every renewal process Markovian?
We call a \(Q\)-matrix any square matrix \(\mathbf{Q}\) of dimension \(\left|\mathcal{X}\right| \times \left|\mathcal{X}\right|\) such that
all diagonal entries are in \([-\infty , 0]\);
all off-diagonal entries are in \([0,+\infty )\);
\(\sum_{j \neq i}\mathbf{Q}_{ij} \leq -\mathbf{Q}_{ii}\) for every \(i \in \mathcal{X}\).
If all entries of the \(Q\)-matrix (namely, the diagonal entries) are finite and equality holds in the last item, i.e.
\[ \sum _{j \neq i}\mathbf{Q}_{ij} = -\mathbf{Q}_{ii} \quad \text{ for every } i \in \mathcal{X} \]
then such a \(Q\)-matrix is called conservative.
The generator of any CTMC is a \(Q\)-matrix, and in the case of finitely many states it will always be conservative. In the infinite case it can turn out to be non-conservative (and the diagonal may even contain \(-\infty\) β such states are called instantaneous); in our course we will not consider such chains, and details can be found in (ΠΡΠ»ΠΈΠ½ΡΠΊΠΈΠΉ and Π¨ΠΈΡΡΠ΅Π² 2005, chap. 4, Β§ 16) and (Liggett 2010, sec. 2.4).
As in the discrete case, it is convenient to depict a chain as a directed graph: vertices are states, edges are nonzero off-diagonal rates \(\mathbf{Q}_{ij} > 0\). Such a graph is called a rate graph. Note two differences from the transition probability graph of a DTMC:
the rate graph has no loops: the diagonal of a conservative \(Q\)-matrix is recovered from the off-diagonal entries (\(\mathbf{Q}_{ii} = -\sum_{j \neq i}\mathbf{Q}_{ij}\)), so it is not drawn;
the edge weights are not probabilities but rates: they are nonnegative, but can exceed \(1\), and the sum of weights of outgoing edges can be anything.
For example, here is the rate graph for the 2nd generator from Equation 1:
1.4 Distribution of the chain vs. stochastic semigroup vs. generator
We are interested in the relationship between the distribution of the process, the stochastic semigroup, and the generator for a standard homogeneous CTMC. Can one uniquely recover one object given another? The stochastic semigroup is uniquely determined by the distribution of a homogeneous chain (it is simply the transition probabilities out of time zero), and the generator is uniquely determined (given standardness) by the stochastic semigroup (see lemma Lemma 2). Can one go in the other direction?
We have already stated a theorem (see Theorem 1) on constructing a chain from an initial distribution and transition probabilities in the general case. Let us state it for the homogeneous case.
The distribution of the chain and the stochastic semigroup (together with the initial distribution) uniquely determine each other. But what about the generator (in the standard case)? It turns out that in the finite case the generator must be conservative, and the (standard) stochastic semigroup is uniquely recovered from it by the formula
\[ \mathbf{P}_t = e^{\mathbf{Q}t}, \quad t \geq 0 \]
In the infinite case things are not so simple: the generator does not always uniquely determine the stochastic semigroup (and correspondingly the process). In other words, for one and the same generator one can propose several chains with that given generator but with different distributions, different transition probabilities. The reason is the phenomenon of explosion; see the details in the section on countably many states below.
2 CTMCs with a finite number of states
Throughout this section we assume \(\mathcal{X}\) to be a finite set. As in the discrete-time case, the theory becomes much simpler in continuous time when the state space is finite.
2.1 Conservativeness of the generator
We know that the sum of any row of \(\mathbf{P}_t\) equals \(1\). Consequently, since for finite sums a limit and a sum can be freely interchanged, the sum of the row-wise derivatives at zero (i.e. the sum of a row of \(\mathbf{Q}\)) equals \(0\): for arbitrary \(i \in \mathcal{X}\) we have
\[ \begin{align} \sum _{j=1}^{\left|\mathcal{X}\right|} \mathbf{Q}_{ij} & = \\ & \quad \sum _{j=1}^{\left|\mathcal{X}\right|} \lim _{t \to 0+} \frac{\left(\mathbf{P}_t\right)_{ij} - \left(\mathbf{P}_0\right)_{ij}}{t} = \\ & = \lim _{t \to 0+} \sum _{j=1}^{\left|\mathcal{X}\right|} \frac{\left(\mathbf{P}_t\right)_{ij} - \left(\mathbf{P}_0\right)_{ij}}{t} = \\ & = \lim _{t \to 0+} \frac{1 - 1}{t} = 0 \end{align} \]
We know (see lemma Lemma 2) that off the diagonal, the entries of the matrix \(\mathbf{Q}\) are nonnegative and finite. Hence the diagonal entry is also a finite number.
2.2 Kolmogorovβs forward and backward equations: recovering the stochastic semigroup from the generator
The matrix \(\mathbf{Q}\) completely determines the entire stochastic semigroup. From it one can recover the transition probabilities using Kolmogorovβs differential equations.
In the theorem, the entrywise derivative is meant. In other words, for any \(i,j \in \mathcal{X}\) we have
\[ \frac{d}{dt} \left(\mathbf{P}_t\right)_{ij} = \left(\mathbf{Q} \cdot \mathbf{P}_t\right)_{ij} = \left(\mathbf{P}_t \cdot \mathbf{Q}\right)_{ij} \]
for any \(t \geq 0\).
The forward and backward equations form a system of differential equations. They are named this way based on the position of the generator. In the forward equations the generator stands βin backβ (on the right): \(\mathbf{P}_t \cdot \mathbf{Q}\). In the backward equations, correspondingly, βin frontβ (on the left): \(\mathbf{Q} \cdot \mathbf{P}_t\).
Kolmogorovβs equations allow us to derive equations for the distribution of the chain \(\Pi^{(t)}\) at an arbitrary time \(t \geq 0\) (recall that we understand \(\Pi^{(t)}\) as a row vector).
2.3 A digression: properties of the exponential distribution
Recall (see the chapter on renewal processes): the exponential distribution is the unique absolutely continuous distribution on \([0, +\infty )\) with the memoryless property: for \(\xi \sim \operatorname {Exp}(\lambda )\) and \(s, t > 0\),
\[ \mathbb {P}\left(\xi > t + s \mid \xi > s\right) = \mathbb {P}\left(\xi > t\right) \]
This is exactly why the exponential distribution inevitably arises in continuous-time Markov chains: the time the chain will spend in its current state must not depend on how long it has already spent there (otherwise the Markov property would be violated). Let us state two more properties that will be needed below.
For more on these properties: (Norris 1997, sec. 2.3).
2.4 The jump-and-hold construction: building a cΓ dlΓ g version of a CTMC
Let us return to the informal description of the chainβs behavior given after the examples of generators (see Equation 1), and state it carefully. Intuition: the Markov property implies that
the time until the next jump (the future) does not depend on the time elapsed since the last jump (the past) \(\; \Rightarrow \;\) waiting times are memoryless \(\; \Rightarrow \;\) they are exponential;
the next state visited (the future) does not depend on the previously visited states (the past) \(\; \Rightarrow \;\) the sequence of visited states forms a discrete-time Markov chain.
See the proof in (Norris 1997, Theorem 2.8.2).
The converse is also true: given a conservative \(Q\)-matrix, a chain can be constructed according to the following algorithm (which is also the recipe for simulating a CTMC on a computer):
construct the embedded DTMC \((\tilde{X}_n, n \geq 0)\) (a formal definition follows in the next section) with transition matrix \(\tilde{\mathbf{P}}\), where \(\tilde{\mathbf{P}}_{ij} = \frac{\mathbf{Q}_{ij}}{-\mathbf{Q}_{ii}}\) for \(i \neq j\) and \(\tilde{\mathbf{P}}_{ii} = 0\) (absorbing states are handled separately: \(\tilde{\mathbf{P}}_{ii} = 1\));
take independent (and independent of \(\tilde{X}\)) random variables \(E_1, E_2, \ldots \sim \operatorname {Exp}(1)\) and set the waiting times \(W_n := \frac{E_n}{-\mathbf{Q}_{\tilde{X}_{n-1}, \tilde{X}_{n-1}}}\), the jump times \(J_n := W_1 + \ldots + W_n\);
set \(X_t := \tilde{X}_{n}\) for \(t \in [J_{n}, J_{n+1})\).
The resulting process is a standard CTMC with generator \(\mathbf{Q}\) and cΓ dlΓ g paths (Norris 1997, sec. 2.6).
One possible realization of such a path (for some 3-state chain) looks like this: One realization of a sample path of a continuous-time Markov chain, built via the βjump-holdβ construction: the chain waits in state \(i\) for a random time \(W_n \sim \operatorname{Exp}(-\mathbf{Q}_{ii})\), then jumps to a state \(j \neq i\) with probability \(\tilde{\mathbf{P}}_{ij} = \mathbf{Q}_{ij} / (-\mathbf{Q}_{ii})\) (the embedded chain). Click the βNew realizationβ button to regenerate the holding times and jumps β the point will run along a new trajectory in real time. The sliders set the rates \(\mathbf{Q}_{ij}\) (\(i \neq j\)) of the generator; the diagonal \(\mathbf{Q}_{ii} = -\sum_{j \neq i} \mathbf{Q}_{ij}\) is recomputed automatically.
The chain started in state \(1\), stayed there for a random time \(W_1\), jumped to state \(3\), stayed for a time \(W_2\), and so on.
From this point on, for any CTMC we consider precisely the version with cΓ dlΓ g paths.
2.5 Communicating states, recurrence, the embedded discrete-time chain
As in the case of discrete-time chains, states \(i,j\) are called communicating if there exist \(t_1, t_2 \geq 0\) such that
\[ \left(\mathbf{P}_{t_1}\right)_{i,j} > 0, \qquad \left(\mathbf{P}_{t_2}\right)_{j,i} > 0 \]
Let \(T_{i} := \inf \left\{ t > 0 \; : \; X_{t-} \neq X_{t} = i\right\}\), where \(X_{t-} := \lim_{s \to t - 0} X_{s}\) is the left limit of the process at \(t\) (all our paths are cΓ dlΓ g, so the limit always exists at every point). \(T_{i}\) is the continuous analogue of the (first) return time to state \(i\). State \(i\) is called recurrent if
\[ \mathbb {P}_{i}\left(T_{i} < \infty \right) = 1 \]
Otherwise the state is called transient1.
A difference from discrete time: in continuous time there is no notion of the period of a state.
Let \(J_{0} := 0\),
\[ J_{n} := \min \left\{ t > J_{n - 1} \; : \; X_{t-} \neq X_{t}\right\} \]
be the time of the \(n\)-th jump of the chain. Let
\[ \tilde{X}_{n} := X_{J_{n}} \]
The DTMC \(\tilde{X}_n, n \geq 0\), is called the embedded chain for the CTMC \(X_t, t \geq 0\).
2.6 Stationary distribution
A distribution (row vector) \(\Pi\) on \(\mathcal{X}\) is called stationary for a CTMC \((X_{t}, t \geq 0)\) with transition probabilities \((\mathbf{P}_t, t \geq 0)\) if
\[ \Pi \cdot \mathbf{P}_{t} = \Pi , \qquad \forall \; t \geq 0 \]
2.7 Irreducible (ergodic) chain: limiting properties
Let \((X_t, t \geq 0)\) be an irreducible chain. An irreducible, positive recurrent CTMC is called ergodic. A difference from the discrete case: the aperiodicity requirement is gone.
In the case of a finite number of states, any recurrent state will be positive recurrent, and correspondingly any irreducible chain will be ergodic.
The same result as for discrete Markov chains, with two differences:
Aperiodicity is not defined in continuous time / not needed for the ergodic theorem;
\(\frac{1}{\mathbb {E}_{i}\left[T_i\right]}\) is replaced by \(\frac{1}{-\mathbf{Q}_{ii}} \cdot \frac{1}{\mathbb {E}_{i}\left[T_i\right]}\). In discrete time, one visit to \(i\) is one unit of time at \(i\); in continuous time, one visit to \(i\) equals \(1/-\mathbf{Q}_{ii}\) units of time at \(i\) (on average).
The βmachine-repairβ chain: the probability \(\Pi_1^{(t)}\) that the machine is working at time \(t\), given by \(\Pi_1^{(t)} = \frac{\beta}{\alpha+\beta} + \left(\Pi_1^{(0)} - \frac{\beta}{\alpha+\beta}\right) e^{-(\alpha+\beta)t}\). Move the sliders \(\alpha\), \(\beta\) and \(\Pi_1^{(0)}\) (the last one sets a fourth, highlighted curve) β all curves shrink exponentially toward the same stationary level \(\frac{\beta}{\alpha+\beta}\): the chain βforgetsβ its initial distribution.
Ergodicity βmade visibleβ for the chain \((X_t)\) from the problem with matrix \(\mathbf{Q} = \begin{pmatrix} -1 & 1/2 & 1/2 \\ 3 & -6 & 3 \\ 0 & 4 & -4 \end{pmatrix}\): one simulated trajectory βrunsβ through time (via the jump-hold method), while the fractions of time \(\frac{1}{t}\int_0^{t} \;\mathbb{1}_{X_s = i}\, ds\) spent in each of the three states update live and converge to the stationary distribution \(\Pi = \left(\frac{24}{41}, \frac{8}{41}, \frac{9}{41}\right)\) (dashed levels). The βNew trajectoryβ button regenerates the realization.
2.8 Limiting properties in the general case
What if a finite chain is reducible, i.e. consists of several communicating classes? The picture is completely analogous to the discrete case (see the chapter on DTMCs): states split into transient and recurrent classes (the type of a class is determined by closedness, as before, via the embedded chain); starting from a transient class, the chain reaches, in a.s. finite time, one of the recurrent classes and remains there forever; within each recurrent class the ergodic theorem applies.
The one β pleasant β difference from the discrete case: for a finite CTMC the entrywise limit \(\lim_{t \to \infty } \mathbf{P}_t\) always exists (not merely the CesΓ ro limit). The periodic effects that could prevent the limit \(\mathbf{P}^n\) from existing for a DTMC are absent in continuous time: the waiting time in a state is continuous and βsmears outβ any periodicity.
3 CTMCs with countably many states
The definitions carry over from the case of finitely many states: communicating states and classes, irreducibility, recurrence, stationary distributions, the embedded chain, etc. As in the discrete case, some of the βniceβ properties of finite chains cease to be automatic: a recurrent state can be null recurrent (\(\mathbb {E}_{i}\left[T_i\right] = +\infty\)), an irreducible chain may have no stationary distribution, and so on. But two fundamentally new effects appear that have no discrete analogue: explosion and the associated non-uniqueness of recovering the chain from the generator. Let us start with these.
3.1 Explosion
Let us recall the jump-and-hold construction (Β§ Section 2.4): the chain stays in states for random times \(W_1, W_2, \ldots\) and jumps at times \(J_n = W_1 + \ldots + W_n\). In the finite case \(J_n \to +\infty\) a.s. (waiting times are exponentials with a finite set of rates). In the countable case, the rates \(-\mathbf{Q}_{ii}\) can grow without bound along a trajectory, and the waiting times can decrease fast enough that their sum converges:
\[ \zeta := \sup _n J_n = \sum _{n=1}^{\infty } W_n < \infty \]
The event \(\left\{ \zeta < \infty \right\}\) is called explosion, and \(\zeta\) the explosion time: in a finite amount of time the chain manages to make infinitely many jumps. If \(\mathbb {P}_{i}\left(\zeta = +\infty \right) = 1\) for every initial state \(i\), the chain is called non-explosive.
Explosion of a pure birth process: \(\mathbf{Q}_{n,n+1} = \mu n^{\alpha}\), \(\mu = 1\), \(X_0 = 1\). Move the \(\alpha\) slider β as it crosses \(1\), the series \(\sum_n n^{-\alpha}\) starts to converge, and the simulated trajectory (red curve) acquires a finite explosion time \(\zeta\) (dashed vertical asymptote). The dashed blue curve is the Yule process (\(\alpha = 1\)) for comparison: it grows exponentially fast but never explodes. The button regenerates both trajectories.
What happens to the chain after an explosion? The formula \(X_t = \tilde{X}_n\) for \(t \in [J_n, J_{n+1})\) only defines the process up to time \(\zeta\). The standard way out is to consider the minimal chain: extend the definition by \(X_t := \partial\) for \(t \geq \zeta\), where \(\partial \notin \mathcal{X}\) is a special βcemeteryβ state. But then \(\sum_{j \in \mathcal{X}}\left(\mathbf{P}_t\right)_{ij} = \mathbb {P}_{i}\left(\zeta > t\right)\) can be less than \(1\) β the matrices become substochastic. Alternatively, one can βrestartβ the chain after an explosion at some state of \(\mathcal{X}\) β but exactly which one is not dictated by the generator \(\mathbf{Q}\)! Different restart rules give different stochastic semigroups (and different chains) with one and the same generator. This is exactly the non-uniqueness, promised above, of recovering a chain from its generator in the infinite case. Details: (Norris 1997, sec. 2.7), (Liggett 2010, sec. 2.4) (including the famous example due to Blackwell).
It is useful to have simple sufficient conditions for the absence of explosion.
See the proof in (Norris 1997, Theorem 2.7.1).
3.2 Stationary distribution and limiting properties
For irreducible, non-explosive chains, the picture of limiting behavior is completely analogous to the discrete case β and even simpler, since aperiodicity is not needed.
See the proof in (Norris 1997, sec. 3.8).
3.3 Birth-death processes
A birth-death process is a CTMC on \(\mathcal{X} = \mathbb {Z}_+\) in which only transitions to neighboring states are possible:
\[ \mathbf{Q}_{n, n+1} = \lambda _n \; (n \geq 0), \qquad \mathbf{Q}_{n, n-1} = \mu _n \; (n \geq 1), \qquad \mathbf{Q}_{nn} = -(\lambda _n + \mu _n), \]
where \(\lambda_n \geq 0\) are the birth rates, \(\mu_n \geq 0\) are the death rates (\(\mu_0 := 0\)). Rate graph:
Rate graph of a general birth-death process: transition \(n\to n+1\) at rate \(\lambda_n\), and \(n\to n-1\) at rate \(\mu_n\).
Interpretation via the jump-and-hold construction: in state \(n\) the chain waits a time \(\operatorname {Exp}(\lambda_n + \mu_n)\) and jumps up with probability \(\frac{\lambda_n}{\lambda_n + \mu_n}\), down with probability \(\frac{\mu_n}{\lambda_n + \mu_n}\). Many processes already familiar to us are special cases: the Poisson process (\(\lambda_n \equiv \lambda\), \(\mu_n \equiv 0\)), the pure birth process (\(\mu_n \equiv 0\)), the Yule process (\(\lambda_n = n\mu\), \(\mu_n \equiv 0\)).
For birth-death processes, the stationary distribution can be found explicitly. The key observation: for these processes, stationarity is equivalent to the seemingly stronger condition of detailed balance.
The M/M/1 queue at \(\mu = 1\) (number of customers in the system \(X_t\)): move the load slider \(\rho = \lambda/\mu\) to see the βphase transitionβ at \(\rho = 1\) β for \(\rho < 1\) (ergodic regime) the queue keeps returning to zero, while for \(\rho \geq 1\) (transient regime) it drifts off to infinity. On the right, for \(\rho < 1\): the empirical fraction of time in each state (from a long separate simulation) against the theoretical geometric distribution \(\Pi_n = (1-\rho)\rho^n\). The button regenerates the trajectory.
References
Footnotes
As in the case of discrete-time chains, all recurrent states of a continuous-time chain with a finite number of states are positive recurrent.β©οΈ