Logistic Map & Bifurcation Calculator
Explore the logistic map equation and chaos theory.
Calculate iterations, detect period-doubling bifurcations, and visualize the transition from stable fixed points to chaos as the growth parameter r increases.
What Is the Logistic Map? The logistic map is one of the simplest mathematical equations that produces chaotic behavior: x_{n+1} = r × x_n × (1 − x_n) Where x_n is a value between 0 and 1 (representing population fraction of maximum capacity), and r is the growth parameter (0 to 4). Despite its simplicity, the logistic map exhibits extraordinarily complex dynamics as r increases. It was popularized by biologist Robert May in his landmark 1976 paper, “Simple mathematical models with very complicated dynamics,” published in the journal Nature.
The Four Behavioral Regimes r < 1: population goes extinct — x converges to 0. 1 < r < 3: stable fixed point — x converges to a single equilibrium value: x* = 1 − 1/r. 3 < r < 3.57: period-doubling bifurcations — the orbit cycles between 2, 4, 8, 16… fixed points. r ≥ 3.57: chaos — the orbit appears random and is extremely sensitive to initial conditions (except for some “windows” of stability).
Period-Doubling and Feigenbaum’s Constant As r increases toward 3.57, period-doubling bifurcations occur at increasingly close intervals. Mitchell Feigenbaum, working at the Los Alamos National Laboratory in the United States in 1975, discovered that the ratio of successive bifurcation intervals converges to the universal constant: δ = 4.669201609… (the Feigenbaum constant) This constant appears in all similar period-doubling routes to chaos — in physics, chemistry, biology, and engineering — not just the logistic map. The bifurcation diagram of the logistic map contains the famous “Feigenbaum tree” shape.
Sensitive Dependence on Initial Conditions In the chaotic regime, two starting values that differ by 0.000001 produce completely different trajectories within 20–30 iterations. This is the “butterfly effect” — coined by Edward Lorenz, a mathematician and meteorologist working at MIT in the United States in 1963. Lorenz originally called it “sensitive dependence on initial conditions” after discovering it in his weather simulation models. The logistic map demonstrates this with a simple equation: deterministic but unpredictable.
Self-Similarity and Fractals The bifurcation diagram of the logistic map has fractal structure — it looks the same at every scale. Zooming into any window of periodic behavior reveals smaller copies of the entire diagram. The set of r-values that produce chaos is a Cantor set — a fractal with Hausdorff dimension less than 1. The Mandelbrot set (the famous fractal) is mathematically related to the logistic map.
Applications of Chaos Theory Population ecology: models boom-bust cycles in animal populations. Weather forecasting: limits the predictability horizon to approximately 2 weeks. Engineering: chaos is used in secure communication (chaotic encryption) and random number generators. Medicine: heart arrhythmias and epileptic seizures show chaotic dynamics. Economics: some financial models use chaotic attractors for market dynamics.