# 7.10: Boundary Conditions on the Magnetic Flux Density (B)

In homogeneous media, electromagnetic quantities vary smoothly and continuously. At an interface between dissimilar media, however, it is possible for electromagnetic quantities to be discontinuous. Continuities and discontinuities in fields can be described mathematically by boundary conditions and used to constrain solutions for fields away from these interfaces.

In this section, we derive the boundary condition on the magnetic flux density $${\bf B}$$ at a smooth interface between two material regions, as shown in Figure $$\PageIndex{1}$$.1 The desired boundary condition may be obtained from Gauss’ Law for Magnetic Fields (GLM; Section 7.2):

$\oint_{\mathcal S} {\bf B}\cdot d{\bf s} = 0$

where $${\mathcal S}$$ is any closed surface. Let $${\mathcal S}$$ take the form of cylinder centered at a point on the interface, and for which the flat ends are parallel to the surface and perpendicular to $$\hat{\bf n}$$, as shown in Figure $$\PageIndex{1}$$. Let the radius of this cylinder be $$a$$, and let the length of the cylinder be $$2h$$.

Figure $$\PageIndex{1}$$: Determination of the boundary condition on B at the interface between material regions© CC BY SA 4.0

From GLM, we have

\begin{aligned} \oint_{\mathcal S}{ {\bf B} \cdot d{\bf s} } &= \int_{top} { {\bf B} \cdot d{\bf s} } & \nonumber \\ &+ \int_{side} { {\bf B} \cdot d{\bf s} } & \nonumber \\ &+ \int_{bottom} { {\bf B} \cdot d{\bf s} } &= 0\end{aligned}

Now let us reduce $$h$$ and $$a$$ together while (1) maintaining a constant ratio $$h/a\ll 1$$ and (2) keeping $$\mathcal{S}$$ centered on the interface. Because $$h\ll a$$, the area of the side can be made negligible relative to the area of the top and bottom. Then, as $$h\to 0$$, we are left with

$\int_{top} { {\bf B} \cdot d{\bf s} } + \int_{bottom} { {\bf B} \cdot d{\bf s} } \to 0$

As the area of the top and bottom sides become infinitesimal, the variation in $${\bf B}$$ over these areas becomes negligible. Now we have simply:

${\bf B}_1 \cdot \hat{\bf n}\Delta A + {\bf B}_2 \cdot \left( -\hat{\bf n} \right) \Delta A \to 0$

where $${\bf B}_1$$ and $${\bf B}_2$$ are the magnetic flux densities at the interface but in regions 1 and 2, respectively, and $$\Delta A$$ is the area of the top and bottom sides. Note that the orientation of $$\hat{\bf n}$$ is important – we have assumed $$\hat{\bf n}$$ points into region 1, and we must now stick with this choice. Thus, we obtain

$\boxed{ \hat{\bf n} \cdot \left( {\bf B}_1 - {\bf B}_2 \right) = 0 } \label{m0022_eBCB}$

where, as noted above, $$\hat{\bf n}$$ points into region 1.

## Summarizing

The normal (perpendicular) component of $${\bf B}$$ across the boundary between two material regions is continuous.

It is worth noting what this means for the magnetic field intensity $${\bf H}$$. Since $${\bf B}=\mu{\bf H}$$, it must be that

The normal (perpendicular) component of $${\bf H}$$ across the boundary between two material regions is discontinuous if the permeabilities are unequal.

## Contributors

1. It may be helpful to note the similarity (duality, in fact) between this derivation and the derivation of the associated boundary condition on $${\bf D}$$ presented in Section [m0021_Boundary_Conditions_on_D].