:
:
:
:
An
0
4
Combined reproduction and starvation rate r
The logistic map was originally used to approximate an animal population over time. Mathematically, it is written as:
An+1 = rAn(1 - An)
where:
All initial populations A0 eventually settle into one of three behaviours:
A bifurcation diagram shows these three behaviours. The x-axis shows r and the y-axis shows the population. The population eventually stabilises to a fixed value for r = 1 to 3, and you can see the periodic behavior starting after this, eventually becoming chaotic at around r = 3.5699457...
The Monte Carlo simulation on the left uses repeated random sampling to produce the bifurcation diagram. The algorithm is roughly:
The plot is updated for every iteration, so you can see how the populations are changing over time.