Categories: Mathematics, Physics.

Orthogonal curvilinear coordinates

In a 3D coordinate system, the isosurface of a coordinate (i.e. the surface where that coordinate is constant while the others vary) is known as a coordinate surface, and the intersection line of two coordinates surfaces is called a coordinate line.

A curvilinear coordinate system is one where at least one of the coordinate surfaces is curved: e.g. in cylindrical coordinates, the coordinate line of rr and zz is a circle. Here we limit ourselves to orthogonal systems, where the coordinate surfaces are always perpendicular. Examples of such orthogonal curvilinear systems are spherical coordinates, polar cylindrical coordinates, parabolic cylindrical coordinates, and (trivially) Cartesian coordinates.

Scale factors and basis vectors

Given such a system with coordinates (c1,c2,c3)(c_1, c_2, c_3). Their definition lets us convert all positions to classic Cartesian coordinates (x,y,z)(x, y, z) using functions xx, yy and zz:

x=x(c1,c2,c3)y=y(c1,c2,c3)z=z(c1,c2,c3)\begin{aligned} x &= x(c_1, c_2, c_3) \\ y &= y(c_1, c_2, c_3) \\ z &= z(c_1, c_2, c_3) \end{aligned}

A useful attribute of a coordinate system is its line element d\dd{\vb{\ell}}, which represents the differential element of a line in any direction. Let e^x\vu{e}_x, e^y\vu{e}_y and e^z\vu{e}_z be the Cartesian basis unit vectors:

de^xdx+e^ydy+e^zdz\begin{aligned} \dd{\vb{\ell}} \equiv \vu{e}_x \dd{x} + \: \vu{e}_y \dd{y} + \: \vu{e}_z \dd{z} \end{aligned}

The Cartesian differential elements can be rewritten in (c1,c2,c3)(c_1, c_2, c_3) with the chain rule:

d=e^x(xc1dc1+xc2dc2+xc3dc3 ⁣)+e^y(yc1dc1+yc2dc2+yc3dc3 ⁣)+e^z(zc1dc1+zc2dc2+zc3dc3 ⁣)=(xc1e^x+yc1e^y+zc1e^z)dc1+(xc2e^x+yc2e^y+zc2e^z)dc2+(xc3e^x+yc3e^y+zc3e^z)dc3\begin{aligned} \dd{\vb{\ell}} = \quad &\vu{e}_x \bigg( \pdv{x}{c_1} \dd{c_1} + \: \pdv{x}{c_2} \dd{c_2} + \: \pdv{x}{c_3} \dd{c_3} \!\bigg) \\ + \: &\vu{e}_y \bigg( \pdv{y}{c_1} \dd{c_1} + \: \pdv{y}{c_2} \dd{c_2} + \: \pdv{y}{c_3} \dd{c_3} \!\bigg) \\ + \: &\vu{e}_z \bigg( \pdv{z}{c_1} \dd{c_1} + \: \pdv{z}{c_2} \dd{c_2} + \: \pdv{z}{c_3} \dd{c_3} \!\bigg) \\ = \quad &\bigg( \pdv{x}{c_1} \vu{e}_x + \pdv{y}{c_1} \vu{e}_y + \pdv{z}{c_1} \vu{e}_z \bigg) \dd{c_1} \\ + &\bigg( \pdv{x}{c_2} \vu{e}_x + \pdv{y}{c_2} \vu{e}_y + \pdv{z}{c_2} \vu{e}_z \bigg) \dd{c_2} \\ + &\bigg( \pdv{x}{c_3} \vu{e}_x + \pdv{y}{c_3} \vu{e}_y + \pdv{z}{c_3} \vu{e}_z \bigg) \dd{c_3} \end{aligned}

From this we define the scale factors h1h_1, h2h_2 and h3h_3 and local basis vectors e^1\vu{e}_1, e^2\vu{e}_2 and e^3\vu{e}_3:

h1e^1xc1e^x+yc1e^y+zc1e^zh2e^2xc2e^x+yc2e^y+zc2e^zh3e^3xc3e^x+yc3e^y+zc3e^z\begin{aligned} \boxed{ \begin{aligned} h_1 \vu{e}_1 &\equiv \pdv{x}{c_1} \vu{e}_x + \pdv{y}{c_1} \vu{e}_y + \pdv{z}{c_1} \vu{e}_z \\ h_2 \vu{e}_2 &\equiv \pdv{x}{c_2} \vu{e}_x + \pdv{y}{c_2} \vu{e}_y + \pdv{z}{c_2} \vu{e}_z \\ h_3 \vu{e}_3 &\equiv \pdv{x}{c_3} \vu{e}_x + \pdv{y}{c_3} \vu{e}_y + \pdv{z}{c_3} \vu{e}_z \end{aligned} } \end{aligned}

Where e^1\vu{e}_1, e^2\vu{e}_2 and e^3\vu{e}_3 are normalized, and orthogonal for any orthogonal curvilinear system. They are called local basis vectors because they generally depend on (c1,c2,c3)(c_1, c_2, c_3), i.e. their directions vary from position to position. Their definitions can also be inverted:

e^xc1xh1e^1+c2xh2e^2+c3xh3e^3e^yc1yh1e^1+c2yh2e^2+c3yh3e^3e^zc1zh1e^1+c2zh2e^2+c3zh3e^3\begin{aligned} \boxed{ \begin{aligned} \vu{e}_x &\equiv \pdv{c_1}{x} h_1 \vu{e}_1 + \pdv{c_2}{x} h_2 \vu{e}_2 + \pdv{c_3}{x} h_3 \vu{e}_3 \\ \vu{e}_y &\equiv \pdv{c_1}{y} h_1 \vu{e}_1 + \pdv{c_2}{y} h_2 \vu{e}_2 + \pdv{c_3}{y} h_3 \vu{e}_3 \\ \vu{e}_z &\equiv \pdv{c_1}{z} h_1 \vu{e}_1 + \pdv{c_2}{z} h_2 \vu{e}_2 + \pdv{c_3}{z} h_3 \vu{e}_3 \end{aligned} } \end{aligned}

In the following subsections, we use the scale factors h1h_1, h2h_2 and h3h_3 to derive general formulae for converting vector calculus from Cartesian coordinates to (c1,c2,c3)(c_1, c_2, c_3).

Differential elements

The point of the scale factors h1h_1, h2h_2 and h3h_3, as can be seen from their derivation, is to correct for “distortions” of the coordinates compared to the Cartesian system, such that the line element d\dd{\vb{\ell}} retains its length. As was already established above:

d=e^1h1dc1+e^2h2dc2+e^3h3dc3\begin{aligned} \boxed{ \dd{\vb{\ell}} = \vu{e}_1 h_1 \dd{c_1} + \: \vu{e}_2 h_2 \dd{c_2} + \: \vu{e}_3 h_3 \dd{c_3} } \end{aligned}

These terms are the differentials along each of the local basis vectors. Let us now introduce the following notation, e.g. for c1c_1:

d1 ⁣xxc1dc1=(xc1e^x+yc1e^y+zc1e^z)dc1=e^1h1dc1\begin{aligned} \dd{}_1\!\vb{x} \equiv \pdv{\vb{x}}{c_1} \dd{c_1} = \Big( \pdv{x}{c_1} \vu{e}_x + \pdv{y}{c_1} \vu{e}_y + \pdv{z}{c_1} \vu{e}_z \Big) \dd{c_1} = \vu{e}_1 h_1 \dd{c_1} \end{aligned}

And likewise we define d2 ⁣x\dd{}_2\!\vb{x} and d3 ⁣x\dd{}_3\!\vb{x}. All differential elements (as found in e.g. integrals) can be expressed in terms of d1 ⁣x\dd{}_1\!\vb{x}, d2 ⁣x\dd{}_2\!\vb{x} and d3 ⁣x\dd{}_3\!\vb{x}.

The differential normal vector element dS^\dd{\vu{S}} in a surface integral is hence given by:

dS=d1 ⁣x×d2 ⁣x+d2 ⁣x×d3 ⁣x+d3 ⁣x×d1 ⁣x=(e^1×e^2)h1h2dc1dc2+(e^2×e^3)h2h3dc2dc3+(e^3×e^1)h1h3dc1dc3\begin{aligned} \dd{\vb{S}} &= \dd{}_1\!\vb{x} \cross \dd{}_2\!\vb{x} + \dd{}_2\!\vb{x} \cross \dd{}_3\!\vb{x} + \dd{}_3\!\vb{x} \cross \dd{}_1\!\vb{x} \\ &= (\vu{e}_1 \cross \vu{e}_2) \: h_1 h_2 \dd{c_1} \dd{c_2} + \: (\vu{e}_2 \cross \vu{e}_3) \: h_2 h_3 \dd{c_2} \dd{c_3} + \: (\vu{e}_3 \cross \vu{e}_1) \: h_1 h_3 \dd{c_1} \dd{c_3} \end{aligned}

In an orthonormal basis we have e^1×e^2=e^3\vu{e}_1 \cross \vu{e}_2 = \vu{e}_3, e^2×e^3=e^1\vu{e}_2 \cross \vu{e}_3 = \vu{e}_1 and e^3×e^1=e^2\vu{e}_3 \cross \vu{e}_1 = \vu{e}_2, so:

dS=e^1h2h3dc2dc3+e^2h1h3dc1dc3+e^3h1h2dc1dc2\begin{aligned} \boxed{ \dd{\vb{S}} = \vu{e}_1 \: h_2 h_3 \dd{c_2} \dd{c_3} + \: \vu{e}_2 \: h_1 h_3 \dd{c_1} \dd{c_3} + \: \vu{e}_3 \: h_1 h_2 \dd{c_1} \dd{c_2} } \end{aligned}

Next, the differential volume dV\dd{V} must also be corrected by the scale factors:

dV=d1 ⁣x×d2 ⁣xd3 ⁣x=(e^1×e^2e^3)h1h2h3dc1dc2dc3\begin{aligned} \dd{V} = \dd{}_1\!\vb{x} \cross \dd{}_2\!\vb{x} \cdot \dd{}_3\!\vb{x} = (\vu{e}_1 \cross \vu{e}_2 \cdot \vu{e}_3) \: h_1 h_2 h_3 \dd{c_1} \dd{c_2} \dd{c_3} \end{aligned}

Once again e^1×e^2=e^3\vu{e}_1 \cross \vu{e}_2 = \vu{e}_3, so the vectors disappear from the expression, leaving:

