Mathematical Methods Handbook

Curvilinear coordinates

Differential operators in orthogonal coordinate systems.

In this chapter 2

Tick a unit to add it to your PDF basket.

  1. Orthogonal curvilinear coordinates

Orthogonal curvilinear coordinates

2

Method

Orthogonal curvilinear coordinates

Adapted

Builds the orthonormal tangent frame and the scale factors of a curvilinear coordinate system, gives the line, area and volume elements they produce, and derives the four general formulas for grad, div, curl and the Laplacian, with a fully worked example in parabolic cylindrical coordinates.

Prerequisites: Divergence, curl and the Laplacian, Gradient and directional derivative, Vector differential identities, Multiple integrals and change of variables, Implicit and inverse function theorems

Definition(Curvilinear coordinates, scale factors, the unit basis)AdaptedAdapted from Riley, Hobson & Bence (2006), §10.10, pp. 364–365; Arfken, Weber & Harris (2013), §3.10, pp. 183–184, Eqs. (3.128)–(3.132)

Let D⊆R3D \subseteq \mathbb{R}^3 be open and let

r:D→R3,(u1,u2,u3)↦r(u1,u2,u3)=(x(u1,u2,u3), y(⋯ ), z(⋯ ))\mathbf{r} : D \to \mathbb{R}^3, \qquad (u_1, u_2, u_3) \mapsto \mathbf{r}(u_1,u_2,u_3) = \bigl(x(u_1,u_2,u_3),\, y(\cdots),\, z(\cdots)\bigr)

be of class C2C^2, injective, with a C1C^1 inverse — a curvilinear coordinate system on the image r(D)\mathbf{r}(D). (Riley, Hobson and Bence ask only for continuity, differentiability and a single-valued inverse; C2C^2 is assumed here because the proof below differentiates twice.) Both of our sources allow the conditions to break down on a few exceptional points and curves, such as the origin or the polar axis; here those sets are simply removed from DD.

  • The coordinate surfaces through a point are the three level sets ui=constu_i = \text{const}; each pair of them meets in a coordinate curve, along which only one coordinate varies.
  • The tangent vectors are ei=∂r/∂ui\mathbf{e}_i = \partial\mathbf{r}/\partial u_i, tangent to the uiu_i-curve in the direction of increasing uiu_i. We assume ei≠0\mathbf{e}_i \neq \mathbf{0} throughout DD.
  • The scale factors are their lengths, hi=∣ei∣=∣∂r∂ui∣=[(∂x∂ui)2+(∂y∂ui)2+(∂z∂ui)2]1/2>0,h_i = \lvert \mathbf{e}_i \rvert = \left\lvert \frac{\partial\mathbf{r}}{\partial u_i} \right\rvert = \left[ \left(\frac{\partial x}{\partial u_i}\right)^{2} + \left(\frac{\partial y}{\partial u_i}\right)^{2} + \left(\frac{\partial z}{\partial u_i}\right)^{2} \right]^{1/2} > 0 , and the unit basis is e^i=ei/hi\hat{\mathbf{e}}_i = \mathbf{e}_i / h_i. A coordinate uiu_i need not be a length; hih_i carries whatever dimension makes hi duih_i\,du_i one.
  • The system is orthogonal when ei⋅ej=0\mathbf{e}_i \cdot \mathbf{e}_j = 0 for i≠ji \neq j at every point of DD, so that e^1,e^2,e^3\hat{\mathbf{e}}_1, \hat{\mathbf{e}}_2, \hat{\mathbf{e}}_3 is an orthonormal basis at each point. Equivalently, in Arfken's notation the metric coefficients gij=ei⋅ejg_{ij} = \mathbf{e}_i \cdot \mathbf{e}_j form a diagonal matrix, gij=hi2 δijg_{ij} = h_i^2\,\delta_{ij}. Throughout this unit the labelling is also chosen so that the frame is right-handed, e^1×e^2=e^3\hat{\mathbf{e}}_1 \times \hat{\mathbf{e}}_2 = \hat{\mathbf{e}}_3.

A vector field is written in the unit basis as a=a1e^1+a2e^2+a3e^3\mathbf{a} = a_1\hat{\mathbf{e}}_1 + a_2\hat{\mathbf{e}}_2 + a_3\hat{\mathbf{e}}_3; the aia_i are its physical components, and they carry the dimensions of a\mathbf{a} itself. The frame rotates from point to point, so the e^i\hat{\mathbf{e}}_i must be differentiated along with the aia_i whenever an operator is applied to a\mathbf{a}.

Method(Line, area and volume elements)AdaptedAdapted from Riley, Hobson & Bence (2006), §10.10, Eqs. (10.55)–(10.58), pp. 365–366; Arfken, Weber & Harris (2013), §3.10, Eqs. (3.133)–(3.137), pp. 184–185

Let u1,u2,u3u_1,u_2,u_3 be an orthogonal curvilinear system on DD as above. Then, at every point of DD:

  1. Displacement. dr=∑i=13∂r∂ui dui=h1 du1 e^1+h2 du2 e^2+h3 du3 e^3.\displaystyle d\mathbf{r} = \sum_{i=1}^{3} \frac{\partial\mathbf{r}}{\partial u_i}\,du_i = h_1\,du_1\,\hat{\mathbf{e}}_1 + h_2\,du_2\,\hat{\mathbf{e}}_2 + h_3\,du_3\,\hat{\mathbf{e}}_3 .
  2. Arc length. Since the e^i\hat{\mathbf{e}}_i are orthonormal, (ds)2=dr⋅dr=h12 (du1)2+h22 (du2)2+h32 (du3)2,(ds)^2 = d\mathbf{r}\cdot d\mathbf{r} = h_1^2\,(du_1)^2 + h_2^2\,(du_2)^2 + h_3^2\,(du_3)^2 , with no cross terms; a line integral of a\mathbf{a} along a curve is ∫a⋅dr=∑i∫ai hi dui\int \mathbf{a}\cdot d\mathbf{r} = \sum_i \int a_i\,h_i\,du_i.
  3. Area. On a coordinate surface u1=constu_1 = \text{const}, the patch spanned by du2du_2 and du3du_3 has area h2h3 du2 du3h_2h_3\,du_2\,du_3 and unit normal ±e^1\pm\hat{\mathbf{e}}_1, so the flux of a\mathbf{a} through it is a1 h2h3 du2 du3a_1\,h_2h_3\,du_2\,du_3; the two other faces are obtained by cycling 1→2→3→11\to2\to3\to1.
  4. Volume. The infinitesimal box spanned by hi dui e^ih_i\,du_i\,\hat{\mathbf{e}}_i has volume dV=∣h1 du1 e^1⋅(h2 du2 e^2×h3 du3 e^3)∣=h1h2h3 du1 du2 du3.dV = \bigl\lvert h_1\,du_1\,\hat{\mathbf{e}}_1 \cdot (h_2\,du_2\,\hat{\mathbf{e}}_2 \times h_3\,du_3\,\hat{\mathbf{e}}_3) \bigr\rvert = h_1h_2h_3\,du_1\,du_2\,du_3 . The scalar triple product on the left is the determinant whose columns are the ei\mathbf{e}_i, so this says that the Jacobian factor of the map r\mathbf{r} is ∣det⁡Dr∣=h1h2h3\lvert\det D\mathbf{r}\rvert = h_1h_2h_3 (change of variables) — orthogonality is what lets the determinant be read off from the three lengths alone.
Method(The four operators in orthogonal curvilinear coordinates)AdaptedAdapted from Riley, Hobson & Bence (2006), §10.10, Eqs. (10.60)–(10.62) and Table 10.4, pp. 367–369; Arfken, Weber & Harris (2013), §3.10, Eqs. (3.138)–(3.143), pp. 185–187

With the hypotheses of the definition, let Φ\Phi be a C1C^1 scalar field (a C2C^2 one for the Laplacian) and a=a1e^1+a2e^2+a3e^3\mathbf{a} = a_1\hat{\mathbf{e}}_1 + a_2\hat{\mathbf{e}}_2 + a_3\hat{\mathbf{e}}_3 a C1C^1 vector field on r(D)\mathbf{r}(D). Writing H=h1h2h3H = h_1h_2h_3:

∇Φ=1h1∂Φ∂u1 e^1+1h2∂Φ∂u2 e^2+1h3∂Φ∂u3 e^3,\nabla\Phi = \frac{1}{h_1}\frac{\partial\Phi}{\partial u_1}\,\hat{\mathbf{e}}_1 + \frac{1}{h_2}\frac{\partial\Phi}{\partial u_2}\,\hat{\mathbf{e}}_2 + \frac{1}{h_3}\frac{\partial\Phi}{\partial u_3}\,\hat{\mathbf{e}}_3 ,∇⋅a=1H[∂∂u1(h2h3 a1)+∂∂u2(h3h1 a2)+∂∂u3(h1h2 a3)],\nabla\cdot\mathbf{a} = \frac{1}{H}\left[ \frac{\partial}{\partial u_1}\bigl(h_2h_3\,a_1\bigr) + \frac{\partial}{\partial u_2}\bigl(h_3h_1\,a_2\bigr) + \frac{\partial}{\partial u_3}\bigl(h_1h_2\,a_3\bigr) \right] ,∇×a=1H∣h1e^1h2e^2h3e^3∂∂u1∂∂u2∂∂u3h1a1h2a2h3a3∣,\nabla\times\mathbf{a} = \frac{1}{H} \begin{vmatrix} h_1\hat{\mathbf{e}}_1 & h_2\hat{\mathbf{e}}_2 & h_3\hat{\mathbf{e}}_3 \\[2pt] \dfrac{\partial}{\partial u_1} & \dfrac{\partial}{\partial u_2} & \dfrac{\partial}{\partial u_3} \\[6pt] h_1a_1 & h_2a_2 & h_3a_3 \end{vmatrix} ,∇2Φ=1H[∂∂u1 ⁣(h2h3h1∂Φ∂u1)+∂∂u2 ⁣(h3h1h2∂Φ∂u2)+∂∂u3 ⁣(h1h2h3∂Φ∂u3)].\nabla^2\Phi = \frac{1}{H}\left[ \frac{\partial}{\partial u_1}\!\left( \frac{h_2h_3}{h_1}\frac{\partial\Phi}{\partial u_1} \right) + \frac{\partial}{\partial u_2}\!\left( \frac{h_3h_1}{h_2}\frac{\partial\Phi}{\partial u_2} \right) + \frac{\partial}{\partial u_3}\!\left( \frac{h_1h_2}{h_3}\frac{\partial\Phi}{\partial u_3} \right) \right] .

