Tutorials › Stochastic Processes › The Finite Birth-Death Stationary Formula

Birth-Death Processes · Tutorial 527 of 994

The Finite Birth-Death Stationary Formula

Learn how to turn finite birth and death rates into stationary probabilities, normalize the weights, and verify the result against the generator equations.

Intermediate 9 min read

What You'll Learn

  • State the assumptions and boundary rates for a finite birth-death process.
  • Derive the product formula for its stationary weights from adjacent-state balance.
  • Explain why a stationary distribution is characterized by the finite generator equation.
  • Normalize exact product weights and verify the resulting probabilities.
  • Detect a common indexing error in the birth-to-death rate ratios.

From Rates to Stationary Probabilities

A finite birth-death process moves between neighboring states: births increase the state by one, and deaths decrease it by one. When every neighboring pair communicates in both directions, the process has a stationary distribution. Its probabilities can be found directly from the rates: each successive weight is the preceding weight multiplied by a birth rate and divided by the death rate across that same edge. The remaining task is to normalize the weights so that they sum to one.

Let \((X_t)_{t\ge0}\) be a continuous-time Markov chain on a probability space \((\Omega,\mathcal{F},\mathbb{P})\), with finite state space \(S=\{0,1,\ldots,N\}\), where \(N\ge1\). From state \(i\), the chain jumps to \(i+1\) at rate \(\lambda_i\) and to \(i-1\) at rate \(\mu_i\). At the boundaries set \(\mu_0=0\) and \(\lambda_N=0\). Assume throughout that \(\lambda_i>0\) for \(0\le i<N\) and \(\mu_i>0\) for \(1\le i\le N\). These strict inequalities make the finite chain irreducible: every state can be reached from every other by a sequence of neighboring jumps.

The generator \(Q=(q_{ij})\) has \(q_{i,i+1}=\lambda_i\), \(q_{i,i-1}=\mu_i\), and \(q_{ii}=-(\lambda_i+\mu_i)\), with entries outside these transitions equal to zero. Thus every row sums to zero. A probability row vector \(\pi\) is stationary if, when it is the initial distribution, the distribution of \(X_t\) remains \(\pi\) for every \(t\ge0\). For a finite-state chain, the transition matrix at time \(t\) is \(P(t)=e^{tQ}\).

Theorem (Finite birth-death stationary formula): Under the rate assumptions above, define \(w_0=1\) and, for \(1\le k\le N\), $$ w_k=\prod_{r=1}^{k}\frac{\lambda_{r-1}}{\mu_r}. $$ Then the unique stationary distribution is $$ \pi_k=\frac{w_k}{\sum_{\ell=0}^{N}w_\ell},\qquad 0\le k\le N. $$

Why the Formula Gives the Stationary Distribution

For a finite chain, stationarity is equivalent to the generator equation \(\pi Q=0\). Here is a proof of that equivalence. If \(\pi\) is stationary, then \(\pi e^{tQ}=\pi\) for all \(t\ge0\). Differentiating at \(t=0\), using the power series for the matrix exponential, gives \(\pi Q=0\). Conversely, if \(\pi Q=0\), then \(\pi Q^m=0\) for every integer \(m\ge1\), by repeated multiplication. Therefore the exponential series gives \(\pi e^{tQ}=\pi\), including its \(m=0\) term \(\pi\). Hence \(\pi\) is stationary.