dV=h1h2h3dc1dc2dc3\begin{aligned} \boxed{ \dd{V} = h_1 h_2 h_3 \dd{c_1} \dd{c_2} \dd{c_3} } \end{aligned}

Basis vector derivatives

Orthonormality tells us that e^je^j=1\vu{e}_j \cdot \vu{e}_j = 1 for j=1,2,3j = 1,2,3. Differentiating with respect to ckc_k:

ck(e^je^j)=2e^jcke^j=ck1=0\begin{aligned} \pdv{}{c_k} (\vu{e}_j \cdot \vu{e}_j) = 2 \pdv{\vu{e}_j}{c_k} \cdot \vu{e}_j = \pdv{}{c_k} 1 = 0 \end{aligned}

This means that the ckc_k-derivative of e^j\vu{e}_j will always be orthogonal to e^j\vu{e}_j, for all jj and kk. Indeed, the general expression for the derivative of a local basis vector is:

e^jck=1hjhkcje^kδjkl1hlhjcle^l\begin{aligned} \boxed{ \pdv{\vu{e}_j}{c_k} = \frac{1}{h_j} \pdv{h_k}{c_j} \vu{e}_k - \delta_{jk} \sum_{l} \frac{1}{h_l} \pdv{h_j}{c_l} \vu{e}_l } \end{aligned}

Where δjk\delta_{jk} is the Kronecker delta. For example, if j=1j = 1, writing this out gives:

e^1c1=1h2h1c2e^21h3h1c3e^3e^1c2=1h1h2c1e^2e^1c3=1h1h3c1e^3\begin{aligned} \pdv{\vu{e}_1}{c_1} &= - \frac{1}{h_2} \pdv{h_1}{c_2} \vu{e}_2 - \frac{1}{h_3} \pdv{h_1}{c_3} \vu{e}_3 \\ \pdv{\vu{e}_1}{c_2} &= \frac{1}{h_1} \pdv{h_2}{c_1} \vu{e}_2 \\ \pdv{\vu{e}_1}{c_3} &= \frac{1}{h_1} \pdv{h_3}{c_1} \vu{e}_3 \end{aligned}

In this proof we set j=1j = 1 and k=2k = 2 for clarity, but the approach is valid for any jkj \neq k. We know the definitions of h1e^1h_1 \vu{e}_1 and h2e^2h_2 \vu{e}_2, and that differentiations can be reordered:

c2(h1e^1)=c2c1(xe^x+ye^y+ze^z)=c1(h2e^2)\begin{aligned} \pdv{}{c_2} (h_1 \vu{e}_1) &= \pdv{}{c_2} \pdv{}{c_1} \big( x \vu{e}_x + y \vu{e}_y + z \vu{e}_z \big) = \pdv{}{c_1} (h_2 \vu{e}_2) \end{aligned}

Expanding this according to the product rule of differentiation:

h1c2e^1+h1e^1c2=h2c1e^2+h2e^2c1\begin{aligned} \pdv{h_1}{c_2} \vu{e}_1 + h_1 \pdv{\vu{e}_1}{c_2} = \pdv{h_2}{c_1} \vu{e}_2 + h_2 \pdv{\vu{e}_2}{c_1} \end{aligned}

We rearrange this in two different ways. Indeed, these two equations are identical:

h1e^1c2=h2c1e^2+(h2e^2c1h1c2e^1)h2e^2c1=h1c2e^1+(h1e^1c2h2c1e^2)\begin{aligned} h_1 \pdv{\vu{e}_1}{c_2} &= \pdv{h_2}{c_1} \vu{e}_2 + \Big( h_2 \pdv{\vu{e}_2}{c_1} - \pdv{h_1}{c_2} \vu{e}_1 \Big) \\ h_2 \pdv{\vu{e}_2}{c_1} &= \pdv{h_1}{c_2} \vu{e}_1 + \Big( h_1 \pdv{\vu{e}_1}{c_2} - \pdv{h_2}{c_1} \vu{e}_2 \Big) \end{aligned}

Recall that all derivatives of e^j\vu{e}_j are orthogonal to e^j\vu{e}_j. Therefore, the first equation’s right-hand side must be orthogonal to e^1\vu{e}_1, and the second’s to e^2\vu{e}_2. We deduce that the parenthesized expressions are proportional to e^3\vu{e}_3, and call the proportionality factors λ123\lambda_{123} and λ213\lambda_{213}:

h1e^1c2=h2c1e^2+λ213e^3h2e^2c1=h1c2e^1+λ123e^3\begin{aligned} h_1 \pdv{\vu{e}_1}{c_2} &= \pdv{h_2}{c_1} \vu{e}_2 + \lambda_{213} \vu{e}_3 \\ h_2 \pdv{\vu{e}_2}{c_1} &= \pdv{h_1}{c_2} \vu{e}_1 + \lambda_{123} \vu{e}_3 \end{aligned}

Since these equations are identical, by comparing the definition of λ123\lambda_{123} to the other side of the equation, we see that λ123=λ213\lambda_{123} = \lambda_{213}:

λ123e^3=h1e^1c2h2c1e^2=h2e^2c1h1c2e^1=λ213e^3\begin{aligned} \lambda_{123} \vu{e}_3 &= h_1 \pdv{\vu{e}_1}{c_2} - \pdv{h_2}{c_1} \vu{e}_2 = h_2 \pdv{\vu{e}_2}{c_1} - \pdv{h_1}{c_2} \vu{e}_1 = \lambda_{213} \vu{e}_3 \end{aligned}

In general, λjkl=λkjl\lambda_{jkl} = \lambda_{kjl} for jklj \neq k \neq l. Next, we dot-multiply λ123\lambda_{123}’s equation by e^3\vu{e}_3, using that e^2e^3=0\vu{e}_2 \cdot \vu{e}_3 = 0 and consequently (e^2e^3)/c1=0\ipdv{(\vu{e}_2 \cdot \vu{e}_3)}{c_1} = 0:

λ123=h2e^2c1e^3h1c2e^1e^3=h2e^2c1e^3=h2h3h3e^3c1e^2=h2h3λ132\begin{aligned} \lambda_{123} &= h_2 \pdv{\vu{e}_2}{c_1} \cdot \vu{e}_3 - \pdv{h_1}{c_2} \vu{e}_1 \cdot \vu{e}_3 = h_2 \pdv{\vu{e}_2}{c_1} \cdot \vu{e}_3 = - h_2 \frac{h_3}{h_3} \pdv{\vu{e}_3}{c_1} \cdot \vu{e}_2 = - \frac{h_2}{h_3} \lambda_{132} \end{aligned}

In general, λjkl=hkλjlk/hl\lambda_{jkl} = - h_k \lambda_{jlk} / h_l for jklj \neq k \neq l. Combining this fact with λjkl=λkjl\lambda_{jkl} = \lambda_{kjl} gives:

λjkl=hkhlλjlk=hkhlλljk=hkhlhjhkλlkj=hjhlλklj=hjhlhlhjλkjl=λjkl\begin{aligned} \lambda_{jkl} = - \frac{h_k}{h_l} \lambda_{jlk} = - \frac{h_k}{h_l} \lambda_{ljk} = \frac{h_k}{h_l} \frac{h_j}{h_k} \lambda_{lkj} = \frac{h_j}{h_l} \lambda_{klj} = - \frac{h_j}{h_l} \frac{h_l}{h_j} \lambda_{kjl} = - \lambda_{jkl} \end{aligned}

But λjkl=λjkl\lambda_{jkl} = -\lambda_{jkl} is only possible if λjkl\lambda_{jkl} is zero. Thus λ123\lambda_{123}’s equation reduces to:

h2e^2c1=h1c2e^1    e^2c1=1h2h1c2e^1\begin{aligned} h_2 \pdv{\vu{e}_2}{c_1} &= \pdv{h_1}{c_2} \vu{e}_1 \qquad \implies \qquad \pdv{\vu{e}_2}{c_1} = \frac{1}{h_2} \pdv{h_1}{c_2} \vu{e}_1 \end{aligned}

This gives us the general expression for e^j/ck\ipdv{\vu{e}_j}{c_k} when jkj \neq k, but what about j=kj = k? Well, from orthogonality we know:

0=e^2e^1=c1(e^2e^1)=e^2c1e^1+e^2e^1c1\begin{aligned} 0 = \vu{e}_2 \cdot \vu{e}_1 = \pdv{}{c_1} (\vu{e}_2 \cdot \vu{e}_1) = \pdv{\vu{e}_2}{c_1} \cdot \vu{e}_1 + \vu{e}_2 \cdot \pdv{\vu{e}_1}{c_1} \end{aligned}

We just calculated one of those terms, so this equation gives us the other:

e^2e^1c1=e^2c1e^1=1h2h1c2\begin{aligned} \vu{e}_2 \cdot \pdv{\vu{e}_1}{c_1} = - \pdv{\vu{e}_2}{c_1} \cdot \vu{e}_1 = - \frac{1}{h_2} \pdv{h_1}{c_2} \end{aligned}

Now we have the e^2\vu{e}_2-component of e^1/c1\ipdv{\vu{e}_1}{c_1}, and can find the e^3\vu{e}_3-component in the same way:

e^3e^1c1=e^3c1e^1=1h3h1c3\begin{aligned} \vu{e}_3 \cdot \pdv{\vu{e}_1}{c_1} = - \pdv{\vu{e}_3}{c_1} \cdot \vu{e}_1 = - \frac{1}{h_3} \pdv{h_1}{c_3} \end{aligned}

Adding up the e^2\vu{e}_2- and e^3\vu{e}_3-components gives the desired formula. There is no e^1\vu{e}_1-component because e^1/c1\ipdv{\vu{e}_1}{c_1} must be orthogonal to e^1\vu{e}_1.

Gradient of a scalar

The gradient f\nabla f of a scalar field ff has the following components in (c1,c2,c3)(c_1, c_2, c_3):

(f)j=1hjfcj\begin{aligned} \boxed{ (\nabla f)_j = \frac{1}{h_j} \pdv{f}{c_j} } \end{aligned}

When this index notation is written out in full, the gradient f\nabla f becomes:

f=1h1fc1e^1+1h2fc2e^2+1h3fc3e^3\begin{aligned} \nabla f = \frac{1}{h_1} \pdv{f}{c_1} \vu{e}_1 + \frac{1}{h_2} \pdv{f}{c_2} \vu{e}_2 + \frac{1}{h_3} \pdv{f}{c_3} \vu{e}_3 \end{aligned}

