The membrane potential
Where the leak factor we set by hand in chapter 1 comes from: the membrane is a capacitor discharging through a resistor.
In the previous chapter you gave the neuron a memory with a single knob: the retention factor , slid by hand between and . It worked, but it fell out of the sky. Why and not something else? What does it actually stand for? This chapter opens up the cell to show that is not an arbitrary setting: it comes straight from the physics of a membrane, a tiny capacitor draining through a resistor.
A membrane, two electrical parts
A real neuron bathes in a fluid full of charged ions: sodium, potassium, chloride. At rest, its membrane holds a small, constant voltage difference between the inside and the outside of the cell, on the order of millivolts. This is the resting potential Resting potential The stable voltage difference a neuron's membrane maintains between the inside and outside of the cell when it receives nothing, on the order of -65 millivolts. It is the value the membrane potential drifts back to when no input arrives. Source: Gerstner et al., 2014 , the value the cell drifts back to when left alone.
This membrane is a very thin fatty wall separating two salty solutions. It piles up opposite charges on either side, exactly like a capacitor: a component that stores electric charge. The larger its capacitance , the more charge it takes to raise its voltage by the same amount.
But the membrane is not perfectly sealed. It is pierced by tiny pores, the ion channels Ion channel A pore through a neuron's membrane that lets specific charged ions pass. Always-open channels leak a steady current, modelled as a resistance. Other channels open and close depending on the voltage itself and actively generate the spike (the Hodgkin-Huxley model). Source: Hodgkin & Huxley, 1952 , which let a trickle of current leak through. Seen from afar, this leak behaves like a resistor: a component that opposes the flow of current. The larger the resistance , the harder current passes, and the slower the charge escapes.
Hold on to these two roles, because the whole chapter lives in their meeting: the capacitance stores, the resistance lets things leak.
The RC circuit and the discharge law
Put these two parts together: a charged capacitor , connected to a resistor through which it can drain. This is the RC circuit, the simplest electrical model of a so-called passive membrane, that is, one that merely leaks, without the active mechanisms that build the spike (we come back to this at the end).
Charge this capacitor up to a voltage , then leave it alone. Current escapes through the resistor, the voltage drops. How fast? Here is the decisive intuition: the leaking current is stronger the higher the voltage. The more charge remains, the faster it escapes; the less remains, the slower the leak. A quantity whose rate of decrease is proportional to its own value decays as an exponential. The discharge of an RC circuit therefore follows
This equation reads: the voltage at time equals the starting voltage multiplied by raised to the power . The number (the Greek letter tau) bundles the two parts into a single quantity, . The proper justification of this form goes through a differential equation, the tool of chapter 3; here, the proportionality intuition is enough to move on.
The time constant, the membrane’s clock
The product has units of time and a very concrete meaning. Look at what the voltage is worth right at the moment :
After a duration , the membrane has lost about of its charge: is left. This is why is called the time constant Time constant Characteristic timescale of a membrane's leak, written τ and equal to the product of resistance and capacitance, τ = R · C. After one time constant the potential has lost about 63% of its charge (37% remains, i.e. 1/e). It sets the discrete retention factor λ = e^(-Δt/τ). Source: Gerstner et al., 2014 : it measures the characteristic duration of the leak. A small time constant, and the memory evaporates in a flash; a large one, and the membrane holds the trace of what it received for a long time. This is the exact physical translation of what the knob was tuning in chapter 1.
From continuous decay to the leak factor of chapter 1
We now have two descriptions of the same leak. Physics describes it continuously: at every instant , the voltage is . Chapter 1 described it in small time steps, with the input-free recurrence . Do they describe the same thing?
To compare, let us sample the continuous curve: look at it only at regular intervals , that is, at the instants , , , and so on. At instant , the continuous law gives
The second equality uses only the rule of powers: is multiplied by itself times. Now set
Then the sampled value reads , which is exactly the sequence produced by the chapter-1 recurrence, whose input-free solution is .
The conclusion is strong: the chapter-1 recurrence is not a crude approximation of the physics, it is its exact sampling, provided you choose . The leak factor we used to set by hand had a hidden formula, and here it is.
Play with the discharge
The formula is easier to see than to read. In the component below, an initial charge sets the potential at its starting value, then the membrane leaks. The green curve is the continuous discharge . The violet dots are the values of the chapter-1 recurrence, sampled every .
Your mission : first set and , and watch the time constant appear while the slope of the curve changes. Notice that the curve always crosses the line right at the instant . Then play with the step : the violet dots spread apart or close up, but they always stay sitting exactly on the green curve. That is the theorem from the previous section, before your eyes.
The leak comes from physics
Three things to watch as you play:
- The time constant depends only on the product . Double the resistance or double the capacitance: the curve slows down the same way. That is the content of the note above, made tangible.
- At the instant , the curve passes through the line, whatever and are. The mark and the vertical always cross on the curve.
- The smaller is compared with , the closer is to and the denser the dots. The larger , the more drops and the faster the dots tumble: the recurrence always follows the physics, at whatever pace you look at it.
What about the real neuron?
The RC circuit describes a passive membrane: it stores, it leaks, and that is all. But a real neuron does not merely leak, it actively builds its spike. How? In 1952, Alan Hodgkin and Andrew Huxley measured, on the squid giant axon, how certain ion channels open and close depending on the voltage itself, creating a chain reaction that generates the spike (Hodgkin & Huxley, 1952). Their model, awarded the Nobel Prize in Medicine in 1963, adds to the plain RC some conductances that depend on the voltage, hence nonlinear.
In one sentence
The neuron’s leak is anything but arbitrary: the membrane is a capacitor draining through a resistor with a time constant , and sampling that continuous discharge every gives back exactly the factor set by hand in chapter 1.
Towards chapter 3
We have tied our recurrence to the physics of a leaking membrane, but two pieces are still missing for a complete spiking neuron. First, the equation that governs the voltage when an input current arrives continuously, not just when we let the membrane drain on its own. Second, the firing mechanism: the threshold and the reset. Chapter 3 writes the membrane’s differential equation, , adds a threshold and a reset, and obtains the full leaky integrate-and-fire model, of which our chapter-1 recurrence was only the sampled, input-free version.
Exercises
Grab paper and a pencil. The solutions are right below, to look at only after you have tried.
Exercise 1: computing a time constant
A membrane has a resistance and a capacitance , in the model’s units. Compute its time constant . Then say what becomes if you double the capacitance.
Exercise 2: the half-charge time
A membrane has a time constant . What fraction of the initial charge remains at the instant ? Then, after how long is only half of it left?
Exercise 3: recovering the leak factor
We sample a discharge with time constant using a step . Compute the leak factor . Then check that, starting from , the recurrence gives after two steps the same value as the continuous law at instant .
Sources
- Hodgkin, A. L. & Huxley, A. F. (1952). “A quantitative description of membrane current and its application to conduction and excitation in nerve.” The Journal of Physiology 117(4), 500-544. DOI 10.1113/jphysiol.1952.sp004764
- Lapicque, L. (1907). “Quantitative research on the electrical excitation of nerves treated as a polarization.” Journal de Physiologie et de Pathologie Générale 9, 620-635. Commented translation, Brunel & van Rossum, 2007, DOI 10.1007/s00422-007-0189-6
Further reading
- Gerstner, W., Kistler, W. M., Naud, R. & Paninski, L. (2014). Neuronal Dynamics. Cambridge University Press. Section 1.3 on the passive membrane and the RC circuit. neuronaldynamics.epfl.ch
- Abbott, L. F. (1999). “Lapicque’s introduction of the integrate-and-fire model neuron (1907).” Brain Research Bulletin 50(5-6), 303-304. DOI 10.1016/S0361-9230(99)00161-6
1. Where does the retention factor λ set by hand in chapter 1 come from?
2. What is the time constant τ of an RC circuit equal to?
3. At the instant t = τ, what fraction of the initial charge remains?
4. Why do we say the chapter-1 recurrence is the exact sampling of the discharge?
5. What does the RC circuit model, and what does it not model?