# 7.11: Boundary Conditions on the Magnetic Field Intensity (H)

- Page ID
- 24291

In homogeneous media, electromagnetic quantities vary smoothly and continuously. At a boundary 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 boundaries. In this section, we derive boundary conditions on the magnetic field intensity \({\bf H}\).

To begin, consider a region consisting of only two media that meet at a smooth boundary as shown in Figure \(\PageIndex{1}\). The desired boundary condition can be obtained directly from Ampere’s Circuital Law (ACL):

\[\oint_{\mathcal C}{ {\bf H} \cdot d{\bf l} } = I_{encl} \label{m0023_eACL} \]

where \({\mathcal C}\) is any closed path and \(I_{encl}\) is the current that flows through the surface bounded by that path in the direction specified by the “right-hand rule” of Stokes’ theorem.

Figure \(\PageIndex{1}\): Determining the boundary condition on H at the smooth boundary between two material regions.Let \({\mathcal C}\) take the form of a rectangle centered on a point on the boundary as shown in Figure \(\PageIndex{1}\), perpendicular to the direction of current flow at that location. Let the sides \(A\), \(B\), \(C\), and \(D\) be perpendicular and parallel to the boundary. Let the length of the parallel sides be \(l\), and let the length of the perpendicular sides be \(w\). Now we apply ACL. We must integrate in a counter-clockwise direction in order to be consistent with the indicated reference direction for \({\bf J}_s\). Thus:

\[\begin{aligned} \oint{ {\bf H} \cdot d{\bf l} } &=\int_A{ {\bf H} \cdot d{\bf l} } & \nonumber \\ &+\int_B{ {\bf H} \cdot d{\bf l} } & \nonumber \\ &+\int_C{ {\bf H} \cdot d{\bf l} } & \nonumber \\ &+\int_D{ {\bf H} \cdot d{\bf l} } &= I_{encl} \end{aligned} \nonumber \]

Now we let \(w\) and \(l\) become vanishingly small while (1) maintaining the ratio \(l/w\) and (2) keeping \(\mathcal{C}\) centered on the boundary. In this process, the contributions from the \(B\) and \(D\) segments become equal in magnitude but opposite in sign; i.e.,

\[\int_B{ {\bf H} \cdot d{\bf l} } +\int_D{ {\bf H} \cdot d{\bf l} } \to 0 \nonumber \]

This leaves \[\int_A{ {\bf H} \cdot d{\bf l} } +\int_C{ {\bf H} \cdot d{\bf l} } \to I_{encl} \nonumber \]

Let us define the unit vector \(\hat{\bf t}\) (“tangent”) as shown in Figure \(\PageIndex{1}\). Now we have simply:

\[{\bf H}_1 \cdot \left(-\hat{\bf t}\Delta l\right) + {\bf H}_2 \cdot \left(+\hat{\bf t}\Delta l\right) = I_{encl} \label{m0023_eACL2} \]

where \({\bf H}_1\) and \({\bf H}_2\) are the fields evaluated on the two sides of the boundary, and \(\Delta l \to 0\) is the length of sides \(A\) and \(C\). As always, \(I_{encl}\) (units of A) may be interpreted as the flux of the current density \({\bf J}_s\) (units of A/m) flowing past a line on the surface having length \(\Delta l\) (units of m) perpendicular to \(\hat{\bf t}\times\hat{\bf n}\), where \(\hat{\bf n}\) is the normal to the surface, pointing into Region 1. Stated mathematically:

\[I_{encl} \rightarrow {\bf J}_s \cdot \left( \Delta l ~ \hat{\bf t}\times\hat{\bf n} \right) \nonumber \]

Before proceeding, note this is true regardless of the particular direction we selected for \(\hat{\bf t}\); it is only necessary that \(\hat{\bf t}\) be tangent to the boundary. Thus, \(\hat{\bf t}\times\hat{\bf n}\) need not necessarily be in the same direction as \({\bf J}_s\). Now Equation \ref{m0023_eACL2} can be written:

\[{\bf H}_2 \cdot \hat{\bf t} \Delta l - {\bf H}_1 \cdot \hat{\bf t} \Delta l = {\bf J}_s \cdot \left(\hat{\bf t}\times\hat{\bf n}\right)\Delta l \nonumber \]

