On this page
Charge a capacitor from a battery through a resistor and two things are fixed. The capacitor ends at the battery voltage E, and exactly half the energy the battery supplies is lost as heat, however small the resistor. Swap the resistor for a coil and add a diode, and both rules break. The capacitor ends at almost 2E, and with ideal parts nothing is lost at all. This post shows why, with a worked 9 V example.
Problem idea: OPhO 2022, problems 14–15. The circuit values and working here are our own.
What happens when you charge a capacitor through an inductor and a diode?
Put a battery E, an inductor L, a diode and an uncharged capacitor C in series, and close the switch. First take the diode as ideal: no voltage drop forward, no current backward.
While current flows, Kirchhoff's loop rule gives:
L di/dt = E − q/C
This is the equation of an LC circuit, but oscillating about q = CE instead of about zero. With q = 0 and i = 0 at the start, the solution is:
q = CE(1 − cos ωt), with ω = 1/√(LC)
i = CEω sin ωt = E√(C/L) sin ωt
The current is a sine wave. After half a period, t = π√(LC), it falls to zero and would reverse. The diode does not let it. The charge is trapped, and the capacitor stays at:
Vc = q/C = CE(1 − cos π)/C = 2E
If you want to see the free LC version of this motion first, read LC oscillations: energy swapping between capacitor and inductor. Here the battery shifts the centre of the swing from zero to E, and the diode stops the swing at its far end.
Why does the capacitor overshoot the battery voltage?
Follow the current. At first the capacitor is empty, so the whole battery voltage sits across the coil and the current grows. When the capacitor reaches E, the coil's voltage is zero and the current is at its peak. The coil now holds energy ½LI², and an inductor resists any change in current. So the current keeps flowing, pushing more charge onto the capacitor even though it is already above E. The capacitor is charged past E until the coil's energy is used up, which happens at 2E.
A mechanical picture helps. Hang a mass on a relaxed spring and let go. It does not stop at its rest position. It falls to twice the static stretch, then bounces back. The diode is like a catch that grabs the mass at the bottom of its first fall, so it never bounces back.
Where does the energy go, and why is none lost?
The battery moves charge Q = 2CE through itself, so it does work:
W = QE = 2CE × E = 2CE²
The capacitor stores:
U = ½C(2E)² = 2CE²
They are equal. With an ideal coil and diode, nothing has been turned into heat. Compare the resistor case: the battery moves CE, does work CE², and the capacitor stores only ½CE². That half-lost result is worked in charge sharing between capacitors, and it holds for any resistance. The coil avoids the loss because it stores the extra energy for a moment instead of burning it, then hands it to the capacitor.
Worked example: a 9 V battery, 47 mH coil and 220 µF capacitor
Take E = 9 V, L = 47 mH, C = 220 µF, and a silicon diode with a forward drop of about Vd = 0.7 V. The diode drop simply subtracts from the battery while current flows, so replace E by E − Vd = 8.3 V in the formulas.
Time scale. √(LC) = √(0.047 × 220 × 10⁻⁶) = 3.22 ms.
How long the current flows. π√(LC) = 10.1 ms.
Peak current. (E − Vd)√(C/L) = 8.3 × √(220 × 10⁻⁶ / 0.047) = 0.568 A, reached at 5.05 ms.
Final voltage. Vc = 2(E − Vd) = 16.6 V. Check that the diode now blocks: its anode is at 9 V and its cathode at 16.6 V, so it is reverse biased by 7.6 V and no current flows back.
Charge moved. Q = C × Vc = 220 × 10⁻⁶ × 16.6 = 3.65 mC.
Energy from the battery. QE = 3.65 × 10⁻³ × 9 = 32.9 mJ.
Energy stored. ½CVc² = ½ × 220 × 10⁻⁶ × 16.6² = 30.3 mJ, which is 92% of the battery's work.
Energy in the diode. Q × Vd = 3.65 × 10⁻³ × 0.7 = 2.6 mJ. Check: 30.3 + 2.6 = 32.9 mJ.
For comparison, an ideal diode would give 18 V and store 35.6 mJ out of 35.6 mJ. Charging the same capacitor through a resistor gives 9 V and stores 8.9 mJ out of 17.8 mJ.
What does a real coil's resistance do?
A real coil has some resistance R. The current then dies away slightly as it swings, and the voltage stops short of 2(E − Vd). For a series RLC circuit started from rest, the current first returns to zero when the capacitor reaches:
Vc = (E − Vd)(1 + e^(−πα/ω′)), where α = R/(2L) and ω′ = √(1/(LC) − α²)
With the example values:
R = 0.5 Ω: 16.2 V, with 90% of the battery's work stored.
R = 2 Ω: 15.0 V, 83% stored.
R = 5 Ω: 13.1 V, 73% stored.
A step-by-step numerical run of the circuit gives the same three voltages. The better the coil (the higher ωL/R), the closer you get to the ideal.
Engineers call this method resonant or resonance charging, and it is used to charge the pulse-forming networks of pulse generators. See, for example, D. G. Borisov and A. I. Grislov on its efficiency limit, Nuclear Instruments and Methods 89, 77–79 (1970). If you try a bench version, keep to a low-voltage battery, use a capacitor rated well above 2E and watch its polarity.
To watch charge and current swap in an LC circuit before adding the diode, open the Simulation Lab. For JEE-style circuit practice, Fermi Test Prep offers personalised preparation for JEE Main & Advanced with an AI tutor, live classes, adaptive mocks, mentorship and a study plan that updates based on mastery.
Quick checklist
Battery, coil, diode and capacitor in series: q = C(E − Vd)(1 − cos ωt) while current flows.
The current is a half sine lasting π√(LC); the diode stops it at zero.
Final voltage: 2(E − Vd), about twice the battery voltage.
Ideal parts: battery work 2CE² equals stored energy 2CE², so nothing is lost.
Resistor charging always loses half; the coil avoids that by storing energy briefly.
Coil resistance lowers the result to (E − Vd)(1 + e^(−πα/ω′)).



