Membrane potential V(t) — mV
Gating variables — fraction open (0–1)
m activates fast; h inactivates Na⁺; n activates K⁺ more slowly — that timing gap is what makes a spike a spike.
Conductances gNa, gK — mS/cm²
gNa switches on and back off quickly; gK turns on slower and stays on longer — this asymmetry shapes the spike.
m∞, h∞, n∞ vs V
τm, τh, τn vs V (ms)
The dashed vertical line tracks the neuron's current V as the sweep plays. Note: blocking a channel zeroes its maximal conductance (ḡ) — it does not change these kinetics.
The equations
Cm=1, ḡNa=120, ḡK=36, gL=0.3 mS/cm²; ENa=50, EK=−77, EL=−54.387 mV. Forward Euler, dt = 0.01 ms.
Both \(\alpha_m\) and \(\alpha_n\) have a removable 0/0 singularity (at V=−40 and V=−55 mV). This demo uses the analytic limit there: \(\alpha_m(-40)=1.0\), \(\alpha_n(-55)=0.1\), matching the companion Python script.