How can I graph an RC circuit?

1 Answer
Dec 13, 2015

If you don't remember the concept, then if you can derive the formula, it will be very easy to graph.

With a basic RC circuit, you have:

So, going clockwise, you get a change in voltage for a closed circuit to follow Kirchoff's law.

#DeltaV = 0 = epsilon - V_C - V_R#

where #epsilon# is the "electromotive force" (the voltage increase through the battery), #V_C# is the voltage drop through the capacitor as it stores charge on the parallel plates, and #V_R# is the voltage drop through the resistor.

I recall that the capacitance #C# in Farads can be written as #"C/V"#, so #C = q/V_C#, where #q# is the charge in #"C"#. The voltage through the resistor can be written as #V_R = IR# from Ohm's law.

Furthermore, the current can be written as the change in charge over time, since the capacitor is going to store charge over time #((dq)/(dt))#. So, we have so far:

#epsilon = q/C + IR#

Multiply by #C# and plug in #I = (dq)/(dt)#:

#epsilonC = q + (dq)/(dt)RC#

#-(dq)/(dt)RC= q - epsilonC#

Separate the variables such that #1/(q - epsilonC)# is on the same side as #dq# and #-1/(RC)# is on the same side as #dt#, then begin to take the integral.

#int_(0)^(q) 1/(q - epsilonC)dq = int_(0)^(t) -1/(RC)dt#

#ln|q - epsilonC| - ln|-epsilonC| = -t/(RC)#

Using the properties of logarithms, you can turn the left side into a fraction:

#ln|(q - epsilonC)/(-epsilonC)| = -t/(RC)#

and then exponentiate both sides. Also note that #q - epsilonC# will be negative since #q#, the current charge, is less than #epsilonC#, the initial charge. So, the absolute values don't matter here.

#(q - epsilonC)/(-epsilonC) = e^"-t/RC"#

#q - epsilonC = -epsilonCe^"-t/RC"#

#color(blue)(q(t) = epsilonC(1 - e^"-t/RC"))#

So you can graph the charge with respect to time as it gets stored into the capacitor using this equation. All you have to do is note that it is the vertical reflection of an exponential decay, seen as #-e^(-u)#.

Then, at #t = 0#, #q = 0#, while at #t -> oo#, the charge approaches #\mathbf(epsilonC)#.

http://www.algebralab.org/

Or, if you want to graph the current #I# instead as the capacitor discharges the stored electrical charge, since that is supposed to be exponential decay and is easier to visualize, you can take the derivative.

#color(blue)(I = (dq)/(dt)) = d/(dt)[epsilonC - epsilonCe^"-t/RC"]#

#= -epsiloncancel(C)*-1/(Rcancel(C))e^"-t/RC"#

#= color(blue)(epsilon/R e^"-t/RC")#

This one you can indeed see is exponential decay from the #e^(-u)# equation. At #t = 0#, #I = epsilon/R#, while as #t -> oo#, the current approaches #\mathbf("0 A")#.

http://1.bp.blogspot.com/

where #V# on the diagram is the same as #epsilon# and #i# is the same as the current #I#.