Opening the book…
So far every current has been steady. A circuit containing a resistor and a capacitor, an RC circuit, is different. When a capacitor is connected to a battery, charge flows onto its plates, but as the charge builds up, so does the capacitor’s own potential difference, \(v = q/C\) (Chapter 19), and it opposes the battery. The current starts large and dies away. We use lowercase \(q\), \(v\), and \(i\) for quantities that change with time.
The circuit of Figure 21.12 can do both jobs. With the switch in position \(a\), the battery charges the capacitor through the resistor. With the switch in position \(b\), the battery is removed from the circuit, and the charged capacitor drives current back through the resistor and discharges.
Charging a Capacitor
Start with the capacitor uncharged and throw the switch to \(a\) at time \(t = 0\). At a later time \(t\), the capacitor carries charge \(q\) and the current is \(i\). Going clockwise around the loop, the potential rises by \(\mathcal{E}\) across the battery, falls by \(iR\) across the resistor, and falls by \(q/C\) across the capacitor, from its positive plate to its negative one. The loop rule gives
\[\mathcal{E} - iR - \frac{q}{C} = 0. \tag{21.9}\]
At the instant the switch closes, \(q = 0\), and the capacitor has no potential difference: it acts like a plain wire, and the current is \(I_0 = \mathcal{E}/R\), as if the capacitor were not there. Long afterward, the capacitor is full and the current stops, \(i = 0\), so its potential difference equals the emf and its charge is \(Q_f = C\mathcal{E}\): it acts like a break in the wire. Between these limits, the current is the rate at which charge arrives on the capacitor, \(i = dq/dt\), and equation (21.9) becomes a differential equation for \(q\):
\[\frac{dq}{dt} = \frac{\mathcal{E}}{R} - \frac{q}{RC} = -\frac{q - C\mathcal{E}}{RC}.\]
Separating the variables and integrating from \(q = 0\) at \(t = 0\),
\[\int_0^q \frac{dq'}{q' - C\mathcal{E}} = -\frac{1}{RC}\int_0^t dt' \quad\Longrightarrow\quad \ln\!\left(\frac{C\mathcal{E} - q}{C\mathcal{E}}\right) = -\frac{t}{RC}.\]
Taking the exponential of both sides and solving for \(q\), then differentiating to find \(i\):
Key Equation: Charging a capacitor
\[q(t) = C\mathcal{E}\left(1 - e^{-t/RC}\right), \qquad i(t) = \frac{\mathcal{E}}{R}\,e^{-t/RC}. \tag{21.10}\]
The charge rises toward \(Q_f = C\mathcal{E}\), and the current decays from \(I_0 = \mathcal{E}/R\) toward zero (Figure 21.12). Both change on the time scale set by the product
Key Equation: Time constant
\[\tau = RC, \tag{21.11}\]
the time constant of the circuit. (Check the units: \(\Omega\cdot\mathrm{F} = (\mathrm{V/A})(\mathrm{C/V}) = \mathrm{C/A} = \mathrm{s}\).) After one time constant the charge has reached \(1 - e^{-1} = 63.2\%\) of its final value and the current has fallen to \(e^{-1} = 36.8\%\) of its initial value. After \(2\tau\) the charge is at \(86\%\), after \(3\tau\) at \(95\%\), and after \(5\tau\) at over \(99\%\); in practice, a capacitor is “fully” charged after a few time constants. A large resistance slows the charging because it limits the current; a large capacitance slows it because more charge is needed to fill it.
The same exponential approach to a limit appeared in Section 6.2, for an object falling against linear drag: \(v(t) = v_t(1 - e^{-bt/m})\). The mathematics is identical because the physics has the same shape. In each case the driving influence (gravity, the battery) is opposed by something that grows as the system approaches its final state (drag, the capacitor’s voltage), and the rate of approach is proportional to how far there is still to go.
Where the energy goes. While the capacitor charges, the battery moves a total charge \(Q_f = C\mathcal{E}\) through the emf, doing work \(Q_f\mathcal{E} = C\mathcal{E}^2\). The capacitor ends up storing \(U = \frac{1}{2}C\mathcal{E}^2\) (equation (19.5)), exactly half. The other half is dissipated in the resistor, as we can check directly:
\[\int_0^\infty i^2R\,dt = \frac{\mathcal{E}^2}{R}\int_0^\infty e^{-2t/RC}\,dt = \frac{\mathcal{E}^2}{R}\cdot\frac{RC}{2} = \frac{1}{2}C\mathcal{E}^2.\]
Remarkably, the result does not depend on \(R\). A smaller resistor allows a larger current for a shorter time, and the heat produced comes out the same.
Example 21.10: Charging a capacitor
A \(1.5\,\mathrm{\mu F}\) capacitor is charged through a \(2.0\,\mathrm{M\Omega}\) resistor by a \(9.0\,\mathrm{V}\) battery. Find (a) the time constant, (b) the initial current, (c) the charge on the capacitor \(5.0\,\mathrm{s}\) after the switch is closed, and (d) the time for the capacitor to reach \(99\%\) of its final charge.
Solution
(a) \(\tau = RC = (2.0\times10^{6})(1.5\times10^{-6}) = \boxed{3.0\,\mathrm{s}}\).
(b) \(I_0 = \mathcal{E}/R = 9.0/(2.0\times10^{6}) = \boxed{4.5\,\mathrm{\mu A}}\).
(c) The final charge is \(Q_f = C\mathcal{E} = 13.5\,\mathrm{\mu C}\), so
\[q = Q_f\left(1 - e^{-5.0/3.0}\right) = (13.5)(1 - 0.189) = \boxed{11\,\mathrm{\mu C}}.\]
(d) Setting \(1 - e^{-t/\tau} = 0.99\) gives \(e^{-t/\tau} = 0.01\), so \(t = \tau\ln 100 = (3.0)(4.61) = \boxed{14\,\mathrm{s}}\), a little under five time constants.
Discharging a Capacitor
Now let the capacitor start with charge \(Q_0\), and move the switch in Figure 21.12 to position \(b\) at \(t = 0\). The battery is out of the circuit, and the capacitor alone drives current around the loop through \(R\), from its positive plate through the resistor to its negative plate. Going around the loop in the direction of this current, the potential falls by \(iR\) in the resistor and rises by \(q/C\) across the capacitor, so
\[\frac{q}{C} - iR = 0.\]
Now the current drains the capacitor, so \(i = -dq/dt\), and
\[\frac{dq}{dt} = -\frac{q}{RC} \quad\Longrightarrow\quad \int_{Q_0}^{q}\frac{dq'}{q'} = -\frac{1}{RC}\int_0^t dt' \quad\Longrightarrow\quad \ln\frac{q}{Q_0} = -\frac{t}{RC}.\]
Both the charge and the current decay exponentially, with the same time constant \(\tau = RC\):
Key Equation: Discharging a capacitor
\[q(t) = Q_0\,e^{-t/RC}, \qquad i(t) = \frac{Q_0}{RC}\,e^{-t/RC} = \frac{V_0}{R}\,e^{-t/RC}, \tag{21.12}\]
where \(V_0 = Q_0/C\) is the capacitor’s initial potential difference. The capacitor’s voltage \(v = q/C\) decays in the same way (Figure 21.13). After one time constant, \(36.8\%\) of the charge remains. The time for half of it to drain away, the half-life of the discharge, follows from \(e^{-t/\tau} = \frac{1}{2}\):
\[t_{1/2} = \tau\ln 2 = 0.693\,RC. \tag{21.13}\]
In each half-life the charge halves again, whatever it was to begin with. This is the same law that governs radioactive decay, where the number of undecayed nuclei halves in each half-life (Chapter 43). The energy stored in the capacitor, \(q^2/2C\), decays twice as fast, as \(e^{-2t/RC}\), and all of it ends up as heat in the resistor.
Example 21.11: A defibrillator
A defibrillator stores energy in a \(32\,\mathrm{\mu F}\) capacitor charged to \(5000\,\mathrm{V}\) and discharges it through the patient’s chest, whose resistance is about \(50\,\mathrm{\Omega}\). Find (a) the stored energy, (b) the time constant and the initial current, and (c) the energy remaining in the capacitor after \(2.0\,\mathrm{ms}\).
Solution
(a) \(U_0 = \frac{1}{2}CV_0^2 = \frac{1}{2}(32\times10^{-6})(5000)^2 = \boxed{400\,\mathrm{J}}\).
(b) \(\tau = RC = (50)(32\times10^{-6}) = \boxed{1.6\,\mathrm{ms}}\), and \(I_0 = V_0/R = 5000/50 = \boxed{100\,\mathrm{A}}\), a huge current for a few milliseconds.
(c) The energy decays as \(e^{-2t/\tau}\):
\[U = U_0\,e^{-2t/\tau} = (400)\,e^{-2(2.0)/1.6} = (400)\,e^{-2.5} = \boxed{33\,\mathrm{J}}.\]
More than nine-tenths of the energy is delivered within \(2\,\mathrm{ms}\). The short, intense pulse depolarizes the heart muscle all at once, giving its natural pacemaker the chance to restart a normal rhythm. (Some defibrillators shape the pulse with an inductor as well, Chapter 25, but the RC discharge is the heart of it.)
RC circuits at work. Because \(\tau = RC\) can be set anywhere from nanoseconds to minutes by choosing \(R\) and \(C\), RC circuits are the standard way to make a circuit keep time. A capacitor charging toward a threshold voltage triggers the flash of a blinking warning light, the sweep of an intermittent windshield wiper, or the pulse of a cardiac pacemaker; then it discharges and the cycle repeats. The same circuits smooth out fluctuating voltages in power supplies, filter noise from audio signals, and, with \(\tau\) of a few picoseconds, limit how fast the wires on a computer chip can carry a signal.
Checkpoint 21.5
A capacitor is charging through a resistor. (a) What fraction of its final charge does it hold after two time constants? (b) What fraction of its final energy? (c) If the resistance is doubled, how do the time constant, the initial current, and the final charge change?
Answers to Checkpoints
Checkpoint 21.5. (a) \(q = Q_f\left(1 - e^{-t/\tau}\right)\), so at \(t = 2\tau\) the fraction is \(1 - e^{-2} = 1 - 0.135 = 0.865\), about \(86\%\). (b) Stored energy is \(U = q^2/2C\), proportional to \(q^2\), so the fraction of the final energy is \((0.865)^2 \approx 0.75\): about \(75\%\). (c) The time constant \(\tau = RC\) doubles; the initial current \(\mathcal{E}/R\) halves; and the final charge \(C\mathcal{E}\) is unchanged, since the resistor only slows the charging, not its end point.
This page titled 21.5: RC Circuits was last modified on Thu, 12 Nov 2026 04:26:45 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Michael Ragsdale.
The book could not be loaded just now.