Vector Operators in Curvilinear Coordinates
Cartesian coordinates are a luxury: the basis vectors point the same way at every point in space, so the gradient, divergence and curl are just tidy sums of partial derivatives. The moment a problem has cylindrical or spherical symmetry — a charged wire, a planet, a waveguide, a hydrogen atom — those constant axes become a liability, and it pays to lay a curved grid over space instead. On such a grid the local axes swivel and stretch from point to point, and that single fact is the origin of every extra term that makes in spherical coordinates look so much busier than in Cartesian. The device that tames the complication is a set of three numbers, the scale factors , which convert a step in coordinate value into a step in physical length. Once the three are known as functions of position, the gradient, divergence, curl and Laplacian follow mechanically — you never differentiate a basis vector by hand. The strategy is to give each operator its coordinate-free geometric meaning (gradient as the differential of a scalar, divergence as flux per unit volume, curl as circulation per unit area) and evaluate it on an infinitesimal curvilinear box with edge lengths ; the Divergence and Stokes theorems make the limits exact. The payoff is unification: cylindrical, spherical, parabolic, elliptic and toroidal systems are all one formula with different inserted, and this is the form in which Laplace's equation, the diffusion equation and Maxwell's equations are solved whenever geometry has symmetry to exploit.
- In orthogonal curvilinear coordinates each coordinate carries a scale factor that turns a coordinate increment into a physical arc length .
- The whole geometry is packed into one object, the line element ; every vector operator is read off from it.
- Gradient uses one factor ; divergence and Laplacian carry the volume Jacobian ; curl is a determinant of the covariant components .
- Inserting the scale factors recovers cylindrical and spherical formulas with no extra labour — one master result, many special cases.
- Every formula must collapse to the Cartesian expressions when all ; any candidate that fails this limit is wrong.
- Key idea: every orthogonal-coordinate vector operator is built from the three scale factors and the metric ; divergence and Laplacian additionally weight by the volume Jacobian .
Every orthogonal-coordinate vector operator is built from the three scale factors and the metric ; the divergence and Laplacian additionally weight by the volume Jacobian .
Where this lives today
The curvilinear operators are the first line of almost every quantitative model that has symmetry to exploit. Separation of variables — the workhorse of mathematical physics — only works because the Laplacian in the right coordinate system splits into independent ordinary differential equations: the spherical Laplacian gives the Legendre equation and the spherical harmonics behind electrostatic multipoles, the CMB power spectrum, and every atomic orbital; the cylindrical Laplacian gives Bessel's equation and the modes of optical fibres and microwave waveguides. Numerical practice leans just as hard on it: finite-element and spectral solvers map irregular geometries onto reference grids through exactly the Jacobian , and computational fluid dynamics writes the Navier–Stokes equations in body-fitted coordinates so a turbine blade or an artery wall becomes a coordinate surface. In general relativity the same bookkeeping, promoted to a non-diagonal metric , becomes the covariant derivative — the Lamé coefficients are the flat-space ancestor of the Christoffel symbols. Whenever a simulation reports a field on a sphere, a cylinder, or a warped mesh, equations (4)–(7) are running underneath.
The physical picture
Picture the coordinate surfaces as a curved cage drawn on space. Where they cross, three coordinate curves pass through the point and the local unit vectors point along them. A unit step no longer means one metre: it means metres. The scale factors are the local exchange rate between "coordinate units" and "physical metres", and since every differential operator is a rate of change per physical metre, each derivative is divided by its . The first figure is the elementary curvilinear box on which all four operators are evaluated: its edges are , its faces have areas like , and its volume is .
The volume Jacobian appears in the divergence and Laplacian because those operators measure flux per unit volume, and both the box volume and the face areas are coordinate-dependent — tracking how a face area changes as you cross the box generates the derivative-of- terms. Curl, by contrast, is circulation per unit area and involves products of only two scale factors. The second figure makes this concrete for the workhorse case, spherical coordinates, whose scale factors give the volume element its famous .
The core equations
Everything begins with the map from coordinates to physical space. Differentiating the position vector along each coordinate curve gives a tangent vector; its length is the scale factor and its direction is the local unit vector. In orthogonal systems the three tangent directions are mutually perpendicular, which keeps every later formula diagonal.
where: — position vector as a function of the coordinates; — the three curvilinear coordinates, ; — scale factor, the physical length per unit change in ; — unit tangent along the -curve. Reading it: a coordinate step moves you metres along . The line element collects the three scale factors into the single object from which every operator descends. Because the triad is orthonormal the metric is diagonal — no cross terms .
where: — infinitesimal physical displacement; — physical arc length. Reading it: the are the diagonal entries of the metric tensor; knowing them is knowing the geometry. From the line element the geometric measures follow at once. The box built from the three edge vectors has volume equal to the product of the edge lengths (orthogonality again), and each face area is the product of two of them.
where: — physical volume of the curvilinear box; — vector area element on the face of constant . The gradient measures rate of change per physical length, so each partial derivative is divided by one scale factor — it is the only operator that carries no Jacobian.
where: — a scalar field; — its gradient vector, pointing along steepest ascent with magnitude equal to the physical slope. Reading it: divide each by . The divergence is net outward flux per unit volume. The face areas are themselves coordinate-dependent, so they sit inside the derivatives, with the prefactor supplied by the box volume.
where: — vector field with physical components ; — the area factor of the face pierced by . Reading it: weight each component by its face area before differentiating. The curl is circulation per unit area, assembling into a determinant whose bottom row holds the covariant components — the projections of onto the physical edge vectors.
where: — covariant component, the piece of appearing in the circulation integral . Reading it: expand along the top row as for the Cartesian curl, but differentiate , not . The Laplacian is , inheriting the Jacobian of the divergence and the of the gradient in one self-adjoint second-order operator.
where: — the Laplacian of ; each bracket is the divergence formula with inserted. Reading it: the coefficient of each second derivative is , perpendicular face area over parallel edge length. A final identity closes the loop between the tangent basis and the gradient (normal) basis , and fixes the handedness of the triad.
where: — gradient of the coordinate function, normal to the constant- surface; — Levi-Civita symbol enforcing a right-handed ordering. In an orthogonal system tangent and normal directions coincide, so and differ only by the factor .
The goal is to pin down the gradient not by guessing where the scale factors go, but by demanding the one property that defines it in any coordinate system: that the change in a scalar over an infinitesimal displacement equal the dot product of the gradient with that displacement, . Writing both sides in the curvilinear basis and matching coefficients of the independent increments forces the factors into place with no freedom left, and shows why the gradient is the one operator that carries a single scale factor rather than the Jacobian.
Step 1. Expand the scalar change as a total differential, . Why: this is pure calculus — it is how a function of three coordinates changes, with no geometry assumed yet.
Step 2. Write the same change through the defining property, , and substitute the line element from equation (2), giving . Why: this injects the geometry — each unit of is worth physical metres, so the component of the gradient gets multiplied by .
Step 3. The increments are independent, so the coefficients from Steps 1 and 2 must match term by term, forcing , hence . Why: matching coefficients of independent differentials converts a defining identity into an explicit formula.
Step 4. Reassemble the vector, , and check the Cartesian limit , which returns . Why: recovering the familiar operator when the grid is straight is the minimum sanity test every curvilinear formula must pass. *For example, setting gives , the standard spherical gradient.*
Go deeper · Derivation B · 1 minDivergence from the flux balance on a curvilinear box
The goal is to derive the divergence from its coordinate-free meaning — net outward flux per unit volume in the limit of a vanishing region — by evaluating that flux on the elementary box of the first figure. The subtlety, and the whole reason the formula looks different from Cartesian, is that the area of a face is not constant: as you move from to the opposite face has a different area because depends on , so keeping that area factor inside the difference is exactly what produces the derivative-of- terms.
Step 1. Build the box with edges from to ; its volume is from equation (3). Why: the flux-per-volume definition needs the physical volume in the denominator, where the Jacobian first enters.
Step 2. Compute the flux through the two faces of constant . The outward flux equals times the face area , and because that area is -dependent the net contribution is . Why: the product , not alone, is what is evaluated on the two faces — this is the crux that a naive treatment gets wrong.
Step 3. Taylor-expand the bracket to first order, ; the other two face pairs are cyclic permutations with and . Why: first-order expansion is exact in the vanishing-box limit, and cyclic symmetry saves repeating the algebra.
Step 4. Divide the total flux by the volume ; the common cancels and leaves . Why: this ratio is precisely the geometric definition of divergence, now explicit in the scale factors. *As a check: inserting gives , the standard cylindrical divergence; inserting gives , the standard spherical divergence.*
Go deeper · Derivation C · 1 minCurl from circulation around an elementary loop
The goal is to extract one component of the curl from its geometric definition — circulation per unit area — and then argue by symmetry that the three components assemble into the compact determinant of equation (6). Working on the constant- face, Stokes' theorem equates the component of the curl to the line integral of around the loop bounding that face, divided by its area. The key point is that the tangential contribution along each edge is times the physical edge length , so it is the covariant product that gets differentiated.
Step 1. Choose a rectangular loop on the constant- surface, running and , traversed counter-clockwise; its area is . Why: Stokes' theorem needs an oriented bounding loop, and the face area sets the denominator of the circulation-per-area limit.
Step 2. Add the circulation along the two -edges. The tangential piece is times the physical length , and the two edges run in opposite senses, giving . Why: the covariant component is the natural line-integral density, and the opposite orientation of the parallel edges produces the derivative.
Step 3. The two -edges give, by the same argument, . Why: this pair carries the opposite sign under the counter-clockwise traversal, so the two pairs make an antisymmetric combination.
Step 4. Divide the total circulation by the area to get ; cycling generates the other two components, precisely the cofactor expansion of the determinant in equation (6). Why: the three components share one antisymmetric pattern, and a determinant of the covariant row is the compact bookkeeping for it. *As a check: the cyclic assembly reproduces the determinant, and the Cartesian limit returns the familiar -type components.*
Limiting cases
Every named coordinate system is one line of the master formulas with its scale factors substituted — the general result is only specialized, never re-derived.
| Case | Result | Meaning |
|---|---|---|
| Cartesian | , | unit vectors constant; all derivative-of- terms vanish and the textbook operators return |
| Cylindrical | , | gives and |
| Spherical | , | gives the familiar divergence and the spherical Laplacian used for multipoles and the hydrogen atom |
| Parabolic cylinder | two equal scale factors; the natural frame for edge-diffraction and certain electrostatic wedge problems | |
| Prolate spheroidal | -type | separates the two-centre problem (H₂⁺ molecular ion, charged conducting ellipsoids) |
Worked examples
1 · From the master formula to the spherical Laplacian (confidence builder)
Specialize the general Laplacian (7) to spherical coordinates, then test it on and .
Step 1. Insert , for which . The three coefficients become , , and .
Step 2. Assemble equation (7) and pull the constant out of the radial term to reach the standard form .
Step 3. Test on (spherically symmetric, so only the radial term survives): . Cross-check in Cartesian, where gives — the two agree exactly.
Step 4. Test on the Coulomb potential : for . The spherical Laplacian gives ∇²r² = 6 and ∇²(1/r) = 0 away from the origin — the latter is why 1/r is the free-space potential of a point charge.
2 · Cylindrical divergence and a flux check with numbers
Take the radial field . Compute its divergence, then verify the Divergence Theorem on a cylinder of radius and height .
Step 1. Here , , with . Equation (5) gives , a uniform divergence.
Step 2. Volume integral: , using the cylinder volume .
Step 3. Surface flux: the field is purely radial, so the flat top and bottom (normals along ) contribute nothing. The curved side has outward normal , area , and there , so the flux is .
Step 4. The two independent computations agree: ∫∇·A dV = ∮A·dS = 40π, confirming both the cylindrical divergence formula and Gauss's theorem.
3 · Why a point source has zero divergence
The inverse-square field models a point source of strength . Show its divergence vanishes for yet its flux through any enclosing sphere is .
Step 1. With the spherical divergence gives for every — the Jacobian's exactly cancels the field's , the signature of an inverse-square law. Yet the flux through a sphere of radius is , independent of . The divergence is zero away from the origin, where the source hides as a delta-function singularity; the finite flux is Gauss's law for a point charge with .
Physics of the portrait
The scale factors carry a name — the Lamé coefficients — after the mathematician who turned Descartes' straight axes into a supple, curved coordinate machinery fit for continuous media.
Origins · 1 minGabriel Lamé and how this was discovered
Gabriel Lamé trained as a mining engineer at the École Polytechnique and spent a formative decade in St. Petersburg before returning to Paris, where he became a leading French mathematical physicist of his generation — Gauss reportedly called him the foremost of his day. His enduring contribution here is the systematic development of general curvilinear coordinates: in memoirs from the 1830s and in his 1859 treatise Leçons sur les coordonnées curvilignes et leurs diverses applications, he introduced the three scale factors now universally written and called Lamé coefficients, and showed how the operators of physics transform when the coordinate surfaces bend. He was driven not by abstraction but by heat conduction and, above all, elasticity — the Lamé parameters and of a stressed solid are also his — where curvilinear coordinates were the only practical route to boundary conditions on curved bodies. The formulas of this article are the modern, tidied form of exactly the machinery he built.
Going further
Texts. Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., Ch. 3 (Vector Analysis) and the coordinate-systems sections · Stone & Goldbart, Mathematics for Physics, Ch. on vector calculus and curvilinear coordinates · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, 3rd ed., Ch. 10 · Boas, Mathematical Methods in the Physical Sciences, 3rd ed., Ch. 6 · Morse & Feshbach, Methods of Theoretical Physics, Vol. 1, Ch. 1 (the classic table of separable coordinate systems). The key self-consistency checks for the formulas in this article are: the gradient follows from ; the divergence reductions to and yield the standard cylindrical and spherical forms; the Laplacian is confirmed by composing gradient and divergence and checking , , the cylindrical flux , and the point-source flux ; the spherical Jacobian is and the cylindrical Jacobian is .
Prerequisites. Scalar and Vector Fields · The Gradient Operator · Divergence of a Vector Field · Curl of a Vector Field · The Divergence (Gauss) Theorem · Stokes' Theorem. Leads to. The Laplacian Operator · The Del Operator and Vector Differential Identities · Surface Integrals and Flux · Volume Integrals.
Ask the tutor: Ask me to specialize any of these operators to your coordinate system — cylindrical, spherical, parabolic, or a mesh of your own — and watch the scale factors do all the work.
What exactly is a scale factor, in one sentence?
It is the local conversion between a change in a coordinate's value and the physical distance that change moves you: , so moving from to carries you metres along the -curve. In Cartesian coordinates a step of one in is always one metre, so . In spherical coordinates a step of one radian in moves you metres — larger far from the axis, zero on it. Because every derivative in physics is really "per unit physical length," you divide each by its , and that one idea builds every operator here.
Why does the Jacobian appear in the divergence and Laplacian but not the gradient?
The gradient is a rate of change per unit length, so it only needs the single factor that converts a coordinate slope into a physical one. The divergence is flux per unit volume, and two facts about volume enter: the box volume supplies the prefactor, and the face areas are coordinate-dependent, so they sit inside the derivatives. The Laplacian is a divergence of a gradient, inheriting both at once. Rule of thumb: one scale factor per spatial derivative in the gradient, a full Jacobian whenever you measure something per unit volume.
Why must the field components go in as physical components rather than raw derivatives?
The physical components are the ones with honest units — what an instrument reads along each unit direction. But the operators mix two other kinds: the covariant pieces that appear in line integrals (curl), and the area-weighted pieces that appear in flux (divergence). The scale-factor formulas are written so you always feed in the physical and let the do the rest, sparing you the raised-and-lowered-index bookkeeping of full tensor calculus — which is why the curl determinant carries and the divergence carries .
Does "orthogonal" matter, or can any curved coordinates be used?
Any smooth, invertible coordinate change is allowed, but if the coordinate surfaces do not meet at right angles the metric acquires off-diagonal terms with , and the tidy formulas here no longer hold — you need the general tensor expressions with in place of . Orthogonality is what makes diagonal, so the volume is a plain product of edge lengths and each operator decouples into three clean terms. Fortunately almost every coordinate system of practical importance — cylindrical, spherical, parabolic, elliptic, toroidal, spheroidal — is orthogonal, which is why the scale-factor machinery is so widely useful.
How is this related to the metric tensor and general relativity?
Directly: the line element is the special, diagonal case of the general metric , with . The Jacobian is , and the divergence is the covariant divergence for a diagonal metric. In curved spacetime the metric becomes non-diagonal in a way no coordinate change can remove, and its derivatives become the Christoffel symbols. So the Lamé coefficients are the flat-space, orthogonal ancestors of the connection coefficients of general relativity — same idea, one level up.
What is the single most common mistake, and how do I avoid it?
Differentiating a vector field as though the basis vectors were constant. In curvilinear coordinates rotates from point to point — in spherical coordinates , for instance — so a divergence written as the bare sum omits real physical terms and is wrong. The cure is to never differentiate a unit vector by hand: use equations (4)–(7) as written, feeding in the physical components and scale factors, since those formulas have already absorbed the basis rotation into the derivatives. If a result ever fails the Cartesian check (all ) or the standard reductions, you have almost certainly dropped one of these terms.