Sub topic 18
LC oscillations
This chapter assumes you know capacitor energy, the inductor's back emf (e = -L di/dt), and simple harmonic motion.
The working model
Charge a capacitor C to q₀, then connect it across an inductor L with no resistance. The capacitor discharges, and the current builds up slowly because the inductor opposes the change. When the capacitor is empty, the current is at its maximum. The inductor then keeps the current flowing and charges the capacitor with opposite polarity. The cycle repeats.
Kirchhoff's loop rule gives L d²q/dt² + q/C = 0. This has the same form as simple harmonic motion, so:
- q = q₀ cos ωt
- i = dq/dt = -q₀ω sin ωt, with peak current I₀ = q₀ω
- ω = 1/√(LC), and f = 1/(2π√(LC))
Energy exchange
The capacitor holds UE = q²/2C and the inductor holds UB = ½Li². Their sum stays constant at q₀²/2C = ½LI₀², because no energy is lost.
- At t = 0, all the energy is electric.
- At t = T/4, all the energy is magnetic.
- The two energies are equal when q = q₀/√2, which happens at t = T/8.
Each energy oscillates at twice the frequency of the charge.
Mechanical analogy
| Mechanical (spring-mass) | Electrical (LC) |
|---|---|
| Displacement x | Charge q |
| Velocity v | Current i |
| Mass m | Inductance L |
| Spring constant k | 1/C |
| ½kx² | q²/2C |
| ½mv² | ½Li² |
| ω = √(k/m) | ω = √(1/LC) |
Numerical check
import math
L = 0.1 # henry
C = 10e-6 # farad
V0 = 10.0 # initial capacitor voltage in volt
w = 1 / math.sqrt(L * C)
T = 2 * math.pi / w
q0 = C * V0
print(f"omega = {w:.0f} rad/s, f = {w / (2 * math.pi):.1f} Hz, I0 = {q0 * w:.3f} A")
for label, t in (("0", 0.0), ("T/4", T / 4), ("T/2", T / 2)):
q = q0 * math.cos(w * t)
i = -q0 * w * math.sin(w * t)
ue = q**2 / (2 * C)
ub = 0.5 * L * i**2
print(f"t = {label:>3}: q = {q * 1e6:6.1f} uC, U_E = {ue * 1e3:.3f} mJ, U_B = {ub * 1e3:.3f} mJ")The total energy is 0.500 mJ at every instant, as the formulas predict.
Common errors
- Using ω = 1/LC. The correct form is ω = 1/√(LC).
- Treating q and i as in phase. The current is a quarter cycle ahead of the charge.
- Expecting undamped oscillations in a real circuit. Any resistance R dissipates energy as heat, so the amplitude decays (damped oscillation).
- Saying the energy oscillation has frequency f. The energies swap twice per charge cycle.
Exercise
An LC circuit has L = 4 mH and C = 1 µF. The capacitor starts with a charge of 20 µC. Find the angular frequency and the maximum current.
Show answer
ω = 1/√(LC) = 1/√(4×10⁻³ × 10⁻⁶) = 1/(6.32×10⁻⁵ s... ) = 1/√(4×10⁻⁹) ≈ 1.58×10⁴ rad/s. The peak current is I₀ = q₀ω = 20×10⁻⁶ × 1.58×10⁴ ≈ 0.32 A.