The Hodgkin-Huxley (H.H.) studies of the action potential, published 60 years ago, are a central pillar of modern neuroscience research, ranging from molecular investigations of the structural basis of ion channel function to the computational implications at the circuit level. The H.H. model is based on the observation that the electrical activity of neurons can be explained by the flow of ions across the nerve cell membrane.
The Hodgkin-Huxley (H.H.) model describes the electrical characteristics of excitable cells such as neurons. The model is based on the implementation of an electrical analogue of the cell membrane. It explains the excitation waveform, called action potential, which results from a current pulse of sufficient amplitude.
- Presence of a Threshold: An action potential is produced only if the membrane potential exceeds a certain value (typically around -55 mV).
- Stereotyped Form: The action potential is "all or nothing," meaning once the threshold is exceeded, the shape of the action potential is consistent, regardless of stimulus strength.
The model consists of four non linear first-order ordinary differential equations (ODEs) for the state variables
The auxiliary variables
In this work, the solution was obtained by imposing a current value of i=6 with the aim to visualize the genesis of a single spike of the action potential. The parameter used were taken from the literature and are:
$g_{Na_{max}} = 120$ $g_{k_{max}} = 36$ $g_{eq} = 0.3$ -
$C = 4$ pF -
$E_{Na} = 55$ mV -
$E_k = -77$ mV -
$E_{eq} = -54.4$ mV
-
$V_{0} = -65$ mV $m_{0} = 0.05$ $n_{0} = 0.2$ $h_{0} = 0.6$
Three numerical methods were used to solve the Hodgkin-Huxley model: Euler Explicit, Euler Implicit, and Heun’s method. The solution computed using MATLAB's ODE45 function (with a relative error tolerance of
Experiments were conducted with step sizes
-
Euler Explicit: Stable for
$h = 0.01$ and$0.1$ . Unstable for$h = 0.3$ and$0.5$ . - Euler Implicit: Stable but less accurate for larger step sizes.
-
Heun's Method: Stable for smaller step sizes but unstable for
$h = 0.5$ .
Relative error analysis was performed for each method across different step sizes, plotted on a log scale. Results indicated:
- Euler Explicit and Implicit methods have first-order accuracy.
- Heun's method has second-order accuracy and is the most accurate among the methods considered.
Computation times (in seconds) for each method are presented in Table 1 for various step sizes:
Step size (h) | Computational Time (EE) | Computational Time (EI) | Computational Time (Heun) |
---|---|---|---|
0.0001 | 19.096537 | 24.005285 | 23.143380 |
0.001 | 0.429878 | 2.065663 | 0.699382 |
0.01 | 0.033762 | 0.241290 | 0.066874 |
0.1 | 0.009908 | 0.041240 | 0.010251 |
- Euler Explicit: Simple, least computational cost, first-order accuracy, conditionally stable.
- Euler Implicit: Unconditionally stable, first-order accuracy, highest computational complexity.
- Heun's Method: Second-order accuracy, conditionally stable, higher computational cost than Euler Explicit.
- 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.