If S is a sphere of radius R centered at the origin, what is the flux
of out of this sphere?
At first glance, we might think to use the divergence theorem, since the
surface is closed. We can easily calculate that so we might think that
To correctly compute the flux, note that the outward normal to the surface
is . Thus, the vector field and surface are parallel
everywhere. This tells us that
Note that if the sphere were centered at the point (2,0,0) with a radius of 1, then the singularity of the vector field at the origin would lie outside the surface. The divergence theorem would then give us the flux as zero in one quick, easy step.