In most textbook about electromagnetism, it is taught that the field energy of magnetic field B is given by $B^2/8\pi$, which is indeed consistent with continuity equation of energy, particularly in vaccum. However, in many magnetism book, theorist use H-field instead of B-field due to historical convention, and they also quote magnetic energy as $H^2/8\pi$, not $B^2/8\pi$.
I found that there is more than just convention in a formulation, when I considered interaction between two magnetic dipole. When one tries to calculate interaction energy between two magnetic dipole $\vec{m}_1$ and $\vec{m}_2$, the interaction energy gives different result: First with $B^2/8\pi$,
$$\int\frac{1}{8\pi}\left((B_1+B_2)^2-B_1^2-B_2^2\right)=\int \frac{1}{4\pi}\vec{B}_{1}\cdot\vec{B}_{2}d^3r$$$$=\frac{3(\vec{m}_1\cdot\hat{r})(\vec{m}_2\cdot\hat{r})-\vec{m}_1\cdot\vec{m}_2}{r^3}=+\vec{m}_1\cdot\vec{B}_2=+\vec{m}_2\cdot\vec{B}_1$$ On the other hand, H-field can be written as $$\vec{H}=\vec{B}-4\pi\vec{m}\delta^3(\vec{r})$$ So the interaction energy from $H^2/8\pi$ $$\int \frac{1}{4\pi}\vec{H}_{1}\cdot\vec{H}_{2}d^3r=\int \frac{1}{4\pi}\vec{B}_{1}\cdot\vec{B}_{2}d^3r-\vec{m}_1\cdot\vec{B}_2-\vec{m}_2\cdot\vec{B}_1=-\vec{m}_1\cdot\vec{B}_2=-\vec{m}_2\cdot\vec{B}_1$$ (If one bothers about delta function, using sphere with uniform magnetization gives same result.) (Both magnetic dipole has infinite self-energy due to zero - size, which must be excluded.)
In fact, if one interpret $\vec{m}_2$ as a current source (or magnetic pole source) creating $\vec{B}_{ext}$ on dipole $\vec{m}=\vec{m}_1$, the energy in form of $B^2/8\pi$ suggests $U_{int}=+\vec{m}\cdot\vec{B}_{ext}$, while energy in form of $H^2/8\pi$ suggests $U_{int}=-\vec{m}\cdot\vec{B}_{ext}$.
================================================================
The difference between these two formula originate in the way one constitute the system. When one uses magnetic energy density as $B^2/8\pi$, he will constitute the system by moving charge (with sufficient minus charge density fixed in space, compensating the charge density of current therefore not including any electric field energy), or current loop. Both the magnetic dipole and source of external field will be regarded as these current loop.
However, when one uses magnetic energy density as $H^2/8\pi$, he will constitute the system by moving magnetic monopole from infinity, and placing these monopole in current position without any motion. (since H has direct correspondence with E, when there is no free current $J_f$) In this case, both dipole and source of external field will be regarded as set of magnetic monopole.
Now, I will interpret the term $U_B =+\vec{m}\cdot\vec{B}_{ext}$ and $U_H=-\vec{m}\cdot\vec{B}_{ext}$ by specifying particular procedure of reproducing the system. In order to simplify the situation, the source of field $\vec{B}_{ext}$ is regarded as a point dipole $\vec{m}_{ext}$. The procedures are:
- The magnetic dipole $\vec{m}_{ext}$ is created in $\vec{r}_{2}$ with direction $\hat{n}_2$ as a field source.
- The magnetic dipole $\vec{m}$ is created far away from $\vec{r}_{2}$ with direction $\hat{n}_1$. (infinite distance)
- The magnetic dipole $\vec{m}$ translates from infinity to $\vec{r}_{1}$ without change of its direction, preserving both $\vec{m}$ and $\vec{m}_{ext}$.
When one excludes infinite energy of creating such point entity, the energy necessary for each procedure is given as the following.
In the case of current loop, corresponding with energy term $B^2/8\pi$:
- Zero.
- Zero. Since $\vec{m}$ and $\vec{m}_{ext}$ are separated, there is no change of magnetic flux $\Phi_{B}$ in $\vec{m}_{ext}$, while $\vec{m}$ increases from 0 to |m|=IS.
- ⓐ One must exert force against $F=\triangledown(\vec{m}\cdot\vec{B}_{ext})$, thus $W_{mech}=-\vec{m}\cdot\vec{B}_{ext}$.
ⓑ The flux in $\vec{m}_{ext}$ changes from 0 to $\Phi_B = MI$. Thus emf $\epsilon=-\frac{\partial \Phi_B}{\partial t}$ is induced, and one must supply energy $\int(-\epsilon)I_{ext}dt=MI I_{ext}$ to the loop, maintaining $I_{ext}$ against flux change. ⓒ The moving current loop of $\vec{m}$ induces motional emf, which changes flux from 0 to $\Phi_B = MI_{ext}$. There must be energy $\int(-\epsilon)Idt=MI I_{ext}$ supplied to the current loop.
Since mutual inductance M is given by $M=\left(3(\vec{S}\cdot\hat{r})(\vec{S}_{ext}\cdot\hat{r})-\vec{S}\cdot\vec{S}_{ext}\right)/r^3$, it is easily shown that $MI I_{ext}=+\vec{m}\cdot\vec{B}_{ext}$, which is consistent with calculation using $B^2/8\pi$. This concludes that total energy used to construct the system is $+\vec{m}\cdot\vec{B}_{ext}$, which consists of 3 part:
a) $-\vec{m}\cdot\vec{B}$ from work against mechanical force $\triangledown(\vec{m}\cdot\vec{B})$,
b) $+\vec{m}\cdot\vec{B}$ from maintaining current $\it{I}$ of dipole $\vec{m}=\it{I}\vec{S}$ against emf from change in $\vec{B}_{ext}$,
c) $+\vec{m}\cdot\vec{B}$ from maintaining external source of current producing $\vec{B}_{ext}$.
There might be different interpretation in dividing energy $+\vec{m}\cdot\vec{B}_{ext}$ depending on choice of procedure. Nonetheless, the total energy necessary for constituting such system is independent to choice of procedure, so I will use this interpretation in order to clarify the distinction between current loop model and monopole model.
If one repeats same thing in magnetic monopole model, then one gets:
- Zero energy needed.
- Zero energy needed.
- ⓐ Mechanical work is same as $W_{mech}=-\vec{m}\cdot\vec{B}_{ext}$. ⓑⓒ No energy supply needed.
Thus total energy needed is $-\vec{m}\cdot\vec{B}_{ext}$, which is purely mechanic work. This result coincides with calculation on energy $H^2/8\pi$. Since this scheme calculates pure mechanical work, it will be appropriate for calculation of magnetostatic energy: The energy of dipoles given as $U=\sum U_{ij}$ with $U_{ij}=-\vec{m}_i\cdot\vec{B}_j$ will be acquired by using $H^2/8\pi$ rather than $B^2/8\pi$.
In conclusion, I arrived at the following statement:
The energy in form of $H^2/8\pi$ correctly calculates magnetostatic energy, while $B^2/8\pi$ includes additional energy to maintain current in the loop against external flux change.
================================================================
Now I concentrate on actual magnetic moment in magnetic material, and calculate 'free energy' of material determining its equilibrium state under external field $\vec{B}_{ext}$. Since the energy supplied in current source won't effect equilibrium property of material, it won't be included in such 'free energy': ⓑ part of energy won't be included. In addition, no such energy is needed to maintain 'current' of magnetic moment, since these moments are quantum mechanical phenomenon: they are neither current loop nor magnetic monopole. Thus ⓒ part of energy won't be included in 'free energy'. Nonetheless, experiments prove that the force exerted at magnetic material is given as $-\int \triangledown(\vec{M}\cdot\vec{B}_{ext})d^3r$, so there must be mechanical force exerting on individual magnetic moment, which provides a mechanism material reaching its equilibrium state. Thus, ⓐ part of energy won't be included in 'free energy', which is a solely contribution of it.
I admit that the real procedure magnetic material acquiring its equilibrium state will differ much from procedure given in preceding section, so these arguments are just my intuition...
Nevertheless, the situation argued below corresponds with magnetic monopole scheme with energy $H^2/8\pi$. The source of external field is practically current loop, which differs from construction in magnetic monopole scheme. (There the source was also magnetic monopole) However, since contribution of source is excluded, this difference doesn't change the following conclusion:
The 'free energy' describing equilibrium property of magnetic material must be described with $H^2/8\pi$ rather than $B^2/8\pi$.
Domain formation in ferromagnetic material seems to support this conclusion. The direction of each domain is largely determined by 'Pole Avoidance Principle': these domains arrange so that $\delta M_{\perp}=0$ in its boundary, leading to zero $\sigma_b$ and zero H-field. If one accept magnetostatic energy as $H^2/8\pi$ rather than $B^2/8\pi$, then this phenomenon can be explained, since pole avoidance minimizes $H^2/8\pi$ to zero, minimizing free energy. Indeed, there are no such 'Surface Current Avoidance Principle' in ferromagnetic material.
================================================================
My question is the following: Is the argument given below correct?
The 'free energy' describing equilibrium property of magnetic material must be described with $H^2/8\pi$ rather than $B^2/8\pi$ (at least a contribution with correct sign).
I know real free energy will depend on constitutional relation between B and H, and I'm just talking about classical electromagnetic contribution. Regarding this constitutional relation, all the argument below is nonsense in practical calculation. I just want to clarify whether $B^2/8\pi$ in classical electrodynamics is fundamentally wrong or not, since it's formal derivation is based on current loop model, while real magnetic dipole isn't a current loop.