AP Physics C: Electricity and Magnetism · Electric circuits
RC circuits
1Charging: the differential equation
A capacitor C charges through a resistor R from a battery ε. The loop rule gives:
$$\varepsilon - IR - \frac{q}{C} = 0, \qquad I = \frac{dq}{dt}$$
$$\frac{dq}{dt} = \frac{C\varepsilon - q}{RC}$$
Separating variables and integrating from q = 0 at t = 0:
$$q(t) = C\varepsilon\left(1 - e^{-t/RC}\right), \qquad I(t) = \frac{\varepsilon}{R}e^{-t/RC}$$
The time constant is $\tau = RC$.
Check yourself
In a charging RC circuit, the current at t = 0 (capacitor initially uncharged) is:
Show the answer
ε/R
The capacitor acts like a wire.
2Discharging
A capacitor with initial charge $Q_0$ discharges through R:
$$-IR - \frac{q}{C} = 0 \quad\Rightarrow\quad \frac{dq}{dt} = -\frac{q}{RC}$$
$$q(t) = Q_0e^{-t/RC}, \qquad V_C(t) = V_0e^{-t/RC}, \qquad |I(t)| = \frac{V_0}{R}e^{-t/RC}$$
After one time constant, each has fallen to 1/e ≈ 37% of its initial value. Time to fall to a fraction f: $t = -RC\ln f$; half-life $t_{1/2} = RC\ln 2$.
R = 50 kΩ, C = 20 μF, V₀ = 10 V.
- τ = 1.0 s.
- V after 2.0 s: 10e⁻² ≈ 1.35 V.
- Time to reach 5 V: ln 2 × 1.0 ≈ 0.69 s.
Charging and discharging a capacitor through a resistor
Check yourself
A capacitor discharges through a resistor with RC = 4 s. How long until its charge falls to half?
Show the answer
2.8 s
RC ln 2.
3Energy in RC circuits
Charging to full: the battery supplies $Q\varepsilon = C\varepsilon^2$; the capacitor stores $\frac{1}{2}C\varepsilon^2$; the other half is dissipated in the resistor, whatever the value of R:
$$\int_0^\infty I^2R\,dt = \int_0^\infty\frac{\varepsilon^2}{R}e^{-2t/RC}\,dt = \frac{1}{2}C\varepsilon^2$$
Discharging: all the stored energy $\frac{1}{2}CV_0^2$ is dissipated in the resistor.
Check yourself
When a capacitor is charged from a battery through a resistor, the fraction of the battery's energy output stored in the capacitor is:
Show the answer
One half
The rest heats the resistor.
4Short- and long-time behaviour
- t = 0: an uncharged capacitor behaves as a wire (ΔV = 0).
- t → ∞: a capacitor behaves as an open circuit (I = 0); its voltage equals that of whatever it is in parallel with.
ε = 12 V; R₁ = 2 kΩ in series with a parallel combination of R₂ = 4 kΩ and a capacitor C.
- At t = 0: the capacitor shorts R₂, so the battery current = 12/2000 = 6 mA.
- At t → ∞: no current in the capacitor; I = 12/6000 = 2 mA; $V_C = I R_2 = 8$ V.
- The time constant uses the resistance seen by the capacitor: $R_1 \parallel R_2 = 1.33$ kΩ.
Check yourself
Long after the switch is closed, the voltage across a capacitor that is in parallel with a resistor equals:
Show the answer
The voltage across that resistor
No current flows into the capacitor.
5Going deeper: solving for time, energy accounting and multi-resistor circuits
Charging through resistance R from a battery ε: the loop rule gives $\varepsilon - R\frac{dq}{dt} - \frac{q}{C} = 0$. Separating variables,
$$q(t) = C\varepsilon\left(1 - e^{-t/RC}\right), \qquad I(t) = \frac{\varepsilon}{R}e^{-t/RC}$$
Discharging from initial charge $Q_0$: $q = Q_0e^{-t/RC}$; voltage and current decay in the same way.
Time constant $\tau = RC$. After τ: 63% charged (or 37% remaining). After 5τ: effectively complete.
Solving for time: take logarithms.
a 100 μF capacitor charged to 12 V discharges through 10 kΩ.
- τ = (1.0 × 10⁴)(1.0 × 10⁻⁴) = 1.0 s.
- Time to fall to half (6.0 V): $t = \tau\ln 2 = 0.69$ s. This is the "half-life."
- Time to fall to 10% (1.2 V): $t = \tau\ln 10 = 2.3$ s.
- Initial current = 12 ÷ 10,000 = 1.2 mA; at t = 1.0 s it is 0.44 mA.
Worked example (charging to a set voltage): the same components charged from a 12 V battery. When does the capacitor reach 9.0 V?
- $9.0 = 12(1 - e^{-t})$, so $e^{-t} = 0.25$.
- $t = \ln 4 = 1.4$ s.
Energy accounting when charging
- Battery supplies $Q\varepsilon = C\varepsilon^2$.
- Capacitor stores $\frac{1}{2}C\varepsilon^2$.
- The resistor dissipates the other half: $\int_0^\infty I^2R\,dt = \frac{\varepsilon^2}{R}\cdot\frac{RC}{2} = \frac{1}{2}C\varepsilon^2$.
- This 50% split holds for any R. A smaller R gives a larger current for a shorter time.
Limiting behavior (the fastest way to answer many questions)
- Uncharged capacitor at t = 0: acts like a wire.
- Fully charged capacitor (t → ∞): acts like an open circuit.
- A capacitor's voltage cannot change instantly (its charge would have to jump); its current can.
Worked example (two resistors): a 12 V battery connects through a switch to R₁ = 4.0 kΩ, which leads to a junction. From the junction, R₂ = 8.0 kΩ and a 50 μF capacitor run in parallel back to the battery.
- At t = 0 the capacitor shorts R₂: battery current = 12 ÷ 4.0 kΩ = 3.0 mA, all into the capacitor.
- As t → ∞ the capacitor branch carries nothing: current = 12 ÷ 12 kΩ = 1.0 mA through both resistors.
- Final capacitor voltage = voltage across R₂ = 8.0 V; charge = 400 μC.
- The time constant for charging uses the resistance the capacitor "sees": R₁ and R₂ in parallel (2.67 kΩ), so τ = 0.13 s.
- Open the switch afterward: the capacitor discharges through R₂ alone, with τ = 0.40 s and an initial current of 1.0 mA.
Graphs: the slope of q against t is the current. On a graph of $\ln V$ against t for a discharge, the points lie on a straight line of slope $-\frac{1}{RC}$.
Common mistakes
- Thinking charge flows through the gap between the plates.
- Using the charging formula $1 - e^{-t/\tau}$ for the current; the current always decays.
- Thinking the capacitor is "full" after one time constant.
- Forgetting that changing R changes the time scale but not the final charge.
In the lab: discharge a capacitor through a known resistor and log the voltage. Plotting $\ln V$ against time gives a straight line whose slope yields RC, and so C.
Check yourself
A capacitor discharges through a resistor. After a time equal to RC ln 2, the voltage across the capacitor has fallen to:
Show the answer
Half its initial value
e^(−ln 2) = ½.
6For top marks
- Write the loop equation, substitute I = dq/dt, separate variables and integrate with limits.
- Use the t = 0 and t → ∞ rules to check solutions.
- Calculate energies by integrating I²R or from ½CV².
- Sketch q(t), I(t) and V(t) with the time constant marked.
Check yourself
Doubling both R and C in an RC circuit makes the time constant:
Show the answer
Four times larger
τ = RC.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera