Skip to main content
United StatesPhysics C: Electricity and MagnetismSyllabus dot point

How do charge, current and voltage evolve in time when a capacitor charges or discharges through a resistor?

Topic 11.8 Resistor-Capacitor (RC) Circuits: model the exponential charging and discharging of a capacitor through a resistor using the time constant.

A calculus-based answer to AP Physics C E&M Topic 11.8, covering the differential equation of an RC circuit, the exponential charge and discharge solutions, the time constant, and the initial and final behavior of the capacitor.

Generated by Claude Opus 4.812 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. The differential equation
  3. Charging: the exponential approach
  4. Discharging
  5. The time constant and limiting behavior
  6. Try this

What this topic is asking

The College Board (Topic 11.8) wants you to model an RC circuit: a capacitor charging or discharging through a resistor. Because the current depends on the changing charge, the circuit obeys a first-order differential equation whose solution is an exponential governed by the time constant τ=RC\tau = RC. This is the calculus-based heart of the circuits unit.

The differential equation

For a capacitor charging through a resistor from a battery, Kirchhoff's loop rule gives

ε=IR+qC,I=dqdt\varepsilon = IR + \frac{q}{C}, \qquad I = \frac{dq}{dt}

Substituting the current as the rate of change of charge yields a first-order linear differential equation:

ε=Rdqdt+qC\varepsilon = R\frac{dq}{dt} + \frac{q}{C}

This is the defining feature of an RC circuit: the current is not constant but tied to how fast the charge changes.

Charging: the exponential approach

Solving with the initial condition q(0)=0q(0) = 0 (uncharged capacitor) gives the charge and current:

q(t)=Cε(1et/RC),I(t)=εRet/RCq(t) = C\varepsilon\left(1 - e^{-t/RC}\right), \qquad I(t) = \frac{\varepsilon}{R}\,e^{-t/RC}

The charge rises from zero toward its final value CεC\varepsilon, while the current starts at εR\dfrac{\varepsilon}{R} and decays to zero. The voltage across the capacitor mirrors the charge: VC=qC=ε(1et/RC)V_C = \dfrac{q}{C} = \varepsilon\left(1 - e^{-t/RC}\right).

Discharging

If a charged capacitor (initial charge q0q_0) discharges through a resistor with no battery, the loop equation qC+Rdqdt=0\dfrac{q}{C} + R\dfrac{dq}{dt} = 0 solves to

q(t)=q0et/RC,I(t)=q0RCet/RCq(t) = q_0\,e^{-t/RC}, \qquad I(t) = \frac{q_0}{RC}\,e^{-t/RC}

Both decay exponentially from their initial values toward zero.

The time constant and limiting behavior

Try this

Q1. An RC circuit has R=1000ΩR = 1000\,\Omega and C=5.0×106C = 5.0\times10^{-6} F. Find the time constant. [1 point]

  • Cue. τ=RC=(1000)(5.0×106)=5.0×103\tau = RC = (1000)(5.0\times10^{-6}) = 5.0\times10^{-3} s.

Q2. State how a fully charged capacitor behaves in a DC circuit after a long time. [1 point]

  • Cue. Like an open switch: no current flows through its branch.

Exam-style practice questions

Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AP 2022 (style)1 marksSection I (multiple choice). In an RC charging circuit, a long time after the switch closes, the current through the resistor is (A) maximum (B) εR\dfrac{\varepsilon}{R} (C) zero (D) ε2R\dfrac{\varepsilon}{2R}. Justify your reasoning.
Show worked answer →

A 1-point MCQ on the steady state of an RC circuit. The answer is (C).

As tt \to \infty the capacitor charges fully to the EMF, so no further charge flows: the current decays to zero. The maximum current ε/R\varepsilon/R occurs at t=0t = 0, the instant the switch closes, when the capacitor is uncharged and acts like a wire. The trap is (B), which is the initial, not the final, current.

AP 2024 (style)6 marksSection II (FRQ, derivation). A capacitor CC, initially uncharged, is charged through a resistor RR by a battery of EMF ε\varepsilon when a switch closes at t=0t = 0. (a) Write the loop equation and the resulting differential equation for the charge q(t)q(t). (b) Solve it for q(t)q(t). (c) Find the current I(t)I(t) and state the time constant.
Show worked answer →

A 6-point FRQ deriving the charging solution from the differential equation.

(a) Differential equation (2 points): loop rule, εIRqC=0\varepsilon - IR - \dfrac{q}{C} = 0, with I=dqdtI = \dfrac{dq}{dt}: ε=Rdqdt+qC\varepsilon = R\dfrac{dq}{dt} + \dfrac{q}{C}.
(b) Solution (3 points): separating variables and integrating with q(0)=0q(0) = 0 gives q(t)=Cε(1et/RC)q(t) = C\varepsilon\left(1 - e^{-t/RC}\right).
(c) Current and time constant (1 point): I(t)=dqdt=εRet/RCI(t) = \dfrac{dq}{dt} = \dfrac{\varepsilon}{R}e^{-t/RC}; the time constant is τ=RC\tau = RC.

Markers reward the differential equation, the exponential solution with the correct initial condition, and τ=RC\tau = RC.

Related dot points

Sources & how we know this