1. Home
  2. Explore
  3. Mathematics
  4. Dynamical Systems and Chaos

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Dynamical Systems and Chaos

Dynamical Systems, Ecology, and Chaos

Complexity and behavior

A system can be described in terms of both its structural complexity and the complexity of the behavior it produces. These are related, but they are not the same thing.

  • A simple system may behave simply.

  • A complex system may behave in complex ways.

  • A complex system can also produce surprisingly simple behavior.

  • A simple system can produce surprisingly complex behavior, including chaos.

The last possibility is especially important: complicated behavior does not always require a complicated system. A small number of interacting variables, governed by deterministic rules, can sometimes generate highly unpredictable-looking patterns.


What chaos means

Dynamical systems theory studies how the state of a system changes over time. The state might include quantities such as the populations of several species or variables describing the atmosphere.

In everyday speech, “chaos” can mean disorder or randomness. In dynamical systems theory, however, chaos is not the same as randomness. A chaotic system can be fully deterministic: if its current state and governing rules were known exactly, its future would be determined.

Three central features help characterize chaotic behavior:

  • Determinism: The system follows rules that determine its evolution from its current state.

  • Aperiodicity: The system does not settle into a repeating cycle with a fixed period.

  • Sensitivity to initial conditions: Tiny differences in the starting state can lead to increasingly large differences in later states.

Sensitivity to initial conditions makes long-term prediction difficult in practice. Measurements are never perfectly precise, so even a small initial measurement error can cause a forecast to diverge from what actually happens.

Chaos describes a situation in which the present determines the future, but an approximate measurement of the present may not determine the future approximately.

A system’s ability to behave chaotically does not mean it is always chaotic. The system must meet appropriate conditions, and changes in parameters or population levels may cause it to shift between stable, periodic, and chaotic behavior.


Representing change with differential equations

A system’s state is the collection of values needed to describe it at a particular time. For a single-species population model, the state might be the population size, denoted by xxx.

The derivative of xxx with respect to time, written dxdt\frac{dx}{dt}dtdx​, describes the rate at which the state changes at a particular time. For a population, it represents how quickly the population is increasing or decreasing.

If the population is measured at time ttt and again after a short interval Δt\Delta tΔt, its rate of change can be approximated by the change in population divided by the change in time:

dxdt≈x(t+Δt)−x(t)Δt\frac{dx}{dt} \approx \frac{x(t+\Delta t)-x(t)}{\Delta t}dtdx​≈Δtx(t+Δt)−x(t)​

As Δt\Delta tΔt becomes smaller, this approximation approaches the instantaneous rate of change.

A differential equation specifies how the current state determines its rate of change. In general, it can be written as

dxdt=f(x)\frac{dx}{dt}=f(x)dtdx​=f(x)

where fff is a rule that maps the current state to its derivative. For multiple interacting variables, the state and rate-of-change rules include all the variables in the system.


Simulating differential equations

Many differential equations cannot easily be solved using a direct, exact formula. They can still be studied through numerical simulation, which repeatedly estimates the state a short time into the future.

For a small timestep Δt\Delta tΔt, the basic update rule is

x(t+Δt)≈x(t)+f(x(t))Δtx(t+\Delta t) \approx x(t) + f(x(t))\Delta tx(t+Δt)≈x(t)+f(x(t))Δt

This procedure is repeated:

  1. Start with a known initial state.

  2. Calculate the rate of change from the current state.

  3. Use that rate to estimate the state one timestep later.

  4. Treat the estimate as the new current state and repeat.

This simple procedure is called the Euler method. More sophisticated numerical methods use additional calculations to improve accuracy, but they follow the same broad idea of advancing the simulation through many small steps.

The timestep matters. A timestep that is too large can produce a poor approximation; decreasing the timestep generally improves the approximation, though computational demands increase. In a simple exponential-growth example, the simulated curve approaches the exact analytical solution as the timestep gets smaller.


Exponential population growth

In an exponential-growth model, the rate of change of a population is proportional to its current size:

