Lessons · circuits
The LC oscillator: the current is the slope of the charge
Regime 2 — calculus does what algebra cannot. The acceleration isn't constant, so the algebra formulas don't apply; calculus is the only road in, and SymPy proves the closed form solves the equation of motion.
A capacitor F is charged to C and then connected across an inductor mH. With no resistance to drain it, the charge and the current oscillate forever at angular frequency . Plotted as a stacked – over –, the slope of the charge is the current at every instant — the same slope↔value pivot as position and velocity, and the electrical twin of a mass on a spring. Drag and watch the period stretch; the energy sloshes between the capacitor and the inductor while the total stays fixed.
Around the loop, the inductor's back-EMF balances the capacitor voltage . Because the current is the rate of change of charge, , this is a second-order differential equation for — the exact shape of the mass–spring equation , with .
check ; check ; energy constant; ; quarter-period phase
- ✓ The current is the slope of the charge: — exactly as velocity is the slope of position. [structural]
- ✓ The charge solves the LC equation — the electrical twin of the spring's . [structural]
- ✓ Energy trades between the capacitor and the inductor ; the total stays at the initial . [simplify]
- ✓ The period is : a full cycle later the charge repeats, . [structural]
- ✓ A quarter period in, the capacitor is empty () while the current peaks — charge and current are out of phase. [structural]
Dimensional homogeneity: checked by SymPy (holds).
Not here. With no resistor there is nothing to dissipate the energy, so nothing decays — the charge and current oscillate forever. They are out of phase: when the charge is at its peak the current is zero (the capacitor is full and momentarily not flowing), and a quarter cycle later while is at its peak (the capacitor is empty and the current is greatest). The energy trades back and forth between the capacitor's and the inductor's , but the total is constant. RC relaxes; LC rings.
Modeling assumptions — author-asserted, disclosed not discharged
- An ideal LC circuit: a perfect inductor and capacitor with no resistance, so no energy is dissipated and the oscillation never decays.
- The capacitor starts fully charged to and the initial current is zero, — all the energy begins in the capacitor's electric field.
The stacked graph, fully annotated
A static rendering (Matplotlib) at the default parameters — the interactive version is in the Graph tab above.
Formulas used
Hover a formula to preview its reference entry; click to open it in the reference (or the concept graph):
- LC angular frequency
Valid when: ideal LC circuit, no resistance; free oscillation L Q'' + Q/C = 0
Open in reference →
- LC period
Valid when: ideal LC circuit, no resistance; free oscillation at ω = 1/√(LC)
Open in reference →
- Inductor EMF
Valid when: ideal inductor; the self-induced EMF opposes the change in current (Lenz's law)
Open in reference →
- Capacitance
Valid when: linear capacitor: charge proportional to voltage; C set by geometry, not by Q or V
Open in reference →