Explore chaos with the logistic map and bifurcation diagrams
8 steps · about 2 h 15 min · Intermediate
- Iterate the logistic map x -> r x (1 - x) (article, Wikipedia, 20 min)
Walks through fixed points, period doubling and chaos as r grows from 0 to 4.
- Watch period doubling appear in a simple population equation (video, Veritasium, 18 min)
Animates the logistic map and shows where the same pattern turns up in real systems.
- Plot the logistic map and its bifurcation diagram in Python (tutorial, Geoff Boeing, 25 min)
Gives working code to generate the diagrams yourself and explore parameter ranges.
- Read a bifurcation diagram (article, Wikipedia, 10 min)
Explains what each branch and band of the diagram means for long-run behaviour.
- Measure the period-doubling ratio 4.669 (article, Wikipedia, 12 min)
Shows the universal constant hidden in the spacing of bifurcations.
- Use the Lyapunov exponent to detect chaos (article, Wikipedia, 15 min)
Turns sensitivity to initial conditions into one number you can compute.
- Define deterministic chaos precisely (article, Wikipedia, 20 min)
Separates chaos from randomness with the formal ingredients: sensitivity, mixing and dense orbits.
- Extend the idea to the Lorenz attractor (article, Wikipedia, 15 min)
Moves from a one-variable map to the classic three-variable continuous chaotic system.