DiffEqs
Plain Bilayer Membrane
Remember the capacitor equation:
Here C is a constant (a parameter): the capacitance of the membrane.
Next V(t) is the membrane potential. Typically V(t) is the quantity of interest -- and it is the quantity that is usually measure.
Next I(t) is the capacitive current into the cell. In general the capacitive current involves the ionic currents into the cell as well as the injected current, but for a plain lipid bilayer, it is just the injected current.
Finally V(0) is the initial membrane potential of the cell, the constant of integration required for a definite solution to the equation.
We can solve this equation
Add Na+/K+ Pump
It seems clear from the Neurons in Action Tutorial that they modeled the addition of the pump as a change in the initial condition of the cell.
Add Leak Channels
Leak channels add a resistor in parallel to the capacitor.
is the conductance of the channels (which is the reciprocal of the resistance of the channels).
is the reversal potential of the leak current.
is the driving potential.
is the current across the resistor (Ohm's Law).
The resistive current is minus its contribution to the capacitive current (Kirchov's Law).
Add HH Channels
In addition to the leak current there is now a sodium current and a potassium current. These add similar terms to the capacitive current:
Leak:
Sodium:
Potassium:
Sodium gating variables:
Potassium gating variables:
Sodium has three activation gates (m's) and one inactivation gate (h).
Potassium has four inactivation gates (n's).
The activation variables m(t), h(t), n(t) are always (for all times t) numbers between 0 and 1. They represent the fraction of gates that are in the open position. All four gates must be open for the channel to conduct. If n = 0.1