Playground Home

Predator–Prey with Discrete Delay — Forward Euler (unscaled model)

Parameters

1.00
1.0
1.00
0.020
0.60
0.0

Initial conditions & numerics

0.10
0.10
0.0100
1200

Numerics: Forward Euler updates: xn+1 = xn + Δt · [r xn(1 − xn/K) − m xn yn], yn+1 = yn + Δt · [−s yn + Y e−sτ m xn−d yn−d], with delay index d = round(τ/Δt). History for t ≤ 0 set to x = x₀, y = y₀. Values are floored at 0.

Tip: If things blow up or oscillate too wildly numerically, reduce Δt.

Time series

Prey x(t) Predator y(t)

Phase plane (x vs y)

Trajectory