Integral theorems · Definition

Divergence

multivariable calculusvector calculus

Before you start you need to know

It turns a vector field into a scalar function telling where flow is created or destroyed; it is the quantity integrated in the divergence theorem.

Definition

The divergence of a vector field \(\mathbf F=\langle P,Q,R\rangle\) is the scalar field that measures, at each point, how much the flow of the field expands or compresses.

\[\operatorname{div}\mathbf F=\nabla\cdot\mathbf F=\frac{\partial P}{\partial x}+\frac{\partial Q}{\partial y}+\frac{\partial R}{\partial z}\]

It is computed with the operator \(\nabla=\langle\partial_x,\partial_y,\partial_z\rangle\) as a formal dot product with \(\mathbf F\): each component is differentiated with respect to its own variable and the three results are added. So the divergence of a field in \(\mathbb R^3\) is a number at each point, not a vector, and in the plane one simply adds \(P_x+Q_y\).

The physical reading is that of a fluid with velocity \(\mathbf F\). If \(\operatorname{div}\mathbf F(P)>0\), more fluid leaves a small neighborhood of \(P\) than enters it and \(P\) acts as a source; if negative, as a sink; if zero, what enters is what leaves and the field is called incompressible (or solenoidal) at \(P\). Guiding example: \(\mathbf F=\langle x,y,z\rangle\) spreads away from the origin in every direction and has divergence \(3\) everywhere.

Divergence does not detect swirling: the field \(\langle -y,x,0\rangle\) circulates around the \(z\)-axis yet its divergence is \(0\). Nor should it be confused with the gradient, which goes from scalars to vectors; here the opposite happens. It is linear, and for a scalar \(f\) times a field, \(\operatorname{div}(f\mathbf F)=\nabla f\cdot\mathbf F+f\operatorname{div}\mathbf F\).

Together with the curl, it completes the two basic derivatives of a field. Later, the divergence theorem equates the triple integral of \(\operatorname{div}\mathbf F\) with the flux through the boundary, and Green's theorem in flux form is its planar version.

Think about it

Can a field have zero divergence and still swirl?

Yes. \(\langle -y,x,0\rangle\) rotates around the \(z\)-axis and its divergence is \(0\): divergence measures expansion, not rotation.

If \(\operatorname{div}\mathbf F=0\) on all of \(\mathbb R^3\), how much net flux crosses any sphere?

Zero: by the divergence theorem the flux equals the triple integral of \(0\) over the interior.

Exercises 10

What comes next

References

  • James Stewart, Daniel K. Clegg, Saleem Watson, Calculus: Early Transcendentals, 9th edition, Cengage, 2021. §16.5
  • Joel Hass, Christopher Heil, Przemyslaw Bogacki, Maurice D. Weir, George B. Thomas Jr., Thomas' Calculus, 15th edition, Pearson, 2023. §16.8
  • Jerrold E. Marsden, Anthony Tromba, Vector Calculus, 6th edition, W. H. Freeman, 2012. §4.4