The determinant is expanded along its first row, the entries of the middle row acting as operators on the entries of the last; explicitly its e^1\hat{\mathbf{e}}_1 component is 1h2h3[∂u2(h3a3)−∂u3(h2a2)]\frac{1}{h_2h_3}\bigl[\partial_{u_2}(h_3a_3) - \partial_{u_3}(h_2a_2)\bigr], and the other two follow by cycling. Setting all hi=1h_i = 1 recovers the Cartesian formulas of Divergence, curl and the Laplacian.

Idea of the proofAdaptedAdapted from Riley, Hobson & Bence (2006), §10.10, pp. 367–369

Only the gradient has to be computed from scratch, and it comes straight from comparing two expressions for the same differential dΦd\Phi: the chain rule gives it in terms of ∂Φ/∂ui\partial\Phi/\partial u_i, and the definition of the gradient gives it as ∇Φ⋅dr\nabla\Phi\cdot d\mathbf{r}, where drd\mathbf{r} carries the scale factors. Applying that one formula to Φ=ui\Phi = u_i yields the key relation ∇ui=e^i/hi\nabla u_i = \hat{\mathbf{e}}_i/h_i, which turns each basis vector into a gradient: e^1=h1∇u1\hat{\mathbf{e}}_1 = h_1\nabla u_1 and also e^1=e^2×e^3=h2h3 ∇u2×∇u3\hat{\mathbf{e}}_1 = \hat{\mathbf{e}}_2\times\hat{\mathbf{e}}_3 = h_2h_3\,\nabla u_2\times\nabla u_3. The divergence and the curl then follow from the two vanishing identities ∇⋅(∇ϕ×∇ψ)=0\nabla\cdot(\nabla\phi\times\nabla\psi) = 0 and ∇×∇ϕ=0\nabla\times\nabla\phi = \mathbf{0}: each kills the awkward term of a product rule and leaves a single gradient, which the first formula evaluates. The Laplacian is the divergence formula fed with the gradient formula.

ProofAdaptedAdapted from Riley, Hobson & Bence (2006), §10.10, pp. 367–369; Arfken, Weber & Harris (2013), §3.10, Eqs. (3.138) and (3.142), pp. 185–186

Throughout, the frame is orthonormal and right-handed, so e^1=e^2×e^3\hat{\mathbf{e}}_1 = \hat{\mathbf{e}}_2\times\hat{\mathbf{e}}_3, e^2=e^3×e^1\hat{\mathbf{e}}_2 = \hat{\mathbf{e}}_3\times\hat{\mathbf{e}}_1, e^3=e^1×e^2\hat{\mathbf{e}}_3 = \hat{\mathbf{e}}_1\times\hat{\mathbf{e}}_2, and the component of any vector along e^i\hat{\mathbf{e}}_i is its dot product with e^i\hat{\mathbf{e}}_i.

1. The gradient. Fix a point and let the coordinates change by du1,du2,du3du_1,du_2,du_3. The chain rule for a C1C^1 function of three variables gives dΦ=∑i(∂Φ/∂ui) duid\Phi = \sum_i (\partial\Phi/\partial u_i)\,du_i. On the other hand Φ\Phi is a field on r(D)\mathbf{r}(D), so by the defining property of the gradient, dΦ=∇Φ⋅drd\Phi = \nabla\Phi\cdot d\mathbf{r}. Expand both factors in the unit basis: writing ∇Φ=∑igie^i\nabla\Phi = \sum_i g_i\hat{\mathbf{e}}_i and using dr=∑ihi dui e^id\mathbf{r} = \sum_i h_i\,du_i\,\hat{\mathbf{e}}_i from the element statement, orthonormality kills every cross term and leaves ∇Φ⋅dr=∑igihi dui\nabla\Phi\cdot d\mathbf{r} = \sum_i g_i h_i\,du_i. The three increments duidu_i are independent, so the coefficients must agree one by one: gihi=∂Φ/∂uig_i h_i = \partial\Phi/\partial u_i. Since hi>0h_i > 0 we may divide, which is the gradient formula.

2. The reciprocal relation. First, the coordinate functions are twice differentiable as functions of position. The columns of DrD\mathbf{r} are the three tangent vectors ei\mathbf{e}_i, which are mutually orthogonal and have lengths hi>0h_i > 0, hence linearly independent; so ∣det⁡Dr∣=h1h2h3≠0\lvert\det D\mathbf{r}\rvert = h_1h_2h_3 \neq 0 at every point of DD. Since r\mathbf{r} is C2C^2 with nowhere-vanishing Jacobian determinant, the inverse function theorem (Implicit and inverse function theorems) makes it a local C2C^2 diffeomorphism; as it is also injective, r(D)\mathbf{r}(D) is open and r−1\mathbf{r}^{-1} is C2C^2 on it. In particular each coordinate function uju_j is a C2C^2 function of (x,y,z)(x,y,z) — a stronger conclusion than the C1C^1 inverse assumed in the definition, and one we need in steps 3 and 5.

Now apply step 1 to Φ=uj\Phi = u_j. Its partial derivatives are ∂uj/∂ui=δij\partial u_j/\partial u_i = \delta_{ij}, so only one term survives:

∇uj=1hj e^j.\nabla u_j = \frac{1}{h_j}\,\hat{\mathbf{e}}_j .

Thus e^j=hj∇uj\hat{\mathbf{e}}_j = h_j \nabla u_j: in an orthogonal system the frame tangent to the coordinate curves and the frame normal to the coordinate surfaces coincide.

3. The divergence. Treat a=∑iaie^i\mathbf{a} = \sum_i a_i\hat{\mathbf{e}}_i one term at a time; the divergence is linear. For the first term, use right-handedness and then step 2 twice:

a1e^1=a1 (e^2×e^3)=a1 (h2∇u2)×(h3∇u3)=(a1h2h3) (∇u2×∇u3).a_1\hat{\mathbf{e}}_1 = a_1\,(\hat{\mathbf{e}}_2\times\hat{\mathbf{e}}_3) = a_1\,(h_2\nabla u_2)\times(h_3\nabla u_3) = \bigl(a_1h_2h_3\bigr)\,\bigl(\nabla u_2\times\nabla u_3\bigr).

Apply the product rule ∇⋅(fB)=∇f⋅B+f ∇⋅B\nabla\cdot(f\mathbf{B}) = \nabla f\cdot\mathbf{B} + f\,\nabla\cdot\mathbf{B} with f=a1h2h3f = a_1h_2h_3 and B=∇u2×∇u3\mathbf{B} = \nabla u_2\times\nabla u_3. The second term vanishes, because ∇⋅(∇ϕ×∇ψ)=0\nabla\cdot(\nabla\phi\times\nabla\psi) = 0 for any two C2C^2 scalars (Vector differential identities); this is where r\mathbf{r} being C2C^2 is used, since by step 2 it is what makes u2u_2 and u3u_3 twice differentiable functions of position. Hence, using step 2 once more to rewrite B=e^2×e^3/(h2h3)=e^1/(h2h3)\mathbf{B} = \hat{\mathbf{e}}_2\times\hat{\mathbf{e}}_3/(h_2h_3) = \hat{\mathbf{e}}_1/(h_2h_3),

∇⋅(a1e^1)=∇(a1h2h3)⋅e^1h2h3.\nabla\cdot(a_1\hat{\mathbf{e}}_1) = \nabla\bigl(a_1h_2h_3\bigr)\cdot\frac{\hat{\mathbf{e}}_1}{h_2h_3} .

The dot product with e^1\hat{\mathbf{e}}_1 picks out the first component of the gradient, which step 1 gives as (1/h1)∂u1(a1h2h3)(1/h_1)\partial_{u_1}(a_1h_2h_3). So ∇⋅(a1e^1)=H−1∂u1(h2h3a1)\nabla\cdot(a_1\hat{\mathbf{e}}_1) = H^{-1}\partial_{u_1}(h_2h_3a_1). Cycling the labels 1→2→3→11\to2\to3\to1 — which preserves right-handedness — gives the other two terms, and adding them gives the divergence formula.

4. The Laplacian. By definition ∇2Φ=∇⋅(∇Φ)\nabla^2\Phi = \nabla\cdot(\nabla\Phi). Step 1 says that the physical components of ∇Φ\nabla\Phi are ai=(1/hi) ∂Φ/∂uia_i = (1/h_i)\,\partial\Phi/\partial u_i, which are C1C^1 when Φ\Phi is C2C^2. Substituting them into step 3 gives the stated formula at once. Note that no mixed derivative ∂2/∂ui∂uj\partial^2/\partial u_i\partial u_j with i≠ji \neq j can appear: orthogonality is exactly what removes them.

5. The curl. Again work one term at a time, now using e^1=h1∇u1\hat{\mathbf{e}}_1 = h_1\nabla u_1 from step 2, so that a1e^1=(a1h1)∇u1a_1\hat{\mathbf{e}}_1 = (a_1h_1)\nabla u_1. The product rule ∇×(fB)=∇f×B+f ∇×B\nabla\times(f\mathbf{B}) = \nabla f\times\mathbf{B} + f\,\nabla\times\mathbf{B} with f=a1h1f = a_1h_1 and B=∇u1\mathbf{B} = \nabla u_1 loses its second term because ∇×∇ϕ=0\nabla\times\nabla\phi = \mathbf{0} for a C2C^2 scalar (Vector differential identities), leaving

∇×(a1e^1)=∇(a1h1)×e^1h1.\nabla\times(a_1\hat{\mathbf{e}}_1) = \nabla\bigl(a_1h_1\bigr)\times\frac{\hat{\mathbf{e}}_1}{h_1} .

Expand the gradient by step 1. Its e^1\hat{\mathbf{e}}_1 part crosses with e^1\hat{\mathbf{e}}_1 to zero, and the other two use e^2×e^1=−e^3\hat{\mathbf{e}}_2\times\hat{\mathbf{e}}_1 = -\hat{\mathbf{e}}_3 and e^3×e^1=e^2\hat{\mathbf{e}}_3\times\hat{\mathbf{e}}_1 = \hat{\mathbf{e}}_2:

∇×(a1e^1)=1h3h1∂(h1a1)∂u3 e^2  −  1h1h2∂(h1a1)∂u2 e^3.\nabla\times(a_1\hat{\mathbf{e}}_1) = \frac{1}{h_3h_1}\frac{\partial (h_1a_1)}{\partial u_3}\,\hat{\mathbf{e}}_2 \;-\; \frac{1}{h_1h_2}\frac{\partial (h_1a_1)}{\partial u_2}\,\hat{\mathbf{e}}_3 .

Cycling gives the contributions of a2e^2a_2\hat{\mathbf{e}}_2 and a3e^3a_3\hat{\mathbf{e}}_3. Collect the three results: the terms along e^1\hat{\mathbf{e}}_1 come from a3a_3 and a2a_2 and add up to

1h2h3[∂(h3a3)∂u2−∂(h2a2)∂u3],\frac{1}{h_2h_3}\left[ \frac{\partial (h_3a_3)}{\partial u_2} - \frac{\partial (h_2a_2)}{\partial u_3} \right] ,

and cyclically for the other two. Multiplying and dividing by h1h_1 makes this H−1h1[∂u2(h3a3)−∂u3(h2a2)]H^{-1}h_1\bigl[\partial_{u_2}(h_3a_3) - \partial_{u_3}(h_2a_2)\bigr], which is precisely the cofactor of h1e^1h_1\hat{\mathbf{e}}_1 in the stated determinant; the same holds for the other two entries, so the determinant is a compact way of writing the three components at once. □\square

Remark(Where the hypotheses are used)Original
  • Orthogonality enters three times: in step 1, to make ∇Φ⋅dr\nabla\Phi\cdot d\mathbf{r} separate into three independent terms; in step 3, through e^1=e^2×e^3\hat{\mathbf{e}}_1 = \hat{\mathbf{e}}_2\times\hat{\mathbf{e}}_3, which needs the frame to be orthonormal and right-handed, not merely orthogonal; and in the volume element, to make the determinant equal h1h2h3h_1h_2h_3. Drop orthogonality and none of the four formulas survives: a non-orthogonal system has gij≠0g_{ij} \neq 0 off the diagonal, the Laplacian acquires mixed derivatives gij∂i∂jg^{ij}\partial_i\partial_j, and the right language is tensor analysis with raised and lowered indices.
  • hi>0h_i > 0, that is ∂r/∂ui≠0\partial\mathbf{r}/\partial u_i \neq \mathbf{0}, is needed to divide by hih_i, to define e^i\hat{\mathbf{e}}_i at all, and (in step 2) to keep det⁡Dr\det D\mathbf{r} away from zero. It is exactly the condition that fails on the excluded sets: at r=0r = 0 in spherical polars hθ=rh_\theta = r vanishes, and on the polar axis hφ=rsin⁡θh_\varphi = r\sin\theta vanishes. Equivalently H=h1h2h3H = h_1h_2h_3 is the Jacobian factor, and the coordinates degenerate where it vanishes.
  • Right-handed labelling is a convenience in the proof but a real hypothesis only for the curl. Step 3 writes e^1=e^2×e^3\hat{\mathbf{e}}_1 = \hat{\mathbf{e}}_2\times\hat{\mathbf{e}}_3, which is false in a left-handed frame; but there the minus sign appears twice — once in a1e^1=−(a1h2h3) ∇u2×∇u3a_1\hat{\mathbf{e}}_1 = -(a_1h_2h_3)\,\nabla u_2\times\nabla u_3 and once in B=∇u2×∇u3=−e^1/(h2h3)\mathbf{B} = \nabla u_2\times\nabla u_3 = -\hat{\mathbf{e}}_1/(h_2h_3) — and the two cancel in ∇f⋅B\nabla f\cdot\mathbf{B}. So the gradient, divergence and Laplacian formulas hold whatever the handedness. The curl does not: swapping two coordinates, say u1↔u2u_1 \leftrightarrow u_2, reverses the sign of the determinant and hence of ∇×a\nabla\times\mathbf{a}. Spherical polars (r,θ,φ)(r,\theta,\varphi) and cylindrical polars (ρ,φ,z)(\rho,\varphi,z) are both listed in right-handed order.
  • The frame is not constant. Because e^i\hat{\mathbf{e}}_i varies, ∇⋅e^1\nabla\cdot\hat{\mathbf{e}}_1 and ∇×e^1\nabla\times\hat{\mathbf{e}}_1 need not vanish even though e^1\hat{\mathbf{e}}_1 has constant length. For the same reason the vector Laplacian is not obtained by applying ∇2\nabla^2 to each physical component separately; see Cylindrical and spherical coordinates.
Remark(How to read the formulas)AdaptedAdapted from Riley, Hobson & Bence (2006), §10.10, closing paragraph, p. 369; Arfken, Weber & Harris (2013), §3.10, Eq. (3.140), p. 186, and Exercise 3.10.4(a), p. 197
  • The non-orthogonal case. Riley, Hobson and Bence close §10.10 by pointing the reader to the general tensor treatment, which is where a system with gij≠0g_{ij} \neq 0 off the diagonal has to be handled.
  • What the divergence formula means. The combination h2h3 a1h_2h_3\,a_1 is the flux of a\mathbf{a} per unit du2 du3du_2\,du_3 through a face u1=constu_1 = \text{const}, and H du1du2du3H\,du_1du_2du_3 is the volume of the cell. So the formula is the net outflow per unit volume, computed face by face, and that is how Arfken derives it: the two opposite faces of a cell contribute ±h2h3a1\pm h_2h_3a_1 evaluated at u1±12du1u_1 \pm \tfrac12 du_1, and it is essential that h2h3h_2h_3 as well as a1a_1 be evaluated on each face, since the two faces have different areas. The curl formula reads the same way with circulations around the faces instead of fluxes through them.
  • A worked consequence. Putting a1=1a_1 = 1, a2=a3=0a_2 = a_3 = 0 in the divergence formula gives ∇⋅e^1=H−1∂u1(h2h3)\nabla\cdot\hat{\mathbf{e}}_1 = H^{-1}\partial_{u_1}(h_2h_3), which is Arfken's Exercise 3.10.4(a) and quantifies the previous remark's point that the frame is not constant.
NoteAdaptedAdapted from Lee (2013), Problems 16-11 and 16-13, p. 436

The same formulas in Riemannian language. For a Riemannian metric gg in arbitrary smooth local coordinates xix^i, Lee's Problem 16-11 states the divergence of a vector field with contravariant components XiX^i as

div⁡X=1det⁡g ∂∂xi(Xidet⁡g),\operatorname{div} X = \frac{1}{\sqrt{\det g}}\,\frac{\partial}{\partial x^i}\Bigl( X^i \sqrt{\det g} \Bigr) ,

and his Problem 16-13 states the Laplacian as Δu=−1det⁡g∂i(gijdet⁡g ∂ju)\Delta u = -\frac{1}{\sqrt{\det g}}\partial_i\bigl( g^{ij}\sqrt{\det g}\,\partial_j u \bigr). The minus sign is Lee's convention: he defines the geometric Laplacian as Δu=−div⁡(grad⁡u)\Delta u = -\operatorname{div}(\operatorname{grad} u), the negative of the operator ∇2\nabla^2 used here and throughout this handbook, so that its eigenvalues are non-negative; he warns explicitly that conventions differ between authors. Up to that sign the two statements contain ours. For an orthogonal system, gij=hi2δijg_{ij} = h_i^2\delta_{ij} gives det⁡g=h1h2h3=H\sqrt{\det g} = h_1h_2h_3 = H and gij=hi−2δijg^{ij} = h_i^{-2}\delta_{ij}, while a physical component aia_i is related to the contravariant one by Xi=ai/hiX^i = a_i/h_i (the basis ei\mathbf{e}_i has length hih_i). Substituting turns Lee's two formulas into the divergence and Laplacian stated above.

Method(Setting up a new orthogonal coordinate system)Original

Given a candidate map r(u1,u2,u3)\mathbf{r}(u_1,u_2,u_3):

  1. Differentiate. Compute the three tangent vectors ei=∂r/∂ui\mathbf{e}_i = \partial\mathbf{r}/\partial u_i in Cartesian components. Everything else is algebra on these.
  2. Test orthogonality by checking e1⋅e2=e2⋅e3=e3⋅e1=0\mathbf{e}_1\cdot\mathbf{e}_2 = \mathbf{e}_2\cdot\mathbf{e}_3 = \mathbf{e}_3\cdot\mathbf{e}_1 = 0 identically. If any product is non-zero the formulas of this unit do not apply.
  3. Read off the scale factors hi=∣ei∣h_i = \lvert\mathbf{e}_i\rvert and record where they vanish; delete those sets from DD and state the surviving domain, together with the ranges of the uiu_i on which r\mathbf{r} is injective.
  4. Fix the orientation. Check e^1×e^2=+e^3\hat{\mathbf{e}}_1\times\hat{\mathbf{e}}_2 = +\hat{\mathbf{e}}_3; if it comes out −e^3-\hat{\mathbf{e}}_3, swap two of the coordinates before using the curl.
  5. Write down the elements: (ds)2(ds)^2, the three face areas h2h3 du2du3h_2h_3\,du_2du_3 and its cyclic partners, and dV=H du1du2du3dV = H\,du_1du_2du_3. These are what integrals need.
  6. Substitute into the four formulas. Simplify HH, h2h3/h1h_2h_3/h_1 and its cyclic partners first; in most useful systems these collapse, which is what makes the Laplacian tractable.
  7. Check against a known field. Take a simple Cartesian field, express its physical components in the new frame, apply the formulas, and compare with the Cartesian answer. Two or three such tests catch almost every algebraic slip.

How it fails. Step 2 is the one that is skipped and should not be: elliptic, parabolic and bipolar systems are orthogonal, but many natural-looking maps (a sheared or a body-fitted grid) are not, and applying these formulas to them is simply wrong. Step 3 is the second: a formula that is correct on DD says nothing on the degenerate set, and a field that looks singular on the axis in these coordinates may be perfectly smooth there.

Example(Parabolic cylindrical coordinates)Original

Define, for u>0u > 0 and v>0v > 0 and all real zz,

