Orthogonal curvilinear coordinates

Definition (orthogonal curvilinear coordinates) open_in_new

For coordinates $\v x(u,v,w)$, it is said to be orthogonal curvilinear if $\partial\v x/\partial u$, $\partial\v x/\partial v$, $\partial\v x/\partial w$ are mutually orthogonal.

We can introduce normalised tangent vectors $$ \pdvd xu = h_u \v e_u, \quad \pdvd xv = h_v \v e_v, \quad \pdvd xw = h_w \v e_w $$ where $h_u, h_v, h_w>0$, $\v e_u, \v e_v, \v e_w$ orthonormal and by reordering the coordinates $\v e_u\times\v e_v = \v e_w$.

Then we have length element $$ d\v x = h_u \v e_u\,du + h_v \v e_v\,dv + h_w\v e_w\,dw. $$

Lemma (nabla in orthogonal curvilinear coordinates) open_in_new

In orthogonal curvilinear coordinates $\v x(u,v,w)$, $$ \nabla = \frac1{h_u}\v e_u \pdd u + \frac1{h_v}\v e_v\pdd v + \frac1{h_w}\v e_w \pdd w $$ and for scalar field $f: \R^3\to\R$ and vector field $\v F:\R^3\to\R^3$, $$\begin{align*} \nabla f &= \frac1{h_u} \pdfd fu \v e_u + \frac1{h_v}\pdfd fv\v e_v + \frac1{h_w}\pdfd fw \v e_w, \\ \nabla\cdot\v F &= \frac{1}{h_u h_v h_w} \bigg(\pdd u(h_v h_w F_u) + \pdd v(h_u h_w F_v) + \pdd w (h_uh_v F_w)\bigg), \\ \nabla\times\v F &= \frac1{h_uh_v h_w}\begin{vmatrix}h_u\v e_u & h_v\v e_v & h_w\v e_w \\ \pdd u & \pdd v & \pdd w \\ h_uF_u & h_v F_v & h_w F_w \end{vmatrix}. \end{align*}$$

Proof

Example (cylindrical polar coordinates) open_in_new

Cylindrical polar coordinates are given by $$\begin{align*} x &= \rho \cos \phi & & & \rho&\in[0,\infty) \\ y &= \rho \sin \phi & &\text{with} & \phi&\in[0, 2\pi) \\ z &= z &&& z&\in(-\infty, \infty). \end{align*}$$ The inverse map is $$ \begin{align*} \rho &= \sqrt{x^2+y^2}, \\ \tan\phi &= \frac yx. \end{align*} $$

The orthonormal vectors are $$ \begin{align*} \v e_\rho \equiv \vhat\rho &= (\cos\phi,\sin\phi,0), & h_\rho &= 1, \\ \v e_\phi \equiv \vhat\phi &= (-\sin\phi, \cos\phi,0), & h_\phi &= \rho, \\ \v e_z \equiv\vhat z &= (0,0,1), &h_z &= 1. \end{align*} $$

So the Jacobian is $$ \pdfd{(x,y,z)}{(\rho,\phi,z)} = h_\rho h_\phi h_z = \rho. $$ The derivative stuff are $$\begin{align*} \nabla &= \vhat\rho \pdd \rho + \frac1\rho\vhat\phi\pdd\phi + \vhat z\pdd z, \\ \nabla f &= \vhat\rho \pdfd f \rho + \frac1\rho\vhat\phi\pdfd f\phi + \vhat z\pdfd fz, \\ \nabla\cdot\v F &= \frac1\rho\pdfd{(\rho F_\rho)}\rho + \frac1\rho\pdfd{F_\phi}\phi + \pdfd{F_z}z, \\ \nabla^2 f &= \frac1\rho\pdd\rho\bigg(\rho\pdfd f\rho\bigg) + \frac1{\rho^2}\pdfd[2]f\phi + \pdfd[2]fz. \end{align*}$$

Example (spherical polar coordinates) open_in_new

Spherical polar coordinates are defined as $$\begin{align*} x &= r\sin\theta\cos\phi & & & r &\in [0,\infty) \\ y &= r\sin\theta\sin\phi & &\text{with} & \theta &\in [0,\pi] \\ z &= r\cos\theta & & & \phi &\in [0,2\pi). \end{align*}$$ The inverse map is $$\begin{align*} r &= \sqrt{x^2+y^2+z^2}, \\ \tan\theta &= \frac{\sqrt{x^2+y^2}}z, \\ \tan\phi &= \frac yx. \end{align*}$$

The tangent vectors are $$\begin{align*} \v e_r \equiv \vhat r &= (\sin\theta\cos\phi,\sin\theta\sin\phi,\cos\theta), & h_r &= 1, \\ \v e_\theta \equiv \vhat\theta &= (\cos\theta\cos\phi, \cos\theta\sin\phi, -\sin\theta), &h_\theta &= r, \\ \v e_\phi \equiv \vhat \phi &= (-\sin\phi, \cos\phi, 0), & h_\phi &= r\sin\theta. \end{align*}$$

Jacobian $$ \frac{\partial(x,y,z)}{\partial(r,\theta,\phi)} = r^2 \sin\theta. $$

The derivative stuff are $$\begin{align*} \nabla &= \vhat r \pdd r +\frac1r\vhat\theta \pdd\theta + \frac1{r\sin\theta}\vhat \phi\pdd \phi, \\ \nabla f &= \vhat r \pdfd fr +\frac1r\vhat\theta \pdfd f\theta + \frac1{r\sin\theta}\vhat \phi\pdfd f\phi, \\ \nabla\cdot\v F &= \frac1{r^2} \pdfd{(r^2 F_r)}r + \frac1{r\sin\theta} \pdfd{(\sin\theta F_\theta)}\theta + \frac1{r\sin\theta}\pdfd{F_\phi}{\phi} \\ \nabla^2 f &= \frac1{r^2} \pdd r\bigg(r^2\pdfd fr\bigg) + \frac1{r^2\sin\theta}\pdd\theta\bigg(\sin\theta\pdfd f\theta\bigg) + \frac1{r^2\sin^2\theta} \pdfd[2]f\phi. \end{align*}$$