25.2: Energy in a Magnetic Field

Physics: A Foundation for Scientists and Engineers · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    Read aloud

    How

    Speed: 1×
    Light up
    Highlight

    Symbols: Mulberry Symbols, © 2018–2026 Steve Lee, CC BY-SA 4.0 (licence, the set), the site's own copies.

    From LibreTexts, under CC BY 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    25.2: Energy in a Magnetic Field

    Building up a current in an inductor takes work, because the source must push charge against the self-induced emf. When the current is \(I\) and increasing at the rate \(dI/dt\), the source delivers power \(P = |\mathcal{E}_L|I = LI\,dI/dt\) to the inductor. The total work to bring the current from zero to \(I\) is

    \[U = \int P\,dt = \int_0^I LI'\,dI' = \frac{1}{2}LI^2.\]

    That energy is not lost: it is stored in the inductor, and it is returned when the current decreases.

    Key Equation: Energy stored in an inductor

    \[U_B = \frac{1}{2}LI^2. \tag{25.6}\]

    Compare the energy stored in a capacitor, \(U_E = \frac{1}{2}CV^2\) (equation (19.5)), and the kinetic energy of a moving mass, \(\frac{1}{2}mv^2\). Inductance plays the role of mass, and current that of velocity.

    Energy density. Where is the energy stored? For a capacitor, we found that it resides in the electric field (Section 19.2). For an inductor, it resides in the magnetic field. For a long solenoid, \(L = \mu_0 n^2A\ell\) and \(B = \mu_0 nI\), so

    \[U_B = \frac{1}{2}\mu_0 n^2A\ell\,I^2 = \frac{(\mu_0 nI)^2}{2\mu_0}\,A\ell = \frac{B^2}{2\mu_0}\,(A\ell).\]

    The field fills the volume \(A\ell\) inside the solenoid, and nearly vanishes outside, so the energy per unit volume, the energy density of the magnetic field, is

    Key Equation: Energy density of a magnetic field

    \[u_B = \frac{B^2}{2\mu_0}. \tag{25.7}\]

    Although derived for a solenoid, this holds for any magnetic field in vacuum, just as \(u_E = \frac{1}{2}\epsilon_0E^2\) (equation (19.6)) holds for any electric field. Where both fields are present, the total energy density is \(u = \frac{1}{2}\epsilon_0E^2 + B^2/2\mu_0\). In an electromagnetic wave the two terms turn out to be exactly equal (Chapter 27).

    Example 25.3: Electric and magnetic energy near the ground

    Near the ground on a fair day, Earth’s electric field is about \(150\,\mathrm{V/m}\) and its magnetic field about \(50\,\mathrm{\mu T}\). Compare their energy densities.

    Solution

    \[u_E = \frac{1}{2}\epsilon_0E^2 = \frac{1}{2}(8.85\times10^{-12})(150)^2 = 1.0\times 10^{-7}\,\mathrm{J/m^3},\]

    \[u_B = \frac{B^2}{2\mu_0} = \frac{(5.0\times10^{-5})^2}{2(4\pi\times10^{-7})} = 9.9\times 10^{-4}\,\mathrm{J/m^3}.\]

    The magnetic energy density is \(\boxed{\text{about ten thousand times}}\) larger. Fields that seem comparable in everyday terms can store very different amounts of energy. A field of \(1\,\mathrm{T}\) stores \(u_B = 4.0\times 10^{5}\,\mathrm{J/m^3}\); to store as much in an electric field would take \(E = 3.0\times 10^{8}\,\mathrm{V/m}\), a hundred times more than air can withstand. This is why large amounts of energy are much more easily stored in magnetic fields than in electric fields.

    Example 25.4: The energy in an MRI magnet

    The bore of an MRI magnet is a cylinder of radius \(0.30\,\mathrm{m}\) and length \(1.5\,\mathrm{m}\), with a uniform field of \(1.5\,\mathrm{T}\). Estimate the energy stored in the field inside the bore.

    Solution

    The energy density is \(u_B = (1.5)^2/2(4\pi\times10^{-7}) = 9.0\times 10^{5}\,\mathrm{J/m^3}\), and the volume is \(\pi(0.30)^2(1.5) = 0.42\,\mathrm{m^3}\), so

    \[U = u_BV = (9.0\times10^{5})(0.42) = \boxed{3.8\times 10^{5}\,\mathrm{J}}.\]

    Including the field in the windings and around the magnet, the total is several megajoules, about the kinetic energy of a loaded truck at highway speed. If a superconducting magnet suddenly loses its superconductivity, an event called a quench, all of this energy turns to heat within seconds, boiling off the liquid helium. Magnets are designed to quench safely, venting the helium outside the building.

    Checkpoint 25.2

    (a) The current in an inductor is doubled. By what factor does its stored energy change? (b) In a certain region the magnetic field is tripled. By what factor does the energy density there change?

    Answer

    Answers to Checkpoints

    Checkpoint 25.2. (a) \(U_B = \tfrac{1}{2}LI^2\), so doubling the current quadruples the energy. (b) The energy density is \(u_B = B^2/2\mu_0\), so tripling the field multiplies it by \(9\). In both cases the energy grows as the square of the quantity, exactly as for a capacitor’s energy and its voltage or electric field.


    This page titled 25.2: Energy in a Magnetic Field was last modified on Thu, 12 Nov 2026 04:27:15 GMT and is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Michael Ragsdale.