Section 12.4 The Divergence in Curvilinear Coordinates
The divergence is defined in terms of flux per unit volume. In Section 12.1, we used this geometric definition to derive an expression for \(\grad\cdot\FF\) in rectangular coordinates, namely
Similar computations to those in rectangular coordinates can be done using boxes adapted to other coordinate systems. Not surprisingly, this introduces some additional scale factors such as \(r\) and \(\sin\theta\text{.}\) For instance, consider a radial vector field of the form
where \(\rhat\) is the unit vector in the radial direction. The electric field of a point charge would have this form. What is the flux of \(\EE\) through a small box around an arbitrary point \(P\text{,}\) whose sides are surfaces with one of the spherical coordinates held constant, as shown in Figure 12.4? Only the two sides which are parts of spheres contribute, and each such contribution takes the form
An argument similar to the one used in rectangular coordinates leads to
where it is important to note that the factor of \(r^2\) must also be differentiated. It now finally follows that
This expression only gives the divergence of the very special vector field \(\EE\) given above. The full expression for the divergence in spherical coordinates is obtained by performing a similar analysis of the flux of an arbitrary vector field \(\FF\) through our small box; the result can be found in Appendix B.1. This formula, as well as similar formulas for other vector derivatives in rectangular, cylindrical, and spherical coordinates, are sufficiently important to the study of electromagnetism that they can, for instance, be found on the inside front cover of Griffiths' textbook, Introduction to Electrodynamics.