Source

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

The divergence measures how much a vector field spreads out (or "explodes") from a point. It turns a vector field into a scalar field.

Formula

For :

Physical Meaning

Think of as the velocity of a fluid. Then is the net rate of fluid flowing out per unit volume at a point.

ValueMeaning
more flows out than in, a source
more flows in than out, a sink
inflow equals outflow
everywhereincompressible (solenoidal, divergence free)

The same idea applies to electric and magnetic fields.

Worked Examples

:

Simple 2D fields:

  • (pointing outwards): , a source everywhere
  • (pointing inwards): , a sink
  • (rotation): , it swirls but does not spread
  • constant :

A rotating field has zero divergence but is clearly not "nothing". Rotation is measured by the curl.