For any unit vector u^\vu{u}, we can project f\nabla f onto it to get the component of f\nabla f along u^\vu{u}. Let us choose u^=e^1\vu{u} = \vu{e}_1, then such a projection gives:

fe^1=(fxe^x+fye^y+fze^z)1h1(xc1e^x+yc1e^y+zc1e^z)=1h1(fxxc1+fyyc1+fzzc1)=1h1fc1\begin{aligned} \nabla f \cdot \vu{e}_1 &= \bigg( \pdv{f}{x} \vu{e}_x + \pdv{f}{y} \vu{e}_y + \pdv{f}{z} \vu{e}_z \bigg) \cdot \frac{1}{h_1} \bigg( \pdv{x}{c_1} \vu{e}_x + \pdv{y}{c_1} \vu{e}_y + \pdv{z}{c_1} \vu{e}_z \bigg) \\ &= \frac{1}{h_1} \bigg( \pdv{f}{x} \pdv{x}{c_1} + \pdv{f}{y} \pdv{y}{c_1} + \pdv{f}{z} \pdv{z}{c_1} \bigg) \\ &= \frac{1}{h_1} \pdv{f}{c_1} \end{aligned}

And we can do the same for e^2\vu{e}_2 and e^3\vu{e}_3, yielding analogous results:

fe^2=1h2fc2fe^3=1h3fc3\begin{aligned} \nabla f \cdot \vu{e}_2 = \frac{1}{h_2} \pdv{f}{c_2} \qquad \qquad \nabla f \cdot \vu{e}_3 = \frac{1}{h_3} \pdv{f}{c_3} \end{aligned}

Finally, to express f\nabla f in the new coordinate system (c1,c2,c3)(c_1, c_2, c_3), we simply combine these projections for all the basis vectors:

f=(fe^1)e^1+(fe^2)e^2+(fe^3)e^3\begin{aligned} \nabla f = (\nabla f \cdot \vu{e}_1) \vu{e}_1 + (\nabla f \cdot \vu{e}_2) \vu{e}_2 + (\nabla f \cdot \vu{e}_3) \vu{e}_3 \end{aligned}

Divergence of a vector

The divergence of a vector field V=V1e^1+V2e^2+V3e^3\vb{V} = V_1 \vu{e}_1 + V_2 \vu{e}_2 + V_3 \vu{e}_3 is given in (c1,c2,c3)(c_1, c_2, c_3) by:

V=j1Hcj(HVjhj)\begin{aligned} \boxed{ \nabla \cdot \vb{V} = \sum_{j} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H V_j}{h_j} \bigg) } \end{aligned}

Where Hh1h2h3H \equiv h_1 h_2 h_3. When this index notation is written out in full, it becomes:

V=1h1h2h3(c1(h2h3V1)+c2(h1h3V2)+c3(h1h2V3))\begin{aligned} \nabla \cdot \vb{V} = \frac{1}{h_1 h_2 h_3} \bigg( \pdv{}{c_1} (h_2 h_3 V_1) + \pdv{}{c_2} (h_1 h_3 V_2) + \pdv{}{c_3} (h_1 h_2 V_3) \bigg) \end{aligned}

From our earlier calculation of f\nabla f, we know how to express the del \nabla in (c1,c2,c3)(c_1, c_2, c_3). Now we simply take the dot product of \nabla and V\vb{V}:

V=(e^11h1c1+e^21h2c2+e^31h3c3)(V1e^1+V2e^2+V3e^3)=(je^j1hjcj)(kVke^k)=jke^j1hjcj(Vke^k)=jk(e^je^k)1hjVkcj+jk(e^je^kcj)Vkhj\begin{aligned} \nabla \cdot \vb{V} &= \bigg( \vu{e}_1 \frac{1}{h_1} \pdv{}{c_1} + \vu{e}_2 \frac{1}{h_2} \pdv{}{c_2} + \vu{e}_3 \frac{1}{h_3} \pdv{}{c_3} \bigg) \cdot \bigg( V_1 \vu{e}_1 + V_2 \vu{e}_2 + V_3 \vu{e}_3 \bigg) \\ &= \bigg( \sum_{j} \vu{e}_j \frac{1}{h_j} \pdv{}{c_j} \bigg) \cdot \bigg( \sum_{k} V_k \vu{e}_k \bigg) \\ &= \sum_{jk} \vu{e}_j \cdot \frac{1}{h_j} \pdv{}{c_j} (V_k \vu{e}_k) \\ &= \sum_{jk} (\vu{e}_j \cdot \vu{e}_k) \frac{1}{h_j} \pdv{V_k}{c_j} + \sum_{jk} \Big( \vu{e}_j \cdot \pdv{\vu{e}_k}{c_j} \Big) \frac{V_k}{h_j} \end{aligned}

Substituting our expression for the derivatives of the local basis vectors, we find:

V=jk(e^je^k)1hjVkcj+jke^j(1hkhjcke^jδjkl1hlhkcle^l)Vkhj=jk(e^je^k)1hjVkcj+jk(e^je^j)Vkhjhkhjckjl(e^je^l)Vjhjhlhjcl=j1hjVjcj+jkVkhjhkhjckjVjhjhjhjcj=j1hjVjcj+jkjVkhjhkhjck\begin{aligned} \nabla \cdot \vb{V} &= \sum_{jk} (\vu{e}_j \cdot \vu{e}_k) \frac{1}{h_j} \pdv{V_k}{c_j} + \sum_{jk} \vu{e}_j \cdot \bigg( \frac{1}{h_k} \pdv{h_j}{c_k} \vu{e}_j - \delta_{jk} \sum_{l} \frac{1}{h_l} \pdv{h_k}{c_l} \vu{e}_l \bigg) \frac{V_k}{h_j} \\ &= \sum_{jk} (\vu{e}_j \cdot \vu{e}_k) \frac{1}{h_j} \pdv{V_k}{c_j} + \sum_{jk} (\vu{e}_j \cdot \vu{e}_j) \frac{V_k}{h_j h_k} \pdv{h_j}{c_k} - \sum_{jl} (\vu{e}_j \cdot \vu{e}_l) \frac{V_j}{h_j h_l} \pdv{h_j}{c_l} \\ &= \sum_{j} \frac{1}{h_j} \pdv{V_j}{c_j} + \sum_{jk} \frac{V_k}{h_j h_k} \pdv{h_j}{c_k} - \sum_{j} \frac{V_j}{h_j h_j} \pdv{h_j}{c_j} \\ &= \sum_{j} \frac{1}{h_j} \pdv{V_j}{c_j} + \sum_{j} \sum_{k \neq j} \frac{V_k}{h_j h_k} \pdv{h_j}{c_k} \\ \end{aligned}

Where we noticed that the latter two terms cancel out if k=jk = j. Now, to proceed, it is easiest to just write out the index notation:

V=j1hjVjcj+jkjVkhjhkhjck=1h1V1c1+V1h1h2h2c1+V1h1h3h3c1+V2h1h2h1c2+1h2V2c2+V2h2h3h3c2+V3h1h3h1c3+V3h2h3h2c3+1h3V3c3=1h1h2h3(h2h3V1c1+h3V1h2c1+h2V1h3c1+h3V2h1c2+h1h3V2c2+h1V2h3c2+h2V3h1c3+h1V3h2c3+h1h2V3c3)\begin{aligned} \nabla \cdot \vb{V} &= \sum_{j} \frac{1}{h_j} \pdv{V_j}{c_j} + \sum_{j} \sum_{k \neq j} \frac{V_k}{h_j h_k} \pdv{h_j}{c_k} \\ &= \quad \frac{1}{h_1} \pdv{V_1}{c_1} + \frac{V_1}{h_1 h_2} \pdv{h_2}{c_1} + \frac{V_1}{h_1 h_3} \pdv{h_3}{c_1} \\ &\quad\: + \frac{V_2}{h_1 h_2} \pdv{h_1}{c_2} + \frac{1}{h_2} \pdv{V_2}{c_2} + \frac{V_2}{h_2 h_3} \pdv{h_3}{c_2} \\ &\quad\: + \frac{V_3}{h_1 h_3} \pdv{h_1}{c_3} + \frac{V_3}{h_2 h_3} \pdv{h_2}{c_3} + \frac{1}{h_3} \pdv{V_3}{c_3} \\ &= \frac{1}{h_1 h_2 h_3} \bigg( h_2 h_3 \pdv{V_1}{c_1} + h_3 V_1 \pdv{h_2}{c_1} + h_2 V_1 \pdv{h_3}{c_1} \\ &\qquad\qquad + h_3 V_2 \pdv{h_1}{c_2} + h_1 h_3 \pdv{V_2}{c_2} + h_1 V_2 \pdv{h_3}{c_2} \\ &\qquad\qquad + h_2 V_3 \pdv{h_1}{c_3} + h_1 V_3 \pdv{h_2}{c_3} + h_1 h_2 \pdv{V_3}{c_3} \bigg) \end{aligned}

Which can clearly be rewritten with the product rule, leading to the desired formula.

Boas gives an alternative proof, which is shorter but more specialized:

We take the divergence of the c1c_1-component of V\vb{V} and expand it:

(V1e^1)=((h2h3V1)(e^1h2h3))=(h2h3V1)(e^1h2h3)+(h2h3V1)((e^1h2h3))\begin{aligned} \nabla \cdot (V_1 \vu{e}_1) &= \nabla \cdot \bigg( \Big( h_2 h_3 V_1 \Big) \Big( \frac{\vu{e}_1}{h_2 h_3} \Big) \bigg) \\ &= \nabla (h_2 h_3 V_1) \cdot \Big( \frac{\vu{e}_1}{h_2 h_3} \Big) + (h_2 h_3 V_1) \bigg( \nabla \cdot \Big( \frac{\vu{e}_1}{h_2 h_3} \Big) \bigg) \end{aligned}

The latter term is zero, because in any orthogonal basis e^2×e^3=e^1\vu{e}_2 \cross \vu{e}_3 = \vu{e}_1, and according to our gradient formula we have c2=e^2/h2\nabla c_2 = \vu{e}_2 / h_2 etc., so:

