If you know the mass density of a solid object that fills the region W, how do you calculate the total mass of the object? By integrating the mass density over the volume of the solid region, you get the total mass. Thus,
The same idea works for flux. To get the total flux of a vector field
through a closed surface S, simply integrate the flux density
of
over the interior volume, W, of S:
Recall that the flux density of a vector field is given by the divergence of the vector field. Since we can also calculate the total flux from the formula
Divergence Theorem
If W is a solid region whose closed boundary S is a piecewise
smooth surface, and if is a smooth vector field defined
everywhere in W and on S then
Note that there are six conditions that must hold for this theorem to be applicable: