I was just trying to derive the equation for a capacitor discharging through a resistor, and I've run into in a problem.
If I set up my KVL, then I would say $iR = V_c$ (where $i$ is instantaneous current). Then you just replace $i$ with $dQ/dt$ and it's a separable DE. Easy. Except you get this: $$ \frac{dQ}{dt}R=\frac{Q}{C}\\ \int_{t_0}^t{\frac{dt}{RC}}=\int_{Q_0}^Q{\frac{dQ}{Q}}\\ Q=Q_0e^{\frac{\Delta t}{RC}}\\ V_c=V_0e^{\frac{\Delta t}{RC}} $$
This is the wrong sign for the exponent on $e$.
I looked it up, and in all other derivations, the original KVL is written as $-V_c-iR=0$.
But why should this be the case (besides the fact that it works)?