Proof. Define the flux across the edge from \(i\) to \(i+1\) by \(J_i=\pi_i\lambda_i-\pi_{i+1}\mu_{i+1}\), for \(0\le i<N\). The coordinate \(0\) of \(\pi Q=0\) says \(-\pi_0\lambda_0+\pi_1\mu_1=0\), so \(J_0=0\). For \(1\le j<N\), coordinate \(j\) says \(\pi_{j-1}\lambda_{j-1}-\pi_j(\lambda_j+\mu_j)+\pi_{j+1}\mu_{j+1}=0\). Rearranging gives \(J_{j-1}=J_j\). Since \(J_0=0\), induction yields \(J_i=0\) for every edge. Thus the generator equation is equivalent to the adjacent-state equalities \(\pi_i\lambda_i=\pi_{i+1}\mu_{i+1}\). As \(\mu_{i+1}>0\), these equalities give \(\pi_{i+1}=\pi_i\lambda_i/\mu_{i+1}\). Iterating from \(\pi_0\) gives \(\pi_k=\pi_0w_k\), with the product in the theorem. The weights are positive and their finite sum is positive, so normalization forces \(\pi_0=1/\sum_{\ell=0}^Nw_\ell\). Conversely, these normalized weights satisfy every adjacent-state equality, hence \(\pi Q=0\), and therefore are stationary. Any stationary probability vector must satisfy the same recurrence and normalization, so it is this vector. \(\square\)

The product is indexed by edges, not just by states: the step from \(r-1\) to \(r\) uses the birth rate \(\lambda_{r-1}\) and the reverse death rate \(\mu_r\). No limiting-distribution claim is needed to use the formula. It constructs the stationary distribution directly, and the finite sum makes normalization possible.

Worked Example: Three States with Unequal Rates

Consider \(S=\{0,1,2\}\) with \(\lambda_0=2\), \(\lambda_1=3\), \(\lambda_2=0\), \(\mu_0=0\), \(\mu_1=4\), and \(\mu_2=1\). Find the stationary distribution.

Before using the rates, form the generator and check its rows: \(Q=\begin{bmatrix}-2&2&0\\4&-7&3\\0&1&-1\end{bmatrix}\). The row sums are \(-2+2+0=0\), \(4-7+3=0\), and \(0+1-1=0\). Both directions across each interior edge have positive rates, so the theorem applies.

Set \(w_0=1\). The next two weights are \(w_1=1\cdot(2/4)=1/2\) and \(w_2=(1/2)\cdot(3/1)=3/2\). Their sum is \(1+1/2+3/2=3\). Hence \(\pi=(1/3,1/6,1/2)\).

Check: Multiplication by the generator gives coordinate \(0\): \((1/3)(-2)+(1/6)(4)+(1/2)(0)=-2/3+2/3=0\). Coordinate \(1\) is \((1/3)(2)+(1/6)(-7)+(1/2)(1)=4/6-7/6+3/6=0\). Coordinate \(2\) is \((1/3)(0)+(1/6)(3)+(1/2)(-1)=1/2-1/2=0\). Also \(1/3+1/6+1/2=1\), confirming both stationarity and normalization.

Worked Example: Four States and Repeated Weights

Let \(S=\{0,1,2,3\}\), with birth rates \(\lambda_0=1,\lambda_1=2,\lambda_2=1,\lambda_3=0\), and death rates \(\mu_0=0,\mu_1=1,\mu_2=2,\mu_3=3\). Find and verify the stationary probabilities.

The generator is \(Q=\begin{bmatrix}-1&1&0&0\\1&-3&2&0\\0&2&-3&1\\0&0&3&-3\end{bmatrix}\). Its row sums are \(-1+1=0\), \(1-3+2=0\), \(2-3+1=0\), and \(3-3=0\). All adjacent birth and death rates are positive. The product weights are \(w_0=1\), \(w_1=1(1/1)=1\), \(w_2=1(2/2)=1\), and \(w_3=1(1/3)=1/3\). Their sum is \(1+1+1+1/3=10/3\), so \(\pi=(3/10,3/10,3/10,1/10)\).

Check: The three edge fluxes match: \((3/10)(1)=(3/10)(1)=3/10\); \((3/10)(2)=(3/10)(2)=6/10\); and \((3/10)(1)=(1/10)(3)=3/10\). Thus every adjacent-state equality holds, which gives \(\pi Q=0\). The probabilities sum to \(3/10+3/10+3/10+1/10=1\).

A Rate Pattern with a Binomial Distribution

