This deep dive drills the Neuromorphic computing maths until no input surprises you. We take the two engines from the parent — the Leaky Integrate-and-Fire (LIF) neuron and Spike-Timing-Dependent Plasticity (STDP) — and hit every case class they can produce.
Before we start, one reminder of the core tools we lean on (all derived in the parent note):
Here every symbol means: R = leak resistance (ohms), C = membrane capacitance (farads), I = input current (amps), V = membrane voltage, Vth = firing threshold, τm=RC = how fast the membrane charges/forgets, tpre/tpost = the times two connected neurons spiked, A± = maximum learning strength, τ± = how quickly timing stops mattering. If any of these feels shaky, re-read the parent's RC derivation first.
Every problem this topic throws at you lands in exactly one of these cells. The examples below are labelled with the cell they cover.
#
Case class
What makes it special
Example
C1
Above thresholdRI>Vth
Neuron fires; T finite
Ex 1
C2
Below thresholdRI<Vth
Log argument negative → never fires
Ex 2
C3
Exactly at thresholdRI=Vth
Degenerate: reaches Vth only at t=∞
Ex 3
C4
Limiting: huge inputRI≫Vth
T→0 as 1/I; rate grows without bound (only refractory period caps it)
Ex 4
C5
STDP potentiationΔt>0
Pre before post → strengthen
Ex 5
C6
STDP depressionΔt<0
Pre after post → weaken
Ex 5
C7
STDP degenerateΔt=0
Simultaneous spikes → boundary
Ex 6
C8
Real-world word problem
Choose I to hit a target rate
Ex 7
C9
Exam twist
Threshold current + rate just above it
Ex 8
C10
Sanity / energy
Why silence = low power (sparsity)
Ex 9
We use one fixed "textbook neuron" wherever possible so numbers stay comparable:
R=10MΩ=107Ω,C=1nF=10−9F,τm=RC=10ms,Vth=15mV.
Look at the figure: the three coloured curves are the same neuron fed three different currents. The orange curve (strong input) crosses the dashed threshold line; the teal one (medium) just reaches it; the plum one (weak) flattens below the line forever. Those three shapes ARE cells C1, C3, C2. Every example is a point on one of these curves.
The figure plots Δw against Δt. Right of zero (orange) = strengthen, decaying as timing loosens; left of zero (teal) = weaken. The dot at Δt=+3 is Ex 5a; the dot at Δt=−3 is Ex 5b — note the left dip is deeper because A−>A+.
Does a neuron with RI=Vth ever fire in finite time? ::: No — T→∞; the boundary is on the silent side (see C3).
What single quantity do you always compute first in an LIF problem, and why? ::: RI vs Vth — if RI≤Vth the neuron never fires and the T formula's log goes negative/undefined (C2).
For RI≫Vth, how does time-to-spike scale with I? ::: T≈CVth/I, i.e. ∝1/I; the rate grows without bound, only a refractory period caps it (C4).
Pre at 5 ms, post at 8 ms: strengthen or weaken? ::: Δt=+3>0 → potentiation, strengthen (C5).
What happens in STDP when Δt=0? ::: Jump discontinuity between +A+ and −A−; convention-defined, usually 0 (C7).
To double the firing rate you must (increase/decrease) I? ::: Increase — higher RI shortens T (C8/C9).