(e^1h2h3)=(e^2h2×e^3h3)=(c2×c3)=c3(×c2)c2(×c3)=0\begin{aligned} \nabla \cdot \bigg( \frac{\vu{e}_1}{h_2 h_3} \bigg) &= \nabla \cdot \bigg( \frac{\vu{e}_2}{h_2} \cross \frac{\vu{e}_3}{h_3} \bigg) \\ &= \nabla \cdot \big( \nabla c_2 \cross \nabla c_3 \big) \\ &= \nabla c_3 \cdot (\nabla \cross \nabla c_2) - \nabla c_2 \cdot (\nabla \cross \nabla c_3) \\ &= 0 \end{aligned}

Where we used a vector identity and the fact that the curl of a gradient must vanish. We are thus left with the former term, to which we apply our gradient formula again, where only the e^1\vu{e}_1-term survives due to the dot product and orthogonality:

(V1e^1)=(h2h3V1)e^1h2h3=1h1h2h3c1(h2h3V1)\begin{aligned} \nabla \cdot (V_1 \vu{e}_1) &= \nabla (h_2 h_3 V_1) \cdot \frac{\vu{e}_1}{h_2 h_3} \\ &= \frac{1}{h_1 h_2 h_3} \pdv{}{c_1} (h_2 h_3 V_1) \end{aligned}

We then repeat this procedure for V\vb{V}’s other components, and simply add up the results to get the desired formula.

Curl of a vector

The curl of a vector field V\vb{V} has the following components in (c1,c2,c3)(c_1, c_2, c_3), where εjkl\varepsilon_{j k l} is the Levi-Civita symbol in 3D:

(×V)j=klεjklhkhlck(hlVl)\begin{aligned} \boxed{ \begin{aligned} (\nabla \cross \vb{V})_j = \sum_{k l} \frac{\varepsilon_{j k l}}{h_k h_l} \pdv{}{c_k} (h_l V_l) \end{aligned} } \end{aligned}

When this index notation is written out in full, the curl ×V\nabla \cross \vb{V} becomes:

×V=1h2h3((h3V3)c2(h2V2)c3)e^1+1h1h3((h1V1)c3(h3V3)c1)e^2+1h1h2((h2V2)c1(h1V1)c2)e^3\begin{aligned} \nabla \times \vb{V} = \quad\: &\frac{1}{h_2 h_3} \bigg( \pdv{(h_3 V_3)}{c_2} - \pdv{(h_2 V_2)}{c_3} \bigg) \vu{e}_1 \\ + \: &\frac{1}{h_1 h_3} \bigg( \pdv{(h_1 V_1)}{c_3} - \pdv{(h_3 V_3)}{c_1} \bigg) \vu{e}_2 \\ + \: &\frac{1}{h_1 h_2} \bigg( \pdv{(h_2 V_2)}{c_1} - \pdv{(h_1 V_1)}{c_2} \bigg) \vu{e}_3 \end{aligned}

From our earlier calculation of f\nabla f, we know how to express the del \nabla in (c1,c2,c3)(c_1, c_2, c_3). Now we simply take the cross product of \nabla and V\vb{V}:

×V=(e^11h1c1+e^21h2c2+e^31h3c3)×(V1e^1+V2e^2+V3e^3)=(je^j1hjcj)×(kVke^k)=jke^j×1hjcj(Vke^k)=jk1hjVkcj(e^j×e^k)+jkVkhj(e^j×e^kcj)\begin{aligned} \nabla \cross \vb{V} &= \bigg( \vu{e}_1 \frac{1}{h_1} \pdv{}{c_1} + \vu{e}_2 \frac{1}{h_2} \pdv{}{c_2} + \vu{e}_3 \frac{1}{h_3} \pdv{}{c_3} \bigg) \cross \bigg( V_1 \vu{e}_1 + V_2 \vu{e}_2 + V_3 \vu{e}_3 \bigg) \\ &= \bigg( \sum_{j} \vu{e}_j \frac{1}{h_j} \pdv{}{c_j} \bigg) \cross \bigg( \sum_{k} V_k \vu{e}_k \bigg) \\ &= \sum_{jk} \vu{e}_j \cross \frac{1}{h_j} \pdv{}{c_j} (V_k \vu{e}_k) \\ &= \sum_{jk} \frac{1}{h_j} \pdv{V_k}{c_j} (\vu{e}_j \cross \vu{e}_k) + \sum_{jk} \frac{V_k}{h_j} \Big( \vu{e}_j \cross \pdv{\vu{e}_k}{c_j} \Big) \end{aligned}

Substituting our expression for the derivatives of the local basis vectors, we find:

×V=jk1hjVkcj(e^j×e^k)+jkVkhje^j×(1hkhjcke^jδjkl1hlhkcle^l)=jk1hjVkcj(e^j×e^k)+jkVkhjhkhjck(e^j×e^j)jlVjhjhlhjcl(e^j×e^l)=jk1hjVkcj(e^j×e^k)jlVjhjhlhjcl(e^j×e^l)\begin{aligned} \nabla \cross \vb{V} &= \sum_{jk} \frac{1}{h_j} \pdv{V_k}{c_j} (\vu{e}_j \cross \vu{e}_k) + \sum_{jk} \frac{V_k}{h_j} \vu{e}_j \cross \bigg( \frac{1}{h_k} \pdv{h_j}{c_k} \vu{e}_j - \delta_{jk} \sum_{l} \frac{1}{h_l} \pdv{h_k}{c_l} \vu{e}_l \bigg) \\ &= \sum_{jk} \frac{1}{h_j} \pdv{V_k}{c_j} (\vu{e}_j \cross \vu{e}_k) + \sum_{jk} \frac{V_k}{h_j h_k} \pdv{h_j}{c_k} (\vu{e}_j \cross \vu{e}_j) - \sum_{jl} \frac{V_j}{h_j h_l} \pdv{h_j}{c_l} (\vu{e}_j \cross \vu{e}_l) \\ &= \sum_{jk} \frac{1}{h_j} \pdv{V_k}{c_j} (\vu{e}_j \cross \vu{e}_k) - \sum_{jl} \frac{V_j}{h_j h_l} \pdv{h_j}{c_l} (\vu{e}_j \cross \vu{e}_l) \end{aligned}

Because the cross product of a vector with itself is always zero. Now, in an orthonormal basis we have e^1×e^2=e^3\vu{e}_1 \cross \vu{e}_2 = \vu{e}_3, e^2×e^3=e^1\vu{e}_2 \cross \vu{e}_3 = \vu{e}_1 and e^3×e^1=e^2\vu{e}_3 \cross \vu{e}_1 = \vu{e}_2. This is written in index notation by summing over ll and multiplying by the Levi-Civita symbol εjkl\varepsilon_{jkl}:

×V=jk(1hjVkcjVjhjhkhjck)(e^j×e^k)=jklεjkl(1hjVkcjVjhjhkhjck)e^l=jklεjkl(1hjhkhkVkcj+Vkhjhkhkcj)e^l=jklεjkl(1hjhkcj(hkVk))e^l\begin{aligned} \nabla \cross \vb{V} &= \sum_{jk} \bigg( \frac{1}{h_j} \pdv{V_k}{c_j} - \frac{V_j}{h_j h_k} \pdv{h_j}{c_k} \bigg) (\vu{e}_j \cross \vu{e}_k) \\ &= \sum_{jkl} \varepsilon_{jkl} \bigg( \frac{1}{h_j} \pdv{V_k}{c_j} - \frac{V_j}{h_j h_k} \pdv{h_j}{c_k} \bigg) \vu{e}_l \\ &= \sum_{jkl} \varepsilon_{jkl} \bigg( \frac{1}{h_j} \frac{h_k}{h_k} \pdv{V_k}{c_j} + \frac{V_k}{h_j h_k} \pdv{h_k}{c_j} \bigg) \vu{e}_l \\ &= \sum_{jkl} \varepsilon_{jkl} \bigg( \frac{1}{h_j h_k} \pdv{}{c_j} (h_k V_k) \bigg) \vu{e}_l \end{aligned}

Where we have used that εjkl=εkjl\varepsilon_{jkl} = -\varepsilon_{kjl}, thereby arriving at the desired formula.

Boas gives an alternative proof, which is shorter but more specialized:

We take the curl of the c1c_1-component of V\vb{V} and apply the product rule:

×(V1e^1)=×((h1V1)(e^1h1))=(h1V1)×(e^1h1)+(h1V1)(×e^1h1)\begin{aligned} \nabla \cross (V_1 \vu{e}_1) &= \nabla \cross \bigg( \Big( h_1 V_1 \Big) \Big( \frac{\vu{e}_1}{h_1} \Big) \bigg) \\ &= \nabla (h_1 V_1) \cross \Big( \frac{\vu{e}_1}{h_1} \Big) + (h_1 V_1) \Big( \nabla \cross \frac{\vu{e}_1}{h_1} \Big) \end{aligned}

The latter term disappears, because c1=e^1/h1\nabla c_1 = \vu{e}_1 / h_1 and the curl of a gradient is always zero. Applying our gradient formula to the remaining term, we find:

×(V1e^1)=(h1V1)×(e^1h1)=(1h1(h1V1)c1e^1+1h2(h1V1)c2e^2+1h3(h1V1)c3e^3)×(e^1h1)=01h1h2(h1V1)c2e^3+1h1h3(h1V1)c3e^2\begin{aligned} \nabla \cross (V_1 \vu{e}_1) &= \nabla (h_1 V_1) \cross \Big( \frac{\vu{e}_1}{h_1} \Big) \\ &= \bigg( \frac{1}{h_1} \pdv{(h_1 V_1)}{c_1} \vu{e}_1 + \frac{1}{h_2} \pdv{(h_1 V_1)}{c_2} \vu{e}_2 + \frac{1}{h_3} \pdv{(h_1 V_1)}{c_3} \vu{e}_3 \bigg) \cross \Big( \frac{\vu{e}_1}{h_1} \Big) \\ &= 0 - \frac{1}{h_1 h_2} \pdv{(h_1 V_1)}{c_2} \vu{e}_3 + \frac{1}{h_1 h_3} \pdv{(h_1 V_1)}{c_3} \vu{e}_2 \end{aligned}

Where we have used the fact that e^1\vu{e}_1, e^2\vu{e}_2 and e^3\vu{e}_3 are related to each other by cross products thanks to orthonormality, e.g. e^2×e^3=e^1\vu{e}_2 \cross \vu{e}_3 = \vu{e}_1. We then repeat this procedure for V\vb{V}’s other components, and simply add up the results to get the desired formula.

