Simulation lab

Logistic Growth Model Lab

A deer herd released into a large forest preserve cannot grow exponentially forever: food, water and space run out. Exponential growth assumes unlimited resources, while logistic growth adds density dependence: as the population N approaches the carrying capacity K, competition slows growth, and above K the population declines. Use the sliders to build both curves side by side and discover how r sets the steepness while K sets the ceiling.

Population Growth Simulator

Exponential (unlimited) vs logistic (carrying capacity K) growth.

-1066331129146459689562301087660011485757711883855420.008.016.024.032.040.0TimePopulation size N
Exponential (no limits) (dashed)Logistic (limited by K)
Exponential final N: 177,722,210Logistic final N: 1,000 (levels off near K = 1000)
The two models:
  1. Exponential: N(t) = N₀·e^(rt). Constant per-capita growth — realistic only while resources are effectively unlimited (e.g. a new colony, bacteria in fresh broth).
  2. Logistic: N(t+1) = N(t) + r·N(t)·(1 − N(t)/K). Growth slows as N approaches K and turns negative above K — the S-shaped curve of real populations hitting resource limits.
  3. Try N₀ above K: the logistic curve declines back toward carrying capacity.

How to use it

  1. Set r = 0.6, K = 1000, N0 = 20, 50 time steps and watch the logistic curve form its classic S-shape.

  2. Raise N0 above K (e.g. N0 = 200 with K = 100) and observe the logistic curve decline back toward K.

  3. Increase r to 1.2: the curve gets steeper but levels off at the same K, showing r controls speed, not the ceiling.

  4. Change K alone and confirm the final logistic N tracks K exactly.

  5. Compare the exponential final N with the logistic final N to see how unrealistic unlimited growth becomes.

About this model

This is the deterministic discrete-time logistic model with a constant K. Real carrying capacity fluctuates with seasons, weather and disturbance; the model has no age or sex structure, no Allee effects at very low density, no time lags that can cause overshoot oscillations, and no environmental randomness. It shows the shape of density dependence, not a forecast for any real herd.

What you will learn

  • Define carrying capacity K and explain what sets it in a real habitat.
  • Explain density-dependent slowdown as competition intensifies near K.
  • Explain why a population starting above K declines toward K.
  • Contrast exponential and logistic growth and state when each model is realistic.