---
title: Energy stored in the electric field
heading: Where a charged capacitor keeps its energy
eyebrow: B3 · Lesson 9 · Energy in the electric field
xp: 40
---

::: hook
A camera flash charges a capacitor for a few seconds, then dumps its energy in a millisecond. Where was that energy while it waited? Not in the plates themselves, which are just metal. It was in the electric field between them. Every bit of space with a field in it holds energy, at a density set by the field's strength, and that idea is what lets energy travel through empty space as light.

::: play
- A parallel-plate capacitor (C fixed) is charged to voltage $V$. The curve is the stored energy $\tfrac12CV^2$; the dot is your setting.
- Double the voltage. By what factor does the energy grow?
- The readouts compute the energy two ways: from the circuit formula, and from the field's energy density times the volume between the plates. Compare them.
:::
:::

```sim plot
view: graph
x: v = 0..400 V
y: U = 0..40 µJ
slider: V = 0..400 step 10 = 100 V
slider: a = 5..15 step 1 = 10 cm
slider: d = 0.1..1 step 0.05 = 0.2 mm
plot: 0.5*8.854e-12*(a/100)^2/(d/1000)*v^2*1e6 | label: ½CV²
point: V, 0.5*8.854e-12*(a/100)^2/(d/1000)*V^2*1e6
readout: from ½CV² in µJ = 0.5*8.854e-12*(a/100)^2/(d/1000)*V^2*1e6
readout: from ½ε₀E² × volume in µJ = 0.5*8.854e-12*(V/(d/1000))^2*(a/100)^2*(d/1000)*1e6
```

::: predict
## You double the voltage on a capacitor. How much more energy does it store?

- [ ] Twice as much
- [x] Four times as much
- [ ] The same
- [ ] Eight times as much

::: reveal
Four times. Twice the voltage puts twice the charge on the plates, and each extra coulomb is pushed on against twice the voltage, so the energy goes as $V^2$. In field terms, twice the field gives four times the energy density. That square law is why high-voltage capacitors are dangerous out of proportion to their size, and why capacitor energy is measured in joules at kilovolts but microjoules at a few volts.
:::
:::

::: nameit
## Energy in a capacitor and in the field

**Charging takes work.** Moving a small charge $dq$ onto a capacitor that's already at voltage $v = q/C$ takes work $v\,dq$. Adding up from zero to $Q$:

$$U = \int_0^Q \frac{q}{C}\,dq = \frac{Q^2}{2C} = \frac12CV^2 = \frac12QV$$

The ½ appears because the early charge went on at low voltage and only the last went on at the full $V$.

**The energy is in the field.** For parallel plates, put $C = \varepsilon_0A/d$ and $V = Ed$ into $\tfrac12CV^2$:

$$U = \frac12\varepsilon_0E^2 \times (Ad)$$

$Ad$ is the volume between the plates, where the field is. So the field carries an **energy density**

$$u = \frac12\varepsilon_0E^2 \quad\text{joules per cubic meter}$$

This holds for any field, not just between plates. Adding up $u$ over all space gives the energy of any arrangement of charges.

**How much can you store?** The energy density is limited by the field the material can take before breaking down. In air ($E_\text{max} \approx 3$ MV/m) that's only about 40 J/m³. Good dielectrics take far stronger fields and multiply $u$ by their εᵣ (lesson 10), which is how practical capacitors store useful energy.

**Danger.** A 1000 µF capacitor at 400 V, common in power supplies, stores 80 J, enough to hurt badly long after the supply is unplugged. Engineers add bleeder resistors to discharge them.
:::

::: example
## A camera flash stores energy in 100 µF at 400 V. How much?

::: solution
1. **Stored energy.**
   $$\begin{aligned} W &= \frac12CV^2 \\ &= \frac12 \times 10^{-4} \times 400^2 \\ &= 8\ \text{J} \end{aligned}$$
2. **Delivering it.** The flash tube gets it in about a millisecond: kilowatts of peak power from a small battery.

**Answer:** the flash stores 8 J.
:::
:::

::: example
## What is the most energy per cubic meter that air can hold before breaking down at 3 MV/m?

::: solution
1. **Energy density at breakdown.**
   $$\begin{aligned} u &= \frac12\varepsilon_0E^2 \\ &= \frac12 \times 8.85 \times 10^{-12} \\ &\quad \times (3 \times 10^6)^2 \\ &= 40\ \text{J/m}^3 \end{aligned}$$
2. **Compare with a battery.** A whole cubic meter of air at breakdown holds about what a AA battery holds in 30 cubic millimeters. Air capacitors store very little.

**Answer:** about 40 J/m³.
:::
:::

::: check
given: C = 1..1000 int; V = 5 | 12 | 50 | 400
answer: 0.5*C*1e-6*V^2
unit: J
tolerance: 0.5%

## How much energy does a {C} µF capacitor store at {V} V?

::: right
Right. $\tfrac12CV^2$ = {answer}.
:::