Laplacian of a scalar

The Laplacian 2f\nabla^2 f of a scalar field ff is calculated as follows in (c1,c2,c3)(c_1, c_2, c_3):

2f=j1Hcj(Hhj2fcj)\begin{aligned} \boxed{ \nabla^2 f = \sum_{j} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H}{h_j^2} \pdv{f}{c_j} \bigg) } \end{aligned}

Where Hh1h2h3H \equiv h_1 h_2 h_3. When this index notation is written out in full, it becomes:

2f=1h1h2h3(c1(h2h3h1fc1)+c2(h1h3h2fc2)+c3(h1h2h3fc3))\begin{aligned} \nabla^2 f = \frac{1}{h_1 h_2 h_3} \bigg( \pdv{}{c_1} \Big( \frac{h_2 h_3}{h_1} \pdv{f}{c_1} \Big) + \pdv{}{c_2} \Big( \frac{h_1 h_3}{h_2} \pdv{f}{c_2} \Big) + \pdv{}{c_3} \Big( \frac{h_1 h_2}{h_3} \pdv{f}{c_3} \Big) \bigg) \end{aligned}

This is trivial to prove: 2f=(f)\nabla^2 f = \nabla \cdot (\nabla f), so combining our previous formulae is enough.

Gradient of a divergence

The gradient of a divergence (V)\nabla (\nabla \cdot \vb{V}) has the following components in (c1,c2,c3)(c_1, c_2, c_3):

((V))j=1hjcj(k1Hck(HVkhk))\begin{aligned} \boxed{ \big( \nabla (\nabla \cdot \vb{V}) \big)_j = \frac{1}{h_j} \pdv{}{c_j} \bigg( \sum_{k} \frac{1}{H} \pdv{}{c_k} \Big( \frac{H V_k}{h_k} \Big) \bigg) } \end{aligned}

Where Hh1h2h3H \equiv h_1 h_2 h_3. This is trivial to prove: V\nabla \cdot \vb{V} is a scalar, which we insert into our gradient formula. We no longer write out the index notation, as the formulae become quite long.

Gradient of a vector

It also possible to take the gradient of a vector V=V1e^1+V2e^2+V3e^3\vb{V} = V_1 \vu{e}_1 + V_2 \vu{e}_2 + V_3 \vu{e}_3, yielding a 2nd-order tensor with the following components in (c1,c2,c3)(c_1, c_2, c_3), for jkj \neq k:

(V)jj=1hjVjcj+kjVkhjhkhjck(V)jk=1hjVkcjVjhjhkhjck\begin{aligned} \boxed{ \begin{aligned} (\nabla \vb{V})_{jj} &= \frac{1}{h_j} \pdv{V_j}{c_j} + \sum_{k \neq j} \frac{V_k}{h_j h_k} \pdv{h_j}{c_k} \\ (\nabla \vb{V})_{jk} &= \frac{1}{h_j} \pdv{V_k}{c_j} - \frac{V_j}{h_j h_k} \pdv{h_j}{c_k} \end{aligned} } \end{aligned}

From our earlier calculation of f\nabla f, we know how to express the del \nabla in (c1,c2,c3)(c_1, c_2, c_3). Now we simply take the dyadic product of \nabla and V\vb{V}:

V=(e^11h1c1+e^21h2c2+e^31h3c3)(V1e^1+V2e^2+V3e^3)=(je^j1hjcj)(kVke^k)=jke^j1hjcj(Vke^k)=jk1hjVkcje^je^k+jkVkhje^je^kcj\begin{aligned} \nabla \vb{V} &= \bigg( \vu{e}_1 \frac{1}{h_1} \pdv{}{c_1} + \vu{e}_2 \frac{1}{h_2} \pdv{}{c_2} + \vu{e}_3 \frac{1}{h_3} \pdv{}{c_3} \bigg) \bigg( V_1 \vu{e}_1 + V_2 \vu{e}_2 + V_3 \vu{e}_3 \bigg) \\ &= \bigg( \sum_{j} \vu{e}_j \frac{1}{h_j} \pdv{}{c_j} \bigg) \bigg( \sum_{k} V_k \vu{e}_k \bigg) \\ &= \sum_{jk} \vu{e}_j \frac{1}{h_j} \pdv{}{c_j} (V_k \vu{e}_k) \\ &= \sum_{jk} \frac{1}{h_j} \pdv{V_k}{c_j} \vu{e}_j \vu{e}_k + \sum_{jk} \frac{V_k}{h_j} \vu{e}_j \pdv{\vu{e}_k}{c_j} \end{aligned}

Substituting our expression for the derivatives of the local basis vectors, we find:

V=jk1hjVkcje^je^k+jkVkhje^j(1hkhjcke^jδjkl1hlhkcle^l)=jk1hjVkcje^je^k+jkVkhjhkhjcke^je^jjlVjhjhlhjcle^je^l=jk(1hjVkcje^je^k+Vkhjhkhjcke^je^jVjhjhkhjcke^je^k)\begin{aligned} \nabla \vb{V} &= \sum_{jk} \frac{1}{h_j} \pdv{V_k}{c_j} \vu{e}_j \vu{e}_k + \sum_{jk} \frac{V_k}{h_j} \vu{e}_j \bigg( \frac{1}{h_k} \pdv{h_j}{c_k} \vu{e}_j - \delta_{jk} \sum_{l} \frac{1}{h_l} \pdv{h_k}{c_l} \vu{e}_l \bigg) \\ &= \sum_{jk} \frac{1}{h_j} \pdv{V_k}{c_j} \vu{e}_j \vu{e}_k + \sum_{jk} \frac{V_k}{h_j h_k} \pdv{h_j}{c_k} \vu{e}_j \vu{e}_j - \sum_{jl} \frac{V_j}{h_j h_l} \pdv{h_j}{c_l} \vu{e}_j \vu{e}_l \\ &= \sum_{jk} \bigg( \frac{1}{h_j} \pdv{V_k}{c_j} \vu{e}_j \vu{e}_k + \frac{V_k}{h_j h_k} \pdv{h_j}{c_k} \vu{e}_j \vu{e}_j - \frac{V_j}{h_j h_k} \pdv{h_j}{c_k} \vu{e}_j \vu{e}_k \bigg) \end{aligned}

This is a 2nd-order tensor, whose diagonal components (V)ll(\nabla \vb{V})_{ll} are given by:

(V)ll=e^l(V)e^l=jk1hjVkcjδjlδkl+jkVkhjhkhjckδjlδjljkVjhjhkhjckδjlδkl=1hlVlcl+kVkhlhkhlckVlhlhlhlcl=1hlVlcl+klVkhlhkhlck\begin{aligned} (\nabla \vb{V})_{ll} &= \vu{e}_l \cdot (\nabla \vb{V}) \cdot \vu{e}_l \\ &= \sum_{jk} \frac{1}{h_j} \pdv{V_k}{c_j} \delta_{jl} \delta_{kl} + \sum_{jk} \frac{V_k}{h_j h_k} \pdv{h_j}{c_k} \delta_{jl} \delta_{jl} - \sum_{jk} \frac{V_j}{h_j h_k} \pdv{h_j}{c_k} \delta_{jl} \delta_{kl} \\ &= \frac{1}{h_l} \pdv{V_l}{c_l} + \sum_{k} \frac{V_k}{h_l h_k} \pdv{h_l}{c_k} - \frac{V_l}{h_l h_l} \pdv{h_l}{c_l} \\ &= \frac{1}{h_l} \pdv{V_l}{c_l} + \sum_{k \neq l} \frac{V_k}{h_l h_k} \pdv{h_l}{c_k} \end{aligned}

Meanwhile, the off-diagonal components (V)lm(\nabla \vb{V})_{lm} are as follows, with lml \neq m:

(V)lm=e^l(V)e^m=jk1hjVkcjδjlδkm+jkVkhjhkhjckδjlδjmjkVjhjhkhjckδjlδkm=1hlVmcl+kVkhlhkhlckδlmVlhlhmhlcm=1hlVmclVlhlhmhlcm\begin{aligned} (\nabla \vb{V})_{lm} &= \vu{e}_l \cdot (\nabla \vb{V}) \cdot \vu{e}_m \\ &= \sum_{jk} \frac{1}{h_j} \pdv{V_k}{c_j} \delta_{jl} \delta_{km} + \sum_{jk} \frac{V_k}{h_j h_k} \pdv{h_j}{c_k} \delta_{jl} \delta_{jm} - \sum_{jk} \frac{V_j}{h_j h_k} \pdv{h_j}{c_k} \delta_{jl} \delta_{km} \\ &= \frac{1}{h_l} \pdv{V_m}{c_l} + \sum_{k} \frac{V_k}{h_l h_k} \pdv{h_l}{c_k} \delta_{lm} - \frac{V_l}{h_l h_m} \pdv{h_l}{c_m} \\ &= \frac{1}{h_l} \pdv{V_m}{c_l} - \frac{V_l}{h_l h_m} \pdv{h_l}{c_m} \end{aligned}

Advection of a vector

In physics, a common quantity is the advection (U)V(\vb{U} \cdot \nabla) \vb{V} of a vector V\vb{V} according to a velocity field U\vb{U}, as found in e.g. a material derivative. In (c1,c2,c3)(c_1, c_2, c_3) its cjc_j-component is:

((U)V)j=kUkhkVjck+kjVkhjhk(UjhjckUkhkcj)\begin{aligned} \boxed{ \big( (\vb{U} \cdot \nabla) \vb{V} \big)_j = \sum_{k} \frac{U_k}{h_k} \pdv{V_j}{c_k} + \sum_{k \neq j} \frac{V_k}{h_j h_k} \bigg( U_j \pdv{h_j}{c_k} - U_k \pdv{h_k}{c_j} \bigg) } \end{aligned}

From our earlier calculation of f\nabla f, we know how to express the del \nabla in (c1,c2,c3)(c_1, c_2, c_3). Thanks to orthogonality, U\vb{U} \cdot \nabla is therefore simply:

U=(U1e^1+U2e^2+U3e^3)(e^11h1c1+e^21h2c2+e^31h3c3)=(jUje^j)(ke^k1hkck)=jk(e^je^k)Ujhkck=jUjhjcj\begin{aligned} \vb{U} \cdot \nabla &= \bigg( U_1 \vu{e}_1 + U_2 \vu{e}_2 + U_3 \vu{e}_3 \bigg) \cdot \bigg( \vu{e}_1 \frac{1}{h_1} \pdv{}{c_1} + \vu{e}_2 \frac{1}{h_2} \pdv{}{c_2} + \vu{e}_3 \frac{1}{h_3} \pdv{}{c_3} \bigg) \\ &= \bigg( \sum_{j} U_j \vu{e}_j \bigg) \cdot \bigg( \sum_{k} \vu{e}_k \frac{1}{h_k} \pdv{}{c_k} \bigg) \\ &= \sum_{jk} (\vu{e}_j \cdot \vu{e}_k) \frac{U_j}{h_k} \pdv{}{c_k} \\ &= \sum_{j} \frac{U_j}{h_j} \pdv{}{c_j} \end{aligned}

We apply this to V\vb{V} and use the product rule of differentiation:

(U)V=(jUjhjcj)(kVke^k)=jkUjhjcj(Vke^k)=jkUjhj(Vkcje^k+Vke^kcj)\begin{aligned} (\vb{U} \cdot \nabla) \vb{V} &= \bigg( \sum_{j} \frac{U_j}{h_j} \pdv{}{c_j} \bigg) \bigg( \sum_{k} V_k \vu{e}_k \bigg) \\ &= \sum_{jk} \frac{U_j}{h_j} \pdv{}{c_j} (V_k \vu{e}_k) \\ &= \sum_{jk} \frac{U_j}{h_j} \bigg( \pdv{V_k}{c_j} \vu{e}_k + V_k \pdv{\vu{e}_k}{c_j} \bigg) \end{aligned}

Substituting our expression for the derivatives of the local basis vectors, we find:

(U)V=jkUjhj(Vkcje^k+Vkhkhjcke^jδjklVkhlhkcle^l)=jkUjhjVkcje^k+jkUjVkhjhkhjcke^jjlUjVjhjhlhjcle^l\begin{aligned} (\vb{U} \cdot \nabla) \vb{V} &= \sum_{jk} \frac{U_j}{h_j} \bigg( \pdv{V_k}{c_j} \vu{e}_k + \frac{V_k}{h_k} \pdv{h_j}{c_k} \vu{e}_j - \delta_{jk} \sum_{l} \frac{V_k}{h_l} \pdv{h_k}{c_l} \vu{e}_l \bigg) \\ &= \sum_{jk} \frac{U_j}{h_j} \pdv{V_k}{c_j} \vu{e}_k + \sum_{jk} \frac{U_j V_k}{h_j h_k} \pdv{h_j}{c_k} \vu{e}_j - \sum_{jl} \frac{U_j V_j}{h_j h_l} \pdv{h_j}{c_l} \vu{e}_l \end{aligned}

We rename the indices such that each term contains e^j\vu{e}_j. Note that when k=jk = j, the latter two terms cancel out, so we only need to sum for kjk \neq j:

(U)V=jkUkhkVjcke^j+jkUjVkhjhkhjcke^jjkUkVkhjhkhkcje^j=jkUkhkVjcke^j+jkj(UjVkhjhkhjcke^jUkVkhjhkhkcje^j)\begin{aligned} (\vb{U} \cdot \nabla) \vb{V} &= \sum_{jk} \frac{U_k}{h_k} \pdv{V_j}{c_k} \vu{e}_j + \sum_{jk} \frac{U_j V_k}{h_j h_k} \pdv{h_j}{c_k} \vu{e}_j - \sum_{jk} \frac{U_k V_k}{h_j h_k} \pdv{h_k}{c_j} \vu{e}_j \\ &= \sum_{jk} \frac{U_k}{h_k} \pdv{V_j}{c_k} \vu{e}_j + \sum_{j} \sum_{k \neq j} \bigg( \frac{U_j V_k}{h_j h_k} \pdv{h_j}{c_k} \vu{e}_j - \frac{U_k V_k}{h_j h_k} \pdv{h_k}{c_j} \vu{e}_j \bigg) \end{aligned}

Dot-multiplying by e^j\vu{e}_j isolates the cjc_j-component and gives the desired formula.

Laplacian of a vector

The Laplacian 2V\nabla^2 \vb{V} of a vector V\vb{V} has the following components in (c1,c2,c3)(c_1, c_2, c_3):

(2V)j=k1Hck(Hhk2Vjck)+kj1H(cj(HVkhj2hkhjck)ck(HVkhjhk2hkcj))+kj1hjhk(1hjVkcjhjck1hkVkckhkcj)kj1hjhk(Vjhjhk(hjck)2+lkVlhkhlhkclhkcj)\begin{aligned} \boxed{ \begin{aligned} (\nabla^2 \vb{V})_j &= \sum_{k} \frac{1}{H} \pdv{}{c_k} \bigg( \frac{H}{h_k^2} \pdv{V_j}{c_k} \bigg) \\ &\quad\: + \sum_{k \neq j} \frac{1}{H} \bigg( \pdv{}{c_j} \Big( \frac{H V_k}{h_j^2 h_k} \pdv{h_j}{c_k} \Big) - \pdv{}{c_k} \Big( \frac{H V_k}{h_j h_k^2} \pdv{h_k}{c_j} \Big) \bigg) \\ &\quad\: + \sum_{k \neq j} \frac{1}{h_j h_k} \bigg( \frac{1}{h_j} \pdv{V_k}{c_j} \pdv{h_j}{c_k} - \frac{1}{h_k} \pdv{V_k}{c_k} \pdv{h_k}{c_j} \bigg) \\ &\quad\:- \sum_{k \neq j} \frac{1}{h_j h_k} \bigg( \frac{V_j}{h_j h_k} \Big( \pdv{h_j}{c_k} \Big)^2 + \sum_{l \neq k} \frac{V_l}{h_k h_l} \pdv{h_k}{c_l} \pdv{h_k}{c_j} \bigg) \end{aligned} } \end{aligned}

We already know how to calculate the Laplacian 2f\nabla^2 f of a scalar. From that, we read out the 2\nabla^2-operator and apply it to a vector V\vb{V} instead:

2V=(j1Hcj(Hhj2cj))(kVke^k)=jk1Hcj(Hhj2cj(Vke^k))=jk1Hcj(Hhj2Vkcje^k+HVkhj2e^kcj)=jk1Hcj(Hhj2Vkcje^k+HVkhj2(1hkhjcke^jδjkl1hlhkcle^l))=j1Hcj(kHhj2Vkcje^k+kHVkhj2hkhjcke^jlHVjhj2hlhjcle^l)=j1Hcj(kHhj2Vkcje^k+kjHVkhj2hkhjcke^jkjHVjhj2hkhjcke^k)\begin{aligned} \nabla^2 \vb{V} &= \bigg( \sum_{j} \frac{1}{H} \pdv{}{c_j} \Big( \frac{H}{h_j^2} \pdv{}{c_j} \Big) \bigg) \bigg( \sum_{k} V_k \vu{e}_k \bigg) \\ &= \sum_{jk} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H}{h_j^2} \pdv{}{c_j} (V_k \vu{e}_k) \bigg) \\ &= \sum_{jk} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H}{h_j^2} \pdv{V_k}{c_j} \vu{e}_k + \frac{H V_k}{h_j^2} \pdv{\vu{e}_k}{c_j} \bigg) \\ &= \sum_{jk} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H}{h_j^2} \pdv{V_k}{c_j} \vu{e}_k + \frac{H V_k}{h_j^2} \Big( \frac{1}{h_k} \pdv{h_j}{c_k} \vu{e}_j - \delta_{jk} \sum_{l} \frac{1}{h_l} \pdv{h_k}{c_l} \vu{e}_l \Big) \bigg) \\ &= \sum_{j} \frac{1}{H} \pdv{}{c_j} \bigg( \sum_{k} \frac{H}{h_j^2} \pdv{V_k}{c_j} \vu{e}_k + \sum_{k} \frac{H V_k}{h_j^2 h_k} \pdv{h_j}{c_k} \vu{e}_j - \sum_{l} \frac{H V_j}{h_j^2 h_l} \pdv{h_j}{c_l} \vu{e}_l \bigg) \\ &= \sum_{j} \frac{1}{H} \pdv{}{c_j} \bigg( \sum_{k} \frac{H}{h_j^2} \pdv{V_k}{c_j} \vu{e}_k + \sum_{k \neq j} \frac{H V_k}{h_j^2 h_k} \pdv{h_j}{c_k} \vu{e}_j - \sum_{k \neq j} \frac{H V_j}{h_j^2 h_k} \pdv{h_j}{c_k} \vu{e}_k \bigg) \end{aligned}

Where we have noticed that the latter two terms cancel out if j=kj = k. We expand according to the product rule of differentiation:

2V=jk1Hcj(Hhj2Vkcj)e^k+jk1HHhj2Vkcje^kcj+jkj1Hcj(HVkhj2hkhjck)e^j+jkj1HHVkhj2hkhjcke^jcjjkj1Hcj(HVjhj2hkhjck)e^kjkj1HHVjhj2hkhjcke^kcj\begin{aligned} \nabla^2 \vb{V} &= \sum_{jk} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H}{h_j^2} \pdv{V_k}{c_j} \bigg) \vu{e}_k + \sum_{jk} \frac{1}{H} \frac{H}{h_j^2} \pdv{V_k}{c_j} \pdv{\vu{e}_k}{c_j} \\ &\quad\: + \sum_{j} \sum_{k \neq j} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H V_k}{h_j^2 h_k} \pdv{h_j}{c_k} \bigg) \vu{e}_j + \sum_{j} \sum_{k \neq j} \frac{1}{H} \frac{H V_k}{h_j^2 h_k} \pdv{h_j}{c_k} \pdv{\vu{e}_j}{c_j} \\ &\quad\: - \sum_{j} \sum_{k \neq j} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H V_j}{h_j^2 h_k} \pdv{h_j}{c_k} \bigg) \vu{e}_k - \sum_{j} \sum_{k \neq j} \frac{1}{H} \frac{H V_j}{h_j^2 h_k} \pdv{h_j}{c_k} \pdv{\vu{e}_k}{c_j} \end{aligned}

Substituting our expression for the derivatives of the local basis vectors, we find:

2V=jk1Hcj(Hhj2Vkcj)e^k+jk1hj2Vkcj(1hkhjcke^jδjkl1hlhkcle^l)+jkj1Hcj(HVkhj2hkhjck)e^jjkjVkhj2hkhjck(lj1hlhjcle^l)jkj1Hcj(HVjhj2hkhjck)e^kjkjVjhj2hkhjck(1hkhjcke^j)=jk1Hcj(Hhj2Vkcj)e^k+jk1hj2hkVkcjhjcke^jjl1hj2hlVjcjhjcle^l+jkj1Hcj(HVkhj2hkhjck)e^jjkjljVkhj2hkhlhjckhjcle^ljkj1Hcj(HVjhj2hkhjck)e^kjkjVjhj2hk2(hjck)2e^j=jk1Hcj(Hhj2Vkcj)e^k+jkj1hj2hkVkcjhjcke^jjkj1hj2hkVjcjhjcke^k+jkj1Hcj(HVkhj2hkhjck)e^jjkjljVkhj2hkhlhjckhjcle^ljkj1Hcj(HVjhj2hkhjck)e^kjkjVjhj2hk2(hjck)2e^j\begin{aligned} \nabla^2 \vb{V} &= \sum_{jk} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H}{h_j^2} \pdv{V_k}{c_j} \bigg) \vu{e}_k + \sum_{jk} \frac{1}{h_j^2} \pdv{V_k}{c_j} \bigg( \frac{1}{h_k} \pdv{h_j}{c_k} \vu{e}_j - \delta_{jk} \sum_{l} \frac{1}{h_l} \pdv{h_k}{c_l} \vu{e}_l \bigg) \\ &\quad\: + \sum_{j} \sum_{k \neq j} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H V_k}{h_j^2 h_k} \pdv{h_j}{c_k} \bigg) \vu{e}_j - \sum_{j} \sum_{k \neq j} \frac{V_k}{h_j^2 h_k} \pdv{h_j}{c_k} \bigg( \sum_{l \neq j} \frac{1}{h_l} \pdv{h_j}{c_l} \vu{e}_l \bigg) \\ &\quad\: - \sum_{j} \sum_{k \neq j} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H V_j}{h_j^2 h_k} \pdv{h_j}{c_k} \bigg) \vu{e}_k - \sum_{j} \sum_{k \neq j} \frac{V_j}{h_j^2 h_k} \pdv{h_j}{c_k} \bigg( \frac{1}{h_k} \pdv{h_j}{c_k} \vu{e}_j \bigg) \\ &= \sum_{jk} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H}{h_j^2} \pdv{V_k}{c_j} \bigg) \vu{e}_k + \sum_{jk} \frac{1}{h_j^2 h_k} \pdv{V_k}{c_j} \pdv{h_j}{c_k} \vu{e}_j - \sum_{jl} \frac{1}{h_j^2 h_l} \pdv{V_j}{c_j} \pdv{h_j}{c_l} \vu{e}_l \\ &\quad\: + \sum_{j} \sum_{k \neq j} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H V_k}{h_j^2 h_k} \pdv{h_j}{c_k} \bigg) \vu{e}_j - \sum_{j} \sum_{k \neq j} \sum_{l \neq j} \frac{V_k}{h_j^2 h_k h_l} \pdv{h_j}{c_k} \pdv{h_j}{c_l} \vu{e}_l \\ &\quad\: - \sum_{j} \sum_{k \neq j} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H V_j}{h_j^2 h_k} \pdv{h_j}{c_k} \bigg) \vu{e}_k - \sum_{j} \sum_{k \neq j} \frac{V_j}{h_j^2 h_k^2} \bigg( \pdv{h_j}{c_k} \bigg)^2 \vu{e}_j \\ &= \sum_{jk} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H}{h_j^2} \pdv{V_k}{c_j} \bigg) \vu{e}_k + \sum_{j} \sum_{k \neq j} \frac{1}{h_j^2 h_k} \pdv{V_k}{c_j} \pdv{h_j}{c_k} \vu{e}_j - \sum_{j} \sum_{k \neq j} \frac{1}{h_j^2 h_k} \pdv{V_j}{c_j} \pdv{h_j}{c_k} \vu{e}_k \\ &\quad\: + \sum_{j} \sum_{k \neq j} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H V_k}{h_j^2 h_k} \pdv{h_j}{c_k} \bigg) \vu{e}_j - \sum_{j} \sum_{k \neq j} \sum_{l \neq j} \frac{V_k}{h_j^2 h_k h_l} \pdv{h_j}{c_k} \pdv{h_j}{c_l} \vu{e}_l \\ &\quad\: - \sum_{j} \sum_{k \neq j} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H V_j}{h_j^2 h_k} \pdv{h_j}{c_k} \bigg) \vu{e}_k - \sum_{j} \sum_{k \neq j} \frac{V_j}{h_j^2 h_k^2} \bigg( \pdv{h_j}{c_k} \bigg)^2 \vu{e}_j \end{aligned}

Where we have once again noticed that terms #2 and #3 cancel out if j=kj = k. Next, we isolate the cmc_m-component by dot-multiplying with e^m\vu{e}_m:

(2V)m=(2V)e^m=jkδkmHcj(Hhj2Vkcj)+jkjδjmhj2hkVkcjhjckjkjδkmhj2hkVjcjhjck+jkjδjm1Hcj(HVkhj2hkhjck)jkjljδlmVkhj2hkhlhjckhjcljkjδkm1Hcj(HVjhj2hkhjck)jkjδjmVjhj2hk2(hjck)2=j1Hcj(Hhj2Vmcj)+km1hkhm2Vkcmhmckjm1hj2hmVjcjhjcm+km1Hcm(HVkhm2hkhmck)jmkjVkhj2hkhmhjckhjcmjm1Hcj(HVjhj2hmhjcm)kmVmhm2hk2(hmck)2\begin{aligned} (\nabla^2 \vb{V})_m &= (\nabla^2 \vb{V}) \cdot \vu{e}_m \\ &= \sum_{jk} \frac{\delta_{km}}{H} \pdv{}{c_j} \bigg( \frac{H}{h_j^2} \pdv{V_k}{c_j} \bigg) + \sum_{j} \sum_{k \neq j} \frac{\delta_{jm}}{h_j^2 h_k} \pdv{V_k}{c_j} \pdv{h_j}{c_k} - \sum_{j} \sum_{k \neq j} \frac{\delta_{km}}{h_j^2 h_k} \pdv{V_j}{c_j} \pdv{h_j}{c_k} \\ &\quad\: + \sum_{j} \sum_{k \neq j} \delta_{jm} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H V_k}{h_j^2 h_k} \pdv{h_j}{c_k} \bigg) - \sum_{j} \sum_{k \neq j} \sum_{l \neq j} \delta_{lm} \frac{V_k}{h_j^2 h_k h_l} \pdv{h_j}{c_k} \pdv{h_j}{c_l} \\ &\quad\: - \sum_{j} \sum_{k \neq j} \delta_{km} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H V_j}{h_j^2 h_k} \pdv{h_j}{c_k} \bigg) - \sum_{j} \sum_{k \neq j} \delta_{jm} \frac{V_j}{h_j^2 h_k^2} \bigg( \pdv{h_j}{c_k} \bigg)^2 \\ &= \sum_{j} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H}{h_j^2} \pdv{V_m}{c_j} \bigg) + \sum_{k \neq m} \frac{1}{h_k h_m^2} \pdv{V_k}{c_m} \pdv{h_m}{c_k} - \sum_{j \neq m} \frac{1}{h_j^2 h_m} \pdv{V_j}{c_j} \pdv{h_j}{c_m} \\ &\quad\: + \sum_{k \neq m} \frac{1}{H} \pdv{}{c_m} \bigg( \frac{H V_k}{h_m^2 h_k} \pdv{h_m}{c_k} \bigg) - \sum_{j \neq m} \sum_{k \neq j} \frac{V_k}{h_j^2 h_k h_m} \pdv{h_j}{c_k} \pdv{h_j}{c_m} \\ &\quad\: - \sum_{j \neq m} \frac{1}{H} \pdv{}{c_j} \bigg( \frac{H V_j}{h_j^2 h_m} \pdv{h_j}{c_m} \bigg) - \sum_{k \neq m} \frac{V_m}{h_m^2 h_k^2} \bigg( \pdv{h_m}{c_k} \bigg)^2 \end{aligned}

Which gives the desired formula after some simple index renaming and rearranging.

Divergence of a tensor

It also possible to take the divergence of a 2nd-order tensor T\overline{\overline{\mathbf{T}}}, yielding a vector with these components in (c1,c2,c3)(c_1, c_2, c_3):

(T)j=k1hkTkjck+kjTjkhjhkhjckkjTkkhjhkhkcj+klkTljhkhlhkcl\begin{aligned} \boxed{ (\nabla \cdot \overline{\overline{\mathbf{T}}})_j = \sum_{k} \frac{1}{h_k} \pdv{T_{kj}}{c_k} + \sum_{k \neq j} \frac{T_{jk}}{h_j h_k} \pdv{h_j}{c_k} - \sum_{k \neq j} \frac{T_{kk}}{h_j h_k} \pdv{h_k}{c_j} + \sum_{k} \sum_{l \neq k} \frac{T_{lj}}{h_k h_l} \pdv{h_k}{c_l} } \end{aligned}

From our earlier calculation of f\nabla f, we know how to express the del \nabla in (c1,c2,c3)(c_1, c_2, c_3). Now we simply take the dot product and evaluate:

T=(e^11h1c1+e^21h2c2+e^31h3c3)(T11e^1e^1+T12e^1e^2+T13e^1e^3+T21e^2e^1+T22e^2e^2+T23e^2e^3+T31e^3e^1+T32e^3e^2+T33e^3e^3)=(je^j1hjcj)(klTkle^ke^l)=jkle^j1hjcj(Tkle^ke^l)\begin{aligned} \nabla \cdot \overline{\overline{\mathbf{T}}} &= \bigg( \vu{e}_1 \frac{1}{h_1} \pdv{}{c_1} + \vu{e}_2 \frac{1}{h_2} \pdv{}{c_2} + \vu{e}_3 \frac{1}{h_3} \pdv{}{c_3} \bigg) \\ &\quad\:\:\: \cdot \Big( T_{11} \vu{e}_1 \vu{e}_1 + T_{12} \vu{e}_1 \vu{e}_2 + T_{13} \vu{e}_1 \vu{e}_3 \\ &\qquad + T_{21} \vu{e}_2 \vu{e}_1 + T_{22} \vu{e}_2 \vu{e}_2 + T_{23} \vu{e}_2 \vu{e}_3 \\ &\qquad + T_{31} \vu{e}_3 \vu{e}_1 + T_{32} \vu{e}_3 \vu{e}_2 + T_{33} \vu{e}_3 \vu{e}_3 \Big) \\ &= \bigg( \sum_{j} \vu{e}_j \frac{1}{h_j} \pdv{}{c_j} \bigg) \cdot \bigg( \sum_{kl} T_{kl} \vu{e}_k \vu{e}_l \bigg) \\ &= \sum_{jkl} \vu{e}_j \cdot \frac{1}{h_j} \pdv{}{c_j} (T_{kl} \vu{e}_k \vu{e}_l) \end{aligned}

We apply the product rule of differentiation and use that c(ab)=(ca)b\vb{c} \cdot (\vb{a} \vb{b}) = (\vb{c} \cdot \vb{a}) \vb{b}:

T=jkl((e^je^k)1hjTklcje^l+(e^je^k)Tklhje^lcj+(e^je^kcj)Tklhje^l)=jkl(δjk1hjTklcje^l+δjkTklhje^lcj+(e^je^kcj)Tklhje^l)=jl(1hjTjlcje^l+Tjlhje^lcj+k(e^je^kcj)Tklhje^l)\begin{aligned} \nabla \cdot \overline{\overline{\mathbf{T}}} &= \sum_{jkl} \bigg( (\vu{e}_j \cdot \vu{e}_k) \frac{1}{h_j} \pdv{T_{kl}}{c_j} \vu{e}_l + (\vu{e}_j \cdot \vu{e}_k) \frac{T_{kl}}{h_j} \pdv{\vu{e}_l}{c_j} + \Big( \vu{e}_j \cdot \pdv{\vu{e}_k}{c_j} \Big) \frac{T_{kl}}{h_j} \vu{e}_l \bigg) \\ &= \sum_{jkl} \bigg( \delta_{jk} \frac{1}{h_j} \pdv{T_{kl}}{c_j} \vu{e}_l + \delta_{jk} \frac{T_{kl}}{h_j} \pdv{\vu{e}_l}{c_j} + \Big( \vu{e}_j \cdot \pdv{\vu{e}_k}{c_j} \Big) \frac{T_{kl}}{h_j} \vu{e}_l \bigg) \\ &= \sum_{jl} \bigg( \frac{1}{h_j} \pdv{T_{jl}}{c_j} \vu{e}_l + \frac{T_{jl}}{h_j} \pdv{\vu{e}_l}{c_j} + \sum_{k} \Big( \vu{e}_j \cdot \pdv{\vu{e}_k}{c_j} \Big) \frac{T_{kl}}{h_j} \vu{e}_l \bigg) \end{aligned}

Inserting our expressions for the derivatives of the basis vectors in the last term, we find:

T=jl(1hjTjlcje^l+Tjlhje^lcj+ke^j(1hkhjcke^jδjkm1hmhkcme^m)Tklhje^l)=jl(1hjTjlcje^l+Tjlhje^lcj+kTklhjhkhjcke^lm(e^je^m)Tjlhjhmhjcme^l)=jl(1hjTjlcje^l+Tjlhje^lcj+kTklhjhkhjcke^lTjlhjhjhjcje^l)=jl(1hjTjlcje^l+Tjlhje^lcj+kjTklhjhkhjcke^l)\begin{aligned} \nabla \cdot \overline{\overline{\mathbf{T}}} &= \sum_{jl} \bigg( \frac{1}{h_j} \pdv{T_{jl}}{c_j} \vu{e}_l + \frac{T_{jl}}{h_j} \pdv{\vu{e}_l}{c_j} + \sum_{k} \vu{e}_j \cdot \Big( \frac{1}{h_k} \pdv{h_j}{c_k} \vu{e}_j - \delta_{jk} \sum_{m} \frac{1}{h_m} \pdv{h_k}{c_m} \vu{e}_m \Big) \frac{T_{kl}}{h_j} \vu{e}_l \bigg) \\ &= \sum_{jl} \bigg( \frac{1}{h_j} \pdv{T_{jl}}{c_j} \vu{e}_l + \frac{T_{jl}}{h_j} \pdv{\vu{e}_l}{c_j} + \sum_{k} \frac{T_{kl}}{h_j h_k} \pdv{h_j}{c_k} \vu{e}_l - \sum_{m} (\vu{e}_j \cdot \vu{e}_m) \frac{T_{jl}}{h_j h_m} \pdv{h_j}{c_m} \vu{e}_l \bigg) \\ &= \sum_{jl} \bigg( \frac{1}{h_j} \pdv{T_{jl}}{c_j} \vu{e}_l + \frac{T_{jl}}{h_j} \pdv{\vu{e}_l}{c_j} + \sum_{k} \frac{T_{kl}}{h_j h_k} \pdv{h_j}{c_k} \vu{e}_l - \frac{T_{jl}}{h_j h_j} \pdv{h_j}{c_j} \vu{e}_l \bigg) \\ &= \sum_{jl} \bigg( \frac{1}{h_j} \pdv{T_{jl}}{c_j} \vu{e}_l + \frac{T_{jl}}{h_j} \pdv{\vu{e}_l}{c_j} + \sum_{k \neq j} \frac{T_{kl}}{h_j h_k} \pdv{h_j}{c_k} \vu{e}_l \bigg) \end{aligned}

Where we noticed that the latter two terms cancel out if k=jk = j. Next, rewriting e^l/cj\ipdv{\vu{e}_l}{c_j}:

T=jl(1hjTjlcje^l+Tjlhj(1hlhjcle^jδjlm1hmhlcme^m)+kjTklhjhkhjcke^l)=jl(1hjTjlcje^l+Tjlhjhlhjcle^jδjlmTjlhjhmhlcme^m+kjTklhjhkhjcke^l)=jl1hjTjlcje^l+jlTjlhjhlhjcle^jjmTjjhjhmhjcme^m+jlkjTklhjhkhjcke^l\begin{aligned} \nabla \cdot \overline{\overline{\mathbf{T}}} &= \sum_{jl} \bigg( \frac{1}{h_j} \pdv{T_{jl}}{c_j} \vu{e}_l + \frac{T_{jl}}{h_j} \Big( \frac{1}{h_l} \pdv{h_j}{c_l} \vu{e}_j - \delta_{jl} \sum_{m} \frac{1}{h_m} \pdv{h_l}{c_m} \vu{e}_m \Big) + \sum_{k \neq j} \frac{T_{kl}}{h_j h_k} \pdv{h_j}{c_k} \vu{e}_l \bigg) \\ &= \sum_{jl} \bigg( \frac{1}{h_j} \pdv{T_{jl}}{c_j} \vu{e}_l + \frac{T_{jl}}{h_j h_l} \pdv{h_j}{c_l} \vu{e}_j - \delta_{jl} \sum_{m} \frac{T_{jl}}{h_j h_m} \pdv{h_l}{c_m} \vu{e}_m + \sum_{k \neq j} \frac{T_{kl}}{h_j h_k} \pdv{h_j}{c_k} \vu{e}_l \bigg) \\ &= \sum_{jl} \frac{1}{h_j} \pdv{T_{jl}}{c_j} \vu{e}_l + \sum_{jl} \frac{T_{jl}}{h_j h_l} \pdv{h_j}{c_l} \vu{e}_j - \sum_{jm} \frac{T_{jj}}{h_j h_m} \pdv{h_j}{c_m} \vu{e}_m + \sum_{jl} \sum_{k \neq j} \frac{T_{kl}}{h_j h_k} \pdv{h_j}{c_k} \vu{e}_l \end{aligned}

Renaming the indices such that each term contains e^l\vu{e}_l, we arrive at the full result:

T=jl(1hjTjlcj+TljhjhlhlcjTjjhjhlhjcl+kjTklhjhkhjck)e^l\begin{aligned} \nabla \cdot \overline{\overline{\mathbf{T}}} &= \sum_{jl} \bigg( \frac{1}{h_j} \pdv{T_{jl}}{c_j} + \frac{T_{lj}}{h_j h_l} \pdv{h_l}{c_j} - \frac{T_{jj}}{h_j h_l} \pdv{h_j}{c_l} + \sum_{k \neq j} \frac{T_{kl}}{h_j h_k} \pdv{h_j}{c_k} \bigg) \vu{e}_l \end{aligned}

To isolate the cmc_m-component, we dot-multiply by e^m\vu{e}_m and resolve the Kronecker delta δlm\delta_{lm}:

(T)m=(T)e^m=jlδlm(1hjTjlcj+TljhjhlhlcjTjjhjhlhjcl+kjTklhjhkhjck)=j1hjTjmcj+jTmjhjhmhmcjjTjjhjhmhjcm+jkjTkmhjhkhjck\begin{aligned} (\nabla \cdot \overline{\overline{\mathbf{T}}})_m &= (\nabla \cdot \overline{\overline{\mathbf{T}}}) \cdot \vu{e}_m \\ &= \sum_{jl} \delta_{lm} \bigg( \frac{1}{h_j} \pdv{T_{jl}}{c_j} + \frac{T_{lj}}{h_j h_l} \pdv{h_l}{c_j} - \frac{T_{jj}}{h_j h_l} \pdv{h_j}{c_l} + \sum_{k \neq j} \frac{T_{kl}}{h_j h_k} \pdv{h_j}{c_k} \bigg) \\ &= \sum_{j} \frac{1}{h_j} \pdv{T_{jm}}{c_j} + \sum_{j} \frac{T_{mj}}{h_j h_m} \pdv{h_m}{c_j} - \sum_{j} \frac{T_{jj}}{h_j h_m} \pdv{h_j}{c_m} + \sum_{j} \sum_{k \neq j} \frac{T_{km}}{h_j h_k} \pdv{h_j}{c_k} \end{aligned}

The second and third terms cancel out for j=mj = m, so we can sum over jmj \neq m instead.

References

  1. M.L. Boas, Mathematical methods in the physical sciences, 2nd edition, Wiley.
  2. B. Lautrup, Physics of continuous matter: exotic and everyday phenomena in the macroscopic world, 2nd edition, CRC Press.
  3. B. Lautrup, Orthogonal curvilinear coordinates, 2004, unpublished.