Controls
Presets
Parameters
Model checks
The science
The model. Elk density N and wolf density W (animals per 100 km², time in years) follow the Rosenzweig–MacArthur predator–prey equations: dN/dt = rN(1 − N/K) − aNW/(1 + ahN) and dW/dt = e aNW/(1 + ahN) − mW. The elk grow logistically with rate r up to the carrying capacity K. A wolf's kill rate is the Holling type II functional response k(N) = aN/(1 + ahN): a hunting pack first has to search (rate aN), and each kill then costs a handling time h (chasing, feeding, resting), so the kill rate saturates at 1/h. The wolf numbers grow by e per kill and fall by the mortality m.
Coexistence and cycles. Wolves can persist only if e > m h; then the coexistence point is N* = m/(a(e − mh)), W* = r(1 − N*/K)(1 + ahN*)/a. It is stable (damped oscillations) while the carrying capacity is below KH = 1/(ah) + 2N*; above that threshold the point loses stability in a Hopf bifurcation and the populations follow a limit cycle (the "paradox of enrichment", Rosenzweig 1971). The phase plane shows the elk isocline (the hump), the wolf isocline (a vertical line at N*) and the orbit.
Numerical checks. (1) The closed-form coexistence point against a Newton iteration on the rate equations; (2) the analytic Jacobian against finite differences, with the sign of its trace compared with the simulated growth or decay of oscillations; (3) bisection on K for the sign change of the Jacobian trace against the formula for KH; (4) a Monte Carlo of 20 000 search-and-handle cycles against the disc equation aN/(1 + ahN) within four standard errors; (5) RK4 convergence and an exact identity for any orbit, mean(e k(N)) = m + [ln W(T) − ln W(0)]/T.
Simplifications and honesty. The numbers (e = 0.02 wolves per kill and 100 km², a, h, m, r, K) are illustrative values of a sensible order of magnitude, not a fit to a real population; real wolf–elk systems also depend on pack size, territory, snow, other prey and human influence. The animals in the 3D and 2D views move with simple chase and flee rules only for illustration; their numbers come from the model (4 animals per 1 per 100 km², a 400 km² territory), and no individual animal is harmed in the picture. This is an educational model, not a wildlife-management tool.