Virtual laboratory/Mathematics/Fractals and chaos/Chaos theory — the logistic map

Chaos theory — the logistic map

An extension of the topic of sequences and iteration. The logistic map x_(n+1)=r·x_n(1−x_n) is stable for small r, then doubles its period, until it falls into chaos — a tiny change in the initial conditions gives a completely different trajectory (the butterfly effect). This was discovered by Edward Lorenz in 1963; the cascade of bifurcations was studied by Mitchell Feigenbaum (1978). The system is deterministic, but unpredictable.

Chaos theory — the logistic map
Mathematics · Fractals and chaos · Chaos theory — the logistic map (1963)
Parameter rr in the logistic map2.90
In the chaotic regime a tiny change in the initial conditions (x0x_0: 0.500 → 0.501) leads to:
parameter r
2.90
regime
STABLE
divergence Δ
0.000
start x₀
0.500 · 0.501
🎯 Challenge: identify the regime
streak: 0

I’ll give you a parameter r — guess the regime of the system (without the slider). Chaos threshold: r ≈ 3.57.

What just happened?

You ran the same formula for two nearly identical starts: x0=0.500x_0 = 0.500 and x0=0.501x_0 = 0.501. For small rr both runs coincide. But in the chaotic regime (r≳3.57r \gtrsim 3.57) they diverge completely after a few steps — even though the difference in the start was microscopic. This is the famous butterfly effect: the flap of a butterfly’s wings can change the weather thousands of kilometres away.

The logistic map:

xn+1=r xn(1−xn)x_{n+1} = r\,x_n(1 - x_n)

It is a simple population-growth model: xn∈[0,1]x_n \in [0,1] is the population density at step nn, and the parameter rr (the reproduction rate) determines the behaviour of the system.

From stability through period doubling to chaos:

As we increase rr, we observe a transition: for r<3r < 3 the system is STABLE — it converges to a single value. Above that it begins to OSCILLATE, doubling its period (2, 4, 8, 16… values) — this cascade of bifurcations was studied in 1978 by Mitchell Feigenbaum. Finally, at r≈3.57r \approx 3.57 it falls into CHAOS: the values jump irregularly, with no repeating pattern.

Chaos is not randomness:

The system is fully DETERMINISTIC — no randomness, the same x0x_0 always gives the same trajectory. And yet it is practically UNPREDICTABLE in the long run, because an arbitrarily small uncertainty in x0x_0 grows exponentially. Just like the weather, a double pendulum or the three-body motion. This was discovered (by accident, while studying a weather model) by the meteorologist Edward Lorenz in 1963.

Why this matters for your exams:

The logistic map is the prime example that a simple recursive sequence can behave in a stable, periodic or chaotic way — depending on a single parameter. The idea of “sensitivity to initial conditions” shows that simple rules do not guarantee predictability. Chaos theory revolutionised our understanding of nature.

Remember: chaos is deterministic, but unpredictable — xn+1=r xn(1−xn)x_{n+1} = r\,x_n(1-x_n) shows this in a single formula.

Illustrative model · NexTutor Virtual Laboratory

Enjoyed the experiment? Share it.

It's free — send it to friends from school.

Theory & formulas

The logistic map

xn+1=r xn(1−xn),xn∈[0,1]x_{n+1}=r\,x_n(1-x_n),\qquad x_n\in[0,1]

Scenario depending on rr

  • small rr — a single steady state,
  • increasing rr — period doubling (2,4,8,…2,4,8,\dots),
  • r≳3.57r\gtrsim 3.57 — chaos.

Sensitivity to initial conditions

In the chaotic regime two close starts diverge exponentially (the butterfly effect) — the system is fully deterministic, yet practically unpredictable. The rate of bifurcation is described by the Feigenbaum constant δ≈4.669\delta\approx 4.669.

Notation: xnx_n state (e.g. population size), rr growth parameter, δ\delta Feigenbaum constant.

Frequently asked questions

›

What does a tiny change in the initial conditions lead to in chaos?

To a completely different trajectory — the famous “butterfly effect”.

›

Is chaos the same as randomness?

No — a chaotic system is fully deterministic, just too sensitive to the initial conditions to be predicted over the long term.

›

Who discovered chaos theory?

Edward Lorenz (1963), while studying a weather model; the period-doubling cascade was studied by Mitchell Feigenbaum (1978).

Teaching? Embed this experiment on your site.

Free widget — paste it on your school site, blog or notes. It links to the full version.

Teaching a class or tutoring? Guide students in NexTutor →