dxdt=cx\frac{dx}{dt}=cxdtdx​=cx

Here:

  • xxx is the population.

  • ccc is a growth-rate parameter.

  • A larger positive value of ccc means faster population growth.

Because a larger population produces more individuals who can reproduce, growth accelerates as the population increases. If the initial population is x0x_0x0​, the exact solution is

x(t)=x0ectx(t)=x_0 e^{ct}x(t)=x0​ect

A numerical simulation estimates this growth by repeatedly applying

xn+1=xn+cxnΔtx_{n+1}=x_n+cx_n\Delta txn+1​=xn​+cxn​Δt

where xnx_nxn​ is the estimated population at step nnn.

Exponential growth is useful for describing population increase over limited periods, but it cannot continue indefinitely in a finite environment. It assumes, in effect, that resources remain available regardless of how large the population becomes.

The growth parameter can also represent factors that increase or reduce population growth. For instance, public-health measures that reduce transmission can be understood as lowering an effective growth rate. This is a general illustration of how changing a model parameter can alter the trajectory of a population.


Logistic growth and carrying capacity

A real environment can support only a limited population. This upper sustainable level is called the carrying capacity, denoted by kkk. As a population approaches carrying capacity, competition for resources reduces its growth rate.

A standard logistic-growth model is

dxdt=cx(1−xk)\frac{dx}{dt}=cx\left(1-\frac{x}{k}\right)dtdx​=cx(1−kx​)

This model has two important regimes:

  • When the population is far below carrying capacity: The factor 1−xk1-\frac{x}{k}1−kx​ is close to 111, so growth is approximately exponential.

  • When the population approaches carrying capacity: The factor 1−xk1-\frac{x}{k}1−kx​ approaches 000, so the growth rate slows.

At carrying capacity, the model’s growth rate is zero. The population approaches kkk asymptotically, meaning that the curve flattens toward that value rather than continuing to grow without limit.

Logistic growth therefore combines rapid initial growth with resource-limited growth at larger population sizes.


Predator–prey systems

A predator–prey model adds a second species to the population model. Let x1x_1x1​ represent a prey population, such as rabbits, and let x2x_2x2​ represent a predator population, such as foxes.

The species affect one another:

  • Predation reduces the prey population’s growth.

  • Predation provides food that can increase the predator population’s growth.

  • In the absence of prey, the predator population declines, for example through starvation or migration.

The number of encounters between predators and prey depends on both populations. A common way to represent the opportunity for encounters is by a term proportional to their product, x1x2x_1x_2x1​x2​. The exact effects of these encounters depend on the particular model.

A predator–prey system can behave differently as environmental conditions change. One important parameter is the prey’s carrying capacity:

  • At low carrying capacities, the populations may settle at constant levels.

  • At higher carrying capacities, the prey may grow rapidly enough to support a larger predator population.

  • As predator numbers rise, predation can drive prey numbers down.

  • With less prey available, predator numbers then fall.

  • Once predator numbers are sufficiently low, the prey can recover, and the cycle begins again.

This repeating rise and fall is an oscillation in the population time series.


Phase space, phase plots, and limit cycles

A time-series plot shows how a variable changes over time. A phase space represents the state of a system using one dimension for each state variable.

For a two-species predator–prey system, phase space has two dimensions:

  • One axis represents the prey population.

  • The other represents the predator population.

A trajectory plotted in phase space is called a phase plot. It shows how the system moves through combinations of population levels, without displaying time explicitly on an axis.

Common phase-plot patterns include:

  • A single point: The system has settled at constant population levels.

  • An orbit: The populations cycle through recurring combinations of values.

A closed, repeating orbit is called a limit cycle. In predator–prey systems, a limit cycle represents a stable repeating pattern of prey and predator increases and decreases. The size of the orbit indicates the amplitude of the population fluctuations.

Some well-known predator–prey equations, called Lotka–Volterra models, produce limit cycles under appropriate assumptions. A more realistic model may also account for limits such as the prey’s carrying capacity.

Phase plots are useful because they reveal the structure of system behavior in a way that can be harder to see from separate time-series curves.