x=12(u2−v2),y=uv,z=z.x = \tfrac12\bigl(u^2 - v^2\bigr), \qquad y = uv, \qquad z = z .
  1. Geometry and injectivity. In complex notation x+iy=12(u+iv)2x + iy = \tfrac12 (u + iv)^2, so the map is the squaring map w↦w2/2w \mapsto w^2/2 applied to the open first quadrant of the ww-plane, whose image is the open upper half plane y>0y > 0; squaring is injective there because it doubles arguments lying in (0,π/2)(0,\pi/2). The surfaces u=constu = \text{const} and v=constv = \text{const} are confocal parabolic cylinders with the zz-axis as common focal line, opening in the −x-x and +x+x directions.
  2. Tangent vectors. eu=(u,v,0)\mathbf{e}_u = (u, v, 0), ev=(−v,u,0)\mathbf{e}_v = (-v, u, 0), ez=(0,0,1)\mathbf{e}_z = (0,0,1).
  3. Orthogonality. eu⋅ev=−uv+vu=0\mathbf{e}_u\cdot\mathbf{e}_v = -uv + vu = 0, and both are perpendicular to ez\mathbf{e}_z since their third components vanish. The system is orthogonal.
  4. Scale factors. hu=hv=u2+v2h_u = h_v = \sqrt{u^2+v^2} and hz=1h_z = 1, so H=u2+v2>0H = u^2 + v^2 > 0 on the whole domain. The two transverse scale factors are equal — the map is conformal in the xyxy-plane, as the complex form predicts, with ∣dw2/2 / dw∣=∣w∣=u2+v2\lvert dw^2/2 \,/\, dw\rvert = \lvert w\rvert = \sqrt{u^2+v^2}.
  5. Orientation. e^u×e^v=(u,v,0)×(−v,u,0)/(u2+v2)=(0,0,u2+v2)/(u2+v2)=e^z\hat{\mathbf{e}}_u \times \hat{\mathbf{e}}_v = (u,v,0)\times(-v,u,0)/(u^2+v^2) = (0,0,u^2+v^2)/(u^2+v^2) = \hat{\mathbf{e}}_z, so (u,v,z)(u,v,z) is already right-handed.
  6. Elements. (ds)2=(u2+v2)[(du)2+(dv)2]+(dz)2(ds)^2 = (u^2+v^2)\bigl[(du)^2 + (dv)^2\bigr] + (dz)^2 and dV=(u2+v2) du dv dzdV = (u^2+v^2)\,du\,dv\,dz.
  7. The Laplacian. Here hvhz/hu=1h_vh_z/h_u = 1, hzhu/hv=1h_zh_u/h_v = 1 and huhv/hz=u2+v2h_uh_v/h_z = u^2+v^2, so the general formula collapses to ∇2Φ=1u2+v2(∂2Φ∂u2+∂2Φ∂v2)+∂2Φ∂z2.\nabla^2\Phi = \frac{1}{u^2+v^2}\left( \frac{\partial^2\Phi}{\partial u^2} + \frac{\partial^2\Phi}{\partial v^2} \right) + \frac{\partial^2\Phi}{\partial z^2} .
  8. First check (step 7 of the method). Take Φ=x2+y2\Phi = x^2 + y^2, for which ∇2Φ=4\nabla^2\Phi = 4 in Cartesian coordinates. In the new variables x2+y2=14(u2−v2)2+u2v2=14(u2+v2)2x^2 + y^2 = \tfrac14(u^2-v^2)^2 + u^2v^2 = \tfrac14(u^2+v^2)^2. Then Φuu=3u2+v2\Phi_{uu} = 3u^2 + v^2 and Φvv=u2+3v2\Phi_{vv} = u^2 + 3v^2, whose sum is 4(u2+v2)4(u^2+v^2); dividing by u2+v2u^2+v^2 gives ∇2Φ=4\nabla^2\Phi = 4, as required.
  9. Second check: a vector field. Take the rigid-rotation field F=−y i+x j\mathbf{F} = -y\,\mathbf{i} + x\,\mathbf{j}, for which ∇⋅F=0\nabla\cdot\mathbf{F} = 0 and ∇×F=2k\nabla\times\mathbf{F} = 2\mathbf{k}. Its physical components are Fu=F⋅e^u=−uv⋅u+12(u2−v2)⋅vu2+v2=−12vu2+v2,Fv=12uu2+v2,Fz=0,F_u = \mathbf{F}\cdot\hat{\mathbf{e}}_u = \frac{-uv\cdot u + \tfrac12(u^2-v^2)\cdot v}{\sqrt{u^2+v^2}} = -\tfrac12 v\sqrt{u^2+v^2}, \qquad F_v = \tfrac12 u\sqrt{u^2+v^2}, \qquad F_z = 0 , so that huFu=−12v(u2+v2)h_uF_u = -\tfrac12 v(u^2+v^2) and hvFv=12u(u2+v2)h_vF_v = \tfrac12 u(u^2+v^2). The divergence formula gives ∇⋅F=1u2+v2[∂u(−12v(u2+v2))+∂v(12u(u2+v2))]=−uv+uvu2+v2=0.\nabla\cdot\mathbf{F} = \frac{1}{u^2+v^2}\Bigl[ \partial_u\bigl(-\tfrac12 v(u^2+v^2)\bigr) + \partial_v\bigl(\tfrac12 u(u^2+v^2)\bigr) \Bigr] = \frac{-uv + uv}{u^2+v^2} = 0 . For the curl, the e^u\hat{\mathbf{e}}_u and e^v\hat{\mathbf{e}}_v components vanish because Fz=0F_z = 0 and nothing depends on zz, while the e^z\hat{\mathbf{e}}_z component is 1huhv[∂u(hvFv)−∂v(huFu)]=1u2+v2[3u2+v22+u2+3v22]=2(u2+v2)u2+v2=2.\frac{1}{h_uh_v}\Bigl[ \partial_u(h_vF_v) - \partial_v(h_uF_u) \Bigr] = \frac{1}{u^2+v^2}\left[ \frac{3u^2+v^2}{2} + \frac{u^2+3v^2}{2} \right] = \frac{2(u^2+v^2)}{u^2+v^2} = 2 . So ∇×F=2e^z=2k\nabla\times\mathbf{F} = 2\hat{\mathbf{e}}_z = 2\mathbf{k}, matching the Cartesian value. Both checks are independent of the coordinate algebra that produced them, which is the point of step 7.
ApplicationOriginal

Separation of variables. The reason for cataloguing these systems is that the Laplacian above separates in a handful of them, and each separation names a family of special functions. The example's parabolic cylinder coordinates are the case behind diffraction at a straight edge. The edge lies along the zz-axis, the problem is two-dimensional, so put Φ=U(u)V(v)\Phi = U(u)V(v) with no zz-dependence in the Helmholtz equation ∇2Φ+k2Φ=0\nabla^2\Phi + k^2\Phi = 0. The collapsed Laplacian of the example gives (u2+v2)−1(U′′V+UV′′)+k2UV=0(u^2+v^2)^{-1}(U''V + UV'') + k^2UV = 0; multiply by (u2+v2)/(UV)(u^2+v^2)/(UV) and the equation becomes

U′′U+k2u2  +  V′′V+k2v2  =  0.\frac{U''}{U} + k^2u^2 \;+\; \frac{V''}{V} + k^2v^2 \;=\; 0 .

What makes this separate is that H=u2+v2H = u^2+v^2 is a sum of a function of uu and a function of vv: once it has been cleared from the denominator, the uu's and the vv's sit in different terms. Setting the first group equal to a constant λ\lambda and the second to −λ-\lambda,

U′′+(k2u2−λ)U=0,V′′+(k2v2+λ)V=0,U'' + \bigl(k^2u^2 - \lambda\bigr)U = 0, \qquad V'' + \bigl(k^2v^2 + \lambda\bigr)V = 0 ,

two parabolic cylinder equations: the substitution s=2k eiπ/4us = \sqrt{2k}\,e^{i\pi/4}u sends the first to Weber's standard form d2U/ds2+(ν+12−14s2)U=0d^2U/ds^2 + (\nu + \tfrac12 - \tfrac14 s^2)U = 0 with ν+12=iλ/(2k)\nu + \tfrac12 = i\lambda/(2k).

The straight-edge field is the elementary member of this family, λ=ik\lambda = ik. Then U=eiku2/2U = e^{iku^2/2} solves the first equation (indeed U′′=(ik−k2u2)UU'' = (ik - k^2u^2)U), and writing V=e−ikv2/2f(v)V = e^{-ikv^2/2}f(v) reduces the second to f′′=2ikvf′f'' = 2ikv f', so that f(v)=∫0veikτ2 dτf(v) = \int_0^v e^{ik\tau^2}\,d\tau — a Fresnel integral. Since u2−v2=2xu^2 - v^2 = 2x, the product is

Φ=eikx∫0veikτ2 dτ,\Phi = e^{ikx}\int_0^{v} e^{ik\tau^2}\,d\tau ,

a plane wave modulated by a Fresnel integral of the single parabolic coordinate vv, and it vanishes on v=0v = 0, which is exactly the half-plane y=0y = 0, x>0x > 0. The modulus of that integral, traced across the geometric shadow boundary, is the fringe pattern at a straight edge. (If instead a propagating factor eikzze^{ik_zz} is kept, the same algebra goes through with k2k^2 replaced by the transverse wavenumber k⊥2=k2−kz2k_\perp^2 = k^2 - k_z^2; the separation is only useful when k⊥≠0k_\perp \neq 0, since at k⊥=0k_\perp = 0 the quadratic terms disappear and UU and VV are mere exponentials.) Cylindrical and spherical polars give Bessel functions and spherical harmonics in the same way (Cylindrical and spherical coordinates); prolate spheroidal coordinates give the functions used for a dipole antenna, and toroidal coordinates those used for the field of a current ring.

Conservative discretisation. In computational fluid dynamics and plasma simulation the grid is usually curvilinear, following the geometry of a nozzle, a blade passage or a tokamak flux surface. Finite-volume schemes discretise the divergence in exactly the form derived here: the flux through a face is h2h3 a1h_2h_3\,a_1 times the face's coordinate extent, and the cell volume is H Δu1Δu2Δu3H\,\Delta u_1\Delta u_2\Delta u_3. Summing over neighbouring cells then telescopes exactly, because each interior face is counted once with each sign, so the discrete scheme conserves mass and momentum to machine precision — a property that is lost if the operator is expanded out into partial derivatives of the components first.

Reading a field on the axis. The remark's warning about the degenerate set is a practical one. Spacecraft and tokamak diagnostics report vector data in the natural curvilinear frame, where the components of a perfectly smooth field blow up or become undefined where a scale factor vanishes. Interpolating such data near the axis without first transforming back to a frame that is continuous there is a standard source of spurious signals.

Reference table

Cylindrical and spherical coordinates

Adapted

Tabulates grad, div, curl and the Laplacian, together with the line, area and volume elements, in cylindrical and spherical polar coordinates, and derives the Laplacian twice — from the general curvilinear formula and directly by the chain rule — with worked examples in pipe flow and electrostatics.

Prerequisites: Orthogonal curvilinear coordinates, Divergence, curl and the Laplacian

Definition(Cylindrical polar coordinates)AdaptedAdapted from Riley, Hobson & Bence (2006), §10.9.1, Eqs. (10.44)–(10.52), pp. 357–360; Arfken, Weber & Harris (2013), §3.10, Eqs. (3.144)–(3.146), pp. 188–189

Riley, Hobson and Bence give the ranges ρ≥0\rho \ge 0, 0≤φ<2π0 \le \varphi < 2\pi, −∞<z<∞-\infty < z < \infty; here ρ=0\rho = 0 is excluded, for the reason given below. So, for ρ>0\rho > 0, 0≤φ<2π0 \le \varphi < 2\pi and −∞<z<∞-\infty < z < \infty,

x=ρcos⁡φ,y=ρsin⁡φ,z=z.x = \rho\cos\varphi, \qquad y = \rho\sin\varphi, \qquad z = z .

The coordinate surfaces are the cylinders ρ=const\rho = \text{const} about the zz-axis, the half-planes φ=const\varphi = \text{const} through that axis, and the planes z=constz = \text{const}. Differentiating r=ρcos⁡φ i+ρsin⁡φ j+z k\mathbf{r} = \rho\cos\varphi\,\mathbf{i} + \rho\sin\varphi\,\mathbf{j} + z\,\mathbf{k} and normalising gives the unit basis

