Neuronal Temporal Dynamics


Neuronal Temporal Dynamics

Simon
You know, Michael, I used to think a neuron was just a simple switch — inputs come in, and if they’re strong enough, it fires. But I’ve learned that’s barely scratching the surface.

Michael
Right, that's a common first impression. But neurons are actually sophisticated temporal computers. How they respond depends not just on the current input, but on what they were doing milliseconds or even minutes ago.

Simon
Exactly, and that’s where dynamical systems theory comes in. It’s a mathematical framework for studying how things change over time — and it turns out to be perfect for understanding neurons.

Michael
Sure, but let's start simple. What do we mean by a 'system' in this context?

Simon
It can be anything: a neuron firing, populations of animals, even climate. The key is that we describe its state at any moment using state variables — real numbers that capture everything relevant about the system.

Michael
Like a ball moving through space: you need its position — x, y, z — and its velocity in each direction. That's six state variables. For a pendulum, you just need the angle from vertical and the angular velocity.

Simon
And choosing the right state variables is part art, part science. It depends on what you want to model. For a neuron, we care about electrical properties — membrane potential, ion channel states — and ignore things like sugar concentration or DNA repair.

Michael
So once we have state variables, how do we describe how they change? That's where differential equations come in — they relate a value to its rate of change.

Simon
Classic example: bacteria in a petri dish. The number of bacteria doubles every hour. But if you only measure hourly, you miss what happens in between. To capture that continuous growth, you write a differential equation: dn/dt equals k times n, where k is the growth rate.

Michael
And dn/dt is the derivative — the slope of the population curve at any instant. It's like a speedometer for the bacteria.

Simon
Exactly. But in practice, when we solve these equations on a computer, we can't use infinitely small steps. We use small finite steps — that's numerical methods, like Euler's method. You take a step forward, update the state, and repeat.

Michael
For the bacteria, that means measuring every five minutes instead of every hour. You calculate the rate at the current population, multiply by the step size, and get the new population. Then you recompute the rate and keep going.

Simon
Of course, for exponential growth we have an exact formula. But for most real systems — including neurons — there's no simple analytical solution. Numerical methods let us approximate pretty much any differential equation.

Michael
And that brings us to the predator-prey model: rabbits and foxes. It's a coupled system of two differential equations — the rate of rabbits depends on both rabbits and foxes, and vice versa.

Simon
Right. Rabbits reproduce at a rate proportional to their number, and they get eaten at a rate proportional to both populations. Foxes grow by eating rabbits and decline naturally. That gives us two equations with parameters like a, b, c, d.

Michael
Solving them numerically gives us two curves over time. But to really understand the dynamics, we use phase space — a coordinate plane with rabbits on one axis and foxes on the other. Each point is a possible state.

Simon
Then at each point we draw a little arrow representing the rates of change — that’s a vector field. Following those arrows gives you a phase portrait, a geometric picture of the system's behavior without crunching numbers.

Michael
And we can identify special points. Equilibrium points are where both rates are zero. In the predator-prey model, we have one at (0,0) — both extinct — and another nontrivial one where rabbits and foxes balance.

Simon
But the behavior around those points is different. The origin is unstable: if you have a few rabbits and no foxes, they grow exponentially. The nontrivial equilibrium gives rise to limit cycles — closed loops in phase space where populations oscillate endlessly.

Michael
And those oscillations emerge naturally from the equations without any forced periodic input. Plus, depending on initial conditions, you get different cycles. But if you modify the model to include limited resources, you might get a single stable equilibrium instead.

Simon
So the same principles apply to neurons. Instead of rabbit and fox populations, state variables might be membrane potential and ion channel states. The differential equations govern how they change. And we can use phase portraits to understand spiking, bursting, and adaptation.

Michael
That’s the foundation we’ll build on in the upcoming videos. But it all starts with understanding dynamical systems — state variables, differential equations, numerical methods, and the geometric insights from phase portraits.

Simon
And the best part is that you can grasp these ideas without heavy math just by looking at pictures — arrows, flows, equilibria. It’s a beautiful way to think about how the brain computes over time.

Ask anything
We've read this whole study set, so questions about it get the best answers.