Simulating the Birth-Death Process

This Demonstration shows simulated paths of the simple birth-death process. Thus, you can see how the size of the population changes with time. You can adjust the initial population, the mean time between births, and the mean lifetime. The birth-death process is a special case of continuous-time Markov chains.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


Snapshot 1: population dies out
Snapshot 2: population grows
Snapshot 3: population grows above 200
In Snapshot 1, the population reaches size 0 in about 21 time units. This means that the population dies out. Extinction is expected because the mean lifetime is shorter than the mean time between births. Indeed, the probability of extinction is known to be 1 if the mean lifetime is smaller than or equal to the mean time between births. If the population dies out, the last point is red; otherwise it is blue.
In Snapshot 2, the population has a growing trend. Note that the Demonstration only shows at most the first 200 steps (births or deaths) of the process. In Snapshot 2, the 200 steps took about 15 time units.
In Snapshot 3, the population grows above 200. Note that the Demonstration only works properly if the population stays below 200. If the population reaches 200, the simulation does not allow the population to grow further.
Recall that in a birth-death process, the time between births of each individual has an exponential distribution. The lifetime of each individual has another exponential distribution. With two of the sliders, you can adjust the means of these distributions.
The blue curve is the mean of the process. The two green curves come from mean , where is the standard deviation and is a multiplier, controlled by a slider. The larger the value of , the more likely the path stays between the two green curves.
For the simple birth-death process, see [1, pp. 91–97]. For simulation of the simple birth-death process and other stochastic processes with Mathematica, see [2, pp. 987–1002].
[1] N. T. J. Bailey, The Elements of Stochastic Processes with Applications to the Natural Sciences, New York: Wiley, 1990.
[2] H. Ruskeepää, Mathematica Navigator: Mathematics, Statistics, and Graphics, 3rd ed., San Diego, CA: Elsevier Academic Press, 2009.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2014 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+