Stellar Grove · Concrete Mathematical Modelling
Competition: coexist or exclude?
When two species eat the same food, when can both survive?
Chapter 2 · Equilibrium. A worked example rebuilt from the chapter's topic in Mike Mesterton-Gibbons, *A Concrete Approach to Mathematical Modelling*; the scenario and numbers are our own illustration, not the book's text.
Headline: Both species survive when each limits itself more than it limits its rival. With competition coefficients 0.5 and 0.6, they settle at 86 and 29, a stable node. Make the effects strong both ways and the starting numbers decide the winner.
- 86 : 29the coexistence equilibrium (thousands of each species)
- 4possible outcomes: coexist, x wins, y wins, or depends on the start
- 2inequalities decide it: K₁ > α₁₂K₂ and K₂ > α₂₁K₁
The problem
Two species share a food supply. Alone, each would grow logistically to its own carrying capacity (, thousand). Together, each individual of one species uses food that would have supported some of the other. Which equilibrium do they reach, and is it stable?
The model
Each species' growth is slowed by its own numbers and by its competitor's, weighted by a competition coefficient (how many of me one of you is worth):
The interior equilibrium solves the two nullcline equations and :
Stability comes from the Jacobian at the equilibrium. The result is cleanest as an invasion test: can each species grow when rare, with the other at its carrying capacity?
Here both inequalities hold (100 > 40 and 80 > 60), so the species coexist at , which the Jacobian confirms is a stable node. With the second test fails (80 < 140) and the outcome is x wins. With both fail: the interior equilibrium becomes a saddle and the outcome depends on start.
Try it
Competition explorer
Drag the sliders; hover the chart to read values.
Key findings
- Coexistence needs self-limitation to beat cross-limitation for both species; the sizes of affect how fast the system settles, never where.
- Strong mutual competition ( with neither able to invade) leaves the interior point as a saddle: the system runs to one corner or the other depending on the starting numbers (try it with the sliders), an example of history mattering.
- Two species with identical needs () can't coexist: the competitive exclusion principle falls out of the inequalities.
from books.concrete_mathematics import equilibrium as eq
print(eq.competition_outcome(K1=100.0, K2=80.0, a12=0.5, a21=0.6))
print(eq.competition_outcome(K1=100.0, K2=80.0, a12=1.5, a21=1.6).outcome)
J = eq.competition_jacobian(85.7143, 28.5714, 1.0, 0.8, 100.0, 80.0, 0.5, 0.6)
print(eq.classify(J))
# → CompetitionOutcome(coexistence=(85.71428571428572, 28.571428571428573), outcome='coexistence')
# → depends on start
# → stable node
Assumptions and extensions
- Linear competition (each individual of a species has the same effect) is the simplest assumption; resource-explicit models derive the α's from what each species eats.
- No space. In a patchy habitat, a weaker competitor can persist where the stronger one is locally absent.
- The same algebra describes firms sharing a market:
equilibrium.classifyandequilibrium.equilibriawork for any two-variable model.