# 5.6: Systems with Magnetics

- Page ID
- 57000

Similarly to the electrostatics of linear dielectrics, the magnetostatics of linear magnetics is very simple in the particular case when the stand-alone currents are embedded into a medium with a constant permeability \(\ \mu\). Indeed, let us assume that we know the solution \(\ \mathbf{B}_{0}(\mathbf{r})\) of the magnetic pair of the genuine (“microscopic”) Maxwell equations (36) in free space, i.e. when the genuine current density \(\ \mathbf{j}\) coincides with that of stand-alone currents. Then the macroscopic Maxwell equations (109) and the linear constitutive equation (110) are satisfied with the pair of functions

\[\ \mathbf{H}(\mathbf{r})=\frac{\mathbf{B}_{0}(\mathbf{r})}{\mu_{0}}, \quad \mathbf{B}(\mathbf{r})=\mu \mathbf{H}(\mathbf{r})=\frac{\mu}{\mu_{0}} \mathbf{B}_{0}(\mathbf{r}).\tag{5.115}\]

Hence the only effect of the complete filling of a fixed-current system with a uniform, linear magnetic is the change of the magnetic field \(\ \mathbf{B}\) at all points by the same constant factor \(\ \mu / \mu_{0} \equiv 1+\chi_{\mathrm{m}}\), which may be either larger or smaller than 1. (As a reminder, a similar filling of a system of fixed stand-alone charges with a uniform, linear dielectric always leads to a reduction of the electric field \(\ \mathbf{E}\) by a factor of \(\ \varepsilon / \varepsilon_{0} \equiv 1+\chi_{\mathrm{e}}\) – the difference whose physics was already discussed at the end of Sec. 4.)

However, this simple result is generally invalid in the case of nonuniform (or piecewise-uniform) magnetic samples. To analyze this case, let us first integrate the macroscopic Maxwell equation (107) along a closed contour \(\ C\) limiting a smooth surface \(\ S\). Now using the Stokes theorem, we get the macroscopic version of the Ampère law (37):

\[\ \text{Macroscopic Ampère law}\quad\quad\quad\quad\oint_{C} \mathbf{H} \cdot d \mathbf{r}=I.\tag{5.116}\]

Let us apply this relation to a sharp boundary between two regions with different magnetics, with no stand-alone currents on the interface, similarly to how this was done for the field \(\ \mathbf{E}\) in Sec. 3.4 – see Fig. 3.5. The result is similar as well:

\[\ H_{\tau}=\text { const }.\tag{5.117}\]

On the other hand, the integration of the Maxwell equation (29) over a Gaussian pillbox enclosing a border fragment (again just as shown in Fig. 3.5 for the field \(\ \mathbf{D}\)) yields the result similar to Eq. (3.35):

\[\ B_{n}=\text { const }.\tag{5.118}\]

For linear magnetics, with \(\ \mathbf{B}=\mu \mathbf{H}\), the latter boundary condition is reduced to

\[\ \mu H_{n}=\text { const }.\tag{5.119}\]

Let us use these boundary conditions, first of all, to see what happens with a long cylindrical sample of a uniform magnetic material, placed parallel to a uniform external magnetic field \(\ \mathbf{B}_{0}\) – see Fig.15. Such a sample cannot noticeably disturb the field in the free space outside it, at most of its length: \(\ \mathbf{B}_{\mathrm{ext}}=\mathbf{B}_{0}, \mathbf{H}_{\mathrm{ext}}=\mu_{0} \mathbf{B}_{\mathrm{ext}}=\mu_{0} \mathbf{B}_{0}\). Now applying Eq. (117) to the dominating, side surfaces of the sample, we get \(\ \mathbf{H}_{\text {int }}=\mathbf{H}_{0}\).^{57} For a linear magnetic, these relations yield \(\ \mathbf{B}_{\text {int }}=\mu \mathbf{H}_{\text {int }}=\left(\mu / \mu_{0}\right) \mathbf{B}_{0}\).^{58} For the high-\(\ \mu\), soft ferromagnetic materials, this means that \(\ B_{\mathrm{int}} >> B_{0}\). This effect may be vividly represented as the concentration of the magnetic field lines in high-\(\ \mu\) samples – see Fig. 15 again. (The concentration affects the external field distribution only at distances of the order of \(\ \left(\mu / \mu_{0}\right) t<<l\) near the sample’s ends.) Such concentration is widely used in such practically important devices as transformers, in which two multi-turn coils are wound on a ring-shaped (e.g., toroidal, see Fig. 6b) core made of a soft ferromagnetic material (such as the transformer steel, see Table 1) with \(\ \mu >> \mu_{0}\). This minimizes the number of “stray” field lines, and makes the magnetic flux \(\ \Phi\) piercing each wire turn (of either coil) virtually the same – the equality important for the secondary voltage induction – see the next chapter.

