Logistic Bifurcation
The logistic map xₙ₊₁ = r xₙ(1 − xₙ) is one of the simplest routes to chaos. Increase r and watch stable points split into cycles and then a fractal cascade.
The cyan cloud is the long-term behavior at each r. Stable values collapse to a point, periodic behavior shows a few dots, and chaos fills bands. The amber dots show the orbit at the selected r. Period doubling repeats at smaller scales, creating the fractal structure.
What you are seeing
For small r, the population settles to a stable fixed point.
At critical values of r, the fixed point splits into a 2-cycle, then a 4-cycle, then 8, and so on.
Beyond the accumulation point, the motion becomes chaotic, with windows of order appearing inside the chaos.
Why it matters
The logistic map is a canonical example of period doubling, chaos, and universality. Similar routes appear in fluids, lasers, electronics, and population models.
Complexity & details
Plotting R values with T iterations each costs O(RT). The demo uses about 600 columns and 600 iterations.
Frequently asked questions
What is period doubling?+
A stable cycle of length n becomes unstable and is replaced by a stable cycle of length 2n as a parameter changes.
Why is the diagram fractal?+
The period-doubling cascade repeats at smaller scales. The bifurcation set has self-similar structure.