e^ρ=cos⁡φ i+sin⁡φ j,e^φ=−sin⁡φ i+cos⁡φ j,e^z=k,\hat{\mathbf{e}}_\rho = \cos\varphi\,\mathbf{i} + \sin\varphi\,\mathbf{j}, \qquad \hat{\mathbf{e}}_\varphi = -\sin\varphi\,\mathbf{i} + \cos\varphi\,\mathbf{j}, \qquad \hat{\mathbf{e}}_z = \mathbf{k} ,

which is orthonormal and right-handed, with e^ρ×e^φ=e^z\hat{\mathbf{e}}_\rho \times \hat{\mathbf{e}}_\varphi = \hat{\mathbf{e}}_z. The first two rotate with φ\varphi and so must be differentiated along with the components of a field. The scale factors are

hρ=1,hφ=ρ,hz=1,H=hρhφhz=ρ.h_\rho = 1, \qquad h_\varphi = \rho, \qquad h_z = 1, \qquad H = h_\rho h_\varphi h_z = \rho .

The zz-axis, where hφ=0h_\varphi = 0 and φ\varphi is undefined, is excluded. Dropping the zz coordinate gives plane polar coordinates (ρ,φ)(\rho,\varphi), for which dA=ρ dρ dφdA = \rho\,d\rho\,d\varphi.

Definition(Spherical polar coordinates)AdaptedAdapted from Riley, Hobson & Bence (2006), §10.9.2, Eqs. (10.53)–(10.54), pp. 361–362; Arfken, Weber & Harris (2013), §3.10, Eqs. (3.152)–(3.153), pp. 190–191

In the convention used here and by both sources, θ\theta is the polar angle measured from the positive zz-axis and φ\varphi the azimuth measured from the positive xx-axis. Arfken gives the ranges 0≤r<∞0 \le r < \infty, 0≤θ≤π0 \le \theta \le \pi, 0≤φ<2π0 \le \varphi < 2\pi (Riley, Hobson and Bence write r≥0r \ge 0 for the first); here r=0r = 0 is excluded, for the reason given below. So, for r>0r > 0, 0≤θ≤π0 \le \theta \le \pi and 0≤φ<2π0 \le \varphi < 2\pi,

x=rsin⁡θcos⁡φ,y=rsin⁡θsin⁡φ,z=rcos⁡θ.x = r\sin\theta\cos\varphi, \qquad y = r\sin\theta\sin\varphi, \qquad z = r\cos\theta .

The coordinate surfaces are spheres r=constr = \text{const} centred at the origin, right circular cones θ=const\theta = \text{const} with vertex at the origin and axis the zz-axis, and half-planes φ=const\varphi = \text{const} through that axis. The unit basis is

e^r=sin⁡θcos⁡φ i+sin⁡θsin⁡φ j+cos⁡θ k,e^θ=cos⁡θcos⁡φ i+cos⁡θsin⁡φ j−sin⁡θ k,e^φ=−sin⁡φ i+cos⁡φ j,\begin{aligned} \hat{\mathbf{e}}_r &= \sin\theta\cos\varphi\,\mathbf{i} + \sin\theta\sin\varphi\,\mathbf{j} + \cos\theta\,\mathbf{k}, \\ \hat{\mathbf{e}}_\theta &= \cos\theta\cos\varphi\,\mathbf{i} + \cos\theta\sin\varphi\,\mathbf{j} - \sin\theta\,\mathbf{k}, \\ \hat{\mathbf{e}}_\varphi &= -\sin\varphi\,\mathbf{i} + \cos\varphi\,\mathbf{j} , \end{aligned}

again orthonormal and right-handed, with e^r×e^θ=e^φ\hat{\mathbf{e}}_r \times \hat{\mathbf{e}}_\theta = \hat{\mathbf{e}}_\varphi; all three depend on position. The scale factors are

hr=1,hθ=r,hφ=rsin⁡θ,H=r2sin⁡θ.h_r = 1, \qquad h_\theta = r, \qquad h_\varphi = r\sin\theta, \qquad H = r^2\sin\theta .

Arfken records that θ\theta and φ\varphi are both undefined at r=0r = 0 and that φ\varphi is undefined at θ=0\theta = 0 and θ=π\theta = \pi; these are exactly the places where a scale factor vanishes, and they are excluded.

Reference table(Operators in cylindrical polar coordinates)AdaptedAdapted from Riley, Hobson & Bence (2006), Table 10.2, p. 360; Arfken, Weber & Harris (2013), Eqs. (3.146)–(3.151), pp. 189–190

For a scalar field Φ(ρ,φ,z)\Phi(\rho,\varphi,z) and a vector field a=aρe^ρ+aφe^φ+aze^z\mathbf{a} = a_\rho\hat{\mathbf{e}}_\rho + a_\varphi\hat{\mathbf{e}}_\varphi + a_z\hat{\mathbf{e}}_z, off the zz-axis:

dr=dρ e^ρ+ρ dφ e^φ+dz e^z,(ds)2=(dρ)2+ρ2(dφ)2+(dz)2,dV=ρ dρ dφ dz,d\mathbf{r} = d\rho\,\hat{\mathbf{e}}_\rho + \rho\,d\varphi\,\hat{\mathbf{e}}_\varphi + dz\,\hat{\mathbf{e}}_z, \qquad (ds)^2 = (d\rho)^2 + \rho^2(d\varphi)^2 + (dz)^2, \qquad dV = \rho\,d\rho\,d\varphi\,dz ,

and the three coordinate faces carry ρ dφ dz\rho\,d\varphi\,dz (normal e^ρ\hat{\mathbf{e}}_\rho), dρ dzd\rho\,dz (normal e^φ\hat{\mathbf{e}}_\varphi) and ρ dρ dφ\rho\,d\rho\,d\varphi (normal e^z\hat{\mathbf{e}}_z).

∇Φ=∂Φ∂ρ e^ρ+1ρ∂Φ∂φ e^φ+∂Φ∂z e^z,\nabla\Phi = \frac{\partial\Phi}{\partial\rho}\,\hat{\mathbf{e}}_\rho + \frac{1}{\rho}\frac{\partial\Phi}{\partial\varphi}\,\hat{\mathbf{e}}_\varphi + \frac{\partial\Phi}{\partial z}\,\hat{\mathbf{e}}_z ,∇⋅a=1ρ∂∂ρ(ρ aρ)+1ρ∂aφ∂φ+∂az∂z,\nabla\cdot\mathbf{a} = \frac{1}{\rho}\frac{\partial}{\partial\rho}\bigl(\rho\,a_\rho\bigr) + \frac{1}{\rho}\frac{\partial a_\varphi}{\partial\varphi} + \frac{\partial a_z}{\partial z} ,∇×a=1ρ∣e^ρρ e^φe^z∂∂ρ∂∂φ∂∂zaρρ aφaz∣,∇2Φ=1ρ∂∂ρ ⁣(ρ∂Φ∂ρ)+1ρ2∂2Φ∂φ2+∂2Φ∂z2.\nabla\times\mathbf{a} = \frac{1}{\rho} \begin{vmatrix} \hat{\mathbf{e}}_\rho & \rho\,\hat{\mathbf{e}}_\varphi & \hat{\mathbf{e}}_z \\[2pt] \dfrac{\partial}{\partial\rho} & \dfrac{\partial}{\partial\varphi} & \dfrac{\partial}{\partial z} \\[6pt] a_\rho & \rho\,a_\varphi & a_z \end{vmatrix} , \qquad \nabla^2\Phi = \frac{1}{\rho}\frac{\partial}{\partial\rho}\!\left( \rho\frac{\partial\Phi}{\partial\rho} \right) + \frac{1}{\rho^2}\frac{\partial^2\Phi}{\partial\varphi^2} + \frac{\partial^2\Phi}{\partial z^2} .

The vector Laplacian is not componentwise. Arfken's Eq. (3.151) gives

(∇2a)ρ=∇2aρ−aρρ2−2ρ2∂aφ∂φ,(∇2a)φ=∇2aφ−aφρ2+2ρ2∂aρ∂φ,(∇2a)z=∇2az,(\nabla^2\mathbf{a})_\rho = \nabla^2 a_\rho - \frac{a_\rho}{\rho^2} - \frac{2}{\rho^2}\frac{\partial a_\varphi}{\partial\varphi}, \qquad (\nabla^2\mathbf{a})_\varphi = \nabla^2 a_\varphi - \frac{a_\varphi}{\rho^2} + \frac{2}{\rho^2}\frac{\partial a_\rho}{\partial\varphi}, \qquad (\nabla^2\mathbf{a})_z = \nabla^2 a_z ,

where ∇2\nabla^2 on the right is the scalar operator above. Only the zz-component is the naive one.

Reference table(Operators in spherical polar coordinates)AdaptedAdapted from Riley, Hobson & Bence (2006), Table 10.3, p. 363; Arfken, Weber & Harris (2013), Eqs. (3.154)–(3.160), pp. 191–192

For a scalar field Φ(r,θ,φ)\Phi(r,\theta,\varphi) and a vector field a=are^r+aθe^θ+aφe^φ\mathbf{a} = a_r\hat{\mathbf{e}}_r + a_\theta\hat{\mathbf{e}}_\theta + a_\varphi\hat{\mathbf{e}}_\varphi, away from the origin and the polar axis:

dr=dr e^r+r dθ e^θ+rsin⁡θ dφ e^φ,(ds)2=(dr)2+r2(dθ)2+r2sin⁡2θ (dφ)2,d\mathbf{r} = dr\,\hat{\mathbf{e}}_r + r\,d\theta\,\hat{\mathbf{e}}_\theta + r\sin\theta\,d\varphi\,\hat{\mathbf{e}}_\varphi, \qquad (ds)^2 = (dr)^2 + r^2(d\theta)^2 + r^2\sin^2\theta\,(d\varphi)^2 ,dV=r2sin⁡θ dr dθ dφ,dΩ=sin⁡θ dθ dφ  with ∫dΩ=4π,dV = r^2\sin\theta\,dr\,d\theta\,d\varphi, \qquad d\Omega = \sin\theta\,d\theta\,d\varphi \ \text{ with } \int d\Omega = 4\pi ,

the sphere r=constr = \text{const} carrying the area element r2 dΩr^2\,d\Omega with normal e^r\hat{\mathbf{e}}_r.

