Take the unit normal to point outwards. The divergence of the field is
The divergence theorem turns the closed surface integral into a volume integral over :
For a direct check of the surface integral, on the outward component is , contributing . On it vanishes. On both and , . On , , whereas on the field component is and the outward normal is , giving a contribution . The six face contributions are therefore , again totaling 2. The positive bottom-face contribution is a consequence of its outward orientation.

Articles by others on the same topic (0)

There are currently no matching articles.