The three-pillar model of sustainability treats an economy, its environment and its society as three coupled stocks K, N, S ∈ [0,1] evolving under a nonlinear feedback system, integrated here with a classical 4th-order Runge-Kutta scheme (step 0.02 yr):
dK/dt = rK·K·(1−K) − eX·K·(1−N)
dN/dt = rN·N·(1−N) − eX·gX·K·N
dS/dt = rS·eQ·(K+N)/2·(1−S) − dS·S·(1−K)·(1−N)
K (economy) grows logistically toward its own carrying capacity but is throttled when the environment N is depleted; N regenerates logistically but is drawn down by economic extraction proportional to K·N; S (social equity) rises when investment from a healthy K and N flows in, and erodes when both economy and environment underperform at once. rK, rN, rS are fixed intrinsic rates; eX (extraction), gX (regeneration) and eQ (equity investment) are the three sliders.
- Weakest-link index = min(K, N, S) × 100 — the classical "three-pillar" claim that overall sustainability is bounded by its worst-performing pillar, not their average.
- Resource shock instantly cuts N by 40%, letting you watch whether the system's feedback loops pull it back toward a stable point or push it into collapse.
- The 3D trail is the system's trajectory through (K, N, S) phase space — a stable sustainable regime spirals into a fixed point; an over-extractive regime spirals toward the N≈0 wall.
Equilibria and stability. Setting dK/dt = dN/dt = dS/dt = 0 gives the fixed points; the page finds the interior one by Newton iteration on the 3x3 system with a finite-difference Jacobian J. The state is locally stable when all eigenvalues of J have negative real part. For a 3x3 matrix this is the Routh-Hurwitz test: a1 = -tr J > 0, a3 = -det J > 0 and a1·a2 > a3, where a2 is the sum of the principal 2x2 minors. "Run checks" verifies this independently (RK4 step-halving order about 4, Euler order about 1, long RK4 run vs the Newton root, invariance of the unit cube).
Honest simplifications. A toy system-dynamics model: dimensionless stocks in [0,1], hand-picked rates (rK=0.35, rN=0.30, rS=0.25), no population, prices, technology or delays; the weakest-link index is a normative convention, not a measurement. It shows qualitative feedback structure (tipping, overshoot), not a forecast.
This is the same coupled-stock structure used in ecological-economics system-dynamics models (e.g. the World3 family): no single sector can be optimized in isolation because each one's growth term depends on the state of the other two.