Skip to main content
Physics LibreTexts

7.15: Magnetic Energy

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Consider a structure exhibiting inductance; i.e., one that is able to store energy in a magnetic field in response to an applied current. This structure could be a coil, or it could be one of a variety of inductive structures that are not explicitly intended to be an inductor; for example, a coaxial transmission line. When current is applied, the current-bearing elements of the structure exert forces on each other. Since these elements are not normally free to move, we may interpret this force as potential energy stored in the magnetic field associated with the current (Section 7.12).

    We now want to know how much energy is stored in this field. The answer to this question has relevance in several engineering applications. One issue is that any system that includes inductance is using some fraction of the energy delivered by the power supply to energize this inductance. In many electronic systems – in power systems in particular – inductors are periodically energized and de-energized at a regular rate. Since power is energy per unit time, this consumes power. Therefore, energy storage in inductors contributes to the power consumption of electrical systems.

    The stored energy is most easily determined using circuit theory concepts. First, we note that the electrical potential difference \(v(t)\) (units of V) across an inductor is related to the current \(i(t)\) (units of A) through the inductor as follows (Section 7.12): \[v(t) = L\frac{d}{dt}i(t) \nonumber \] where \(L\) (units of H) is the inductance. The instantaneous power associated with the device is \[p(t) = v(t)i(t) \nonumber \] Energy (units of J) is power (units of J/s) integrated over time. Let \(W_m\) be the energy stored in the inductor. At some time \(t_0\) in the past, \(i(t_0)=0\) and \(W_m=0\). As current is applied, \(W_m\) increases monotonically. At the present time \(t\), \(i(t)=I\). Thus, the present value of the magnetic energy is: \[W_m = \int_{t_0}^{t_0+t} p(\tau) d\tau \nonumber \] Now evaluating this integral using the relationships established above:

    W_{m} &=\int_{t_{0}}^{t+t_{0}} v(\tau) i(\tau) d \tau \\
    &=\int_{t_{0}}^{t+t_{0}}\left[L \frac{d}{d \tau} i(\tau)\right] i(\tau) d \tau \\
    &=L \int_{t_{0}}^{t+t_{0}}\left[\frac{d}{d \tau} i(\tau)\right] i(\tau) d \tau

    Changing the variable of integration from \(\tau\) (and \(d\tau\)) to \(i\) (and \(di\)) we have

    W_{m} &=L \int_{t_{0}}^{t+t_{0}} \frac{d i}{d \tau} i d \tau \\
    &=L \int_{0}^{I} i d i

    Evaluating the integral we obtain the desired expression \[\boxed{ W_m = \frac{1}{2}LI^2 } \label{m0127_eWm} \]

    The energy stored in an inductor in response to a steady current \(I\) is Equation \ref{m0127_eWm}. This energy increases in proportion to inductance and in proportion to the square of current.

    The long straight coil (Section 7.13) is representative of a large number of practical applications, so it is useful to interpret the above findings in terms of this structure in particular. For this structure we found \[L = \frac{\mu N^2 A}{l} \nonumber \] where \(\mu\) is the permeability, \(N\) is the number of windings, \(A\) is cross-sectional area, and \(l\) is length. The magnetic field intensity inside this structure is related to \(I\) by (Section 7.6): \[H = \frac{NI}{l} \nonumber \] Substituting these expressions into Equation \ref{m0127_eWm}, we obtain

    W_{m} &=\frac{1}{2}\left[\frac{\mu N^{2} A}{l}\right]\left[\frac{H l}{N}\right]^{2} \\
    &=\frac{1}{2} \mu H^{2} A l

    Recall that the magnetic field inside a long coil is approximately uniform. Therefore, the density of energy stored inside the coil is approximately uniform. Noting that the product \(Al\) is the volume inside the coil, we find that this energy density is \(W_m/Al\); thus: \[w_m = \frac{1}{2} \mu H^2 \label{m0127_eED} \] which has the expected units of energy per unit volume (J/m\(^3\)).

    The above expression provides an alternative method to compute the total magnetostatic energy in any structure. Within a mathematical volume \({\mathcal V}\), the total magnetostatic energy is simply the integral of the energy density over \({\mathcal V}\); i.e., \[W_m = \int_{\mathcal V} w_m~dv \nonumber \] This works even if the magnetic field and the permeability vary with position. Substituting Equation \ref{m0127_eED} we obtain: \[\boxed{ W_m = \frac{1}{2} \int_{\mathcal V} \mu H^2 dv } \label{m0127_eEDV} \] Summarizing:

    The energy stored by the magnetic field present within any defined volume is given by Equation \ref{m0127_eEDV}.

    It’s worth noting that this energy increases with the permeability of the medium, which makes sense since inductance is proportional to permeability.

    Finally, we reiterate that although we arrived at this result using the example of the long straight coil, Equations \ref{m0127_eED} and \ref{m0127_eEDV} are completely general.

    This page titled 7.15: Magnetic Energy is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Steven W. Ellingson (Virginia Tech Libraries' Open Education Initiative) .

    • Was this article helpful?