So I was trying to derive the exponential decay equation for a discharging capacitor and realised that I would only get the correct answer if I used a negative current, that is to say the direction of the current opposes the direction of the voltage applied by the capacitor?(this is probably where the problem is). Here is the equation: $$Vc(t) - (-RC\frac{dVc(t)}{dt}) = 0$$
I have also visited links to similar questions and saw that the negative current means that the discharging current is opposite to the charging current. But what if I start with a charged capacitor? In this case am I not free to define the direction of the current in which ever way I want? In short, I would like to clarify whether there is a potential gain or a potential drop at each of the elements(a capacitor and a resistor).
To elaborate:If I have a circuit with only a charged capacitor that is discharging and a resistor, and I perform KVL around the loop in the direction of the actual current, following passive sign convention. Do I not end up with the equation:
$$Vc(t) - (RC\frac{dVc(t)}{dt}) = 0$$ why is this equation not valid?