∇Φ=∂Φ∂r e^r+1r∂Φ∂θ e^θ+1rsin⁡θ∂Φ∂φ e^φ,\nabla\Phi = \frac{\partial\Phi}{\partial r}\,\hat{\mathbf{e}}_r + \frac{1}{r}\frac{\partial\Phi}{\partial\theta}\,\hat{\mathbf{e}}_\theta + \frac{1}{r\sin\theta}\frac{\partial\Phi}{\partial\varphi}\,\hat{\mathbf{e}}_\varphi ,∇⋅a=1r2∂∂r(r2ar)+1rsin⁡θ∂∂θ(sin⁡θ aθ)+1rsin⁡θ∂aφ∂φ,\nabla\cdot\mathbf{a} = \frac{1}{r^2}\frac{\partial}{\partial r}\bigl(r^2 a_r\bigr) + \frac{1}{r\sin\theta}\frac{\partial}{\partial\theta}\bigl(\sin\theta\,a_\theta\bigr) + \frac{1}{r\sin\theta}\frac{\partial a_\varphi}{\partial\varphi} ,∇×a=1r2sin⁡θ∣e^rr e^θrsin⁡θ e^φ∂∂r∂∂θ∂∂φarr aθrsin⁡θ aφ∣,\nabla\times\mathbf{a} = \frac{1}{r^2\sin\theta} \begin{vmatrix} \hat{\mathbf{e}}_r & r\,\hat{\mathbf{e}}_\theta & r\sin\theta\,\hat{\mathbf{e}}_\varphi \\[2pt] \dfrac{\partial}{\partial r} & \dfrac{\partial}{\partial\theta} & \dfrac{\partial}{\partial\varphi} \\[6pt] a_r & r\,a_\theta & r\sin\theta\,a_\varphi \end{vmatrix} ,∇2Φ=1r2∂∂r ⁣(r2∂Φ∂r)+1r2sin⁡θ∂∂θ ⁣(sin⁡θ ∂Φ∂θ)+1r2sin⁡2θ∂2Φ∂φ2.\nabla^2\Phi = \frac{1}{r^2}\frac{\partial}{\partial r}\!\left( r^2\frac{\partial\Phi}{\partial r} \right) + \frac{1}{r^2\sin\theta}\frac{\partial}{\partial\theta}\!\left( \sin\theta\,\frac{\partial\Phi}{\partial\theta} \right) + \frac{1}{r^2\sin^2\theta}\frac{\partial^2\Phi}{\partial\varphi^2} .

Riley, Hobson and Bence note the equivalent radial form, useful for shortening calculations:

1r2∂∂r ⁣(r2∂Φ∂r)=1r∂2∂r2(rΦ).\frac{1}{r^2}\frac{\partial}{\partial r}\!\left( r^2\frac{\partial\Phi}{\partial r} \right) = \frac{1}{r}\frac{\partial^2}{\partial r^2}\bigl( r\Phi \bigr) .

Here too the vector Laplacian is not componentwise; Arfken's Eq. (3.160) gives all three components, each of which couples ara_r, aθa_\theta and aφa_\varphi.

Idea of the proofOriginal

There are two honest ways to get these tables, and it is worth seeing both. The short way is to substitute the scale factors into the four general formulas of Orthogonal curvilinear coordinates: all the work was done once and for all there, and here it is arithmetic on products of 11, rr and sin⁡θ\sin\theta. The long way is to change variables in ∂x2+∂y2+∂z2\partial_x^2 + \partial_y^2 + \partial_z^2 directly with the chain rule, which checks the general formula rather than assuming it. Done naively the second route is unpleasant in three dimensions, because every first derivative produces five terms and every second derivative twenty-five. Strauss's device avoids that: the spherical Laplacian is assembled out of two plane polar calculations that share the cylindrical radius s=x2+y2s = \sqrt{x^2+y^2} — one in the (x,y)(x,y) plane with angle φ\varphi, one in the (s,z)(s,z) half-plane with angle θ\theta — so that only the two-dimensional computation ever has to be done, and it has to be done only once.

Proof(First derivation: from the general curvilinear formulas)AdaptedAdapted from Riley, Hobson & Bence (2006), §10.10, Table 10.4, p. 369; Arfken, Weber & Harris (2013), Eqs. (3.138)–(3.143), pp. 185–187

Both systems are orthogonal, since in each case the three tangent vectors listed in the definitions are mutually perpendicular, and both are labelled in right-handed order. So the formulas of Orthogonal curvilinear coordinates apply with the scale factors recorded there.

Cylindrical. With hρ=1h_\rho = 1, hφ=ρh_\varphi = \rho, hz=1h_z = 1 we have H=ρH = \rho, and the three coefficients appearing in the Laplacian are

hφhzhρ=ρ,hzhρhφ=1ρ,hρhφhz=ρ.\frac{h_\varphi h_z}{h_\rho} = \rho, \qquad \frac{h_z h_\rho}{h_\varphi} = \frac{1}{\rho}, \qquad \frac{h_\rho h_\varphi}{h_z} = \rho .

Substituting into the general Laplacian and dividing through by H=ρH = \rho,

∇2Φ=1ρ[∂∂ρ ⁣(ρ∂Φ∂ρ)+∂∂φ ⁣(1ρ∂Φ∂φ)+∂∂z ⁣(ρ∂Φ∂z)]=1ρ∂∂ρ ⁣(ρ∂Φ∂ρ)+1ρ2∂2Φ∂φ2+∂2Φ∂z2,\nabla^2\Phi = \frac{1}{\rho}\left[ \frac{\partial}{\partial\rho}\!\left(\rho\frac{\partial\Phi}{\partial\rho}\right) + \frac{\partial}{\partial\varphi}\!\left(\frac{1}{\rho}\frac{\partial\Phi}{\partial\varphi}\right) + \frac{\partial}{\partial z}\!\left(\rho\frac{\partial\Phi}{\partial z}\right) \right] = \frac{1}{\rho}\frac{\partial}{\partial\rho}\!\left(\rho\frac{\partial\Phi}{\partial\rho}\right) + \frac{1}{\rho^2}\frac{\partial^2\Phi}{\partial\varphi^2} + \frac{\partial^2\Phi}{\partial z^2} ,

where the second and third terms simplify because ρ\rho does not depend on φ\varphi or zz. The gradient, divergence and curl follow in the same way: in the divergence, hφhz=ρh_\varphi h_z = \rho, hzhρ=1h_z h_\rho = 1 and hρhφ=ρh_\rho h_\varphi = \rho, and the overall 1/ρ1/\rho then cancels the ρ\rho in the last term.

Spherical. With hr=1h_r = 1, hθ=rh_\theta = r, hφ=rsin⁡θh_\varphi = r\sin\theta we have H=r2sin⁡θH = r^2\sin\theta, and

hθhφhr=r2sin⁡θ,hφhrhθ=sin⁡θ,hrhθhφ=1sin⁡θ.\frac{h_\theta h_\varphi}{h_r} = r^2\sin\theta, \qquad \frac{h_\varphi h_r}{h_\theta} = \sin\theta, \qquad \frac{h_r h_\theta}{h_\varphi} = \frac{1}{\sin\theta} .

Dividing by HH and using that rr and sin⁡θ\sin\theta are each constant with respect to the other two coordinates,

∇2Φ=1r2sin⁡θ[∂∂r ⁣(r2sin⁡θ ∂Φ∂r)+∂∂θ ⁣(sin⁡θ∂Φ∂θ)+∂∂φ ⁣(1sin⁡θ∂Φ∂φ)],\nabla^2\Phi = \frac{1}{r^2\sin\theta}\left[ \frac{\partial}{\partial r}\!\left(r^2\sin\theta\,\frac{\partial\Phi}{\partial r}\right) + \frac{\partial}{\partial\theta}\!\left(\sin\theta\frac{\partial\Phi}{\partial\theta}\right) + \frac{\partial}{\partial\varphi}\!\left(\frac{1}{\sin\theta}\frac{\partial\Phi}{\partial\varphi}\right) \right] ,

and pulling the constant sin⁡θ\sin\theta out of the first term and 1/sin⁡θ1/\sin\theta out of the third gives the stated formula. The divergence likewise uses hθhφ=r2sin⁡θh_\theta h_\varphi = r^2\sin\theta, hφhr=rsin⁡θh_\varphi h_r = r\sin\theta and hrhθ=rh_r h_\theta = r.

The radial identity. Expanding both sides, 1r2(r2Φr)r=Φrr+2rΦr\frac{1}{r^2}(r^2\Phi_r)_r = \Phi_{rr} + \frac{2}{r}\Phi_r, while 1r(rΦ)rr=1r(Φ+rΦr)r=1r(2Φr+rΦrr)\frac{1}{r}(r\Phi)_{rr} = \frac{1}{r}(\Phi + r\Phi_r)_r = \frac{1}{r}(2\Phi_r + r\Phi_{rr}), which is the same. □\square

Proof(Second derivation: directly, by the chain rule)AdaptedAdapted from Strauss (2008), §6.1, pp. 156–160

Let uu be C2C^2. We compute ∇2u\nabla^2 u without using the general curvilinear formula at all.

Step 1: the plane. Let (ρ,φ)(\rho,\varphi) be plane polars, x=ρcos⁡φx = \rho\cos\varphi, y=ρsin⁡φy = \rho\sin\varphi. Inverting the Jacobian matrix of this map gives ∂ρ/∂x=cos⁡φ\partial\rho/\partial x = \cos\varphi, ∂ρ/∂y=sin⁡φ\partial\rho/\partial y = \sin\varphi, ∂φ/∂x=−sin⁡φ/ρ\partial\varphi/\partial x = -\sin\varphi/\rho and ∂φ/∂y=cos⁡φ/ρ\partial\varphi/\partial y = \cos\varphi/\rho — note that ∂ρ/∂x\partial\rho/\partial x is not the reciprocal of ∂x/∂ρ\partial x/\partial\rho. Hence the operator identities

∂∂x=cos⁡φ ∂∂ρ−sin⁡φρ∂∂φ,∂∂y=sin⁡φ ∂∂ρ+cos⁡φρ∂∂φ.\frac{\partial}{\partial x} = \cos\varphi\,\frac{\partial}{\partial\rho} - \frac{\sin\varphi}{\rho}\frac{\partial}{\partial\varphi}, \qquad \frac{\partial}{\partial y} = \sin\varphi\,\frac{\partial}{\partial\rho} + \frac{\cos\varphi}{\rho}\frac{\partial}{\partial\varphi} .

Apply each one twice, remembering that it also differentiates its own φ\varphi- and ρ\rho-dependent coefficients. Sorting the outcome by which derivative of uu it multiplies, the two results are

uρρu_{\rho\rho} uρφu_{\rho\varphi} uφφu_{\varphi\varphi} uρu_\rho uφu_\varphi
uxxu_{xx} cos⁡2φ\cos^2\varphi −2sin⁡φcos⁡φρ-\dfrac{2\sin\varphi\cos\varphi}{\rho} sin⁡2φρ2\dfrac{\sin^2\varphi}{\rho^2} sin⁡2φρ\dfrac{\sin^2\varphi}{\rho} 2sin⁡φcos⁡φρ2\dfrac{2\sin\varphi\cos\varphi}{\rho^2}
uyyu_{yy} sin⁡2φ\sin^2\varphi +2sin⁡φcos⁡φρ+\dfrac{2\sin\varphi\cos\varphi}{\rho} cos⁡2φρ2\dfrac{\cos^2\varphi}{\rho^2} cos⁡2φρ\dfrac{\cos^2\varphi}{\rho} −2sin⁡φcos⁡φρ2-\dfrac{2\sin\varphi\cos\varphi}{\rho^2}

