Source

Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree

The divergence theorem (Gauss's theorem) relates the flux out of a closed surface to a volume integral of the divergence inside it.

Statement

For a closed surface with outward unit normal , enclosing the region :

Meaning: the total "source strength" inside the region equals the net flow out through its boundary.

When to Use It

It helps when:

  • the surface is closed and the flux integral is messy, but is simple
  • the surface is open: close it with a simple extra surface (e.g. a flat disc), use the theorem on , then subtract the flux through

Method

Steps:

  1. Compute
  2. Integrate it over the enclosed volume (often in cylindrical or spherical coordinates)
  3. For an open surface:

Worked Example: Verify on a Cylinder

on the solid cylinder of radius , .

Volume side: , so .

Surface side, three pieces:

  • bottom (, ):
  • top (, ):
  • side ():

Total flux , which matches.

Worked Example: Open Surface Trick

through the dome : , .

Direct evaluation is not practical. But , so with the flat disc , closing the bottom:

On the outward normal is (parametrise , , giving ), so

The volume integral side uses the methods in Volume Integrals.