Sub topic 18
LC oscillations
What you need first
This chapter assumes you know the following:
- Capacitor basics: q = CV and stored energy q²/2C.
- Self inductance: emf = −L di/dt and stored energy ½Li².
- Simple harmonic motion, including ω = √(k/m) and the way kinetic and potential energy trade places.
- Derivatives of sine and cosine.
An LC circuit is a charged capacitor connected to an inductor with no resistor. The charge and current then swing back and forth, much like a mass on a spring.
How energy moves between C and L
Suppose a capacitor holds charge Q₀ and is connected across an ideal inductor at t = 0. All the energy starts in the electric field of the capacitor.
- The capacitor begins to discharge. The inductor opposes the growth of current (Lenz's law), so the current rises gradually from zero.
- When the capacitor is fully discharged, the current is at its maximum. All the energy is now in the magnetic field of the inductor.
- The current cannot stop at once, because the inductor resists a fall in current. It keeps charging the capacitor, now with opposite polarity.
- When the current reaches zero, the capacitor holds charge Q₀ with reversed sign. The same process then runs backward.
The equation of motion
Apply the loop rule to the circuit. The potential across the capacitor is q/C, and the inductor's emf is −L di/dt. Since i = dq/dt:
L d²q/dt² + q/C = 0, which gives d²q/dt² = −(1/LC) q.
This has the same form as simple harmonic motion, so the solution is q = Q₀ cos(ωt) with
- ω₀ = 1/√(LC)
- f = 1/(2π√(LC))
- T = 2π√(LC)
The current is i = dq/dt = −Q₀ω sin(ωt). Its peak value is I₀ = Q₀ω.
The charge and the current are a quarter cycle (90°) out of phase. When one is at its maximum, the other is zero.
Energy at any instant
| Quantity | Expression | Value at t |
|---|---|---|
| Electric energy U_E | q²/2C | (Q₀²/2C) cos²(ωt) |
| Magnetic energy U_B | ½Li² | (Q₀²/2C) sin²(ωt) |
| Total | U_E + U_B | Q₀²/2C, constant |
The sin² form of U_B follows from ½L Q₀²ω² = ½L Q₀²/(LC) = Q₀²/2C.
The total equals both ½LI₀² and Q₀²/2C. The two energies are equal when cos²(ωt) = ½, which happens at q = Q₀/√2, or t = T/8.
Each energy oscillates at 2ω, twice the frequency of the charge. This matches the mechanical case, where kinetic and potential energy each peak twice per cycle.
The mechanical analogy
| Mechanical oscillator | LC circuit |
|---|---|
| Displacement x | Charge q |
| Velocity v = dx/dt | Current i = dq/dt |
| Mass m (inertia) | Inductance L |
| Spring constant k | 1/C |
| Kinetic energy ½mv² | Magnetic energy ½Li² |
| Potential energy ½kx² | Electric energy q²/2C |
| ω = √(k/m) | ω = √(1/(LC)) |
A large inductance acts like a heavy mass, so the current is slow to change and the oscillation is slow. A large capacitance acts like a soft spring, because a lot of charge is needed to build up a given voltage, so the oscillation is also slow.
Worked example
A 5 µF capacitor is charged to 100 V and then connected to a 2 mH inductor. Find the frequency, the peak current and the total energy.
- LC = (2×10⁻³)(5×10⁻⁶) = 10⁻⁸ s², so √(LC) = 10⁻⁴ s and ω = 10⁴ rad/s.
- f = ω/2π ≈ 1592 Hz, and T ≈ 628 µs.
- Q₀ = CV = 5×10⁻⁴ C, so I₀ = Q₀ω = 5 A.
- Energy = ½CV² = ½(5×10⁻⁶)(100²) = 0.025 J. Check: ½LI₀² = ½(2×10⁻³)(25) = 0.025 J.
Checking the numbers in code
This script uses the same circuit and prints the charge, the current and both energies at eighth-period steps. The total stays constant.
import math
L = 2e-3 # henry
C = 5e-6 # farad
V0 = 100.0 # initial capacitor voltage in volt
Q0 = C * V0
w = 1 / math.sqrt(L * C)
T = 2 * math.pi / w
print(f"omega = {w:.0f} rad/s, f = {w / (2 * math.pi):.1f} Hz, T = {T * 1e6:.1f} us")
for k in range(5):
t = k * T / 8
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 = {k}T/8: q = {q * 1e6:7.1f} uC, i = {i:6.3f} A, "
f"UE = {ue * 1e3:6.2f} mJ, UB = {ub * 1e3:6.2f} mJ, "
f"total = {(ue + ub) * 1e3:6.2f} mJ"
)At t = T/8 the two energies are equal at 12.5 mJ each. At t = T/4 the charge is zero and the current is −5 A.
Real circuits: damping
Every real circuit has some resistance R. In a series LCR circuit with no source, the loop equation becomes
L d²q/dt² + R dq/dt + q/C = 0.
The energy is dissipated as heat in R, so the amplitude falls over time. For weak damping the charge is
q = Q₀ e^(−Rt/2L) cos(ω′t), with ω′ = √(1/LC − R²/4L²).
- The amplitude decays exponentially, and the energy decays as e^(−Rt/L).
- The oscillation continues only if R < 2√(L/C). For the circuit above, that limit is 2√400 = 40 Ω.
- For small R the shift from ω₀ is tiny, so NEET problems usually use ω₀ = 1/√(LC).
An AC source can replace the lost energy. When its frequency matches 1/(2π√(LC)), the circuit is in resonance. This is the same expression you used for the resonant frequency in the series LCR chapter, so the natural frequency of the LC circuit is the frequency at which the driven circuit responds most strongly.
Common errors
- Putting the maximum current at the same instant as the maximum charge. They are 90° apart.
- Forgetting the 2π when converting between ω and f.
- Entering µF or mH without converting to farad and henry. Convert first, then take the square root.
- Treating the energy as shared evenly at T/4. At that moment all the energy is in the inductor. The equal split is at T/8.
- Forgetting that the electric and magnetic energies oscillate at twice the charge frequency. The total energy does not oscillate at all.
- Using the undamped formulas when the question gives a significant R and asks for the decay of energy.
Exercises
Exercise
A 0.1 H inductor and a 10 µF capacitor form an LC circuit. The capacitor starts with 2 mC of charge. Find the frequency in Hz (use π ≈ 3.14), the maximum current, and the charge on the capacitor when the energy is shared equally between L and C.
Show answer
LC = 0.1 × 10×10⁻⁶ = 10⁻⁶ s², so √(LC) = 10⁻³ s and ω = 1000 rad/s. The frequency is f = 1000/(2×3.14) ≈ 159 Hz. The maximum current is I₀ = Q₀ω = (2×10⁻³)(1000) = 2 A. The energy is shared equally when q = Q₀/√2 = 2 mC/1.414 ≈ 1.41 mC.
Exercise
In an LC circuit, the capacitance is increased to four times its value while L is unchanged. By what factor does the oscillation frequency change, and what happens to the peak current if the same initial charge Q₀ is kept?
Show answer
Since f ∝ 1/√(LC), quadrupling C halves the frequency. The peak current is I₀ = Q₀ω, and ω is halved, so I₀ also halves. This agrees with the energy view: with the same Q₀, the stored energy Q₀²/2C is a quarter of its original value, so ½LI₀² falls to a quarter and I₀ halves.