The divergence of F:
Using spherical coordinates (volume element: ), the integral of over the unit sphere:
=
The surface integral of is the flux of F through the surface , with N being a unit normal on and being the surface-area element .
Describe in Cartesian coordinates by , so that by normalizing . Since on , the integral of on is just the integral of over the surface of the unit sphere. This is the surface area of the sphere, and that is known to be .
The purist who wants to evaluate the surface integral in more detail would have to obtain
=
and then write the integral over the upper hemisphere in polar coordinates as
=
On the lower hemisphere where is negative, gives the same integral as evaluated on the upper hemisphere because of the absolute value on . Hence, the contribution to the flux through the lower hemisphere is the same , so that the total flux through the sphere is .