Sub topic 6
Energy stored in the electric field
Prerequisites
This chapter assumes you know Q = CV, the definition of voltage as energy per unit charge, i = C dv/dt, and the basic idea of an integral as an accumulated sum. You should also be comfortable with power as p = vi.
What the stored energy is
A capacitor does not make energy. You do work to separate charge, and that work stays in the electric field between the plates. When you discharge the capacitor, the field collapses and the energy returns to the circuit.
Two conventions are used in this chapter:
- Voltage v and current i follow the passive sign convention. Current enters the positive terminal, so p = vi is positive when the capacitor absorbs power.
- Capacitance C is constant, and the capacitor is ideal (no leakage).
Deriving E = ½CV²
Start with power. The instantaneous power absorbed by the capacitor is
p(t) = v(t) · i(t)
Substitute i = C dv/dt:
p(t) = C · v · dv/dt
Energy is the integral of power over time. Charge the capacitor from 0 V at time 0 to V at time T:
E = ∫ p dt = ∫ C · v · (dv/dt) dt = C ∫ v dv, with v going from 0 to V.
The time variable drops out. The result depends only on the start and end voltages:
E = ½ C V²
There is a second route to the same answer that shows the physics. Move a small charge dq onto a capacitor that already holds voltage v. The work is dW = v dq, because voltage is energy per unit charge. Since v = q/C, the work is dW = (q/C) dq. Integrating from 0 to Q gives E = Q²/(2C). Using Q = CV, this equals ½CV².
The three equivalent forms are:
| Form | Use it when |
|---|---|
| E = ½CV² | You know capacitance and voltage |
| E = Q²/(2C) | You know charge and capacitance |
| E = ½QV | You know charge and voltage |
Why there is a factor of ½
It is tempting to write E = QV, since voltage is energy per charge. That would be correct only if every coulomb were moved across the full voltage V. In a capacitor, the voltage rises as charge accumulates. Early charge moves across a small voltage, and late charge moves across a large one. The average voltage during charging is V/2, so the energy is Q · V/2.
The area under the V-versus-Q line is the work done. For a straight line that area is a triangle with area ½ · Q · V. This matches the integral above.
A worked calculation
A 100 µF capacitor is charged to 5 V.
- Charge: Q = CV = 100 × 10⁻⁶ × 5 = 5 × 10⁻⁴ C
- Energy: E = ½ × 100 × 10⁻⁶ × 5² = 1.25 × 10⁻³ J
The same numbers in code:
C = 100e-6 # capacitance in farads (100 uF)
V = 5.0 # voltage in volts
Q = C * V # charge in coulombs
E = 0.5 * C * V**2 # stored energy in joules
print(f"Q = {Q:.6f} C")
print(f"E = {E:.6f} J")The output is Q = 0.000500 C and E = 0.001250 J. That is 1.25 mJ, which is a small amount of energy. It would lift a 1 g mass by about 0.13 m.
Scaling: voltage matters more than capacitance
Energy grows linearly with C but with the square of V. This has design consequences.
- Doubling C doubles the energy.
- Doubling V quadruples the energy.
- Halving V cuts the energy to one quarter.
| Capacitor | Voltage | Energy |
|---|---|---|
| 100 µF | 5 V | 1.25 mJ |
| 100 µF | 10 V | 5 mJ |
| 200 µF | 5 V | 2.5 mJ |
| 1 F | 5 V | 12.5 J |
For a fixed energy budget, a higher voltage lets you use a much smaller capacitor. A camera flash circuit charges a modest capacitor to several hundred volts for this reason. The same logic explains why high-voltage capacitors can be dangerous even when their capacitance is small.
Energy is a state, not a history
The stored energy depends only on the present voltage. It does not matter how the capacitor reached that voltage: slowly, quickly, through a resistor, or from a current source. This follows from the integral above, which had no dependence on how v(t) behaved in between.
This fact has three practical uses:
- You can find the energy released between two voltages by subtraction: ΔE = ½C(V₂² − V₁²).
- The energy stored is the same whether the capacitor reached 5 V in a microsecond or a minute. The power differs, but the energy does not.
- A discharged capacitor (V = 0) holds no energy, regardless of what has happened to it before.
Example: usable energy from a droop
A backup capacitor of 0.5 F supplies a load. It starts at 5 V, and the load stops working when the voltage falls to 3 V. How much energy is usable?
ΔE = ½ × 0.5 × (5² − 3²) = 0.25 × 16 = 4 J
Only 4 J of the total 6.25 J is usable. The remaining 2.25 J stays in the capacitor below the cutoff voltage. This is a common reason why a capacitor's "rated energy" overstates what a circuit can actually draw.
Power flow and the role of dv/dt
Because p = C v dv/dt, the capacitor absorbs power only while its voltage is changing, and the direction of the change sets the sign.
- If v > 0 and dv/dt > 0, then p > 0. The capacitor absorbs energy.
- If v > 0 and dv/dt < 0, then p < 0. The capacitor returns energy to the circuit.
- If dv/dt = 0, then i = 0 and p = 0. The energy stays constant.
An ideal capacitor never dissipates energy. All the energy put in can be taken out. This is a major difference from a resistor, which converts electrical energy to heat and cannot give it back.
Where the energy resides
The energy is not on the plates as a property of the charge alone. It is in the field in the dielectric. For a parallel-plate capacitor with plate area A and spacing d, the capacitance is C = εA/d and the field is E_field = V/d. Substituting into ½CV² gives
E = ½ ε E_field² · (A d)
The quantity A·d is the volume between the plates. So the energy density, which is energy per unit volume, is
u = ½ ε E_field²
This tells you two things. First, the energy density rises with the square of the field strength. The practical limit on the field is the dielectric breakdown strength, which sets the maximum voltage a given spacing can hold. Second, a higher permittivity ε stores more energy for the same field. That is why dielectric choice matters for compact, high-energy capacitors.
Common errors
- Using E = QV. This gives twice the correct value. Use ½QV.
- Forgetting to square the voltage. The energy is ½CV², not ½CV.
- Forgetting unit prefixes. A value of 100 µF must be 100 × 10⁻⁶ F in the formula. A slip of one prefix changes the answer by a factor of 1000 or more.
- Assuming all stored energy is usable. A load that needs a minimum voltage leaves part of the energy unused, as in the droop example.
- Treating a series capacitor energy as additive without checking voltages. Each capacitor stores ½CᵢVᵢ² using its own voltage, and the total is the sum of those terms. Using the combined capacitance with the total voltage also works, but mixing the two methods does not.
- Expecting a capacitor to keep energy forever. Real capacitors leak. The ideal model holds the energy indefinitely, but a real one slowly loses it through its dielectric.
Check your understanding
Exercise
A 220 µF capacitor is charged to 12 V. How much energy does it store? Then the voltage is raised to 24 V. By what factor does the stored energy change, and what is the new energy?
Show answer
At 12 V, E = ½ × 220×10⁻⁶ × 12² = ½ × 220×10⁻⁶ × 144 = 15.84 mJ (about 0.0158 J). Doubling the voltage multiplies the energy by 2² = 4, so the new energy is 4 × 15.84 mJ = 63.36 mJ.
Exercise
A 2 F supercapacitor powers a sensor. The supply voltage starts at 5.0 V, and the sensor shuts off when it falls to 2.5 V. How much energy can the sensor draw, and what fraction of the total stored energy does this represent?
Show answer
Total energy at 5.0 V is ½ × 2 × 5² = 25 J. Energy remaining at 2.5 V is ½ × 2 × 2.5² = 6.25 J. The usable energy is 25 − 6.25 = 18.75 J, which is 18.75/25 = 75% of the total.
Exercise
A capacitor is charged from 0 V to V through a resistor from an ideal source of voltage V. The capacitor ends up with ½CV² of energy. Without calculating anything else, explain why the source must have supplied more energy than this.
Show answer
The charge Q = CV moves through the source at voltage V, so the source supplies QV = CV². The capacitor stores only half of this, ½CV². The other half, ½CV², is dissipated as heat in the resistor during charging. The source energy equals the stored energy plus the heat loss.