next up previous contents
Next: Multiple compartments Up: Neuroscience Equations Previous: Neuroscience Equations   Contents


A Single compartment

In the one dimensional cable equation the membrane potential is dependent on time as well as space. Both these axes can be discretized independently. We first assume that the cell is iso-potential (same membrane potential at all places) which eliminates the spatial dependence (if you omit the Hodgkin-Huxley conductances, this also leads to integrate-and-fire models).

Since the cell is assumed to be iso-potential, the cable equation reduces to a simple exponential decay function. The question remains how to fill in the Hodgkin-Huxley current while maintaining the second-order accuracy of the trapezoidal rule. The following trickery is used for this:


$\displaystyle y(t+h)$ $\displaystyle =$ $\displaystyle y(t) + hy^{(1)}(t) + \frac{1}{2!}h^2y^{(2)}(t) +
\frac{1}{3!}h^3y^{(3)}(t) + \cdots + \:\:\:\: \frac{1}{n!}h^ny^{(n)}(t)
\:\:\:\: +
\cdots$  
$\displaystyle y(t-h)$ $\displaystyle =$ $\displaystyle y(t) - hy^{(1)}(t) + \frac{1}{2!}h^2y^{(2)}(t) -
\frac{1}{3!}h^3y^{(3)}(t) + \cdots + (-1)^n\frac{1}{n!}h^ny^{(n)}(t) +
\cdots$  

Subtract and regroup:


$\displaystyle y(t+h) - y(t-h)$ $\displaystyle =$ $\displaystyle 2hy^{(1)}(t)
+ \frac{2}{3!}h^3y^{(3)}(t) + \cdots + \:\: \frac{2}{2n!}h^{2n}y^{(2n)}(t)
\:\: +
\cdots$  
  $\displaystyle \approx$ $\displaystyle 2hy^{(1)}(t)$  

Or if you rewrite:

$\displaystyle hy^{(1)}(t) \approx \frac{ y(t-h) - y(t+h) }{2}$ (1.11)

This equation has a local truncation error of third order and can be used to fill in the membrane potential in the Hodgkin-Huxley equations and vice versa in the following way: we assume that $ y(t+h)$ is the unknown gate value we are searching, while $ y(t-h)$ is the previous gate value and $ y^{(1)}(t)$ is the rate of change for the gate value that can be calculated given the membrane potential at time $ t$. Under the assumptions that $ y(t-h)$ and the membrane potential are second-order correct, the result of this calculation - the new values for the gates - will be second-order correct too. Then the same method can be used to compute the membrane potential at time point $ y(t+2h)$ given the membrane potential at time point $ y(t)$ and the gate values at time point $ y(t+h)$.

It is important to see that the second-order accuracy is maintained only when the membrane potential and the Hodgkin-Huxley equations are computed at different time points.





NOTE: If concentration pools are represented in a model of a neuron, they should be evaluated at the same time steps as the membrane potential.





Figure 1.4: Mid step evaluation of membrane potential and Hodgkin-Huxley equations. To calculate the conductance at time point 2, we need the membrane potential at time point 1. To calculate the membrane potential at time point 3, we need the conductance at time point 2. The membrane potential at time point 2 is never computed, neither the conductance at time point 3.
\includegraphics[scale=0.6]{figures/mstep.eps}


next up previous contents
Next: Multiple compartments Up: Neuroscience Equations Previous: Neuroscience Equations   Contents
2002-11-15