Section 12.7 The Divergence Theorem
The total flux of a vector field \(\FF\) out through a small rectangular box is
\begin{gather*}
{\textrm{flux}}
= \sum_{\textrm{box}} \FF \cdot d\AA
= \grad\cdot\FF \> \dV
\end{gather*}
But any closed region can be filled with such boxes, as shown in the first diagram in Figure 12.10. Furthermore, the flux out of such a region is just the sum of the fluxes out of each of the smaller boxes, since the net flux through any common face will be zero (because adjacent boxes have opposite notions of “out of”), as indicated schematically in the second diagram in Figure 12.10. Thus, the total flux out of any closed box is given by
\begin{gather*}
\Int_{\textrm{box}} \FF \cdot d\AA
= \Int_{\textrm{inside}} \grad\cdot\FF \> \> \dV .
\end{gather*}
This relation is known as the Divergence Theorem.