Sub topic 8
Energy Stored in an Inductor
This chapter assumes you know self inductance (emf = −L dI/dt), Ohm's law, and how to integrate a simple power function. It shows where the formula U = ½LI² comes from, how to use it in NEET-style problems, and which mistakes to avoid.
Why an inductor stores energy
When you raise the current in a coil, the current produces a growing magnetic flux. By Lenz's law, the coil produces a back emf that opposes this growth. The source must push charge against that back emf, so it does work. That work is not lost as heat in the coil's inductance. It is stored in the magnetic field around and inside the coil.
When the current falls, the field collapses, and the stored energy returns to the circuit. This is why an inductor is an energy store, much like a capacitor stores energy in an electric field.
Deriving U = ½LI²
Suppose the current in an inductor of inductance L is i at some instant and rising at rate di/dt. The back emf has magnitude L di/dt. To keep the current growing, the source must supply a voltage equal in size to this back emf. The power delivered to the field is:
P = (voltage) × (current) = L i (di/dt)
The work done in a short time dt is dW = P dt = L i di. Add up the work as the current grows from 0 to its final value I:
U = ∫₀ᴵ L i di = ½ L I²
So the energy stored is:
U = ½ L I²
The unit is the joule when L is in henry and I is in ampere.
Comparing with a capacitor
The two formulas have the same structure.
| Quantity | Capacitor | Inductor |
|---|---|---|
| Stored in | Electric field | Magnetic field |
| Energy | ½ C V² | ½ L I² |
| Variable that cannot jump | Voltage V | Current I |
| Opposes change in | Voltage | Current |
The last row matters in circuits. The current through an inductor cannot change instantly, because that would require an infinite back emf. This is why opening a switch in an inductive circuit can produce a spark: the current tries to drop suddenly, so a large emf appears across the gap.
Energy density of the magnetic field
For a long solenoid of length l, cross-section area A and n turns per unit length:
- Inductance: L = μ₀ n² A l
- Field inside: B = μ₀ n I, so I = B/(μ₀ n)
Substitute into U = ½LI²:
U = ½ (μ₀ n² A l) (B² / μ₀² n²) = B² A l / (2μ₀)
The volume of the solenoid is Al, so the energy per unit volume is:
u = B² / (2μ₀)
This result holds for any region with a magnetic field in vacuum (or air), not just a solenoid. In a material of permeability μ, replace μ₀ with μ.
The capacitor has a matching result: the electric energy density is ½ε₀E². Both are "field squared over a constant".
Energy in the LR circuit
In a circuit with a battery of emf V, resistance R and inductance L, the current grows as i = I₀(1 − e^(−t/τ)), where I₀ = V/R and τ = L/R. Energy conservation gives:
V i = i²R + L i (di/dt)
- V i is the power from the battery.
- i²R is the power turned into heat.
- L i (di/dt) is the power going into the magnetic field.
At steady state, di/dt = 0, so all the battery power becomes heat. The field energy is then ½L I₀² and stays constant.
When the battery is removed and the current decays through R, the stored energy ½L I₀² is released as heat in the resistor. The total heat produced equals exactly ½L I₀².
The example below checks this numerically for a decaying current. It adds up i²R dt over time and compares the sum with ½LI².
import math
R = 4.0 # ohm
L = 2.0 # henry
I0 = 3.0 # ampere, current when the source is removed
tau = L / R
dt = 1e-4
t = 0.0
heat = 0.0
while t < 20 * tau:
i = I0 * math.exp(-t / tau)
heat += i**2 * R * dt
t += dt
stored = 0.5 * L * I0**2
print(f"stored energy = {stored:.4f} J")
print(f"heat dissipated = {heat:.4f} J")Both numbers come out close to 9.0 J. A smaller dt makes them agree more closely.
Worked problems
Problem 1: Energy in a coil
A coil has L = 0.4 H and carries 5 A. Find the stored energy.
U = ½ × 0.4 × 5² = 5 J
Problem 2: Doubling the current
If the current in a coil is doubled, how does the stored energy change?
U is proportional to I², so the energy becomes four times as large.
Problem 3: Energy at a given fraction of the time constant
In an LR circuit, find the ratio of the energy stored at t = τ to the final stored energy.
The current at t = τ is I₀(1 − e⁻¹) ≈ 0.632 I₀. The energy ratio is (0.632)² ≈ 0.40. So at one time constant, the coil holds about 40% of its final energy, even though the current has reached about 63% of its final value.
Problem 4: When is the energy a given fraction?
At what current is the stored energy one quarter of its maximum, ½LI₀²?
½LI² = ¼ (½LI₀²), so I² = I₀²/4, so I = I₀/2.
Energy flow in a solenoid with a core
An iron core increases the inductance by the relative permeability μᵣ, because L = μ₀μᵣ n² A l. For the same current, the stored energy rises by the same factor. For the same flux density B, the energy density is B²/(2μ₀μᵣ), which is lower. Keep track of which quantity is held constant.
Common errors
- Forgetting the square. Energy goes as I², not I. Doubling I quadruples U.
- Using ½LI² as the energy supplied by the battery. The battery also supplies the heat lost in R. Only part of its work is stored.
- Mixing up the factor ½. The ½ appears because the back emf changes as the current grows. A constant-voltage assumption (L I × I) would give twice the correct answer.
- Assuming the current can jump. The current through an inductor is continuous. Use this as a starting condition: just after a switch closes, i = 0; just after it opens, i keeps its old value.
- Confusing energy at one time constant with current at one time constant. The current is 63% of its final value, but the energy is about 40%.
Exercise
A solenoid has inductance 0.5 H and carries a steady current of 4 A. The current is then switched off and the energy dissipates in a resistor connected across the coil. (a) How much heat is produced in the resistor? (b) The same coil is now carrying 2 A. How much energy is stored?
Show answer
(a) The stored energy is U = ½LI² = ½ × 0.5 × 4² = 4 J. All of it becomes heat in the resistor, so the heat produced is 4 J. (b) At 2 A, U = ½ × 0.5 × 2² = 1 J. Halving the current reduces the energy to one quarter.
Exercise
A long air-filled solenoid has a magnetic field of 0.2 T inside it and a volume of 2 × 10⁻⁴ m³. Find the energy stored. Use μ₀ = 4π × 10⁻⁷ H/m.
Show answer
The energy density is u = B²/(2μ₀) = (0.2)² / (2 × 4π × 10⁻⁷) = 0.04 / (2.513 × 10⁻⁶) ≈ 1.59 × 10⁴ J/m³. Multiply by the volume: U = 1.59 × 10⁴ × 2 × 10⁻⁴ ≈ 3.2 J.