Adding the rows, the two mixed columns cancel exactly — they are equal and opposite, which is the analytic trace of the two directions being perpendicular — and the other three columns sum to 11, 1/ρ21/\rho^2 and 1/ρ1/\rho by cos⁡2+sin⁡2=1\cos^2 + \sin^2 = 1. Therefore

uxx+uyy=uρρ+1ρuρ+1ρ2uφφ.(∗)u_{xx} + u_{yy} = u_{\rho\rho} + \frac{1}{\rho}u_\rho + \frac{1}{\rho^2}u_{\varphi\varphi} . \tag{$*$}

Step 2: cylindrical polars. The cylindrical coordinates leave zz untouched, so adding uzzu_{zz} to (∗)(*) gives the cylindrical Laplacian immediately, and uρρ+ρ−1uρ=ρ−1(ρuρ)ρu_{\rho\rho} + \rho^{-1}u_\rho = \rho^{-1}(\rho u_\rho)_\rho puts it in the tabulated form.

Step 3: spherical polars, by using (∗)(*) twice. Write s=x2+y2s = \sqrt{x^2+y^2} for the distance from the zz-axis, so that uu may be regarded as a function of (s,φ,z)(s,\varphi,z) or of (r,θ,φ)(r,\theta,\varphi), with

s=rsin⁡θ,z=rcos⁡θ,r=s2+z2.s = r\sin\theta, \qquad z = r\cos\theta, \qquad r = \sqrt{s^2+z^2} .

Two plane polar systems are now visible.

  • In the half-plane φ=const\varphi = \text{const}, the pair (r,θ)(r,\theta) is plane polar for the Cartesian-like pair (z,s)(z,s), with θ\theta measured from the zz-axis. Applying (∗)(*) with zz in the role of xx and ss in the role of yy: uzz+uss=urr+1rur+1r2uθθ.u_{zz} + u_{ss} = u_{rr} + \frac{1}{r}u_r + \frac{1}{r^2}u_{\theta\theta} .
  • In the plane z=constz = \text{const}, the pair (s,φ)(s,\varphi) is plane polar for (x,y)(x,y). Applying (∗)(*) again: uxx+uyy=uss+1sus+1s2uφφ.u_{xx} + u_{yy} = u_{ss} + \frac{1}{s}u_s + \frac{1}{s^2}u_{\varphi\varphi} .

In both lines ussu_{ss} means ∂2u/∂s2\partial^2u/\partial s^2 with φ\varphi and zz held fixed, so it is the same quantity and may be cancelled when the two lines are added. Adding and subtracting one copy of ussu_{ss},

∇2u=uxx+uyy+uzz=urr+1rur+1r2uθθ+1sus+1s2uφφ.\nabla^2 u = u_{xx}+u_{yy}+u_{zz} = u_{rr} + \frac{1}{r}u_r + \frac{1}{r^2}u_{\theta\theta} + \frac{1}{s}u_s + \frac{1}{s^2}u_{\varphi\varphi} .

Step 4: eliminate ss. Only usu_s and the explicit ss's remain. Since r=s2+z2r = \sqrt{s^2+z^2} and θ=arctan⁡(s/z)\theta = \arctan(s/z) at fixed zz, we have ∂r/∂s=s/r=sin⁡θ\partial r/\partial s = s/r = \sin\theta and ∂θ/∂s=z/(s2+z2)=cos⁡θ/r\partial\theta/\partial s = z/(s^2+z^2) = \cos\theta/r, while φ\varphi does not change with ss. So the chain rule gives us=sin⁡θ ur+(cos⁡θ/r) uθu_s = \sin\theta\,u_r + (\cos\theta/r)\,u_\theta and

1sus=1rsin⁡θ(sin⁡θ ur+cos⁡θruθ)=1rur+cos⁡θr2sin⁡θuθ,1s2uφφ=1r2sin⁡2θuφφ.\frac{1}{s}u_s = \frac{1}{r\sin\theta}\left( \sin\theta\,u_r + \frac{\cos\theta}{r}u_\theta \right) = \frac{1}{r}u_r + \frac{\cos\theta}{r^2\sin\theta}u_\theta , \qquad \frac{1}{s^2}u_{\varphi\varphi} = \frac{1}{r^2\sin^2\theta}u_{\varphi\varphi} .

Substituting,

∇2u=urr+2rur+1r2(uθθ+cot⁡θ uθ)+1r2sin⁡2θuφφ.\nabla^2u = u_{rr} + \frac{2}{r}u_r + \frac{1}{r^2}\left( u_{\theta\theta} + \cot\theta\,u_\theta \right) + \frac{1}{r^2\sin^2\theta}u_{\varphi\varphi} .

Finally urr+2rur=1r2(r2ur)ru_{rr} + \frac{2}{r}u_r = \frac{1}{r^2}(r^2u_r)_r and uθθ+cot⁡θ uθ=1sin⁡θ(sin⁡θ uθ)θu_{\theta\theta} + \cot\theta\,u_\theta = \frac{1}{\sin\theta}(\sin\theta\,u_\theta)_\theta, which is the tabulated spherical Laplacian. It agrees with the first derivation. □\square

RemarkOriginal

Conventions, and where the formulas stop working.

  • The names of the angles. We follow Riley, Hobson and Bence and Arfken: θ\theta polar, φ\varphi azimuthal, so that hφ=rsin⁡θh_\varphi = r\sin\theta and dV=r2sin⁡θ dr dθ dφdV = r^2\sin\theta\,dr\,d\theta\,d\varphi. Many mathematics texts exchange the two letters, and Strauss warns of this explicitly on p. 158 while himself using the same convention as ours. The formulas are unchanged in substance, but a table copied from a source with the other convention and used with this one swaps sin⁡θ\sin\theta for sin⁡φ\sin\varphi and is simply wrong. Always check which angle the factor sin⁡\sin attaches to.
  • The radial symbol. ρ\rho is the cylindrical radius here and rr the spherical one; they differ by ρ=rsin⁡θ\rho = r\sin\theta. Sources that write rr for both (common in two-dimensional work) invite an error when a plane result is lifted into three dimensions: the plane polar Laplacian has ρ−1(ρΦρ)ρ\rho^{-1}(\rho\Phi_\rho)_\rho, the spherical one r−2(r2Φr)rr^{-2}(r^2\Phi_r)_r, and the difference in the exponent is the whole difference between log⁡ρ\log\rho and 1/r1/r as the radial harmonic function.
  • Degenerate sets. Each table holds only where every scale factor is positive: off the zz-axis for cylindrical, off the origin and off the polar axis for spherical. A field perfectly smooth at the origin can have components that are undefined there — e^r\hat{\mathbf{e}}_r itself has no limit at r=0r = 0 — so a singularity in a component is not by itself a singularity in the field. Conversely a formula verified only for r>0r > 0 says nothing about the origin: ∇2(1/r)=0\nabla^2(1/r) = 0 holds for every r>0r > 0, yet 1/r1/r is not harmonic on R3\mathbb{R}^3, since as a distribution ∇2(1/r)=−4πδ\nabla^2(1/r) = -4\pi\delta (The Dirac delta in calculations).
  • Why the vector Laplacian is not componentwise. ∇2a\nabla^2\mathbf{a} is defined by ∇(∇⋅a)−∇×(∇×a)\nabla(\nabla\cdot\mathbf{a}) - \nabla\times(\nabla\times\mathbf{a}), and in Cartesian coordinates this reduces to applying the scalar operator to each component, because the basis vectors are constant. Riley, Hobson and Bence make the point (p. 357) that cylindrical and spherical polars fall in the other class: the derivatives of the rotating basis vectors contribute, and the extra terms in Arfken's Eqs. (3.151) and (3.160) are exactly those contributions. The one exception is (∇2a)z(\nabla^2\mathbf{a})_z in cylindrical coordinates, because e^z\hat{\mathbf{e}}_z is constant — and that exception is what makes the pipe-flow example below so short.
Example(Laminar flow in a circular pipe)Original

Water (μ=1.0×10−3 Pa s\mu = 1.0\times10^{-3}\ \mathrm{Pa\,s}, ρm=998 kg m−3\rho_{\mathrm{m}} = 998\ \mathrm{kg\,m^{-3}}) flows steadily down a straight pipe of radius a=5.0 mma = 5.0\ \mathrm{mm} along the zz-axis. Take the velocity field

v=v(ρ) e^z,v(ρ)=V(1−ρ2a2),V=0.20 m s−1,\mathbf{v} = v(\rho)\,\hat{\mathbf{e}}_z, \qquad v(\rho) = V\left(1 - \frac{\rho^2}{a^2}\right), \qquad V = 0.20\ \mathrm{m\,s^{-1}} ,

