Skip to main content

Physics II course sequence · Interactive lesson

Energy in Inductors & Magnetic Fields

Current does not arrive for free. Something has to push charge against the coil's own induced emf, and that work is not spent — it is banked in the magnetic field and handed back the instant the current tries to fall. This topic counts those joules, finds where they sit, and follows them out again.

UPII-11.03 · Lesson 3 of 8 in this unit. Position is not a completion score.
Starting model: Energy in Inductors & Magnetic FieldsFlux linkage λ = L I against current for a coil of inductance 80 mH: a straight line of slope L. The hatched triangle under it, out to 4.00 A, is the work ∫ L I dI done against the induced emf, 0.640 J. The dashed rectangle of the same height and width is 1.280 J, twice as much — the cost only if the full current had flowed the whole way up.flux linkage λ = L I / Wbslope = L = 80 mHtriangle = ½ L I² = 0.640 Jrectangle = L I² = 1.280 J036current I / A
Start with a picture. Change the model in the lab below.
1

Build the model

Building a current is work, and the field keeps every joule.

The key idea

The energy stored in an inductor is the work done against its own induced emf while the current is raised from zero to I, and for constant inductance it comes to ½LI².

Example. A 45 mH relay coil carrying 3.2 A holds ½ × 0.045 H × (3.2 A)² = 0.23 J. Double the current to 6.4 A and the store is 0.92 J — four times the energy, not twice.

The complete physical model and assumptions

An inductor resists a change of current, so raising the current from zero to I costs work: at every instant the source must supply the induced emf L dI/dt as well as any resistive drop, and that extra power L I (dI/dt) integrates to ½LI² however slowly or quickly the ramp is run. The energy is not consumed, and it can be located. Rewriting ½LI² for a long solenoid in terms of its own field, B = μ₀nI, turns it into (B²/2μ₀) multiplied by the volume the field occupies, and that energy per unit volume, uB = B²/(2μ₀), holds wherever a magnetic field exists — so a field that is not uniform is totted up shell by shell as ∫ (B²/2μ₀) dV. That is the picture that survives: the joules live in the field, not in the moving charge, and they come back through the circuit when the field collapses. The model has edges. It assumes L is a constant, which fails once an iron core saturates and L becomes a function of I; it assumes nothing leaks away as radiation, which fails at high frequency; and the store is real enough to burn a switch, because interrupting the current forces the field to dump ½LI² into whatever path it can find.

1Raising a current is work done against the coil

Push the current in a coil upward and the coil pushes back: Faraday's law gives an induced emf of size L dI/dt opposing the increase, so the source must supply that voltage on top of any resistive drop. The extra power it delivers is P = L I (dI/dt), so in a time dt the coil receives dU = L I dI. Integrating from zero to the final current, with L constant, gives U = ½LI². Notice what dropped out: dt. A 45 mH coil taken to 3.2 A stores 0.23 J whether the ramp lasts 12 ms or 12 s, because the energy depends only on the current reached. What the timing changes is the power. Squeeze the same ramp into a thousandth of the time and both the induced emf and the average power climb a thousandfold, while the 0.23 J waiting in the field at the end of it does not move at all. So the energy rating of a coil is set by the current it is taken to, and its voltage rating by how fast that current is allowed to change.

2The joules sit in the field, not in the wire

½LI² says how much, not where. Take a long air-cored solenoid of n turns per metre, cross-section A and length l, whose inductance is L = μ₀n²Al. Its stored energy is ½μ₀n²Al I², and that can be regrouped as ((μ₀nI)²/(2μ₀)) × A l. The first bracket is built only from the field inside, B = μ₀nI; the second is the volume that field fills. So U = (B²/2μ₀) × volume, and the energy per unit volume is uB = B²/(2μ₀) — a statement about the field alone, with no turns, no current and no coil left in it. The electric analogue is uE = ½ε₀E², and the magnetic one is far more generous: at B = 0.50 T it is 9.9 × 10⁴ J m⁻³, while an electric field at the breakdown strength of air, 3.0 × 10⁶ V m⁻¹, manages only 40 J m⁻³.

3Adding up a field that is not uniform

