Example 38.6. Flux of Constant Magnetic Field - Simple Surfaces.
A constant magnetic field \(B_0\hat u_z \) is present in a region as shown in Figure 38.7. Calculate magnetic flux through two flat surfaces of area \(A\) (a) in the \(xy\)-plane (surface \(S_1\)) and (b) in the \(xz\)-plane (surface \(S_2\)).

Answer.
(a) \(\pm B_0 A\text{,}\) (b) \(0\text{.}\)
Solution 1. a
The given magnetic field is pointed towards positive \(z\) axis. The normal to an area in the \(xy\)-plane is along the \(z\) axis. The unit vector normal to the \(xy\)-plane will be either \(+\hat u_z \) or \(-\hat u_z \text{,}\) which we can write as \(\pm\hat u_z \text{.}\) The magnetic flux is
\begin{align*}
\Phi_B \amp = \left( B_0\hat u_z \right) \cdot \left(\pm \hat u_z A\right)\\
\amp =\pm B_0 A.
\end{align*}
Solution 2. b
The normal to the area in the \(xz\)-plane is \(\pm\hat u_y\text{.}\) The dot product between the magnetic field and the normal now equals zero. Therefore, the flux of the magnetic field pointed towards the positive \(z\) axis through an area in the \(xz\)-plane will be zero. A similar argument will show that the flux of the given magnetic field through an area in the \(yz\)-plane will also be zero.