Samples of other geometries may create strong perturbations of the external field, extended to distances of the order of the sample’s dimensions. To analyze such problems, we may benefit from a simple, partial differential equation for a scalar function, e.g., the Laplace equation, because in Chapter 2 we have learned how to solve it for many simple geometries. In magnetostatics, the introduction of a scalar potential is generally impossible due to the vortex-like magnetic field lines. However, if there are no stand-alone currents within the region we are interested in, then the macroscopic Maxwell equation (107) for the field \(\ \mathbf{H}\) is reduced to \(\ \nabla \times \mathbf{H}=0\), similar to Eq. (1.28) for the electric field, showing that we may introduce the scalar potential of the magnetic field, \(\ \phi_{\mathrm{m}}\), using the relation similar to Eq. (1.33):

\[\ \mathbf{H}=-\nabla \phi_{\mathrm{m}}.\tag{5.120}\]

Combining it with the homogenous Maxwell equation (29) for the magnetic field, \(\ \nabla \cdot \mathbf{B}=0\), and Eq.(110) for a linear magnetic, we arrive at a single differential equation, \(\ \nabla \cdot\left(\mu \nabla \phi_{\mathrm{m}}\right)=0\). For a uniform medium \(\ (\mu(\mathbf{r})=\mathrm{const})\), it is reduced to our beloved Laplace equation:

\[\ \nabla^{2} \phi_{\mathrm{m}}=0.\tag{5.121}\]

Moreover, Eqs. (117) and (119) give us very familiar boundary conditions: the first of them

\[\ \frac{\partial \phi_{\mathrm{m}}}{\partial \tau}=\mathrm{const},\tag{5.122a}\]

being equivalent to

\[\ \phi_{\mathrm{m}}=\text { const },\tag{5.122b}\]

while the second one giving

\[\ \mu \frac{\partial \phi_{\mathrm{m}}}{\partial n}=\mathrm{const}.\tag{5.123}\]

Indeed, these boundary conditions are absolutely similar for (3.37) and (3.56) of electrostatics, with the replacement \(\ \varepsilon \rightarrow \mu\).^{59}

Let us analyze the geometric effects on magnetization, first using the (too?) familiar structure: a sphere, made of a linear magnetic material, placed into a uniform external field \(\ \mathbf{H}_{0} \equiv \mathbf{B}_{0} / \mu_{0}\). Since the differential equation and the boundary conditions are similar to those of the corresponding electrostatics problem (see Fig. 3.11 and its discussion), we can use the above analogy to reuse the solution we already have – see Eqs. (3.63). Just as in the electric case, the field outside the sphere, with

\[\ \left(\phi_{\mathrm{m}}\right)_{r>R}=H_{0}\left(-r+\frac{\mu-\mu_{0}}{\mu+2 \mu_{0}} \frac{R^{3}}{r^{2}}\right) \cos \theta,\tag{5.124}\]

is a sum of the uniform external field \(\ \mathbf{H}_{0}\), with the potential \(\ -H_{0} r \cos \theta \equiv-H_{0} z\), and the dipole field (99) with the following induced magnetic dipole moment of the sphere:^{60}

\[\ \mathbf{m}=4 \pi \frac{\mu-\mu_{0}}{\mu+2 \mu_{0}} R^{3} \mathbf{H}_{0}.\tag{5.125}\]

On the contrary, the internal field is perfectly uniform, and directed along the external one:

\[\ \left(\phi_{\mathrm{m}}\right)_{r<R}=-H_{0} \frac{3 \mu_{0}}{\mu+2 \mu_{0}} r \cos \theta, \text { so that } \frac{H_{\mathrm{int}}}{H_{0}}=\frac{3 \mu_{0}}{\mu+2 \mu_{0}}, \quad \frac{B_{\mathrm{int}}}{B_{0}}=\frac{\mu H_{\mathrm{int}}}{\mu_{0} H_{0}}=\frac{3 \mu}{\mu+2 \mu_{0}}.\tag{5.126}\]

