Sub topic 9
LC Oscillations and the Analogy with SHM
This chapter assumes you know the energy stored in a capacitor (U = q²/2C), the energy stored in an inductor (U = ½LI²), and the equation of simple harmonic motion. It also assumes you can solve a second-order equation of the form x'' = −ω²x.
The setup
Charge a capacitor C to q₀, then connect it across an ideal inductor L with no resistance. The capacitor discharges through the inductor. The inductor opposes the change in current, so the current builds up gradually. When the capacitor is empty, the current is at its maximum and the inductor keeps it flowing. This recharges the capacitor with the opposite polarity. The cycle then repeats in reverse.
Deriving the equation
Apply Kirchhoff's loop rule. The capacitor voltage is q/C. The inductor EMF is −L dI/dt, where I = dq/dt. The sum around the loop is zero:
q/C + L d²q/dt² = 0
So:
d²q/dt² = −(1/LC) q
This has the same form as x'' = −ω²x. The solution is
q(t) = q₀ cos(ω₀t), with ω₀ = 1/√(LC)
The current is I = dq/dt = −q₀ω₀ sin(ω₀t), so the peak current is I₀ = q₀ω₀. The period is T = 2π√(LC).
The mechanical analogy
| Mechanical (mass on spring) | Electrical (LC circuit) |
|---|---|
| Displacement x | Charge q |
| Velocity v | Current I |
| Mass m | Inductance L |
| Spring constant k | 1/C |
| Potential energy ½kx² | Electric energy q²/2C |
| Kinetic energy ½mv² | Magnetic energy ½LI² |
| ω = √(k/m) | ω₀ = 1/√(LC) |
Inductance is the "inertia" of the circuit, because it resists changes in current. A small capacitance acts like a stiff spring.
Energy exchange
The total energy is constant:
U = q²/2C + ½LI² = q₀²/2C
At t = 0 all the energy is electric. After a quarter period (T/4) all of it is magnetic. The electric and magnetic energies each oscillate at frequency 2ω₀, which is twice the charge frequency.
Numerical check
import math
L = 0.1 # henry
C = 100e-6 # farad
q0 = 1e-3 # coulomb
w0 = 1 / math.sqrt(L * C)
T = 2 * math.pi / w0
I0 = q0 * w0
# Energy at t = T/8: electric and magnetic parts should be equal
t = T / 8
q = q0 * math.cos(w0 * t)
I = -q0 * w0 * math.sin(w0 * t)
U_E = q**2 / (2 * C)
U_B = 0.5 * L * I**2
print(round(w0, 2), round(T, 5), round(I0, 4))
print(round(U_E, 6), round(U_B, 6), round(U_E + U_B, 6))At T/8 each energy equals half the total, 0.005 J.
Common errors
- Writing the frequency of the energy oscillation as ω₀. It is 2ω₀.
- Using the inductor's EMF with the wrong sign in the loop equation. This gives growth instead of oscillation.
- Forgetting that real circuits have resistance, so the amplitude decays. The ideal LC result holds only when R is negligible.
Exercise
A 2 µF capacitor charged to 10 V is connected across a 50 mH inductor. Find the maximum current and the charge on the capacitor when the current is half its maximum.
Show answer
q₀ = CV = 2×10⁻⁶ × 10 = 2×10⁻⁵ C. ω₀ = 1/√(0.05 × 2×10⁻⁶) = 1/√(10⁻⁷) ≈ 3162 rad/s. I₀ = q₀ω₀ ≈ 0.0632 A. At I = I₀/2, magnetic energy is ¼ of the total, so electric energy is ¾ of the total. Then q²/2C = ¾ q₀²/2C, which gives q = (√3/2) q₀ ≈ 1.73×10⁻⁵ C.