Lessons · circuits
Energy in a capacitor: the area under the voltage–charge line
Regime 2 — calculus does what algebra cannot. The integrand isn't constant, so no single algebra product gives the answer; the accumulated quantity is the area under the curve — and SymPy proves that area is exactly the closed-form result.
A F capacitor is charged until it holds C, reaching V. How much energy is stored — and why is it and not ? As charge piles on, the voltage climbs as ; the energy is the area under that rising line. Drag the cursor and watch the stored energy grow as the triangle under .
Pushing a charge across the capacitor's voltage costs energy . The total stored energy is the integral of voltage over charge — the area under the – graph. Because rises from zero, that area is a triangle, not a rectangle.
check ; check ; recover ; the constant-voltage case is the rectangle (twice the energy)
- ✓ The energy's slope is the voltage: — the area's rate of growth is the curve's height. [structural]
- ✓ The stored energy is exactly the area: . [structural]
- ✓ The memorized is the area at full charge: with . [structural]
- ✓ A battery holding the voltage constant would do — a rectangle, twice the stored energy (the quadrature). [structural]
Dimensional homogeneity: checked by SymPy (holds).
The battery delivers (it moves charge across a fixed voltage — a rectangle). But the capacitor's voltage rises from zero as it fills, so it stores only the triangle under the – line, . Exactly half the delivered energy is lost as heat in the charging resistance — and that fraction is independent of the resistance. The factor of is the area of a triangle, not a fudge.
Modeling assumptions — author-asserted, disclosed not discharged
- Ideal capacitor: fixed capacitance , no leakage, charge spread uniformly so holds throughout.
- The 'where did half the energy go' step assumes the charge is delivered through some resistance (any real wire); the dissipated half does not depend on how small that resistance is.
The V–q graph, fully annotated
A static rendering (Matplotlib): the shaded area under V is the accumulated integral U, and the slope of U is V. The interactive version with a draggable cursor 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):
- Capacitance
Valid when: linear capacitor: charge proportional to voltage; C set by geometry, not by Q or V
Open in reference →
- Energy stored in a capacitor
Valid when: ideal capacitor; equals ½CV² = ½QV via Q = CV; the area under the voltage–charge line (a triangle)
Open in reference →