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

Related simulators

Continue with similar topics in this category — or all 85 in Math Visualization.

View category →
NewUniversity / research

Euler vs RK4 (Pendulum)

Launch Simulator

Same nonlinear pendulum ODE and step h; Euler vs RK4 side by side.

NewUniversity / research

Runge–Kutta Stability Regions

Launch Simulator

Absolute-stability regions in the z = hλ plane for explicit Euler, RK2, and RK4; move λ and h, compare |R(z)|, and see why stiff modes constrain explicit time steps.

NewSchool

Logistic Growth

Launch Simulator

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

NewUniversity / research

Three-Species Food Chain (Hastings–Powell)

Launch Simulator

Plants x → herbivores y → predators z; Holling II fᵢ(u)=aᵢu/(1+bᵢu); logistic x; chaotic attractors when b₁ is varied (1991).

NewUniversity / research

2D Phase Portrait (ODE)

Launch Simulator

Direction field and click-to-trace trajectories for planar systems: harmonic, damped, saddle, nodes, foci, pendulum (RK4).

NewSchool

SIR Epidemic Model

Launch Simulator

S + I + R = 1: βSI and γI; ℛ₀ ≈ β/γ, herd threshold 1 − 1/ℛ₀; RK4 time plot.

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

N′ = αN−βNP, P′ = δNP−γP; phase plane RK4; equilibrium dot.

Rates (sim units)

0.55
0.028
0.84
0.024

Measured values

Equilibrium N*35.00
Equilibrium P*19.64

About this model

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

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.