which vanishes at the wall as a viscous fluid must. Everything below uses the cylindrical table.

  1. Incompressibility. Only az=v(ρ)a_z = v(\rho) is non-zero, and it does not depend on zz, so every term of the divergence vanishes: ∇⋅v=1ρ∂ρ(ρ⋅0)+1ρ∂φ(0)+∂zv(ρ)=0\nabla\cdot\mathbf{v} = \frac{1}{\rho}\partial_\rho(\rho\cdot 0) + \frac{1}{\rho}\partial_\varphi(0) + \partial_z v(\rho) = 0. The field is admissible for an incompressible fluid.
  2. Vorticity. In the curl determinant only the ρe^φ\rho\hat{\mathbf{e}}_\varphi cofactor survives, giving ∇×v=−dvdρ e^φ=2Vρa2 e^φ\nabla\times\mathbf{v} = -\dfrac{dv}{d\rho}\,\hat{\mathbf{e}}_\varphi = \dfrac{2V\rho}{a^2}\,\hat{\mathbf{e}}_\varphi. It vanishes on the axis and is largest at the wall, where its magnitude is 2V/a=2(0.20)/(0.0050)=80 s−12V/a = 2(0.20)/(0.0050) = 80\ \mathrm{s^{-1}}.
  3. Viscous term. Because v\mathbf{v} points along the constant direction e^z\hat{\mathbf{e}}_z, the remark's exception applies and (∇2v)z=∇2v(\nabla^2\mathbf{v})_z = \nabla^2 v, the scalar Laplacian. With no φ\varphi- or zz-dependence, ∇2v=1ρddρ ⁣(ρdvdρ)=1ρddρ ⁣(−2Vρ2a2)=−4Va2,\nabla^2 v = \frac{1}{\rho}\frac{d}{d\rho}\!\left(\rho\frac{dv}{d\rho}\right) = \frac{1}{\rho}\frac{d}{d\rho}\!\left(-\frac{2V\rho^2}{a^2}\right) = -\frac{4V}{a^2} , a constant.
  4. Pressure gradient. The convective term (v⋅∇)v=v ∂z(ve^z)(\mathbf{v}\cdot\nabla)\mathbf{v} = v\,\partial_z(v\hat{\mathbf{e}}_z) vanishes, since neither vv nor e^z\hat{\mathbf{e}}_z depends on zz. Steady Navier–Stokes therefore reduces to ∇p=μ∇2v\nabla p = \mu\nabla^2\mathbf{v}, whose only non-trivial component is dpdz=−4μVa2=−4(1.0×10−3)(0.20)(5.0×10−3)2=−32 Pa m−1.\frac{dp}{dz} = -\frac{4\mu V}{a^2} = -\frac{4(1.0\times10^{-3})(0.20)}{(5.0\times10^{-3})^2} = -32\ \mathrm{Pa\,m^{-1}} . The pressure falls by 3232 Pa per metre of pipe.
  5. Flow rate. Using the area element ρ dρ dφ\rho\,d\rho\,d\varphi on the face z=constz = \text{const}, Q=∫02π ⁣ ⁣∫0aV(1−ρ2a2)ρ dρ dφ=2πV(a22−a24)=πVa22=7.85×10−6 m3 s−1,Q = \int_0^{2\pi}\!\!\int_0^a V\left(1-\frac{\rho^2}{a^2}\right)\rho\,d\rho\,d\varphi = 2\pi V\left(\frac{a^2}{2} - \frac{a^2}{4}\right) = \frac{\pi V a^2}{2} = 7.85\times10^{-6}\ \mathrm{m^3\,s^{-1}} , that is 7.85 mL s−17.85\ \mathrm{mL\,s^{-1}}, and the mean speed is Q/(πa2)=V/2=0.10 m s−1Q/(\pi a^2) = V/2 = 0.10\ \mathrm{m\,s^{-1}}.
  6. Independent check. The Hagen–Poiseuille law Q=πa4∣dp/dz∣/(8μ)Q = \pi a^4\lvert dp/dz\rvert/(8\mu) gives ∣dp/dz∣=8μQ/(πa4)=8(1.0×10−3)(7.854×10−6)/(π(5.0×10−3)4)=32.0 Pa m−1\lvert dp/dz\rvert = 8\mu Q/(\pi a^4) = 8(1.0\times10^{-3})(7.854\times10^{-6})/(\pi(5.0\times10^{-3})^4) = 32.0\ \mathrm{Pa\,m^{-1}}, which matches step 4. The Reynolds number ρm(V/2)(2a)/μ=998\rho_{\mathrm{m}}(V/2)(2a)/\mu = 998 is well below the transition near 23002300, so the laminar profile assumed at the start is self-consistent.
Example(A conducting sphere in a uniform field)Original

An uncharged conducting sphere of radius a=2.0 cma = 2.0\ \mathrm{cm} sits in a uniform electrostatic field E∞=E0 k\mathbf{E}_\infty = E_0\,\mathbf{k} with E0=1.00×105 V m−1E_0 = 1.00\times10^{5}\ \mathrm{V\,m^{-1}}. Take as a trial potential, for r≥ar \ge a,

Φ(r,θ)=−E0(r−a3r2)cos⁡θ.\Phi(r,\theta) = -E_0\left( r - \frac{a^3}{r^2} \right)\cos\theta .
  1. It is harmonic. Write Φ=f(r)cos⁡θ\Phi = f(r)\cos\theta with f(r)=−E0(r−a3r−2)f(r) = -E_0(r - a^3r^{-2}). The angular term of the spherical Laplacian needs 1sin⁡θddθ ⁣(sin⁡θ ddθcos⁡θ)=1sin⁡θddθ(−sin⁡2θ)=−2cos⁡θ,\frac{1}{\sin\theta}\frac{d}{d\theta}\!\left(\sin\theta\,\frac{d}{d\theta}\cos\theta\right) = \frac{1}{\sin\theta}\frac{d}{d\theta}\bigl(-\sin^2\theta\bigr) = -2\cos\theta , and there is no φ\varphi-dependence, so ∇2Φ=[1r2(r2f′)′−2r2f]cos⁡θ\nabla^2\Phi = \bigl[\frac{1}{r^2}(r^2f')' - \frac{2}{r^2}f\bigr]\cos\theta. Now f′=−E0(1+2a3r−3)f' = -E_0(1 + 2a^3r^{-3}), so r2f′=−E0(r2+2a3r−1)r^2f' = -E_0(r^2 + 2a^3r^{-1}) and (r2f′)′=−E0(2r−2a3r−2)(r^2f')' = -E_0(2r - 2a^3r^{-2}). Dividing by r2r^2 gives −2E0(r−1−a3r−4)-2E_0(r^{-1} - a^3r^{-4}), while 2f/r2=−2E0(r−1−a3r−4)2f/r^2 = -2E_0(r^{-1} - a^3 r^{-4}) as well. The two cancel: ∇2Φ=0\nabla^2\Phi = 0 for r>0r > 0.
  2. It satisfies the boundary conditions. At r=ar = a the bracket vanishes, so Φ=0\Phi = 0 on the sphere, which is therefore an equipotential as a conductor must be. As r→∞r\to\infty the second term dies and Φ→−E0rcos⁡θ=−E0z\Phi \to -E_0 r\cos\theta = -E_0 z, the potential of the uniform field. Since the exterior Dirichlet problem has a unique bounded solution, this is the field.
  3. The field. From the spherical gradient, E=−∇Φ\mathbf{E} = -\nabla\Phi has Er=−∂Φ∂r=E0(1+2a3r3)cos⁡θ,Eθ=−1r∂Φ∂θ=−E0(1−a3r3)sin⁡θ.E_r = -\frac{\partial\Phi}{\partial r} = E_0\left(1 + \frac{2a^3}{r^3}\right)\cos\theta, \qquad E_\theta = -\frac{1}{r}\frac{\partial\Phi}{\partial\theta} = -E_0\left(1 - \frac{a^3}{r^3}\right)\sin\theta . At r=ar = a the tangential component EθE_\theta vanishes identically, as it must at a conducting surface — a check on the algebra that the boundary condition in step 2 did not supply.
  4. Surface charge. With Er(a,θ)=3E0cos⁡θE_r(a,\theta) = 3E_0\cos\theta, the surface density is σ=ε0Er=3ε0E0cos⁡θ\sigma = \varepsilon_0E_r = 3\varepsilon_0E_0\cos\theta, whose largest value is at the poles: σmax⁡=3(8.854×10−12)(1.00×105)=2.66×10−6 C m−2=2.66 μC m−2.\sigma_{\max} = 3(8.854\times10^{-12})(1.00\times10^{5}) = 2.66\times10^{-6}\ \mathrm{C\,m^{-2}} = 2.66\ \mu\mathrm{C\,m^{-2}} . The field at the poles is three times the applied field, independently of the radius.
  5. Two consistency checks, both using dA=a2 dΩdA = a^2\,d\Omega. The total induced charge is ∮σ dA=3ε0E0a2∫02π ⁣ ⁣∫0πcos⁡θ sin⁡θ dθ dφ=0,\oint\sigma\,dA = 3\varepsilon_0E_0a^2\int_0^{2\pi}\!\!\int_0^\pi \cos\theta\,\sin\theta\,d\theta\,d\varphi = 0 , as it must be for an uncharged sphere, because ∫0πcos⁡θsin⁡θ dθ=0\int_0^\pi\cos\theta\sin\theta\,d\theta = 0. The induced dipole moment along k\mathbf{k} is p=∮σ (acos⁡θ) dA=3ε0E0a3 (2π)∫0πcos⁡2θsin⁡θ dθ=3ε0E0a3(2π)23=4πε0a3E0,p = \oint \sigma\,(a\cos\theta)\,dA = 3\varepsilon_0E_0a^3\,(2\pi)\int_0^\pi\cos^2\theta\sin\theta\,d\theta = 3\varepsilon_0E_0a^3(2\pi)\tfrac23 = 4\pi\varepsilon_0a^3E_0 , numerically 8.90×10−11 C m8.90\times10^{-11}\ \mathrm{C\,m}. The potential of a point dipole of that strength is pcos⁡θ/(4πε0r2)=E0a3cos⁡θ/r2p\cos\theta/(4\pi\varepsilon_0r^2) = E_0a^3\cos\theta/r^2, which is exactly the second term of Φ\Phi: outside the sphere, the conductor's whole effect is that of an induced dipole at its centre.
ApplicationOriginal

Separation of variables and the special functions. These two Laplacians are the starting point of most of the classical boundary-value problems of physics, because each separates. In cylindrical coordinates, substituting Φ=R(ρ) eimφe±kz\Phi = R(\rho)\,e^{im\varphi}e^{\pm kz} into ∇2Φ=0\nabla^2\Phi = 0 leaves Bessel's equation for RR, which is why Bessel functions describe a vibrating drumhead, the modes of a circular waveguide and the temperature in a cooling cylinder. In spherical coordinates, Φ=R(r)Y(θ,φ)\Phi = R(r)Y(\theta,\varphi) leaves the spherical harmonic equation for YY — the angular part of the Laplacian above is precisely the operator whose eigenfunctions the YℓmY_\ell^m are, with eigenvalue −ℓ(ℓ+1)-\ell(\ell+1) — and the Euler equation r2R′′+2rR′−ℓ(ℓ+1)R=0r^2R'' + 2rR' - \ell(\ell+1)R = 0 for RR, with solutions rℓr^\ell and r−ℓ−1r^{-\ell-1}. The ℓ=1\ell = 1 pair rr and r−2r^{-2} is what the conducting-sphere example used.

Why the radial identity is worth remembering. In quantum mechanics the radial Schrödinger equation is tamed by exactly the alternative form r−1∂r2(rΦ)r^{-1}\partial_r^2(r\Phi): putting Φ=u(r)/r\Phi = u(r)/r turns the three-dimensional radial operator into the plain second derivative u′′(r)u''(r), so the hydrogen atom's radial problem becomes an ordinary one-dimensional eigenvalue problem with an effective potential. The same substitution reduces the spherically symmetric heat and wave equations to one-dimensional ones, which is how the spherical wave f(r−ct)/rf(r-ct)/r is found.

Everyday engineering. The pipe-flow example is the design calculation behind pressure drop in any laminar duct, from a capillary viscometer to a microfluidic channel; the conducting-sphere example is the model for field enhancement at a rounded electrode, and the factor 33 at the poles is why discharge begins there. Both calculations take a few lines only because the operators had already been tabulated in coordinates matched to the geometry — which is the whole reason for this unit.