Sub topic 13
Energy balance: battery work, stored energy, and heat
This chapter ties together the energy ideas from the earlier chapters. The tool is one bookkeeping equation, applied to charging, dielectric insertion, and plate separation.
It assumes you know the following:
- C = Q/V
- Stored energy U = ½CV² = Q²/2C
- Series and parallel combinations
- Ohm's law for a resistor
- Simple integration of an exponential
The bookkeeping equation
A battery of emf V that pushes charge ΔQ around a circuit does work
W_battery = V · ΔQ
This holds whatever the circuit contains. Every unit of charge leaving the battery gains energy V. The work is negative when charge flows back into the battery, which means the battery is being charged.
The energy then goes to three places:
- Energy stored in the electric field of the capacitors, ΔU.
- Heat in resistors, H.
- Mechanical work, if something moves, such as a dielectric slab or a plate.
So the equation is:
Wbattery = ΔU + H + Wmechanical
Write this equation first in every energy problem. Then identify which terms are zero and which one is unknown.
Charging a capacitor through a resistor
Take an uncharged capacitor C connected to a battery V through a resistor R. When the capacitor is fully charged, Q = CV.
- Battery work: W = QV = CV².
- Stored energy: U = ½CV².
- Heat: H = W − U = ½CV².
Exactly half of the battery's work becomes heat. You can check this directly. The current is i = (V/R)e^(−t/RC), so
H = ∫₀^∞ i²R dt = (V²/R) ∫₀^∞ e^(−2t/RC) dt = (V²/R)(RC/2) = ½CV²
R cancels. A larger R makes charging slower but does not change the heat. If R is tiny, the heat still equals ½CV². It is then released as a brief spark and electromagnetic radiation.
import math
R, C, V = 1e3, 1e-6, 10.0
tau = R * C
dt = tau / 10000
t = 0.0
work = heat = 0.0
while t < 15 * tau:
i = (V / R) * math.exp(-t / tau)
work += V * i * dt # power delivered by battery
heat += i * i * R * dt # power dissipated in R
t += dt
stored = 0.5 * C * V**2
print(work, C * V**2) # both about 1.0e-4 J
print(heat, stored) # both about 5.0e-5 J
print(work - heat - stored) # close to zeroDischarging
When a charged capacitor discharges through a resistor, the battery does no work, so W = 0. The stored energy ½CV² falls to zero and all of it becomes heat. The same holds if the capacitor discharges through a bulb or a wire.
Charging in steps
The ½CV² loss depends on charging in one jump. Suppose a battery V charges C in two stages. First it is connected at V/2, then it is connected at V.
- Stage 1 gives a heat of ½C(V/2)² = CV²/8.
- Stage 2 raises the capacitor from V/2 to V. The heat is ½C(V/2)² = CV²/8 again.
- Total heat is CV²/4, half the single-step value.
With n equal steps the heat is CV²/(2n). It goes to zero as the steps become infinitely fine. The loss is therefore not fundamental. It comes from a finite potential difference (V − V_C) across the resistor at the instant of connection.
Dielectric insertion with the battery connected
Start with a capacitor C₀ at fixed voltage V. Slowly insert a dielectric of constant K that fills the gap.
- Charge rises from C₀V to KC₀V, so ΔQ = (K − 1)C₀V.
- Battery work: W_battery = ΔQ · V = (K − 1)C₀V².
- Stored energy rises by ΔU = ½(K − 1)C₀V².
- No resistor is involved if the insertion is slow, so H = 0.
The balance equation gives the mechanical term:
Wmechanical = Wbattery − ΔU = ½(K − 1)C₀V²
This is the work the electric field does on the slab. The field pulls the slab in. An external agent that lets the slab in gently must hold it back, so the agent does negative work of this size. If nobody holds the slab, it gains kinetic energy and oscillates, or heats the system through friction. Only half of the battery's work goes into stored energy. The other half is work on the slab.
C0, V, K = 1e-6, 100.0, 4.0
dQ = (K - 1) * C0 * V
W_batt = dQ * V
dU = 0.5 * K * C0 * V**2 - 0.5 * C0 * V**2
W_field_on_slab = W_batt - dU
print(W_batt) # 0.03 J
print(dU) # 0.015 J
print(W_field_on_slab) # 0.015 JDielectric insertion with the battery removed
Now the capacitor is isolated, so Q is fixed and the battery work is zero.
- Before: U₀ = Q²/2C₀.
- After: U = Q²/2KC₀.
- ΔU = −(Q²/2C₀)(1 − 1/K), which is negative.
With W_battery = 0 and H = 0, the balance equation gives
W_mechanical = −ΔU = (Q²/2C₀)(1 − 1/K) > 0
The field again pulls the slab in, and again the agent holding it back does negative work. In both cases the slab is attracted into the capacitor, because it is pulled toward the region of stronger field. Here the energy comes entirely from the stored electric energy.
Compare the two cases in a table (K > 1):
| Quantity | Battery connected (V fixed) | Isolated (Q fixed) |
|---|---|---|
| Change in Q | rises by (K − 1)C₀V | none |
| V across plates | unchanged | falls to V₀/K |
| Stored energy | rises to K × U₀ | falls to U₀/K |
| Battery work | (K − 1)C₀V² | 0 |
| Work by field on slab | ½(K − 1)C₀V² | (Q²/2C₀)(1 − 1/K) |
Changing the plate separation
The same method handles moving plates.
Battery connected: separation doubled slowly
Let C₀ = ε₀A/d, with V fixed. Doubling the gap halves C, so Q falls from C₀V to C₀V/2.
- ΔQ = −C₀V/2, so W_battery = −½C₀V². The battery absorbs charge and is recharged.
- ΔU = ½(C₀/2)V² − ½C₀V² = −¼C₀V².
- Wexternal = ΔU − Wbattery = −¼C₀V² + ½C₀V² = +¼C₀V².
You can check this against the force. At fixed V the plate force is F = ½ε₀AV²/x². The work against it is
∫ from d to 2d of F dx = ½ε₀AV² (1/d − 1/2d) = ¼C₀V²
The two results match. The stored energy fell, yet you still had to do positive work. The battery returned more energy than the capacitor lost.
Isolated: separation doubled slowly
Here Q is fixed and C halves, so U = Q²/2C doubles, from ½C₀V² to C₀V². The external agent supplies all the extra energy: W_external = ΔU = ½C₀V². The force is constant, F = Q²/2ε₀A, so W = F·d gives the same value.
Heat when a capacitor is connected to another capacitor
Connecting a charged capacitor to another one involves no battery, so W_battery = 0. The heat is therefore the loss of stored energy. For capacitors C₁ at V₁ and C₂ at V₂ joined with like plates together:
H = ½ · C₁C₂/(C₁ + C₂) · (V₁ − V₂)²
For opposite polarity, replace (V₁ − V₂) by (V₁ + V₂). The heat does not depend on the resistance of the connecting path. For the case from the earlier chapter, with C₁ = 2 µF at 100 V joined to an uncharged C₂ = 4 µF:
H = ½ · (2·4/6) µF · (100)² = 6.67 × 10⁻³ J
The result is the same as with a battery. The loss exists whenever charge moves through a finite potential difference.
Common errors
- Treating ½CV² as the battery's work. The battery does QV, which is twice as much as the energy stored when charging from zero.
- Letting R change the heat. In ordinary charging from zero through any R, heat is ½CV². R only sets the time scale.
- Forgetting the sign of ΔQ. If charge flows back into the battery, its work is negative. Check the sign before you use the balance equation.
- Setting H = 0 in a sudden process. Heat is zero only for slow, quasi-static changes. A slab that is released and allowed to oscillate loses energy to friction. A switch that is closed suddenly produces a spark.
- Using Q fixed with a battery attached. A connected battery fixes V. An isolated capacitor fixes Q.
Worked case: mixed process
A capacitor C₀ = 2 µF is charged to V = 50 V through a resistor. The battery stays connected and a slab with K = 3 is slowly inserted.
- Initial charging: W = C₀V² = 5.0 mJ. Stored energy is 2.5 mJ and heat is 2.5 mJ.
- Insertion: ΔQ = (3 − 1)(2 µF)(50 V) = 200 µC.
- Battery work during insertion: 200 µC × 50 V = 10 mJ.
- Stored energy rises by ½(2)(2 µF)(50)² = 5.0 mJ.
- Work by the field on the slab: 10 − 5.0 = 5.0 mJ.
The battery's total work is 15 mJ. Stored energy ends at 7.5 mJ, heat is 2.5 mJ, and the slab received 5.0 mJ of mechanical work, which sums to 15 mJ.
Exercise
A 5 µF capacitor is connected to a 12 V battery through a resistor of 200 Ω and fully charged. (a) How much work does the battery do? (b) How much heat is produced in the resistor? (c) How would the heat change if R were 2000 Ω?
Show answer
(a) W = QV = CV² = 5 µF × 144 V² = 7.2 × 10⁻⁴ J. (b) The stored energy is ½CV² = 3.6 × 10⁻⁴ J, so the heat is W − U = 3.6 × 10⁻⁴ J. (c) The heat does not change. It is ½CV² for any R. Only the time constant RC changes.
Exercise
A parallel-plate capacitor C₀ is isolated with charge Q. A dielectric slab of constant K = 2 fills the gap slowly. Find the work done by the electric field on the slab in terms of Q and C₀. Then repeat for the same capacitor held at constant voltage V₀ by a battery.
Show answer
Isolated: U falls from Q²/2C₀ to Q²/4C₀, so the field's work on the slab is Q²/4C₀. Battery connected: ΔQ = (K − 1)C₀V₀ = C₀V₀, so Wbattery = C₀V₀². ΔU = ½(2 − 1)C₀V₀² = ½C₀V₀². The field's work on the slab is Wbattery − ΔU = ½C₀V₀².
Exercise
The plates of an isolated capacitor carrying charge Q = 40 µC and capacitance C₀ = 2 µF are slowly pulled apart until the gap triples. How much work does the external agent do?
Show answer
Tripling d makes C = C₀/3. The stored energy rises from Q²/2C₀ to 3Q²/2C₀, so the work is ΔU = Q²/C₀ = (40 × 10⁻⁶)² / (2 × 10⁻⁶) = 8 × 10⁻⁴ J.