PhysicsGrade 11–12

Charging and discharging a capacitor

A capacitor charges through a resistor and discharges again. The graphs show how voltage and current change over time.

Loading simulation …

What is it about?

A capacitor stores charge, Q=C⋅UQ = C \cdot U. Charging through a resistor RR from U0U_0:

UC(t)=U0⋅(1−e−t/τ),I(t)=U0R⋅e−t/τ,τ=R⋅C.U_C(t) = U_0 \cdot \left(1 - e^{-t/\tau}\right), \qquad I(t) = \frac{U_0}{R} \cdot e^{-t/\tau}, \qquad \tau = R \cdot C .

Discharging: UC(t)=U0⋅e−t/τU_C(t) = U_0 \cdot e^{-t/\tau}, and the current reverses (negative in the graph).

  • After τ\tau the voltage has reached 63 % (charging) or dropped to 37 % (discharging).
  • The tangent at t=0t = 0 meets the final value exactly at t=τt = \tau.
  • Half-life: t1/2=τ⋅ln⁡2t_{1/2} = \tau \cdot \ln 2.
  • After about 5 τ5\,\tau the process is practically complete.
  • Stored energy: W=12CU2W = \tfrac12 C U^2.

The dots are electrons, moving against the conventional current (red arrow) with a speed proportional to II. Very small or very large τ\tau are shown in time lapse or slow motion; the graphs always show real time.

Try it

  1. Watch the charging process. When is the current largest? Charge
  2. Tap the switch while charging. Charge
  3. Double RR or CC. R = 20 kΩ · C = 200 µF
  4. Discharge with half-life markers. Half-life

Tasks

Task 1: Time constant

C=100 μFC = 100\,\mu\text{F}, R=10 kΩR = 10\,\text{k}\Omega, U0=10 VU_0 = 10\,\text{V}. Find τ\tau, I0I_0 and UC(τ)U_C(\tau). Load task

Show solution

τ=1.0 s\tau = 1.0\,\text{s}, I0=1.0 mAI_0 = 1.0\,\text{mA}, UC(τ)≈6.32 VU_C(\tau) \approx 6.32\,\text{V}. Show in the simulation

Task 2: Half-life

When has the discharging capacitor dropped to 5 V5\,\text{V}, and to 2.5 V2.5\,\text{V}? Load task

Show solution

t1/2≈0.693 st_{1/2} \approx 0.693\,\text{s}, two half-lives ≈1.39 s\approx 1.39\,\text{s}. Show in the simulation

Task 3: Energy

Energy stored at 10 V10\,\text{V}? Load task

Show solution

W=12⋅10−4 F⋅(10 V)2=5 mJW = \tfrac12 \cdot 10^{-4}\,\text{F} \cdot (10\,\text{V})^2 = 5\,\text{mJ}. Show in the simulation

Ideas for the classroom

  • Compare with a real measurement using a large electrolytic capacitor.
  • Common stumbling blocks: “Current flows through the capacitor.” – Only in the leads. “The current keeps its direction when discharging.” – It reverses.