Skip to main content
Physics LibreTexts

7.15: Magnetic Energy

  • Page ID
    97169
  • \( \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}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    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:

    \begin{aligned}
    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
    \end{aligned}

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

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

    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

    \begin{aligned}
    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
    \end{aligned}

    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?