Lorenz Attractor
The Lorenz system is three coupled differential equations that produce deterministic chaos. Two nearby starting points separate exponentially while staying on the same butterfly-shaped attractor.
Cyan and rose are two trajectories that start only 10⁻⁵ apart. They trace the same attractor at first, then separate exponentially — the butterfly effect. Raise ρ to change the shape of the attractor.
What you are seeing
The state is (x, y, z). The equations couple the three variables with parameters σ, ρ, and β.
Trajectories spiral around two unstable lobes without ever repeating.
Nearby starts stay close for a while, then diverge exponentially. This is the butterfly effect.
Why it matters
The Lorenz attractor is the iconic example of deterministic chaos and a warning about long-range prediction in weather, climate, and complex systems.
Complexity & details
Each integration step costs O(1). Accuracy depends on step size and the numerical method; this demo uses RK4.
Frequently asked questions
If the system is deterministic, why is it unpredictable?+
Deterministic means no randomness, not stability. Small measurement errors grow exponentially, so long-term prediction requires impossible precision.
What do σ, ρ, and β control?+
σ is the Prandtl number, ρ is the Rayleigh number, and β is a geometric factor. The classic chaotic values are 10, 28, and 8/3.