Section 12.1 The Definition of Divergence
Consider a small closed box, with sides parallel to the coordinate planes, as shown in Figure 12.1. What is the flux of an arbitrary vector field \(\FF\) out of the box?
Consider first the vertical contribution, namely the flux up through the top plus the flux down through the bottom. These two sides each have area element \(dA=dx\,dy\text{,}\) but the outward normal vectors point in opposite directions, that is
so we get
where we have multiplied and divided by \(dz\) to obtain the volume element \(\dV=dx\,dy\,dz\) in the third step, and used the limit definition of the derivative in the final step.
Repeating this argument using the remaining pairs of faces, it follows that the total flux out of the box is
Since the total flux is proportional to the volume of the box, it approaches zero as the box shrinks down to a point. The interesting quantity is therefore the ratio of the flux to volume; this ratio is called the divergence.
At any point \(P\text{,}\) we therefore define the divergence of a vector field \(\FF\text{,}\) written \(\grad\cdot\FF\text{,}\) to be the flux of \(\FF\) per unit volume leaving a small box around \(P\text{.}\) In other words, the divergence is the limit as the box collapses around \(P\) of the ratio of the flux of the vector field out of the box to the volume of the box. Thus, the divergence of \(\FF\) at \(P\) is the flux per unit volume through a small box around \(P\text{,}\) which is given in rectangular coordinates by
You may have seen this formula before, but remember that it is merely the rectangular coordinate expression for the divergence of \(\FF\text{;}\) the divergence is defined geometrically as flux per unit volume. Similar computations can be used to determine expressions for the divergence in other coordinate systems, see Section B.1 for a sketch of the derivation and Appendix B.1 for the formulas. Because of the geometric nature of divergence, these expressions turn out to give the same value at each point in space.