Note that the field \(\ \mathbf{H}_{\text {int }}\) inside the sphere is not equal to the applied external field \(\ \mathbf{H}_{0}\). This example shows that the interpretation of \(\ \mathbf{H}\) as the “would-be” magnetic field generated by external stand-alone currents \(\ \mathbf{j}\) should not be exaggerated into saying that its distribution is independent of the magnetic bodies in the system. In the limit \(\ \mu >> \mu_{0}\), Eqs. (126) yield \(\ H_{\text {int }} / H_{0}<<1, B_{\text {int }} / H_{0}=3 \mu_{0}\), the factor 3 being specific for the particular geometry of the sphere. If a sample is strongly stretched along the applied field, with its length \(\ l\) much larger than the scale \(\ t\) of its cross-section, this geometric effect is gradually decreased, and \(\ B_{\text {int }}\) tends to its value \(\ \mu H_{0} >> B_{0}\), as was discussed above – see Fig. 15.

Now let us calculate the field distribution in a similar, but slightly more complex (and practically important) system: a round cylindrical shell, made of a linear magnetic, placed into a uniform external field \(\ \mathbf{H}_{0}\) normal to its axis – see Fig. 16.

Since there are no stand-alone currents in the region of our interest, we can again represent the field \(\ \mathbf{H}(\mathbf{r})\) by the gradient of the magnetic potential \(\ \phi_{\mathrm{m}}\) – see Eq. (120). Inside each of three constant-\(\ \mu\) regions, i.e. at \(\ \rho<b, a<\rho<b\), and \(\ b<\rho\) (where \(\ \rho\) is the distance from the cylinder's axis), the potential obeys the Laplace equation (121). In the convenient, polar coordinates (see Fig. 16), we may, guided by the general solution (2.112) of the Laplace equation and our experience in its application to axially-symmetric geometries, look for \(\ \phi_{\mathrm{m}}\) in the following form:

\[\ \phi_{m}= \begin{cases}\left(-H_{0} \rho+b_{1}^{\prime} / \rho\right) \cos \varphi, & \text { for } b \leq \rho, \\ \left(a_{1} \rho+b_{1} / \rho\right) \cos \varphi, & \text { for } a \leq \rho \leq b, \\ -H_{\text {int }} \rho \cos \varphi, & \text { for } \rho \leq a.\end{cases}\tag{5.127}\]

Plugging this solution into the boundary conditions (122)-(123) at both interfaces (\(\ \rho=b\) and \(\ \rho=a\)), we get the following system of four equations:

\[\ \begin{array}{ll}

-H_{0} b+b_{1}^{\prime} / b=a_{1} b+b_{1} / b, & \left(a_{1} a+b_{1} / a\right)=-H_{\mathrm{int}} a, \\

\mu_{0}\left(-H_{0}-b_{1}^{\prime} / b^{2}\right) H_{0}=\mu\left(a_{1}-b_{1} / b^{2}\right), & \mu\left(a_{1}-b_{1} / a^{2}\right)=-\mu_{0} H_{\mathrm{int}},

\end{array}\tag{5.128}\]

for four unknown coefficients \(\ a_{1}, b_{1}, b_{1}^{\prime}\), and \(\ H_{\text {int }}\). Solving the system, we get, in particular:

\[\ \frac{H_{\mathrm{int}}}{H_{0}}=\frac{\alpha_{c}-1}{\alpha_{c}-(a / b)^{2}}, \quad \text { with } \alpha_{c} \equiv\left(\frac{\mu+\mu_{0}}{\mu-\mu_{0}}\right)^{2}.\tag{5.129}\]

According to these formulas, at \(\ \mu>\mu_{0}\), the field in the free space inside the cylinder is lower than the external field. This fact allows using such structures, made of high-\(\ \mu\) materials such as permalloy (see Table 1), for passive shielding^{61} from unintentional magnetic fields (e.g., the Earth's field) – the task very important for the design of many physical experiments. As Eq. (129) shows, the larger is \(\ \mu\), the closer is \(\ \alpha_{c}\) to 1, and the smaller is the ratio \(\ H_{\mathrm{int}} / H_{0}\), i.e. the better is the shielding (for the same \(\ a / b\) ratio). On the other hand, for a given magnetic material, i.e. for a fixed parameter \(\ \alpha_{c}\), the shielding is improved by making the ratio \(\ a / b<1\) smaller, i.e. the shield thicker. On the other hand, as Fig. 16 shows, smaller \(\ a\) leaves less space for the shielded samples, calling for a compromise.

Now let us discuss a curious (and practically important) approach to systems with relatively thin, closed magnetic cores made of several sections of (possibly, different) high-\(\ \mu\) magnetics, with the cross-section areas \(\ A_{k}\) much smaller than the squared lengths \(\ l_{k}\) of the sections – see Fig. 17.

If all \(\ \mu_{k} >> \mu_{0}\), virtually all field lines are confined to the interior of the core. Then, applying the macroscopic Ampère law (116) to a contour C that follows a magnetic field line inside the core (see, for example, the dashed line in Fig. 17), we get the following approximate expression (exactly valid only in the limit \(\ \mu_{k} / \mu_{0}, l_{k}^{2} / A_{k} \rightarrow \infty\)):

\[\ \oint_{C} H_{l} d l \approx \sum_{k} l_{k} H_{k} \equiv \sum_{k} l_{k} \frac{B_{k}}{\mu_{k}}=N I.\tag{5.130}\]

However, since the magnetic field lines stay in the core, the magnetic flux \(\ \Phi_{k} \approx B_{k} A_{k}\) should be the same \(\ (\equiv \Phi)\) for each section, so that \(\ B_{k}=\Phi / A_{k}\). Plugging this condition into Eq. (130), we get

\[\ \text{Magnetic Ohm law and reluctance}\quad\quad\quad\quad\Phi=\frac{N I}{\sum_{k} \mathscr{R}_{k}}, \quad \text { where } \mathscr{R}_{k} \equiv \frac{l_{k}}{\mu_{k} A_{k}}.\tag{5.131}\]

Note a close analogy of the first of these equations with the usual Ohm law for several resistors connected in series, with the magnetic flux playing the role of electric current, while the product \(\ NI\), the role of the voltage applied to the chain of resistors. This analogy is fortified by the fact that the second of Eqs. (131) is similar to the expression for the resistance \(\ R=l / \sigma A\) of a long, uniform conductor, with the magnetic permeability \(\ \mu\) playing the role of the electric conductivity \(\ \sigma\). (To sound similar, but still different from the resistance \(\ R\), the parameter \(\ \mathscr{R}\) is called reluctance.) This is why Eq. (131) is called the magnetic Ohm law; it is very useful for approximate analyses of systems like ac transformers, magnetic energy storage systems, etc.

Now let me proceed to a brief discussion of systems with permanent magnets. First of all, using the definition (108) of the field \(\ \mathbf{H}\), we may rewrite the Maxwell equation (29) for the field \(\ \mathbf{B}\) as

\[\ \nabla \cdot \mathbf{B} \equiv \mu_{0} \nabla \cdot(\mathbf{H}+\mathbf{M})=0, \quad \text { i.e. as } \nabla \cdot \mathbf{H}=-\nabla \cdot \mathbf{M},\tag{5.132}\]

While this relation is general, it is especially convenient in permanent magnets, where the magnetization vector \(\ \mathbf{M}\) may be considered field-independent. In this case, Eq. (132) for \(\ \mathbf{H}\) is an exact analog of Eq. (1.27) for \(\ \mathbf{E}\), with the fixed term \(\ -\nabla \cdot \mathbf{M}\) playing the role of the fixed charge density (more exactly, of \(\ \rho / \varepsilon_{0}\)). For the scalar potential \(\ \phi_{\mathrm{m}}\), defined by Eq. (120), this gives the Poisson equation

\[\ \nabla^{2} \phi_{\mathrm{m}}=\nabla \cdot \mathbf{M},\tag{5.133}\]

similar to those solved, for quite a few geometries, in the previous chapters.

In the particular case when \(\ \mathbf{M}\) is not only field-independent, but also uniform inside a permanent magnet’s volume, then the right-hand sides of Eqs. (132) and (133) vanish both inside the volume and in the surrounding free space, and give a non-zero effective charge only on the magnet’s surface. Integrating Eq. (132) along a short path normal to the surface and crossing it, we get the following boundary conditions:

\[\ \Delta H_{n} \equiv\left(H_{n}\right)_{\text {in free space }}-\left(H_{n}\right)_{\text {in magnet }}=M_{n} \equiv M \cos \theta,\tag{5.134}\]

where \(\ \theta\) is the angle between the magnetization vector and the outer normal to the magnet’s surface. This relation is an exact analog of Eq. (1.24) for the normal component of the field \(\ \mathbf{E}\), with the effective surface charge density (or rather \(\ \sigma / \varepsilon_{0}\)) equal to \(\ M \cos \theta\).

This analogy between the magnetic field induced by a fixed, constant magnetization and the electric field induced by surface electric charges enables one to reuse quite a few problems considered in Chapters 1-3. Leaving a few such problems for the reader's exercise (see Sec. 7), let me demonstrate the power of this analogy on just two examples specific to magnetic systems. First, let us calculate the force necessary to detach the flat ends of two long, uniform rod magnets, of length l and cross-section area \(\ A<<l^{2}\), with the saturated remanent magnetization \(\ \mathbf{M}_{0}\) directed along their length – see Fig. 18.

Let us assume we have succeeded to detach the magnets by an infinitesimal distance \(\ \tau<<A^{1 / 2}\), \(\ l\). Then, according to Eqs. (133)-(134), the distribution of the magnetic field near this small gap should be similar to that of the electric field in a system of two equal by opposite surface charges with the surface density \(\ \sigma\) proportional to \(\ M_{0}\). From Chapters 1 and 2, we know the properties of such a system very well: within the gap, the electric field is virtually constant, uniform, proportional to \(\ \sigma\), and independent of \(\ \tau\). For its magnitude, Eq. (134) gives simply \(\ H=M_{0}\), and hence \(\ B=\mu_{0} M_{0}\). (Just outside of the gap, the field is very low, because due to the condition \(\ A<<l^{2}\), the effect of the similar effective charges at the "outer" ends of the rods on the field near the gap \(\ t\) is negligible.)

Now we could calculate \(\ F_{\min }\) as the force exerted by this field on the effective surface "charges". However, it is even easier to find it from the following energy argument. Since the magnetic field energy localized inside the magnets and near their outer ends cannot depend on \(\ t\), this small detachment may only alter the energy inside the gap. For this part of the energy, Eq. (57) yields:

\[\ \Delta U=\frac{B^{2}}{2 \mu_{0}} V=\frac{\left(\mu_{0} M_{0}\right)^{2}}{2 \mu_{0}} A \tau.\tag{5.135}\]

The gradient of this potential energy is equal to the attraction force \(\ \mathbf{F}=-\nabla(\Delta U)\), trying to reduce \(\ \Delta U\) by decreasing the gap, with the magnitude

\[\ |F|=\frac{\partial(\Delta U)}{\partial \tau}=\frac{\mu_{0} M_{0}^{2} A}{2}.\tag{5.136}\]

The magnet detachment requires an equal and opposite external force.

Now let us consider the situation when similar long permanent magnets (such as the magnetic needles used in magnetic compasses) are separated, in otherwise free space, by a larger distance \(\ d >>A^{1/2}\) – see Fig. 19. For each needle (Fig. 19a), of a length \(\ l >> A^{1 / 2}\), the right-hand side of Eq. (133) is substantially different from zero only in two relatively small areas at the needle’s ends. Integrating the equation over each end, we see that at distances \(\ r>>A^{1 / 2}\) from each end, we may reduce Eq. (132) to

\[\ \nabla \cdot \mathbf{H}=q_{\mathrm{m}} \delta\left(\mathbf{r}-\mathbf{r}_{+}\right)-q_{\mathrm{m}} \delta\left(\mathbf{r}-\mathbf{r}_{-}\right),\tag{5.137}\]

where \(\ \mathbf{r}_{\pm}\) are ends’ positions, and \(\ q_{\mathrm{m}} \equiv M_{0} A\), with \(\ A\) being the needle’s cross-section area. This equation is completely similar to Eq. (3.32) for the displacement \(\ \mathbf{D}\), for the particular case of two equal and opposite point charges, i.e. with \(\ \rho=q \delta\left(\mathbf{r}-\mathbf{r}_{+}\right)-q \delta\left(\mathbf{r}-\mathbf{r}_{+}\right)\), with the only replacement \(\ q \rightarrow q_{\mathrm{m}}\). Since we know the resulting electric field all too well (see, e.g., Eq. (1.7) for \(\ \mathbf{E} \equiv \mathbf{D} / \varepsilon_{0}\)), we may immediately write the similar expression for the field \(\ \mathbf{H}\):

\[\ \mathbf{H}(\mathbf{r})=\frac{1}{4 \pi} q_{\mathrm{m}}\left(\frac{\mathbf{r}-\mathbf{r}_{+}}{\left|\mathbf{r}-\mathbf{r}_{+}\right|^{3}}-\frac{\mathbf{r}-\mathbf{r}_{-}}{\left|\mathbf{r}-\mathbf{r}_{-}\right|^{3}}\right).\tag{5.138}\]

The resulting magnetic field \(\ \mathbf{B}(\mathbf{r})=\mu_{0} \mathbf{H}(\mathbf{r})\) exerts on another “magnetic charge” \(\ q_{\mathrm{m}}^{\prime}\), located at

point \(\ \mathbf{r}^{\prime}\), force \(\ \mathbf{F}=q^{\prime} _{\mathrm{m}} \mathbf{B}\left(\mathbf{r}^{\prime}\right)\).^{62} Hence if two ends of different needles are separated by an intermediate distance \(\ R\) (\(\ A^{1 / 2}<<R<<l\), see Fig. 19b), we may neglect one term in Eq. (138), and get the following “magnetic Coulomb law” for the interaction of the nearest ends:

\[\ \mathbf{F}=\pm \frac{\mu_{0}}{4 \pi} q_{\mathrm{m}} q_{\mathrm{m}}^{\prime} \frac{\mathbf{R}}{R^{3}}.\tag{5.139}\]

The “only” (but conceptually, crucial!) difference of this interaction from that of the electric point charges is that the two “magnetic charges” (quasi-monopoles) of a magnetic needle cannot be fully separated. For example, if we break the needle in the middle in at attempt to bring its two ends further apart, two new “point charges” appear – see Fig. 19b.

There are several solid-state systems where more flexible structures, similar in their magnetostatics to the needles, may be implemented. First of all, certain (“type-II”) superconductors may carry so-called Abrikosov vortices – flexible tubes with field-suppressed superconductivity inside, each carrying one quantum \(\ \Phi_{0}=\pi \hbar / e \approx 2 \times 10^{-15} \mathrm{~Wb}\) of the magnetic flux. Ending on superconductor’s surfaces, these tubes let their magnetic field lines spread into the surrounding free space, essentially forming magnetic monopole analogs – of course, with equal and opposite “magnetic charges” \(\ q_{\mathrm{m}}\) on each end of the tube – just as Fig. 19a shows. Such flux tubes are not only flexible but also stretchable, resulting in several peculiar effects – see Sec. 6.4 for more detail. Another recently found example of such paired quasi-monopoles is spin chains in the so-called spin ices – crystals with paramagnetic ions arranged into a specific (pyrochlore) lattice – such as dysprosium titanate \(\ \mathrm{Dy}_{2} \mathrm{Ti}_{2} \mathrm{O}_{7}\).^{63} Let me emphasize again that any reference to magnetic monopoles in such systems should not be taken literally.

In order to complete this section (and this chapter), let me briefly discuss the magnetic field energy \(\ U\), for the simplest case of systems with linear magnetics. In this case, we still may use Eq. (55), but if we want to operate with the macroscopic fields, and hence the stand-alone currents, we should repeat the manipulations that have led us to Eq. (57), using \(\ \mathbf{j}\) not from Eq. (35), but from Eq. (107). As a result, instead of Eq. (57) we get

\[\ U=\int_{V} u(\mathbf{r}) d^{3} r, \quad \text { with } u=\frac{\mathbf{B} \cdot \mathbf{H}}{2}=\frac{B^{2}}{2 \mu}=\frac{\mu H^{2}}{2},\quad\quad\quad\quad\text{Field energy in a linear magnetic}\tag{5.140}\]

This result is evidently similar to Eq. (3.73) of electrostatics.

As a simple but important example of its application, let us again consider a long solenoid (Fig. 6a), but now filled with a linear magnetic material with permeability \(\ \mu\). Using the macroscopic Ampère law (116), just as we used Eq. (37) for the derivation of Eq. (40), we get

\[\ H=I n, \quad \text { and hence } B=\mu I n,\tag{5.141}\]

where \(\ n \equiv N / l\), just as in Eq. (40), is the winding density, i.e. the number of wire turns per unit length. (At \(\ \mu=\mu_{0}\), we immediately return to that old result.) Now we may plug Eq. (141) into Eq. (140) to calculate the magnetic energy stored in the solenoid:

\[\ U=u V=\frac{\mu H^{2}}{2} l A=\frac{\mu(n I)^{2} l A}{2},\tag{5.142}\]

and then use Eq. (72) to calculate its self-inductance:^{64}

\[\ L=\frac{U}{I^{2} / 2}=\mu n^{2} l A\tag{5.143}\]

We see that \(\ L \propto \mu V\), so that filling a solenoid with a high-\(\ \mu\) material may allow making it more compact while preserving the same value of inductance. In addition, as the discussion of Fig. 15 has shown, such filling reduces the fringe fields near the solenoid's ends, which may be detrimental for some applications, especially in physical experiments striving for high measurement precision.

However, we still need to explore the issue of magnetic energy beyond Eq. (140), not only to get a general expression for it in materials with an arbitrary dependence \(\ \mathbf{B}(\mathbf{H})\), but also to finally prove Eq. (54) and explore its relation with Eq. (53). I will do this at the beginning of the next chapter.

## Reference

^{57} The independence of \(\ \mathbf{H}\) on magnetic properties of the sample in this geometry explains why this field’s magnitude is commonly used as the argument in the plots like Fig. 14: such measurements are typically carried out by placing an elongated sample of the material under study into a long solenoid with a controllable current \(\ I\), so that according to Eq. (116), \(\ H_{0}=n I\), regardless of the sample.

^{58} The reader is highly encouraged to carry out a similar analysis of the fields inside narrow gaps cut in a linear magnetic, similar to that carried in Sec. 3.3 out for linear dielectrics – see Fig. 3.6 and its discussion.

^{59} This similarity may seem strange because earlier we have seen that the parameter \(\ \mu\) is physically more similar to \(\ 1 / \varepsilon\). The reason for this paradox is that in magnetostatics, the magnetic potential \(\ \phi_{\mathrm{m}}\) is traditionally used to describe the “would-be field” \(\ \mathbf{H}\), while in electrostatics, the potential \(\ \phi\) describes the actual electric field \(\ \mathbf{E}\). (This tradition persists from the days when \(\ \mathbf{H}\) was perceived as a genuine magnetic field.)

^{60} To derive Eq. (125), we may either calculate the gradient of the \(\ \phi_{\mathrm{m}}\) given by Eq. (124), or use the similarity of Eqs. (3.13) and (99), to derive from Eq. (3.17) a similar expression for the magnetic dipole’s potential

\(\ \phi_{\mathrm{m}}=\frac{1}{4 \pi} \frac{m \cos \theta}{r^{2}}.\)

Now comparing this formula with the second term of Eq. (124), we immediately get Eq. (125).

^{61 }Another approach to the undesirable magnetic fields' reduction is the "active shielding" – the external field’s compensation with the counter-field induced by controlled currents in specially designed wire coils.

^{62} The simplest way to verify this (perhaps, obvious) expression is to check that for a system of two “charges” \(\ \pm q_{m}^{\prime}\), separated by vector \(\ \mathbf{a}\), placed into a uniform external magnetic field \(\ \mathbf{B}_{\text {ext }}\), it yields the potential energy (100) with the correct magnetic dipole moment \(\ \mathbf{m}=q_{\mathrm{m}} \mathbf{a}\) – cf. Eq. (3.9) for an electric dipole.

^{63} See, e.g., L. Jaubert and P. Holdworth, J. Phys. – Cond. Matt. **23**, 164222 (2011), and references therein.

^{64} Admittedly, we could get the same result simpler, just by arguing that since the magnetic material fills the whole volume of a substantial magnetic field in this system, the filling simply increases the vector \(\ \mathbf{B}\) at all points, and hence its flux \(\ \Phi\), and hence \(\ L \equiv \Phi / I\) by the factor \(\ \mu / \mu_{0}\) in comparison with the free-space value (75).