Adding species: food chains and food webs

Adding a third species increases the dimensionality of the system’s phase space. A three-species model requires three state variables and therefore has a three-dimensional phase space.

The additional species also allows more interaction patterns:

  • A food chain has a sequence of feeding relationships, such as a top predator feeding on a middle species that feeds on a bottom species.

  • A food web includes a more varied set of feeding relationships among species.

A small increase in the number of species can produce a much larger increase in possible behavior. Three-species systems may exhibit stable points, periodic cycles, or chaotic dynamics, depending on their interactions and parameter values.

The presence of three or more species does not guarantee chaos. Rather, additional dimensions make chaotic behavior possible in systems where the interactions and conditions support it.


Why phase-space dimension matters

The Poincaré–Bendixson theorem gives an important result for continuous-time dynamical systems in two dimensions. Under its usual assumptions, a bounded trajectory in a two-dimensional autonomous system cannot display the kind of sustained chaotic behavior associated with higher-dimensional systems; its long-term behavior is constrained to outcomes such as approaching an equilibrium or a periodic orbit.

An intuitive comparison is to imagine tracing a trajectory inside a bounded region:

  • In two dimensions, a trajectory constrained to remain in a finite region must eventually come close to parts of its earlier path. For a deterministic system with unique trajectories, crossing the same state means the system repeats its subsequent behavior, producing periodic motion.

  • In three dimensions, a trajectory has more room to avoid revisiting precisely the same state while remaining in a bounded region. More complicated long-term behavior, including chaos, becomes possible.

Thus, for the continuous-time systems considered here, three or more dimensions are necessary for chaos, but they are not sufficient by themselves. The system must also have suitable dynamics.


Omnivory and a three-species food web

Omnivory occurs when a species feeds on organisms at more than one level of a food web. One example of a three-species food web has:

  • A bottom species that serves as prey.

  • A middle species that feeds on the bottom species.

  • An apex predator that feeds on both the middle and bottom species.

A natural illustration involves great blue herons, carp, and dragonflies. Carp eat insects such as dragonflies, while herons can eat both carp and dragonflies. The heron therefore has feeding links to two levels of the food web.

The strength of the apex predator’s predation on the bottom species can be treated as a model parameter. Changing it can shift the system through different behavioral regimes:

  • At low top-to-bottom predation rates, populations may converge to stable levels.

  • At higher rates, the populations may begin to oscillate, forming a limit cycle.

  • At still higher rates, the system may undergo successive changes in the period of its oscillation and eventually become chaotic.

This example shows how changing the strength of one interaction can reorganize the behavior of an entire food web.


Poincaré sections and period-doubling bifurcations

A Poincaré section is a surface placed across a trajectory in phase space. Each time the trajectory crosses the surface in a specified direction, the system’s state is recorded. This converts a continuous orbit into a sequence of sampled points.

For a food web, a Poincaré section can be used to record one population—for example, the apex predator—each time the system completes another circuit through phase space. The resulting points make changes in the cycle’s period easier to identify.

A bifurcation is a qualitative change in a system’s behavior as a parameter changes. In a period-doubling bifurcation:

  1. A system that repeats its population pattern after one orbit begins repeating only after two.

  2. A further parameter change may cause the pattern to repeat after four orbits.

  3. Additional doublings may produce increasingly complicated behavior.

The sequence of period doublings leading to chaos is called the period-doubling route to chaos. In the omnivory example, the population pattern first repeats after one orbit, then after two, then after four, before chaotic behavior emerges as the predation parameter continues to increase.

This route is a common way for systems to transition from regular oscillation to chaos, though it is not the only possible route.


Scavenging and a different route through behavior

A second three-species food-web example involves scavenging. The scavenger hunts a prey species and also feeds on dead members of a predator species without killing them. A possible illustration is a system involving hyenas, lions, and wildebeest.

In this model, the scavenger’s rate of die-off is varied. The resulting behavior can pass through several regimes:

  • At low scavenger die-off rates, population levels can remain stable.

  • Increasing the rate can produce oscillations.

  • At higher rates, the system can undergo a period-doubling route to chaos.

  • After becoming chaotic, the system may briefly return to more orderly behavior before chaos resumes.

  • At still higher rates, a sequence of period-halving bifurcations can lead away from chaos and back toward regular behavior.

  • At sufficiently high scavenger die-off rates, the populations may again settle at stable levels.

Period-halving is the reverse in broad outline of period doubling: changes in the parameter simplify an oscillation’s repeating pattern rather than increasing its period. This example illustrates that increasing a parameter does not necessarily make a system progressively more chaotic. A single parameter may lead to a sequence of stable, oscillatory, chaotic, and stable regimes.


Forecasting, uncertainty, and ecological stewardship

Chaos has practical consequences for prediction. Because chaotic systems are sensitive to initial conditions, long-range forecasts can become unreliable even when the governing model is deterministic. The problem is that initial measurements always contain some uncertainty.

Ensemble forecasting

Weather forecasting addresses this uncertainty using ensemble forecasting. Instead of simulating one initial state, forecasters simulate a range or distribution of slightly different initial conditions.

The spread of the resulting forecasts helps indicate:

  • The range of plausible future outcomes.

  • How uncertain the forecast is.

  • Which outcomes appear more likely within the ensemble.

A wide spread signals that small uncertainties in the initial state have led to substantially different predictions.

Modeling ecological change

Mathematical models and simulations also help researchers investigate how changes to food webs might affect ecosystems. Controlled ecological experiments can be difficult, impractical, or ethically problematic, so models can support systematic exploration before or alongside real-world interventions.

Examples of questions that can be explored include:

  • Sterility genes in mosquitoes: Introducing a gene that makes certain mosquito populations sterile could reduce diseases such as malaria, Zika, or dengue. However, mosquitoes also pollinate some plants. Because plants support many food webs, changes to mosquito populations could have ecological consequences beyond disease transmission.

  • Invasive Burmese pythons in the Florida Everglades: These snakes threaten native mammals and birds. Observations that native bobcats may prey on pythons raise the possibility that the bobcat population could help restore ecological balance.

Models cannot replace ecological observation or settle every ethical question. They can, however, help researchers examine possible consequences of interventions, compare scenarios, and support responsible stewardship.


The Butterfly Effect and the Lorenz model

The Butterfly Effect is a popular name for extreme sensitivity to initial conditions. It is often expressed through the rhetorical question of whether a butterfly flapping its wings in Brazil could set off a tornado in Texas. The point is not that a particular butterfly reliably causes a particular tornado; it is that small differences in the present state of a sensitive system can grow into large differences in its later behavior.

The idea is associated with Edward Lorenz, a meteorologist and mathematician who found chaotic behavior in a simplified model of weather. The model represented the atmosphere as a thin layer of fluid heated from below and cooled from above.

In the model, trajectories eventually orbit around a strange attractor: a complex set toward which the system’s behavior is drawn. Lorenz’s attractor has a shape reminiscent of a butterfly’s two wings. The system is deterministic, yet its sensitivity to initial conditions makes long-term prediction difficult.


Key ideas to remember

  • Differential equations describe how a system’s state changes over time.

  • Numerical simulation estimates future states by repeatedly advancing the system in small timesteps.

  • Exponential growth assumes growth remains proportional to current population size; logistic growth adds a carrying capacity.

  • Predator–prey interactions can produce stable populations or repeating oscillations called limit cycles.

  • Phase space represents the system’s state, with one dimension for each state variable; phase plots reveal patterns in the system’s motion.

  • Three or more dimensions can allow chaotic behavior in continuous-time systems, but dimensionality alone does not cause chaos.

  • Period-doubling bifurcations can create a route from regular cycles to chaos; period-halving can lead away from chaos.

  • Chaos is deterministic but aperiodic and highly sensitive to initial conditions, which limits long-range predictability.

  • Ecological modeling can help explore consequences of human interventions and support responsible decisions under uncertainty.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent