Charging the Capacitor:

Discharging the Capacitor:

#### An RC Circuit: Charging

Circuits with resistors and batteries have time-independent solutions: the current doesn't change as time goes by. Adding one or more capacitors changes this. The solution is then time-dependent: the current is a function of time.

Consider a series RC circuit with a battery, resistor, and capacitor in series. The capacitor is initially uncharged, but starts to charge when the switch is closed. Initially the potential difference across the resistor is the battery emf, but that steadily drops (as does the current) as the potential difference across the capacitor increases.

Applying Kirchoff's loop rule:

ε - IR - Q/C = 0

As Q increases I decreases, but Q changes because there is a current I. As the current decreases Q changes more slowly.

I = dQ/dt, so the equation can be written:

ε - R (dQ/dt) - Q/C = 0

This is a differential equation that can be solved for Q as a function of time. The solution (derived in the text) is:

Q(t) = Qo [ 1 - e-t/τ ]

where Qo = C ε and the time constant τ = RC.

Differentiating this expression to get the current as a function of time gives:

I(t) = (Qo/RC) e-t/τ = Io e-t/τ

where Io = ε/R is the maximum current possible in the circuit.

The time constant τ = RC determines how quickly the capacitor charges. If RC is small the capacitor charges quickly; if RC is large the capacitor charges more slowly.

time current
0 Io
1*τ Io/e = 0.368 Io
2*τ Io/e2 = 0.135 Io
3*τ Io/e3 = 0.050 Io

#### An RC Circuit: Discharging

What happens if the capacitor is now fully charged and is then discharged through the resistor? Now the potential difference across the resistor is the capacitor voltage, but that decreases (as does the current) as time goes by.

Applying Kirchoff's loop rule:

-IR - Q/C = 0

I = dQ/dt, so the equation can be written:

R (dQ/dt) = -Q/C

This is a differential equation that can be solved for Q as a function of time. The solution is:

Q(t) = Qo e-t/τ

where Qo is the initial charge on the capacitor and the time constant t = RC.

Differentiating this expression to get the current as a function of time gives:

I(t) = -(Qo/RC) e-t/τ = -Io e-t/τ

where Io = Qo/RC

Note that, except for the minus sign, this is the same expression for current we had when the capacitor was charging. The minus sign simply indicates that the charge flows in the opposite direction.

Here the time constant τ = RC determines how quickly the capacitor discharges. If RC is small the capacitor discharges quickly; if RC is large the capacitor discharges more slowly.