LC circuits: electrical oscillation and energy exchange

Setting up the oscillator

Charge a capacitor C to charge Q, then connect it across an inductor L (with no resistor and no source). The capacitor starts to discharge, but the inductor opposes any change in current, so the current builds up gradually.


Once the capacitor is empty, the inductor keeps the current going and charges the capacitor with the opposite polarity. The process then reverses, and the charge keeps oscillating back and forth.


Going around the loop, with i = dq/dt as the current charging the capacitor plate that holds q (Kirchhoff's loop rule):


L (di/dt) + q/C = 0  ⇒  d2q/dt2 = −(1/LC) q


This has the same form as a mass on a spring, d2x/dt2 = −(k/m)x. The analogy is charge ↔ displacement, inductance ↔ mass (inertia against change) and 1/C ↔ spring constant.

Key results

  • Angular frequency: ω = 1/√(LC); frequency f = ω/2π; period T = 2π√(LC).
  • If the capacitor is fully charged at t = 0: q(t) = Q cos(ωt) and i(t) = −ωQ sin(ωt). The largest current is Imax = ωQ.
  • Charge and current are a quarter period (90°) out of step. When one of them is at its largest magnitude, the other is zero.

Energy bookkeeping

Energy in the capacitor: UC = q2/2C. Energy in the inductor: UL = Li2/2. In an ideal circuit their sum stays constant:


q2/2C + Li2/2 = Q2/2C = L Imax2/2


Substituting q = Q cos(ωt) gives UC = (Q2/2C) cos2(ωt) and UL = (Q2/2C) sin2(ωt). Each energy term goes through two maxima per charge cycle, because squaring removes the sign of q or i.

Worked example

Take L = 40 mH and C = 10 µF, with the capacitor first charged to 25 V.


  • ω = 1/√(0.040 H × 10 × 10−6 F) = 1/√(4.0 × 10−7 s2) ≈ 1.58 × 103 rad/s, so f = ω/2π ≈ 252 Hz.
  • Total energy: U = ½CV2 = ½(10 × 10−6)(25)2 = 3.125 × 10−3 J.
  • When all of that energy is in the inductor: Imax = √(2U/L) = √(2 × 3.125 × 10−3 / 0.040) = √0.15625 ≈ 0.395 A.


Check: Q = CV = 2.5 × 10−4 C and ωQ ≈ 1581 × 2.5 × 10−4 ≈ 0.395 A, the same answer by a different route.

Misconceptions to avoid

  • Mixing up ω and f. Imax = ωQ uses angular frequency in rad/s. Using f instead gives a current that is too small by a factor of 2π.
  • Assuming everything is linear. Frequency depends on the square root of LC, and energy depends on the square of charge or current. Halfway in charge is not halfway in energy.
  • Real circuits. Ordinary inductors and connections have resistance, and real circuits can also lose energy through dielectric, magnetic, radiative, and coupling losses. Consequently, an undriven real LC oscillation generally decays; the ideal model neglects these losses. Resistance and driven resonance belong to RLC circuits; this lesson treats the ideal, undriven case.

An ideal LC circuit oscillates at its natural frequency f. The capacitor is replaced with one of four times the capacitance, and the inductor is unchanged. What is the new natural frequency?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

In an ideal LC circuit, at the instant when the current in the inductor has its maximum magnitude, which statement describes the capacitor?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

In an ideal LC circuit with period T, the capacitor is fully charged and the current is zero at t = 0. At what earliest time t > 0 is the energy stored in the capacitor equal to the energy stored in the inductor?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors