I am failing to understand how to compute the derivative of a few exponential functions. Let's start with this one:
$$ v = 1 - e^{-t/\tau} $$
The derivative is
$$ \frac{dv}{dt} = \frac{1-v}{\tau} $$
Can someone walk me through this? If this is explained somewhere else, I'd love to know where.
$$\begin{align*} \frac{d}{dt} (1 - e^{-t/\tau}) &= -\frac{d}{dt}e^{-t/\tau} \\ &= - (-1/\tau) e^{-t/\tau} \\ &= \frac{e^{-t/\tau}}{\tau} \\ &= \frac{1 - (1 - e^{-t/\tau})}{\tau} \\ &= \frac{1 - v}{\tau} \end{align*}$$