Example 36.38. Circulations Around Two Different Loops in Two-Region Uniform Magnetic Field.
Figure 36.39 shows two uniform magnetic field regions and a coordinate system with same magnitude, \(B_0\text{,}\) in the two regions, but oppositely directed. This would be magnetic field of a surface current in the \(xy\) plane flowing towards negative \(x\) axis. Above the \(xy\) plane field is directed towards positive \(y\) axis and below the plane, it is directed towards negative \(y\) axis.
Calculate the circulation of the magnetic field for the space loops (a) \(a-b-c-d-a\) and (b) \(e-f-g-h-e\) in the \(yz\)-plane shown in the figure.

Answer.
(a) \(0\text{,}\) (b) \(2B_0l_\text{fg}\)
Solution 1. (a)
Here the loop \(\text{a-b-c-d-a}\) consists of four linear segments. We will compute \(\vec B\cdot \Delta \vec l\) on each and then sum them all. The calculation is relatively simple since \(\vec B\) is constant, and either parallel or perpendicular to the direction of each segment. The results are
\begin{align*}
\amp \text{ab-segment: } \vec B\cdot \Delta \vec l = 0, \text{ (vectors pependicular), }\\
\amp \text{bc-segment: } \vec B\cdot \Delta \vec l = B_0 l_\text{bc}, \text{ (vectors same direction), } \\
\amp \text{cd-segment: } \vec B\cdot \Delta \vec l = 0, \text{ (vectors pependicular), }\\
\amp \text{da-segment: } \vec B\cdot \Delta \vec l = -B_0 l_\text{da}, \text{ (vectors opposite directions). }
\end{align*}
Adding up the contributions the circulation around the loop is equal to zero.
\begin{equation*}
\text{Circulation around a-b-c-d-a} = 0 + B_0 l_\text{bc}+0-B_0 l_\text{da} =0,
\end{equation*}
since \(l_\text{bc} = l_\text{da}\text{.}\)
Solution 2. (b)
Here the loop \(\text{e-f-g-h-e}\) consists of four linear segments. We will compute \(\vec B\cdot \Delta \vec l\) on each and then sum them all. The calculation is relatively simple since \(\vec B\) is constant, and either parallel or perpendicular to the direction of each segment. The results are
\begin{align*}
\amp \text{ef-segment: } \vec B\cdot \Delta \vec l = 0, \text{ (vectors pependicular), }\\
\amp \text{fg-segment: } \vec B\cdot \Delta \vec l = B_0 l_\text{fg}, \text{ (vectors same direction), } \\
\amp \text{gh-segment: } \vec B\cdot \Delta \vec l = 0, \text{ (vectors pependicular), }\\
\amp \text{he-segment: } \vec B\cdot \Delta \vec l = B_0 l_\text{he}, \text{ (vectors same directions). }
\end{align*}
Adding up the contributions the circulation around the loop is
\begin{equation*}
\text{Circulation around e-f-g-h-e} = 0 + B_0 l_\text{fg}+0+B_0 l_\text{he} = 2 B_0 l_\text{fg},
\end{equation*}
since \(l_\text{fg} = l_\text{he}\text{.}\)