Once the energy belongs to the field, geometry with no obvious coil can be handled too. Take a coaxial cable of inner radius a and shield radius b. The run looks the same at every point along its length and the same under any rotation about its axis, so B can only be tangential to circles about that axis with one and the same magnitude all the way round — which is precisely what lets B come outside ∮B⋅dl. Ampère's law on such a circle of radius r between the conductors encloses only the core current, so B(2πr) = μ₀I and B = μ₀I/(2πr); beyond the shield the enclosed current is I − I = 0, and so is B. The density therefore varies as 1/r²: uB = μ₀I²/(8π²r²). Slice the gap into thin cylindrical shells of volume dV = 2πr l dr, so that dU = (μ₀I²l/4π)(dr/r), and integrate from a to b: U = (μ₀I²l/4π) ln(b/a). The 1/r² falloff and the 2πr growth of each shell conspire into a logarithm, which is why making the cable fatter barely raises its stored energy. Reading L = 2U/I² off that result gives L/l = (μ₀/2π) ln(b/a) — an inductance obtained without counting a single turn.

4Follow every joule around an LR circuit

The loop equation for a battery, resistor and inductor in series is ε = IR + L dI/dt. Multiply every term by the current: εI = I²R + L I (dI/dt). Each term is now a power. εI is what the source delivers, I²R is what the resistor turns into heat, and L I (dI/dt) is what the field banks, so nothing is left unaccounted for. Take ε = 12 V, R = 6.0 Ω and L = 0.50 H. The instant the switch closes I = 0, the source delivers nothing, and the whole 12 V sits across the coil. When the current has climbed to 1.0 A the source supplies 12 W, the resistor takes 6.0 W and 6.0 W goes into the field. At the final 2.0 A the storage term vanishes because dI/dt does: the source supplies 24 W, the resistor takes all 24 W, and the field simply holds its fixed ½ × 0.50 H × (2.0 A)² = 1.0 J.

5Getting it back when the current dies

Short the coil and resistor onto themselves and the field, not the battery, drives the circuit: I = I₀ e(−Rt/L). The resistor dissipates I²R at every instant, and the total is ∫ I₀²R e(−2Rt/L) dt over all time, which equals I₀²R × L/(2R) = ½LI₀². The books balance exactly: the field surrenders precisely what was put in. Because the power falls as e(−2t/τ) with τ = L/R, half the store is gone by t = 0.35τ and 86% of it by one full time constant. The same accounting explains switch arcs. Open the circuit and the resistance jumps towards infinity, so τ collapses and the stored joule has to leave in microseconds; the coil will raise whatever emf that takes, which is why a flyback diode is fitted across a relay coil.

6How much can a magnetic field actually hold?

Because uB goes as B², field energy climbs steeply and then meets engineering walls. The 1.5 T bore of an MRI magnet holds 9.0 × 10⁵ J m⁻³, so a cubic metre of it stores 0.90 MJ — enough to lift a 1.0 tonne car 91 m, and still only about a fortieth of the chemical energy in a litre of petrol. Push to 8.0 T and the density reaches 2.5 × 10⁷ J m⁻³, but the winding must then be superconducting, and the same uB appears as an outward magnetic pressure the structure has to survive. Iron cores cheat in a different way: they raise B for a given current, but as the core saturates L stops being a constant, and ½LI² has to be replaced by ∫ I dλ — on a measured plot of flux linkage λ against current, the area between the curve and the λ axis, which is no longer half a rectangle.

2

Key equations

Read the units, assumptions and limits before substituting.

Rate of storing energy in a coil

P = εL I = L I (dI/dt)

Positive while the current grows and negative while it falls, so one expression covers both storing and giving back.

P in watts W, L in henries H, I in amperes A, εL the induced emf in volts V

Energy stored in an inductor

U = ½ L I²

The integral of L I dI from 0 up to I: it depends on the current now, never on how quickly it got there.

U in joules J, L in henries H, I in amperes A; 1 H A² = 1 J

Magnetic energy density

uB = B²/(2μ₀)

Energy per cubic metre wherever field exists, coil or no coil: B = 1.0 T holds 4.0 × 10⁵ J m⁻³.

uB in J m⁻³, B in tesla T, μ₀ = 4π × 10⁻⁷ T m A⁻¹

Total energy from the field itself

U = ∫ (B²/2μ₀) dV

Handles a field that varies from place to place, and returns the inductance through L = 2U/I².

dV a volume element in m³, swept over every region where B is non-zero

Field energy of a long solenoid

U = (μ₀ n² I²/2) A l

Density times field volume, and it equals ½LI² with L = μ₀n²Al, so the two pictures agree exactly.

