Why Does the Sign of dq/dt Change in RC Circuit Equations?

In summary, the conversation discusses the differential equation used in RC circuits, specifically during charging and discharging. The correct equation depends on the chosen direction for positive current, which is arbitrary. The conversation also explains how to build a system of differential equations for a general circuit and the importance of being consistent with direction choices. Ultimately, the choice of convention does not change the result, but can affect how it is represented in numbers. It is important to be systematic and consistent when working with these rules.
  • #1
jd12345
256
2
I can't figure out the differential equation made in RC circuits
During charging E = iR + q/C ...I understand this

During discharging my book says that since E = 0 , iR + q/C = 0 and by using i = dq/dt it solves the equation
But using kirchhoffs law i end up with the equation q/C - iR = 0. I searched a bit and some books have used the equation q/C - iR = 0( that i came up with) but then they substitute i as - dq/dt.

Which is the correct differential equation and if we substitue i as - dq/dt we should substitute it as negative dq/dt in both the cases. Why in one case we susbsitute as positive dq/dt and in other negative dq/dt?
 
Physics news on Phys.org
  • #2
It depends on which direction you chose for +I, which is kind of arbitrary. But if you want +I direction to correspond to conventional current flowing from +q plate to -q plate, then you get dq/dt=-I and q/C-IR=0.
 
  • #3
but still if we take I = - dq/dt we should substitute i dq/dt in the 1st equation as well( i.e. in q/C + iR = 0)
Sorry if you told me already.
Could you explain me how to make the differential equation in RC circuits -
 
  • #4
For ANY junction, you have dq/dt = Ʃ Iin - Ʃ Iout. Normally, you want that to be 0, because you don't want charge buildup at junctions. Capacitor is notable exception. You can think of its plates as two junctions, one at +q, the other at -q. Because they are close together, capacitor overall is neutral, which let's you get away with non-zero charge on the plates, unlike any other junction.

For a general circuit, you will build a system of differential equation with one equation for each loop and for each junction. You might not need all of them, as I'm going to demonstrate in a moment.

You should probably start with the loops. For each loop, you need to pick a direction. The choice is arbitrary, but if possible, having wire segments common to several loops have same direction helps. For this circuit, I would pick loop that starts from +ve terminal of capacitor, runs through resistor, and returns to -ve terminal, so that the direction of the loop agrees with direction of conventional current. Again, it doesn't matter, so long as you are consistent.

The loop passes through two elements that will affect electric potential, capacitor and resistor. For capacitor, you pick up +q/C when loop runs from -q plate to +q plate. If it runs from +q to -q, you'll pick up -q/C. For resistor, you pick up -IR if loop agrees with direction you chose to measure I, and +IR if loop runs in opposite direction.

For choice of direction to measure I, think of it as hooking up ammeter. You can hook it up one way and get positive current, or switch leads, and you get negative current. Which direction to call +I and which -I is arbitrary. You usually want that positive current from + to - terminal, but it's not always possible, for example, if you have AC or an LC circuit involved.

So assuming you chose the loop to run from + to -, and you chose to measure I along the loop, the loop picks up +q/C and -IR. So your first equation is q/C-IR.

Now you go to junction rules. You have two of them. One is for +q plate, and only has Iout, and the other has -q and only Iin. So equation for +ve plate reads d(+q)/dt=-I, second d(-q)/dt=I. These are exactly the same, but with minus sign in different places. So all you get out of this is dq/dt=-I.

So now you have a system of equations: {dq/dt=-I, q/C-IR=0}. This one's easy to solve by substitution. dq/dt=-q/RC, q=q0e^(-t/RC) and I=(q0/RC)e^(-t/RC).

Now, suppose that you decided to make a different choice. Suppose, you decided to measure positive current from -ve plate to +ve plate. In that case, your +ve terminal only has the Iin, and its equation is dq/dt=I. Furthermore, direction of your loop doesn't agree with direction chosen to measure current, so instead of picking up -IR, you pick up +IR on resistor. Your loop equation is now q/C+IR=0.

What does that give you? Well, you get exactly the same solution for q, q=q0e^(-t/RC), but for I you get I=-(q0/RC)e^(-t/RC).

What does that mean? You either get positive current from + to -, or negative current from - to +. That's exactly the same thing.

So the choice of convention will not change the result. It only changes how that result is represented in your numbers. Obviously, when you have multiple junctions and multiple elements, it's easy to get confused, so you should be particularly systematic when working with these rules, and try to pick consistent directions for currents and loops.
 
  • Like
Likes dimplemac
  • #5
Thank you!
 

FAQ: Why Does the Sign of dq/dt Change in RC Circuit Equations?

What is Kirchoff's law for RC circuit?

Kirchoff's law for RC circuit is a fundamental principle in circuit analysis that states that the sum of voltage drops around a closed loop in a circuit must equal the sum of voltage sources in that loop. It is used to determine the voltages and currents in a circuit.

What does the RC in Kirchoff's law stand for?

The RC in Kirchoff's law stands for resistance and capacitance, which are the two components in an RC circuit that are affected by the law.

How is Kirchoff's law applied in an RC circuit?

Kirchoff's law is applied by using it to set up and solve equations that represent the relationships between the voltage drops and sources in a circuit. These equations are then used to calculate the voltages and currents in the circuit.

What happens if Kirchoff's law is violated in an RC circuit?

If Kirchoff's law is violated in an RC circuit, it means that the voltages and currents in the circuit do not add up correctly, indicating an error in the circuit design or measurements. This violation can also lead to incorrect calculations and potential damage to the circuit components.

Are there any exceptions to Kirchoff's law for RC circuit?

No, Kirchoff's law is a fundamental principle in circuit analysis and is applicable to all types of circuits, including RC circuits. It is a fundamental law that cannot be violated in any circuit.

Similar threads

Replies
2
Views
1K
Replies
16
Views
2K
Replies
3
Views
2K
Replies
4
Views
719
Replies
3
Views
600
Back
Top