# KCL and First order circuit theory

My question applies to the case when the switch opens. By applying KCL in order to get a first order diff equation, the following problem arises when I choose different current directions (which shouldn't happen because KCL says the current direction doesn't matter because it will be fixed after all is said and done.

So the first one (NODE A) has

v/(RC) + dv/dt = 0 whose solution is $$Ke^{^{\frac{-t}{RC}}}$$

while the next case (NODE B) has
v/(RC) - dv/dt = 0 whose solution is $$Ke^{^{\frac{t}{RC}}}$$

I know the correct form is the first one, with a -t for the argument but doesn't a KCL "ignore" current direction and should then produce the solution, irregardless of direction?

Am I missing something?

#### Attachments

• 347.7 KB Views: 107

Related Electrical Engineering News on Phys.org
Svein
Am I missing something?
Yes. When you have only a capacitor and a resistor in the circuit, the capacitor voltage drives a current through the resistor. This current reduces the capacitor charge.

r I understand your point. Because the form tells me I have a decaying voltage, I need to have a negative argument to e. I need to apologize for not making my question very clear. I know the first form is correct (Node A) but is the second form equally valid but incorrect? And because they are equally valid, the only reason to choose the method of Node A vs. the method of Node b is because the argument of e should be negative?

Svein
Your current arrows are correct in Node B (and wrong in node A). Your equations are shaky.

Consider: With no external source, the current through R is sourced by the voltage across the capacitor. So in a time interval Δt, the current I removes a charge Q = I⋅Δt from the capacitor. Combine that with I = V/R and Q=C⋅V.

Can you please explain what are the correct equations for node A and B?

Svein
$$I=\frac{V}{R}=-\frac{dQ}{dt}$$ since current leaving the capacitor reduces the charge in the capacitor. Now insert the capacitor formula (Q=C⋅V): $$I=\frac{V}{R}=-\frac{dQ}{dt}=-C\frac{dV}{dt}$$ and you have your equation for V.