The product formula can reveal familiar probability distributions. Consider a process on \(\{0,1,2,3\}\) with birth rates \(\lambda_i=3-i\) for \(i=0,1,2\), \(\lambda_3=0\), and death rates \(\mu_i=2i\) for \(i=1,2,3\), \(\mu_0=0\). These rates model births that become less frequent as the state approaches capacity and deaths that become more frequent as the state increases.

Worked Example: A Finite Population with Capacity Three

The generator is \(Q=\begin{bmatrix}-3&3&0&0\\2&-4&2&0\\0&4&-5&1\\0&0&6&-6\end{bmatrix}\). Its row sums are \(-3+3=0\), \(2-4+2=0\), \(4-5+1=0\), and \(6-6=0\). The product weights are \(w_0=1\), \(w_1=1(3/2)=3/2\), \(w_2=(3/2)(2/4)=3/4\), and \(w_3=(3/4)(1/6)=1/8\). Their sum is \(1+3/2+3/4+1/8=27/8\). Dividing each weight by \(27/8\) gives \(\pi=(8/27,12/27,6/27,1/27)\).

Check: The edge fluxes are \((8/27)(3)=24/27\) and \((12/27)(2)=24/27\); \((12/27)(2)=24/27\) and \((6/27)(4)=24/27\); and \((6/27)(1)=6/27\) and \((1/27)(6)=6/27\). Each pair agrees, so \(\pi Q=0\). The entries sum to \((8+12+6+1)/27=27/27=1\). These probabilities are also the binomial probabilities with three trials and success probability \(1/3\), since their numerators are \(2^3,3\cdot2^2,3\cdot2,1\).

Boundary Conditions and a Common Indexing Error

The assumptions on the rates matter. If an interior birth or death rate is zero, the chain may fail to communicate in both directions, and the positive product formula need not describe a unique stationary distribution on the whole state space. For example, if \(\lambda_0=0\), state \(0\) cannot move upward; a stationary distribution concentrated at \(0\) may coexist with stationary distributions on a separate closed class. The irreducibility assumption avoids this ambiguity. At the boundaries, \(\mu_0=0\) and \(\lambda_N=0\) are not extra factors in the product: there is no edge below \(0\) or above \(N\).

Common mistake: Using \(\lambda_i/\mu_i\) instead of \(\lambda_i/\mu_{i+1}\) misaligns the rates. In the three-state example, this error would incorrectly set \(w_2=(1/2)(\lambda_1/\mu_1)=(1/2)(3/4)=3/8\), rather than the correct \(w_2=(1/2)(\lambda_1/\mu_2)=(1/2)(3/1)=3/2\). Normalizing the incorrect weights \(1,1/2,3/8\) gives \((8/15,4/15,3/15)\). But the flux across the edge from \(1\) to \(2\) would then be \((4/15)(3)=12/15\), while the reverse flux would be \((3/15)(1)=3/15\). The mismatch shows that the incorrect vector does not satisfy \(\pi Q=0\). Matching the birth and death rates across each same edge prevents this error.

In applications, \(\pi_i\) describes the long-run stationary fraction of time assigned to state \(i\) when the process is run in stationarity. The finite formula is useful because it avoids solving a full system of generator equations: compute neighboring weight ratios, form the products, and normalize. The generator and flux checks remain valuable, particularly when rates have state-dependent indices or boundary conventions.

Check Your Understanding

Use the finite product formula, and verify any proposed probabilities by checking their normalization and adjacent-state fluxes.

  1. For states \(\{0,1\}\), with \(\lambda_0=2\) and \(\mu_1=3\), find the stationary distribution.
  2. For states \(\{0,1,2\}\), with \(\lambda_0=1,\lambda_1=4,\mu_1=2,\mu_2=2\), calculate all unnormalized weights.
  3. Explain why the ratio for the weight at state \(k\) uses \(\lambda_{k-1}\) and \(\mu_k\), rather than \(\lambda_k\) and \(\mu_k\).
  4. What can fail if one of the interior birth or death rates is zero?
  5. Show that if \(\pi Q=0\) for a finite-state generator, then \(\pi e^{tQ}=\pi\) for every \(t\ge0\).