n = N/l turns per metre in m⁻¹, A the bore cross-section in m², l the length in m

Energy released in an LR decay

∫ I²R dt = ½ L I₀²

Every joule the field held ends as heat in the resistor, driven by the coil rather than by any source.

integrated over all t with I = I₀ e(−Rt/L); R in ohms Ω, τ = L/R in seconds s
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

80 mH
20 to 100 mH; steps of 5.
4.00 A
1 to 6 A; steps of 0.25.

Try this. Drag the current from 2.00 A to 4.00 A: the triangle doubles in width and in height, so the stored energy goes up four times, not two. Then halve the inductance and the line tilts down — the same current now banks half as much.

Live results

FLUX LINKAGE λ = L I
0.320 Wb
STORED ENERGY ½ L I²
0.640 J
ENERGY AT DOUBLE CURRENT
2.560 J
COST OF THE LAST AMP
0.280 J

Results follow this lesson’s model and assumptions. Displayed values are rounded.

Interactive Physics II modelFlux linkage λ = L I against current for a coil of inductance 80 mH: a straight line of slope L. The hatched triangle under it, out to 4.00 A, is the work ∫ L I dI done against the induced emf, 0.640 J. The dashed rectangle of the same height and width is 1.280 J, twice as much — the cost only if the full current had flowed the whole way up.flux linkage λ = L I / Wbslope = L = 80 mHtriangle = ½ L I² = 0.640 Jrectangle = L I² = 1.280 J036current I / A
Flux linkage λ = L I against current for a coil of inductance 80 mH: a straight line of slope L. The hatched triangle under it, out to 4.00 A, is the work ∫ L I dI done against the induced emf, 0.640 J. The dashed rectangle of the same height and width is 1.280 J, twice as much — the cost only if the full current had flowed the whole way up.

Predict → change one variable → check

Plan a change before running it. Every other input stays at the saved baseline.

Saved baseline. Inductance L: 80 mH; Current I: 4.00 A

Baseline 80; choose 20 to 100, in steps of 5.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

Catch the common trap

The commonest error is thinking that an inductor stores energy because current is flowing, so it must keep drawing power for as long as the current is on. The rate of storage is P = L I (dI/dt), which follows the rate of change and not the current itself: at a steady 2.0 A an ideal coil takes exactly zero watts, its store already sits at ½LI², and every joule the source delivers is going to the resistor. The same slip in reverse produces ½LI² with the ½ missing. Flux linkage L I is the value reached at the end of the ramp, while the work done is the area under the line as the current climbs — a triangle, not the rectangle L I². And the induced emf does not destroy energy; it banks it, which is why the field can pay all of it back on the way down.

5

Practice & worked examples

3 authored examples. Make an attempt, then reveal the reasoning one step at a time.

EasyExample 1

A 45 mH relay coil is taken from rest to a steady 3.2 A by a current that ramps linearly over 12 ms. Find the energy stored once the current is steady, the induced emf during the ramp, and the average power the source delivers to the coil.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 4 steps revealed.

MediumExample 2

An air-cored solenoid has 2400 turns per metre, a bore of cross-sectional area 4.5 cm² and a length of 0.30 m, and carries 5.0 A. Find the field inside it, the magnetic energy density there, and the total stored energy — then check the result against ½LI² using L = μ₀n²Al.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 4 steps revealed.

HardExample 3

A coaxial cable 25 m long has an inner conductor of radius 1.2 mm inside a shield of inner radius 4.0 mm, carrying 15 A out along the core and back along the shield. Treating the gap between the conductors as the only place the field lives, find the energy stored there and the inductance of the run.

Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.

0 of 6 steps revealed.

6

Quick check

Select an answer and explain it before checking.

A long air-cored solenoid of N turns, cross-sectional area A and length l carries a steady current I, and the field inside it holds 0.36 J. The coil is then stretched to twice its length, keeping the same N turns, the same cross-section and the same steady current. How much energy does the field hold now?
7

Review & continue

The energy stored in an inductor is the work done against its own induced emf while the current is raised from zero to I, and for constant inductance it comes to ½LI².

  • Explain the relationship without looking at the equation.
  • Check a sign, a unit and a model assumption in your working.
  • Return to the lab or worked example if a step is still unclear.

Optional supporting lessons

These chapter resources can help with earlier ideas; they are not additional required Physics II completion tasks.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.