Eliminating the common factor of \(\Delta l\) and arranging terms on the left:

\[\left( {\bf H}_2 -{\bf H}_1 \right) \cdot \hat{\bf t} = {\bf J}_s \cdot \left(\hat{\bf t}\times\hat{\bf n}\right) \label{m0023_eACL3} \]

The right side may be transformed using a vector identity (\(\mathbf{A} \cdot(\mathbf{B} \times \mathbf{C})=\mathbf{B} \cdot(\mathbf{C} \times \mathbf{A})=\mathbf{C} \cdot(\mathbf{A} \times \mathbf{B})\) of Section B3) to obtain:

\[\left( {\bf H}_2 -{\bf H}_1 \right) \cdot \hat{\bf t} = \hat{\bf t} \cdot \left( \hat{\bf n} \times {\bf J}_s \right) \label{m0023_eBC1} \]

Equation \ref{m0023_eBC1} is the boundary condition we seek. We have found that the component of \({\bf H}_2 -{\bf H}_1\) (the difference between the magnetic field intensities at the boundary) in any direction tangent to the boundary is equal to the component of the current density flowing in the perpendicular direction \(\hat{\bf n} \times {\bf J}_s\). Said differently:

A discontinuity in the tangential component of the magnetic field intensity at the boundary must be supported by surface current flowing in a direction perpendicular to this component of the field.

An important consequence is that:

If there is no surface current, then the tangential component of the magnetic field intensity is continuous across the boundary.

It is possible to obtain a mathematical form of the boundary condition that is more concise and often more useful than Equation \ref{m0023_eBC1}. This form may be obtained as follows. First, we note that the dot product with respect to \(\hat{\bf t}\) on both sides of Equation \ref{m0023_eBC1} means simply “any component that is tangent to the boundary.” We need merely to make sure we are comparing the same tangential component on each side of the equation. For example \(\hat{\bf n} \times \left( {\bf H}_2 -{\bf H}_1 \right)\) is tangential to the boundary, since \(\hat{\bf n}\) is perpendicular to the boundary and therefore any cross product involving \(\hat{\bf n}\) will be perpendicular to \(\hat{\bf n}\). The corresponding component of the current density is \(\hat{\bf n} \times \left( \hat{\bf n} \times {\bf J}_s \right)\), so Equation \ref{m0023_eBC1} may be equivalently written as follows:

\[\hat{\bf n} \times \left( {\bf H}_2 -{\bf H}_1 \right) = \hat{\bf n} \times \hat{\bf n} \times {\bf J}_s \label{m0023_eBC2} \]

Applying a vector identity (\(\mathbf{A} \times(\mathbf{B} \times \mathbf{C})=\mathbf{B}(\mathbf{A} \cdot \mathbf{C})-\mathbf{C}(\mathbf{A} \cdot \mathbf{B})\) of Section B3) to the right side of Equation \ref{m0023_eBC2} we obtain:

\[\begin{aligned} \hat{\bf n} \times \hat{\bf n} \times {\bf J}_s &= \hat{\bf n} \left(\hat{\bf n}\cdot{\bf J}_s\right) - {\bf J}_s\left(\hat{\bf n}\cdot\hat{\bf n}\right) \nonumber \\ &= \hat{\bf n} \left(0\right) - {\bf J}_s\left(1\right) \nonumber \\ &= -{\bf J}_s\end{aligned} \nonumber \]

Therefore:

\[\hat{\bf n} \times \left( {\bf H}_2 -{\bf H}_1 \right) = -{\bf J}_s \nonumber \]

The minus sign on the right can be eliminated by swapping \({\bf H}_2\) and \({\bf H}_1\) on the left, yielding

\[\boxed{ \hat{\bf n} \times \left( {\bf H}_1 -{\bf H}_2 \right) = {\bf J}_s } \nonumber \]

This is the form in which the boundary condition is most commonly expressed.

It is worth noting what this means for the magnetic field intensity \({\bf B}\). Since \({\bf B}=\mu{\bf H}\):

In the absence of surface current, the tangential component of \({\bf B}\) across the boundary between two material regions is discontinuous if the permeabilities are unequal.