Neurons talk: summation
Input A alone: no spike. Input B alone: no spike. A and B arrive together…
A alone lifts the trace to $-62$ mV — depolarization $8.0$ mV, threshold gap $7.0$ mV — and decays with $\tau = 15$ ms. B alone: the same. A+B jumps to $-54$ mV, over the dashed line, and the spike stroke lands. At weights $7$ and $7$, A+B reaches only $-56$ mV. Two near-misses, still a miss.
In this model, EPSPs — the voltage bumps synapses deposit — add linearly: simultaneous inputs depolarize by $w_A + w_B$, and the cell spikes exactly when that sum covers the $15$ mV gap to threshold. Linear summation is a modeling assumption, not a property of real dendrites, which sum non-linearly — nearby inputs shunt each other, large sums saturate, and some dendrites fire local spikes of their own. The idealized version is spatial summation at its cleanest: no single input decides; the vote does.
Now collect input activity into a vector $\mathbf{x}$ (fired $= 1$, silent $= 0$) and the synaptic strengths into a weight vector $\mathbf{w}$. The cell fires when
A weighted adder behind a threshold — the dot product from the linear algebra chapters, running on membrane voltage. Borrow this unit in software and you have the artificial neuron that neural networks are built from. Real brains stack billions of cells that are richer than any weighted adder — but the adder is where their arithmetic starts.
PREREQUISITEEverything here runs on the dot product — built from scratch, with its geometry, in the vectors chapter.About this model
What it represents: spatial summation as an ideal linear adder — each synapse deposits a fixed voltage bump, the bumps add, and a threshold turns the sum into a yes-or-no spike.
What it leaves out: everything non-linear about real dendritic integration — nearby inputs shunt each other, large sums saturate, and NMDA receptors can fire local dendritic spikes. Inhibition is missing too, and it does more than subtract: shunting inhibition can veto an input outright. Where a synapse sits on the dendritic tree also matters; here every input lands at the same point.
Source: Gerstner, Kistler, Naud and Paninski, Neuronal Dynamics, Ch. 1.4 (EPFL, free online) — the limits of the linear summation this lesson assumes.
Why does A+B spike when each input alone fails?
Set weight A to $9$, weight B to $5$, and fire A+B. What happens?
Transfer: with $\mathbf{w} = (8, 8)$ and only input A firing, $\mathbf{x} = (1, 0)$, the depolarization equals…
This model treats a neuron as a weighted adder with a threshold: EPSPs sum linearly, and a spike reports $\mathbf{w} \cdot \mathbf{x} \ge \theta$ — a dot-product decision, the bridge from these chapters to neural networks. Real dendrites bend the sum; the straight-line version is where the story starts.