Sub topic 8
Energy Stored in an Inductor and in a Magnetic Field
This chapter assumes you know Faraday's law, the definition L = NΦ/I and the inductance of a solenoid, L = μ₀n²Al. It also assumes you can solve a first-order differential equation by separating variables.
Energy stored in an inductor
An inductor opposes any change in current. While the current rises, the source must do work against the induced EMF. That work is stored in the magnetic field.
With induced EMF −L dI/dt, the power the source delivers to the inductor is P = LI dI/dt. Integrating from 0 to I gives:
U = ½ L I²
This is the magnetic analogue of ½CV² for a capacitor.
Energy density of a magnetic field
For a long solenoid, B = μ₀nI and L = μ₀n²Al, where A is the cross-sectional area and l is the length. Substituting into U = ½LI² gives:
U = ½ μ₀n²Al · (B/μ₀n)² = (B²/2μ₀) · Al
Al is the volume inside the solenoid, so the energy per unit volume is:
u = B²/(2μ₀)
This result holds for any magnetic field, not only a solenoid's. The energy is located in the field itself.
LR circuits: growth of current
Close the switch in a series circuit with a battery V, a resistor R and an inductor L. Kirchhoff's loop law gives:
V − IR − L dI/dt = 0
Separating variables and using I(0) = 0 gives:
I = (V/R)(1 − e^(−t/τ)), where τ = L/R
τ is the time constant. After one τ the current reaches 63.2% of its final value V/R. The inductor voltage is V_L = V e^(−t/τ).
import math
def lr_growth_current(V, R, L, t):
"""Current in a series LR circuit t seconds after a DC source V is switched on."""
tau = L / R
return (V / R) * (1 - math.exp(-t / tau))
# V = 10 V, R = 5 ohm, L = 1 H, so tau = 0.2 s
for t in (0.0, 0.2, 1.0):
print(t, round(lr_growth_current(10, 5, 1, t), 4))
# 0.0 0.0
# 0.2 1.2642 (63.2% of the final 2 A)
# 1.0 1.9865LR circuits: decay of current
Suppose the current has reached I₀ = V/R. The battery is then removed and the inductor and resistor are left in a closed loop. The loop equation becomes L dI/dt + IR = 0, so:
I = I₀ e^(−t/τ)
The current falls to 37% of I₀ after one τ. The energy ½LI₀² is dissipated as heat in R. The decaying current is driven by the inductor's induced EMF, which keeps the current in the same direction.
Common errors
- At t = 0 the inductor acts as an open circuit, so the initial current is zero. It is not V/R.
- In the long-time limit the inductor acts as a plain wire, so the current is V/R.
- Current through an inductor cannot change instantly. Voltage across it can.
- τ = L/R has units of seconds. Do not confuse it with RC.
Exercise
A coil with L = 2 H and R = 10 Ω is connected to a 20 V battery. Find the final current, the energy stored at steady state, and the time for the current to reach half its final value.
Show answer
The final current is V/R = 2 A. The stored energy is ½LI² = ½ × 2 × 4 = 4 J. The time constant is τ = L/R = 0.2 s, so the time to reach half the final current is t = τ ln 2 ≈ 0.139 s.