Note that the standard convention is followed, whereby membrane and synapse currents ($i_m$) are positive when outward, and electrod currents ($i_e$) are positive inward.
The PDE in (\ref{eq:cable}) is derived from the following mass balance expression for a cable segment
\begin{equation}
\label{eq:cable}
2\pi a \Delta x c_m \pder{V}{t} = -\left. \left( \frac{\pi a^2}{r_L}\pder{V}{x}\right) \right|_\text{left}