PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Math Visualization

Other simulators in this category — or see all 46.

View category →
NewSchool

Logistic Growth

dN/dt = rN(1−N/K); exact S-curve vs carrying capacity K.

Launch Simulator
NewUniversity / research

Logistic Map Bifurcation

x_{n+1}=rx_n(1−x_n): scan r, plot attractors — period doubling to chaos (Feigenbaum cascade).

Launch Simulator
NewSchool

2×2 Matrix & Eigenvectors

Grid deformation under M; real λ eigen-direction arrows.

Launch Simulator
NewUniversity / research

Lorenz Strange Attractor

σ, ρ, β ODEs; sensitive butterfly in (x,z) projection — RK4 trace.

Launch Simulator
NewUniversity / research

STFT & Spectrogram

Slide a windowed FFT across the signal: chirps, two-tones, bursts. Tune window M, hop, type — see the time–frequency trade-off live.

Launch Simulator
NewUniversity / research

Morlet Wavelet (CWT)

Continuous wavelet transform with the complex Morlet wavelet: scaleogram |W(s,t)|, log-frequency axis, cone of influence, adjustable ω₀ and scale range.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Math Visualization/Lotka–Volterra

Lotka–Volterra

The Lotka–Volterra equations, also known as the predator-prey model, describe the dynamics of two interacting biological populations. The system is governed by a pair of first-order, nonlinear differential equations: dN/dt = αN - βNP for the prey population N(t), and dP/dt = δNP - γP for the predator population P(t). Here, α is the prey's intrinsic growth rate in the absence of predators, β is the rate at which predators capture prey, δ represents the efficiency with which consumed prey is converted into new predators, and γ is the predator mortality rate. The product terms βNP and δNP model the crucial interaction: the rate of encounters between species is assumed proportional to the product of their populations. This model simplifies real ecosystems by ignoring spatial effects, age structure, environmental carrying capacity for the prey, and other potential food sources for the predator. Despite these simplifications, it captures the fundamental oscillatory behavior observed in some natural systems, where predator numbers lag behind prey numbers. By interacting with this simulator, students can explore the phase plane—a plot of predator population versus prey population—and observe how trajectories form closed orbits around a non-zero equilibrium point at (γ/δ, α/β). They will learn how initial conditions affect the amplitude and phase of the cycles, visualize the integration of differential equations using the Runge-Kutta (RK4) method, and understand the concept of a neutrally stable center equilibrium in a conservative system.

Who it's for: Undergraduate students in mathematics, ecology, or dynamical systems courses studying coupled differential equations and biological modeling.

Key terms

  • Lotka–Volterra equations
  • Predator-prey model
  • Differential equations
  • Phase plane
  • Equilibrium point
  • Runge-Kutta method
  • Population dynamics
  • Neutral stability

Rates (sim units)

0.55
0.028
0.84
0.024

Measured values

Equilibrium N*35.00
Equilibrium P*19.64

How it works

Predator–prey caricature: dN/dt = αN − βNP, dP/dt = δNP − γP. Interior equilibrium **(N*, P*) = (γ/δ, α/β). Trajectories in the (N, P) plane are closed curves around it for this model (no logistic prey cap here). RK4 integration; red dot marks (N*, P*)**.

Key equations

N' = αN − βNP · P' = δNP − γP

Frequently asked questions

Do the populations in the Lotka–Volterra model always oscillate forever?
In the idealized model presented, yes—the oscillations are periodic and continue indefinitely, forming closed loops in the phase plane. This is because the model is conservative and lacks damping or limiting factors. In real ecosystems, such perfect, undamped oscillations are rare because the model omits factors like environmental carrying capacity, which would stabilize the system into a limit cycle or a fixed point.
What does the equilibrium point represent?
The non-zero equilibrium point (γ/δ, α/β) represents constant population sizes where the rates of change for both species are zero. If the system starts exactly at this point, the populations remain constant. However, this equilibrium is neutrally stable: any small perturbation leads to a persistent oscillation around it, rather than a return to the equilibrium or a runaway divergence.
Why is the interaction term proportional to N*P?
The product N*P, known as a mass-action term, assumes that the rate of encounters between predators and prey is proportional to the likelihood of individuals from each group randomly meeting. This is a common simplification in chemical kinetics and epidemiology (where it models disease transmission) and is based on the principle that more individuals of both types lead to more frequent interactions.
What are the main limitations of this basic model?
Key limitations include the assumption of unlimited prey growth (no carrying capacity), the predator's sole dependence on one prey species, the lack of time delays (e.g., in predator reproduction), and the omission of spatial movement or refuge for prey. More advanced models, like the Rosenzweig–MacArthur model, add a carrying capacity for the prey to create more realistic dynamics.