RLC Circuit Differential Equations
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:
Using , this becomes a second-order ODE for the charge :
Compare term by term with the damped mass-on-spring (#202) :
- — inductance plays the role of inertia.
- — resistance dissipates energy like a dashpot.
- — the "stiffness" of the capacitor (resistance to charge accumulation).
- — charge plays the role of position.
- — 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
- H, Ω, F.
Plug in:
Step-by-step
Step 1 — Characteristic equation.
Discriminant: → complex conjugate roots.
So (decay rate), (oscillation frequency).
Step 2 — Classify the regime.
Critical resistance for this L, C:
Our → under-damped. The circuit rings.
Step 3 — General solution.
Natural (undamped) frequency: rad/s. Damped frequency: rad/s. Decay rate: s⁻¹. Envelope time constant: s.
Step 4 — Current.
. Differentiate:
Energy sloshes between the inductor (magnetic field, ) and the capacitor (electric field, ), with the resistor steadily converting it to heat.
Verification (structural)
and solve by construction — plug in to : . Real and imaginary parts both cancel.
The RLC-mass-spring dictionary
| RLC | Spring-mass | |---|---| | (inductance, H) | (mass, kg) | | (resistance, Ω) | (damping, N·s/m) | | (inverse capacitance, 1/F) | (stiffness, N/m) | | (charge, C) | (position, m) | | (current, A) | (velocity, m/s) | | (magnetic PE) | (kinetic) | | (electric PE) | (elastic PE) |
Bullets instead of table rows in case of narrow viewports:
- , , , , .
Resonance with a driving voltage
Add a source and the ODE becomes non-homogeneous:
If , resonance occurs at — driving at the natural frequency pumps energy in most efficiently. This is the principle behind every tuned radio receiver: adjust (or ) until matches your desired station.
The three regimes (same as spring-mass)
- : under-damped — oscillates. (Our case.)
- : critically damped — fastest non-oscillatory settle.
- : over-damped — sluggish return.
Quality factor . Our — 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 .
- MRI coils: rotating magnetic fields in tuned LC tanks.
- Ring-down spectroscopy: measure 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 instead of for stiffness. Capacitance is like compliance — bigger means softer. The stiffness term in the ODE is .
- Sign of the voltage drops. With the convention , KVL gives all terms on one side: .
- Confusing and . In an RLC problem, "solve for Q" and "solve for I" give different ODEs (the one for is the derivative of the equation, but structurally the same second-order form).
- Wrong critical resistance. It's , not or . 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 curve plotted alongside. Slide 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
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.