In this paper(
https://journals.aps.org/prx/abstract/10.1103/PhysRevX.5.021028), Montbrio and colleagues derive a mathematically exact description of the macroscopic dynamics of a globally coupled network of quadratic integrate and fire neurons (QIFs). They start out with the membrane potential evolution of a single QIF neuron: