Chaos LabNONLINEAR DYNAMICS
SIMPLE EQUATIONS, UNEXPECTED OUTCOMES

See where the system goes.

DISCRETE TIME
THE LOGISTIC MAP

xn+1 = r xn (1 − xn)

Each result becomes the next starting point.

SELECTED VALUE—at cycle 100
OBSERVED RANGE—across the computed trajectory
COMPUTED CYCLES100plus the initial value
FINAL SEPARATION—enable comparison to explore
THE EVOLUTION

One cycle leads to the next.

Population x plotted against cycle n.

Original start
100
r = 3 · x₀ = 0.1
THE RELATIONSHIP

A return map.

Each point pairs xₙ with the value that follows it.

The diagonal marks equal consecutive values. A fixed point lies on this line.

THE NUMBERS

Look a little closer.

Values around the selected cycle.

CycleOriginal x

Rounded for readability. CSV exports retain full numeric precision.

What do you notice?

Try increasing the growth rate. A steady value can give way to oscillations and more intricate patterns.

THE FIELD GUIDE

Simple does not always mean predictable.

These models update a population in discrete cycles. Start with x₀, apply the equation, then feed the output back into the same equation. The growth rate r controls how strongly the population responds.

Two ways to model growth

Logistic map: xₙ₊₁ = r xₙ (1 − xₙ). The population is normalized. With 0 ≤ r ≤ 4 and 0 ≤ x₀ ≤ 1, the values stay between 0 and 1.

Ricker map: xₙ₊₁ = xₙ exp[r (1 − xₙ / k)]. Here k sets the carrying-capacity scale. Values can rise above k before the density-dependent response brings them down.

Things to try

  1. Choose a preset and look for a settled value or repeating pattern.
  2. Move r slightly and run again. Both maps can produce complicated trajectories for some parameters.
  3. Enable the nearby-start comparison. Two initial values separated by a small Δ can eventually produce very different trajectories.
  4. Inspect a cycle with the slider. The return map and table show the corresponding values.

Read the evidence carefully

A finite plot illustrates behavior for the chosen initial value and parameters; it does not prove chaos. Final separation is the absolute difference at the last computed cycle, not a Lyapunov exponent. The return map shows up to 500 evenly sampled transitions; SVG and CSV exports use the full time series.

Reproducible experiments

Save your parameters as JSON and open them again later. Calculations use JavaScript double precision. The original ASP.NET app used single-precision floats, so especially in sensitive regimes, long trajectories can differ even with the same inputs. CSV includes cycle 0 and every computed cycle.

All calculations and file operations happen on this device. The app sends no experiment data to a server.