Divergence: How Much Does a Field Spread Out?
Divergence measures how much a vector field spreads out or converges at each point. It's a single number (a scalar) that tells you whether the field is flowing away from a point (positive divergence), flowing toward it (negative divergence), or staying neutral (zero divergence).
The formula in Cartesian