::: misses
- [C*1e-6*V^2] Include the ½.
- [0.5*C*1e-6*V] Square the voltage.
- [0.5*C*V^2] Convert µF to farads.
- [any] Not yet. $U = \tfrac12CV^2$.
:::
:::

::: check
given: E = 1 | 2 | 3 | 10
answer: 0.5*8.854e-12*(E*1e6)^2
unit: J/m^3
tolerance: 1%

## What is the energy density of an electric field of {E} MV/m in air?

::: right
Right. $\tfrac12\varepsilon_0E^2$ = {answer}.
:::

::: misses
- [8.854e-12*(E*1e6)^2] Include the ½.
- [0.5*8.854e-12*E*1e6] Square the field.
- [any] Not yet. $u = \tfrac12\varepsilon_0E^2$.
:::
:::

::: check
given: Q = 1..9 int; C = 1 | 2 | 5 | 10
answer: (Q*1e-6)^2/(2*C*1e-6)
unit: J
tolerance: 0.5%

## A {C} µF capacitor holds {Q} µC. How much energy does it store?

::: right
Right. $Q^2/2C$ = {answer}.
:::

::: misses
- [(Q*1e-6)^2/(C*1e-6)] Include the ½.
- [Q*1e-6/(2*C*1e-6)] Square the charge.
- [any] Not yet. $U = Q^2/(2C)$.
:::
:::

::: check
given: k = 2 | 3 | 5 | 10
answer: k^2
tolerance: 0.5%

## A capacitor's voltage is raised {k} times. By what factor does its stored energy grow?

::: right
Right. $U \propto V^2$: {answer} times.
:::

::: misses
- [k] Energy goes as the voltage squared.
- [any] Not yet. $U = \tfrac12CV^2$.
:::
:::

::: check
kind: choice

## A charged capacitor is disconnected, then its plates are pulled farther apart. What happens to the stored energy?

- [ ] It stays the same: no charge was added
- [x] It increases: you did work pulling the plates apart against their attraction
- [ ] It decreases, because C went down
- [ ] It drops to zero

::: right
Right. The charge stays the same, C falls, so $U = Q^2/2C$ rises. The extra energy came from the work you did against the plates' attraction, and it now sits in the larger volume of field.
:::

::: misses
- [1] With fixed Q, $U = Q^2/2C$ depends on C.
- [3] With fixed charge, lower C means higher energy. (With fixed voltage it would fall.)
- [4] The plates are still charged and there's still a field between them.
:::
:::

::: check
kind: parts
given: E = 0.1 | 1 | 3; L = 1 | 10

## A region of air holds a uniform {E} MV/m field.

::: part
answer: 0.5*8.854e-12*(E*1e6)^2
unit: J/m^3
tolerance: 0.5%

### What is the energy density?

::: misses
- [8.854e-12*(E*1e6)^2] Include the ½.
- [0.5*8.854e-12*E*1e6] The energy density goes as $E^2$.
- [any] Not yet. $u = \tfrac12\varepsilon_0E^2$.
:::
:::

::: part
answer: 0.5*8.854e-12*(E*1e6)^2*(L*1e-2)^3*1e3
unit: mJ
tolerance: 0.5%

### How much energy is in a cube {L} cm on a side?

::: misses
- [0.5*8.854e-12*(E*1e6)^2*(L*1e-2)^2*1e3] Multiply by volume: the cube of the side.
- [any] Not yet. $u \times L^3$.
:::
:::

::: right
Right. Even at air's breakdown field, 3 MV/m, air stores only about 40 J/m³: why capacitors use dielectrics and thin gaps.
:::
:::

::: explain
## Why is the energy stored in a capacitor $\tfrac12QV$ rather than $QV$?

::: model
The capacitor isn't charged all at once at its final voltage. The first bits of charge are moved across when the voltage is near zero and take almost no work; the last bits are moved against nearly the full voltage. Since the voltage rises in proportion to the charge, the average voltage during charging is half the final value, so the total work is $Q$ times $V/2$.
:::
:::

::: practice

::: check
given: C = 100..1000 step 100; V = 100..400 step 50
answer: 0.5*C*1e-6*V^2
unit: J
tolerance: 0.5%

## A {C} µF power-supply capacitor sits at {V} V. How much energy is in it?

::: misses
- [C*1e-6*V^2] Include the ½.
- [any] $\tfrac12CV^2$.
:::
:::

::: check
given: u = 10..100 step 10; vol = 1 | 2 | 5
answer: u*vol*1e-6
unit: J
tolerance: 0.5%

## A field with an energy density of {u} J/m³ fills {vol} cm³. How much energy is there?

::: misses
- [u*vol] Convert cm³ to m³.
- [any] Energy = density × volume.
:::
:::

::: check
given: U = 1..9 int; C = 1 | 10 | 100
answer: sqrt(2*U/(C*1e-6))
unit: V
tolerance: 0.5%

## What voltage makes a {C} µF capacitor store {U} J?

::: misses
- [2*U/(C*1e-6)] Take the square root.
- [any] $V = \sqrt{2U/C}$.
:::
:::
:::
