What Is Chaos Theory? How Small Changes Lead to Big Differences

In 1961, a meteorologist rounded one number from 0.506127 to 0.506 and got a completely different forecast. Nothing was broken. Here's why exact, deterministic rules can still be impossible to predict, and the math that explains it.

By Petrus Sheya

August 11, 2026 · 7 min read

Can a system that follows exact, unbreakable rules still be impossible to predict?

It sounds like a contradiction. No randomness, no dice rolls, no coin flips, just a rule you could write on an index card. And yet the outcome can still slip out of your hands. That's chaos theory. Not disorder. Not randomness. Order that hides an expiration date on your ability to predict it.


A meteorologist rounds a number and the forecast breaks

In 1961, Edward Lorenz was running a toy weather model on an early computer. He wanted to rerun part of a simulation, so he typed in a number from a printout to restart it partway through: 0.506, instead of the full 0.506127 the computer had stored internally.

Six decimal digits of precision, rounded to three. A difference smaller than a rounding error on a grocery receipt.

The new run started out matching the old one closely. But here's the thing: it didn't stay close. Within a simulated month, the two weather patterns had nothing in common. Same equations. Same computer. Same starting point, almost. One tiny nudge, and the future they described came apart completely.

Lorenz had stumbled onto something bigger than a computer quirk. He'd found a real property of certain equations: some systems amplify tiny differences instead of averaging them out. That property has a name now. We call it sensitive dependence on initial conditions, and it's the engine behind everything chaos theory studies.


Watch it happen to something you can actually see

Weather is hard to picture. A pendulum isn't. Take two pendulums, each with a second arm hanging off the first, so they can swing in complicated loops instead of a simple back-and-forth. Release them from angles that differ by a fraction of a degree. Same gravity, same lengths, same masses, same equations of motion driving both.

Two pendulums, identical rules, identical gravity. The only difference is the starting angle of the lower arm, off by a fraction of a degree. Hit play and watch how long “identical” lasts.

● pendulum A● pendulum B
Elapsed time0.0s
Tip separation0.009

Press play. For a moment the two pendulums move as one, you can barely tell there are two of them. Then, without warning, they peel apart. Not because anything changed. Every equation governing both pendulums has been the same since the first frame. The only thing that was ever different was that starting angle, off by less than a degree.

Drag the gap slider smaller and smaller and hit play again. Divergence still happens. It just takes a little longer to show up. That's the signature of chaos: shrink the initial difference all you want, the system still eventually amplifies it into a completely different outcome. There's no gap small enough to guarantee the two pendulums stay in sync.


Chaos isn't randomness, it's a rule you can write in one line

Here's the part that trips people up. The pendulum obeys Newton's laws exactly. There's no randomness anywhere in it. So where does the unpredictability actually come from?

Let's strip the idea down to the simplest possible version. Forget pendulums, forget weather. Take one number between 0 and 1, call it xx, and apply this rule over and over:

xn+1=rxn(1xn)x_{n+1} = r \cdot x_n \cdot (1 - x_n)

This is the logistic map, originally a toy model for population growth: xx is a population as a fraction of some maximum, and rr controls how fast it grows. Feed the output back in as the next input, again and again. One number, one rule, no randomness.

Same equation every time, only the growth rate $r$ changes. The staircase shows each output feeding back in as the next input.

y = r·x·(1-x)behaviorperiod 2
x after 200 steps0.5130
Long-run behaviorperiod 2

Push rr up slowly from the low end. At first the staircase spirals into a single point and stays there, the population settles down. Push further and it starts hopping between two values forever, then four, then eight. And somewhere past r3.57r \approx 3.57, the pattern stops repeating at all. The same output value never quite comes back. That's chaos, generated by an equation you could scribble on a napkin.

Notice what didn't happen anywhere in that process: we never introduced a random number generator. Every single value of xnx_n is completely determined by x0x_0 and rr. The unpredictability isn't coming from randomness. It's coming from the same amplification effect you just watched in the pendulums, just running through algebra instead of physics.


One number, every possible future at once

The cobweb plot shows you one rr at a time. But what if you want to see the whole story, every value of rr from calm to chaotic, laid out in a single picture?

Every $r$ from 2.4 to 4, plotted together. Drag directly on the chart, or use the slider, to see the whole road from order into chaos in one picture.

r = 2.4r = 4.0
Distinct long-run values4

This is a bifurcation diagram. For every rr along the horizontal axis, it plots where xx ends up settling after the early transient dies out. Drag across it and watch the story unfold: one settled value, then a split into two, then a split into four. Each split is called a period-doubling bifurcation, and they arrive faster and faster until, at a specific value of rr, the system tips into the smeared, chaotic region on the right.

Now look closer at that chaotic region. It isn't uniformly messy. There are thin white bands running through it, windows where the system briefly snaps back into simple, periodic behavior before going chaotic again. Order and chaos aren't opposites living in separate territory. They're neighbors, and the border between them can be razor thin. That's something no single sentence of description could hand you the way this picture just did.


Putting a number on "how unpredictable"

We've seen chaos happen, in a pendulum and in an equation. Now let's measure it. If two starting points begin a tiny distance ε0\varepsilon_0 apart, how fast does that gap grow?

Run two points through the same chaotic rule and track the gap between them at every step, εn\varepsilon_n. Plot it on a scale where each gridline is 10 times bigger than the last...

Vertical axis is the separation on a log scale, so exponential growth shows up as a straight line. Slide the starting gap and watch the slope stay put.

1e-121e-91e-61e-31e0iteration n →
Steps to fill [0,1]20
Lyapunov exponent λ0.294

...and the growth turns into a straight line. That's the tell. A straight line on a scale like this means the gap isn't growing by addition, it's growing by repeated multiplication, the same shape as compound interest. We write that growth as:

εnε0eλn\varepsilon_n \approx \varepsilon_0 \cdot e^{\lambda n}

The number λ\lambda is called the Lyapunov exponent. Drag the slider and change the starting gap by orders of magnitude. The line shifts up or down, sure, but its slope barely moves. The starting gap changes how long you have before things fall apart. The Lyapunov exponent decides how fast they fall apart once they start. A positive λ\lambda is the actual definition of chaos: any two nearby starting points, no matter how close, are guaranteed to separate exponentially fast.

That's also the real reason weather forecasts get worse the further out they go. It's not a lack of computing power. The atmosphere has a positive Lyapunov exponent, so any tiny uncertainty in today's measurements, and there's always some, gets doubled and redoubled until the forecast is no better than a guess. Lorenz's rounding error wasn't a fluke of his particular model. It was that same λ>0\lambda > 0 showing up in the real thing.


So what is chaos theory, actually?

Chaos theory studies systems that are completely deterministic, governed by exact equations with zero randomness, but where nearby starting points fly apart from each other exponentially fast. That's it. No dice, no noise, just amplification. A pendulum with two arms does it. A one-line population equation does it. The atmosphere does it. The common thread is a positive Lyapunov exponent: a number that tells you how many decimal places of precision you lose per unit of time, until the precision you actually have runs out and the future becomes, in practice, unknowable, even though it was never actually random.

If you want to see what these bifurcation diagrams and chaotic attractors look like once you zoom into them, there's a deep connection to a shape we cover in What Is a Fractal? The Math Behind Infinite Complexity: the set of points a chaotic system visits forever, its strange attractor, is itself a fractal, self-similar detail at every scale, exactly like the bifurcation diagram's chaotic bands.

All four visualizations above are interactive React components rendering plain SVG in your browser, no external libraries, no canvas. Drag the sliders, hit play, and watch the numbers move with the shapes.