Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Health

Lotka–Volterra Interspecific Competition Simulator

· Last updated:2026-08-20

This tool is for informational purposes only and does not constitute medical, financial, or legal advice; consult a qualified professional for advice.

RK4 simulation of two competing species with phase plane, isoclines, equilibrium, and automatic outcome classification.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Health
Input types
number
Output type
html
Sample coverage
4
API ready
Yes

Overview

Simulate two competing species with the Lotka–Volterra interspecific competition model. Enter growth rates, carrying capacities, competition coefficients, and starting populations; RK4 integration produces N(t) time series, a phase-plane trajectory with zero-growth isoclines, the coexistence equilibrium when it exists, and automatic classification of the outcome (stable coexistence, competitive exclusion, or bistable priority effect).

When to use

  • When you need to see whether two species coexist or one excludes the other from given r, K, and α values.
  • When you want the phase plane, isoclines, and equilibrium point rather than only population curves.
  • When you are checking invasion from low density or a species starting at zero.

How it works

  1. 1Set r₁, r₂, K₁, K₂, α₁₂, α₂₁, N₁(0), N₂(0), and simulation duration tMax.
  2. 2The tool integrates dN₁/dt = r₁N₁(1−(N₁+α₁₂N₂)/K₁) and dN₂/dt = r₂N₂(1−(N₂+α₂₁N₁)/K₂) with RK4 over 6000 steps.
  3. 3It plots both N(t) series and the N₁–N₂ phase plane with zero-growth isoclines and the simulated trajectory.
  4. 4Outcome is classified from isocline geometry: stable coexistence, species-1 or species-2 exclusion, or bistable priority effect, plus N₁* and N₂* when they exist.

Use cases

  • Compare mild versus strong competition coefficients to illustrate niche partitioning versus competitive exclusion.
  • Map isocline geometry onto the four classical outcomes for teaching population ecology.
  • Test whether a rare invader can increase when the resident is at carrying capacity.

Examples

1. Stable coexistence under mild competition

Ecology instructor

Background

A lecture needs a concrete case where both species persist at an interior equilibrium.

Problem

Show that when both α’s lie below the K-ratio thresholds, the isoclines cross stably and the trajectory converges to coexistence.

How to use

Enter r₁=0.5, r₂=0.4, K₁=100, K₂=80, α₁₂=0.6, α₂₁=0.5, N₁(0)=10, N₂(0)=8, tMax=60.

r1=0.5, r2=0.4, k1=100, k2=80, alpha12=0.6, alpha21=0.5, n10=10, n20=8, tMax=60

Outcome

Both α’s are below their thresholds (K₁/K₂=1.25, K₂/K₁=0.8). The phase plane shows the trajectory settling on the coexistence point (N₁*, N₂*)=(74.29, 42.86).

2. Competitive exclusion of species 1

Student of population ecology

Background

Need to demonstrate the competitive-exclusion principle when one isocline dominates.

Problem

Species 1 starts ahead but should still go extinct because α₁₂ exceeds K₁/K₂.

How to use

Enter r₁=0.4, r₂=0.5, K₁=60, K₂=90, α₁₂=1.2, α₂₁=0.5, N₁(0)=40, N₂(0)=10, tMax=60.

FAQ

What equations does the simulator solve?

The two-species Lotka–Volterra competition system: dN₁/dt = r₁N₁(1−(N₁+α₁₂N₂)/K₁) and dN₂/dt = r₂N₂(1−(N₂+α₂₁N₁)/K₂).

How is the integration performed?

Fourth-order Runge–Kutta (RK4) with 6000 steps over the chosen tMax.

What outcomes can it classify?

Stable coexistence (interspecific competition weaker than intraspecific on both sides), competitive exclusion of species 1 or 2, and bistable priority effect.

Can a species start at population zero?

Yes. N₁(0) or N₂(0) may be 0 to test invasion-free or single-species cases.

How is the coexistence equilibrium calculated?

N₁* = (K₁ − α₁₂K₂)/(1 − α₁₂α₂₁) and N₂* = (K₂ − α₂₁K₁)/(1 − α₁₂α₂₁) when the isoclines cross in the positive quadrant.

Hub

Population Ecology, Biodiversity, and Food Web Calculators

Use educational ecology models to explore population growth, carrying capacity, species interactions, sampled biodiversity, and trophic energy transfer.

Home
Tools3212
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Python

Web Image Processing Python Samples

Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

Java

Android Image Processing Java Samples

Android Java image processing examples including reading/saving images, scaling, and format conversion

Kotlin

Android Image Processing Kotlin Samples

Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

Rust

Web Image Processing Rust Samples

Web Rust image processing examples including image read/save, scaling, and format conversion

Health

Lean Body Mass Calculator (Boer / Hume / James)

Estimate your lean body mass (LBM) from sex, age, weight and height using three clinical formulas side by side, with derived body-fat percentage.

Health

Extended BMR Calculator (Mifflin / Schofield Multi-Formula Comparison)

Compare Mifflin-St Jeor, original and revised Harris-Benedict, Schofield (FAO/WHO/UNU), and Katch-McArdle BMR equations side by side with mean and spread in kcal/day. Not medical advice.

Health

Cell Confluency Estimator (Microscopy Grid Method)

Estimate adherent-cell confluency with the grid-count method: confluency% = occupied/total squares × 100 per field, with multi-field mean ± SD and optional time-to-target from the doubling time.

Health

Free Water Clearance Calculator

Calculate solute-free water clearance (C_H₂O) and electrolyte-free water clearance (eC_H₂O) to differentiate hypo-/hypernatremia. Classic: C_H₂O = V·(1 − U_osm/P_osm); positive = dilute urine excreting free water (diabetes insipidus, polydipsia, water-load recovery), negative = concentrated urine conserving free water (dehydration, SIADH). Electrolyte-free: eC_H₂O = V·(1 − (U_Na + U_K)/P_Na), which better predicts the direction of serum sodium change — a negative eC_H₂O means the urine is electrolyte-free-water-rich and tends to raise serum Na⁺, informing IV fluid choice. Optional Na/K inputs enable the electrolyte-free calculation. Derived from Rose, Shimizu 2002 (Nephron), and NephSIM. Point estimate; interpret with full clinical context. Not medical advice.

r1=0.4, r2=0.5, k1=60, k2=90, alpha12=1.2, alpha21=0.5, n10=40, n20=10, tMax=60

Outcome

α₁₂=1.2 > K₁/K₂=0.667 while α₂₁ remains below K₂/K₁. Species 1 declines to effective extinction; species 2 reaches its carrying capacity K₂=90.