This Review resolves the age-old problems of Galvani’s irritability, the Hodgkin–Huxley ‘all-or-none’ mystery, the Turing instability and the Smale paradox, by applying the findings in 2023 that memristors operating on the ‘edge of chaos’ can model the nonlinear dynamics of these problems, complementing the second law of thermodynamics.