RC Circuits

Capacitor charging and discharging with differential equations

🎯⭐ INTERACTIVE LESSON

Try the Interactive Version!

Learn step-by-step with practice exercises built right in.

Start Interactive Lesson →

RC Circuits

Charging Capacitor

Circuit: battery (E\mathcal{E}), resistor (RR), capacitor (CC) in series.

Kirchhoff's loop rule: EIRQC=0\mathcal{E} - IR - \frac{Q}{C} = 0

ERdQdtQC=0\mathcal{E} - R\frac{dQ}{dt} - \frac{Q}{C} = 0

Differential equation: dQdt=ERQRC\frac{dQ}{dt} = \frac{\mathcal{E}}{R} - \frac{Q}{RC}

Solution: Charging

Q(t)=CE(1et/RC)Q(t) = C\mathcal{E}(1 - e^{-t/RC})

Current: I(t)=dQdt=ERet/RCI(t) = \frac{dQ}{dt} = \frac{\mathcal{E}}{R}e^{-t/RC}

Voltage across capacitor: VC(t)=QC=E(1et/RC)V_C(t) = \frac{Q}{C} = \mathcal{E}(1 - e^{-t/RC})

Voltage across resistor: VR(t)=IR=Eet/RCV_R(t) = IR = \mathcal{E}e^{-t/RC}

Time constant: τ=RC\tau = RC

After time τ\tau:

  • Capacitor reaches (11/e)63%(1 - 1/e) \approx 63\% of final charge
  • Current drops to 1/e37%1/e \approx 37\% of initial

Discharging Capacitor

Initial charge Q0Q_0 on capacitor, no battery.

Loop rule: IRQC=0-IR - \frac{Q}{C} = 0

RdQdt+QC=0R\frac{dQ}{dt} + \frac{Q}{C} = 0

Solution: Q(t)=Q0et/RCQ(t) = Q_0e^{-t/RC}

Current: I(t)=dQdt=Q0RCet/RCI(t) = -\frac{dQ}{dt} = \frac{Q_0}{RC}e^{-t/RC}

Voltage: VC(t)=V0et/RCV_C(t) = V_0e^{-t/RC}

Energy Considerations

Charging:

Energy supplied by battery: Wbattery=QE=CE2W_{battery} = Q\mathcal{E} = C\mathcal{E}^2

Energy stored in capacitor: UC=12CE2U_C = \frac{1}{2}C\mathcal{E}^2

Energy dissipated in resistor: UR=12CE2U_R = \frac{1}{2}C\mathcal{E}^2

(Half the energy is always dissipated as heat, independent of RR!)

Discharging:

All energy dissipated in resistor: UR=12CV02U_R = \frac{1}{2}CV_0^2

General RC Circuit

For any RC circuit, differential equation has form:

RCdVCdt+VC=VfinalRC\frac{dV_C}{dt} + V_C = V_{final}

General solution: VC(t)=Vfinal+(VinitialVfinal)et/RCV_C(t) = V_{final} + (V_{initial} - V_{final})e^{-t/RC}

Multiple Capacitors

Capacitors in series or parallel can be replaced by equivalent capacitance, then analyze as simple RC circuit.

Effective time constant: τ=RCeq\tau = RC_{eq}

Applications

Timer circuits: Delay determined by RCRC

Filters: Block DC, pass AC (or vice versa)

Integrators/Differentiators: For signal processing

Defibrillators: Store energy, rapid discharge through heart

📚 Practice Problems

No example problems available yet.