# Div, Grad and Curl in Orthogonal Curvilinear Coordinates

*The treatment here is standard, following that in Abraham and Becker, Classical Theory of Electricity and Magnetism.*

Problems with a particular symmetry, such as cylindrical or spherical, are best attacked using coordinate systems that take full advantage of that symmetry. For example, the Schrödinger equation for the hydrogen atom is best solved using spherical polar coordinates. For this and other differential equation problems, then, we need to find the expressions for differential operators in terms of the appropriate coordinates.

We only look at orthogonal coordinate systems, so that locally the three axes (such as *r*, *q*, *j* ) are a mutually perpendicular set.

We denote the curvilinear coordinates by (*u*_{1}, *u*_{2}, *u*_{3}). The standard Cartesian coordinates for the same space are as usual (*x*, *y*, *z*).

Suppose now we take an infinitesimally small cube with edges parallel to the local curvilinear coordinate directions, and therefore with faces satisfying *u _{i}* = constant,

*i*= 1, 2, 3 for the three pairs of faces.

The lengths of the edges are then *h*_{1}*du*_{1}, *h*_{2}*du*_{2} and *h*_{3}*du*_{3}, where *h*_{1}, *h*_{2}, *h*_{3} are in general functions of *u*_{1}, *u*_{2}, *u*_{3}. That is to say, the distance across the cube from one corner to the opposite corner

\[ds^2=h_1^2du_1^2+h_2^2du_2^2+h_3^3du_3^3=dx^2+dy^2+dz^2\]

_{}

It is clear that the gradient of a function *y*in the *u*_{1} direction is

\[ (\bigtriangledown\psi)_1=\lim_{du_1\rightarrow 0}\frac{\psi(A)-\psi(0)}{h_1du_1}=\frac{1}{h_1}\frac{\partial \psi}{\partial u_1}\]

_{}.

The divergence of a vector field ** V** in curvilinear coordinates is found using Gauss’ theorem, that the total vector flux through the six sides of the cube equals the divergence multiplied by the volume of the cube, in the limit of a small cube.

The area of the face bracketed by *h*_{2}*du*_{2} and *h*_{3}*du*_{3} is *h*_{2}*du*_{2}*h*_{3}*du*_{3}. For that face, the component of the vector field contributing to the flow from the cube is -*V*_{1}, so the flow across the face is -*V*_{1}*h*_{2}*h*_{3}*du*_{2}*du*_{3}. To find the flow across the opposite (parallel) face of the cube, corresponding to an increase in *u*_{1} of *du*_{1}, we must bear in mind that *h*_{2,} *h*_{3 }and *V*_{1 }all vary with *u*_{1}, so the flow will be:

_{}

The first term here of course cancels the contribution from the other face. The remaining term, plus the terms with 123 replaced with 231 and 312 from the two other pairs of opposite faces, must, applying Gauss’ theorem, add to give _{}.

This gives:

_{}.

Putting this together with the expression for the gradient gives immediately the expression for the Laplacian operator in curvilinear coordinates:

_{}

The curl of a vector field **A** is found by integrating around one of the square faces. Thus, the 1-component of curl**A** is given by integrating **A**.**ds** around the (23) square with two of its sides *h*_{2}*du*_{2} and *h*_{3}*du*_{3}. The integral must equal (curl**A**)_{1} multiplied by the area *h*_{2}*du*_{2}*h*_{3}*du*_{3}. This gives

_{}

*Cylindrical Coordinates*:

_{}

Here (*u*_{1}, *u*_{2}, *u*_{3}) = (*r*, *j*, *z*), and (*h*_{1}, *h*_{2}, *h*_{3}) = (1, *r*, 1).

Therefore, for example,

_{}

*Spherical Polar Coordinates*:

_{}

So (*u*_{1}, *u*_{2}, *u*_{3}) = (*r*, *q*, *j*) and (*h*_{1}, *h*_{2}, *h*_{3}) = (1, *r*, *r*sin*q *).

Here

_{}

### Contributors

- Michael Fowler (Beams Professor, Department of Physics, University of Virginia)