RLC Circuit Differential Equations

April 14, 2026

Problem

A series RLC circuit with R = 10 Ω, L = 1 H, C = 0.01 F carries charge Q(t). Solve L·Q″ + R·Q′ + Q/C = 0 and show the damped oscillation of charge and current.

Explanation

The RLC circuit is a spring-mass-damper in disguise

Kirchhoff's voltage law around a series RLC loop (with no source) says the voltage drops across inductor, resistor, and capacitor sum to zero: LdIdt+RI+QC=0L \frac{dI}{dt} + R \, I + \frac{Q}{C} = 0

Using I=dQ/dtI = dQ/dt, this becomes a second-order ODE for the charge Q(t)Q(t): LQ+RQ+1CQ=0\boxed{\, L \, Q'' + R \, Q' + \frac{1}{C} Q = 0 \,}

Compare term by term with the damped mass-on-spring (#202) mx+cx+kx=0m x'' + c x' + k x = 0:

  • LmL \leftrightarrow m — inductance plays the role of inertia.
  • RcR \leftrightarrow c — resistance dissipates energy like a dashpot.
  • 1/Ck1/C \leftrightarrow k — the "stiffness" of the capacitor (resistance to charge accumulation).
  • QxQ \leftrightarrow x — charge plays the role of position.
  • I=QxI = Q' \leftrightarrow x' — current plays the role of velocity.

It's literally the same ODE with re-labelled variables. This is one of the most beautiful unifications in physics — mechanical oscillation and electrical oscillation share the exact same mathematical skeleton.

The given system

  • L=1L = 1 H, R=10R = 10 Ω, C=0.01C = 0.01 F.

Plug in: 1Q+10Q+10.01Q=01 \cdot Q'' + 10 \, Q' + \frac{1}{0.01} Q = 0 Q+10Q+100Q=0Q'' + 10 \, Q' + 100 \, Q = 0

Step-by-step

Step 1 — Characteristic equation. r2+10r+100=0r^{2} + 10 r + 100 = 0

Discriminant: Δ=100400=300<0\Delta = 100 - 400 = -300 < 0 → complex conjugate roots. r=10±3002=5±53i.r = \frac{-10 \pm \sqrt{-300}}{2} = -5 \pm 5\sqrt{3}\, i.

So α=5\alpha = -5 (decay rate), β=538.66\beta = 5\sqrt{3} \approx 8.66 (oscillation frequency).

Step 2 — Classify the regime.

Critical resistance for this L, C: Rcrit=2L/C=21/0.01=210=20 Ω.R_{\text{crit}} = 2\sqrt{L/C} = 2\sqrt{1/0.01} = 2 \cdot 10 = 20 \text{ Ω}.

Our R=10<RcritR = 10 < R_{\text{crit}}under-damped. The circuit rings.

Step 3 — General solution. Q(t)=e5t(C1cos(53t)+C2sin(53t))\boxed{\, Q(t) = e^{-5 t}\bigl(C_1 \cos(5\sqrt{3}\, t) + C_2 \sin(5\sqrt{3}\, t)\bigr) \,}

Natural (undamped) frequency: ω0=1/LC=1/0.01=10\omega_0 = 1/\sqrt{LC} = 1/\sqrt{0.01} = 10 rad/s. Damped frequency: ωd=ω02γ2=10025=53\omega_d = \sqrt{\omega_0^2 - \gamma^2} = \sqrt{100 - 25} = 5\sqrt{3} rad/s. Decay rate: γ=R/(2L)=5\gamma = R/(2L) = 5 s⁻¹. Envelope time constant: 1/γ=0.21/\gamma = 0.2 s.

Step 4 — Current.

I(t)=Q(t)I(t) = Q'(t). Differentiate: I(t)=e5t[(5C1+53C2)cos(53t)+(5C253C1)sin(53t)].I(t) = e^{-5 t}\bigl[(-5 C_1 + 5\sqrt{3} C_2) \cos(5\sqrt{3}\, t) + (-5 C_2 - 5\sqrt{3} C_1) \sin(5\sqrt{3}\, t)\bigr].

Energy sloshes between the inductor (magnetic field, 12LI2\tfrac{1}{2} L I^2) and the capacitor (electric field, 12Q2/C\tfrac{1}{2} Q^2 / C), with the resistor steadily converting it to heat.

Verification (structural)

e5tcos(53t)e^{-5t} \cos(5\sqrt{3}\, t) and e5tsin(53t)e^{-5t} \sin(5\sqrt{3}\, t) solve Q+10Q+100Q=0Q'' + 10 Q' + 100 Q = 0 by construction — plug in r=5±53ir = -5 \pm 5\sqrt{3} i to r2+10r+100r^2 + 10 r + 100: (5)2±2(5)(53)i+(53i)2+10(5±53i)+100(-5)^2 \pm 2 \cdot (-5)(5\sqrt{3}) i + (5\sqrt{3}i)^2 + 10(-5 \pm 5\sqrt{3} i) + 100. Real and imaginary parts both cancel.

The RLC-mass-spring dictionary

| RLC | Spring-mass | |---|---| | LL (inductance, H) | mm (mass, kg) | | RR (resistance, Ω) | cc (damping, N·s/m) | | 1/C1/C (inverse capacitance, 1/F) | kk (stiffness, N/m) | | QQ (charge, C) | xx (position, m) | | I=QI = Q' (current, A) | v=xv = x' (velocity, m/s) | | 12LI2\tfrac{1}{2} L I^2 (magnetic PE) | 12mv2\tfrac{1}{2} m v^2 (kinetic) | | 12Q2/C\tfrac{1}{2} Q^2/C (electric PE) | 12kx2\tfrac{1}{2} k x^2 (elastic PE) |

Bullets instead of table rows in case of narrow viewports:

  • LmL \equiv m, RcR \equiv c, 1/Ck1/C \equiv k, QxQ \equiv x, IvI \equiv v.

Resonance with a driving voltage

Add a source E(t)E(t) and the ODE becomes non-homogeneous: LQ+RQ+Q/C=E(t).L Q'' + R Q' + Q/C = E(t).

If E(t)=E0cos(ωt)E(t) = E_0 \cos(\omega t), resonance occurs at ω=ω0=1/LC\omega = \omega_0 = 1/\sqrt{LC} — driving at the natural frequency pumps energy in most efficiently. This is the principle behind every tuned radio receiver: adjust CC (or LL) until ω0\omega_0 matches your desired station.

The three regimes (same as spring-mass)

  • R<2L/CR < 2\sqrt{L/C}: under-damped — oscillates. (Our case.)
  • R=2L/CR = 2\sqrt{L/C}: critically damped — fastest non-oscillatory settle.
  • R>2L/CR > 2\sqrt{L/C}: over-damped — sluggish return.

Quality factor Qfactor=ω0L/R=L/C/RQ_{\text{factor}} = \omega_0 L / R = \sqrt{L/C} / R. Our Qfactor=10/10=1Q_{\text{factor}} = 10 / 10 = 1 — moderately damped.

Where this ODE actually shows up

  • Radios and TVs: every tuner has an LC resonant circuit.
  • Power-supply filters: smooth DC rails with LC low-pass behaviour.
  • Antenna matching: broadcast and reception depend on the circuit's ω0,Q\omega_0, Q.
  • MRI coils: rotating magnetic fields in tuned LC tanks.
  • Ring-down spectroscopy: measure R,L,CR, L, C by observing the decay of an excited oscillation.
  • Quantum LC analogue: the quantum harmonic oscillator has the same math; superconducting qubits are engineered LC circuits.

Common mistakes

  • Using CC instead of 1/C1/C for stiffness. Capacitance CC is like compliance — bigger CC means softer. The stiffness term in the ODE is 1/C1/C.
  • Sign of the voltage drops. With the convention I=dQ/dtI = dQ/dt, KVL gives all terms on one side: LQ+RQ+Q/C=VsourceL Q'' + R Q' + Q/C = V_{\text{source}}.
  • Confusing QQ and II. In an RLC problem, "solve for Q" and "solve for I" give different ODEs (the one for II is the derivative of the QQ equation, but structurally the same second-order form).
  • Wrong critical resistance. It's 2L/C2\sqrt{L/C}, not L/C\sqrt{L/C} or LC\sqrt{LC}. Double-check the factor of 2.

Try it in the visualization

Draw the R, L, C components in a loop with the current direction shown. Animate the charge/voltage on the capacitor as the under-damped oscillation unfolds, with the Q(t)Q(t) curve plotted alongside. Slide RR from 0 to 40 Ω — watch the oscillation morph from pure ring (R = 0, no damping, a perpetual-motion LC tank) through under-damped, critical, and over-damped.

Interactive Visualization

Parameters

1.00
10.00
0.01
1.00
0.00
1.50
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
RLC Circuit Differential Equations | MathSpin