The Energy a Capacitor Stores (U = ½CV² and the Half That Becomes Heat)

The more you carry, the harder carrying gets

Charging means carrying charge from one plate to the other. Every bit carried leaves the plates charged, and the next bit is pushed back by the charge already there.

So the first bit is free, and the work needed grows as charge collects. The voltage at that moment is V=QCV = \dfrac{Q}{C}, which rises in proportion to the charge carried so far.

Put the charge carried on the horizontal axis and the voltage at that moment on the vertical one, and you get a straight line through the origin. The area under that line is the total work of carrying.

U = ½QV is the area of a triangle

The area under the line is a triangle with base QQ and height VV, so it is 12QV\dfrac{1}{2}QV. That is the energy stored.

Substituting Q=CVQ = CV gives U=12CV2U = \dfrac{1}{2}CV^2, and V=QCV = \dfrac{Q}{C} gives U=Q22CU = \dfrac{Q^2}{2C}: the same quantity written three ways. Which one to use depends on what is being held fixed.

The factor 12\dfrac{1}{2} is there because the final voltage VV was not present from the start. Had every bit been carried at VV, the work would have been QVQV, the area of the rectangle. The triangle is half of it.

Charging turns half of it into heat

The battery pushes a charge QQ through an electromotive force VV, so it gives out QVQV of energy. What lands in the capacitor is only 12QV\dfrac{1}{2}QV.

The other half becomes heat in the resistor. Early in the charging the difference in voltage is large, and the current is driven while that difference is dropped across the resistor.

That half does not depend on the size of the resistance. A smaller resistance means a larger current and a shorter time, but the total turned into heat is unchanged. It is a loss that comes with the circuit itself and cannot be designed away by choosing a resistor.

Discharging turns all of it into heat

Close a charged capacitor through a resistor alone and the stored 12CV2\dfrac{1}{2}CV^2 runs out. The resistor is the only place it can go, so all of it becomes heat there.

A capacitor consumes no energy. It holds charge and returns what it was given. What spends the energy is always the resistance outside it.

That is the difference from a battery. A battery makes energy by a chemical reaction; a capacitor does not. So no more comes out than went in, and the voltage falls by exactly as much as leaves.