Curvilinear Coordinates and Scale Factors
You have now built the same machinery twice. For spherical coordinates: stretch factors , volume element , a divergence with tucked inside the radial derivative. For cylindrical: factors , element , an inside the derivative. The parallel is too perfect to be coincidence, and this article names the pattern: every orthogonal coordinate system is completely characterized by three functions — the scale factors, or Lamé coefficients — that convert coordinate changes into real lengths. Hand me the three 's and I will hand you back the displacement, the volume element, the gradient, the divergence, the curl, and the Laplacian, by turning a single crank. This is more than tidy bookkeeping. It is the difference between memorizing six formulas per coordinate system and owning one machine that manufactures them all — including for systems you have never met, the parabolic and elliptical and toroidal grids that turn specific hard boundary-value problems into easy ones. And it is a first, honest step toward one of the deep ideas of physics: that geometry is encoded in how coordinate displacements translate into distances. Promote the three scale factors to a general metric and you are standing at the door of general relativity. The plan: define the scale factors from the position vector, harvest the elements and operators once and for all, verify that spherical and cylindrical drop out as special cases, and then take the machine somewhere new.
- An orthogonal curvilinear system has coordinate lines that cross at right angles everywhere; each coordinate carries a scale factor converting into a real length .
- Displacement: ; volume element (the Jacobian, factorized).
- Cartesian is , cylindrical , spherical — all previous formulas are one machine with different fuel.
- The master operators: gradient divides by ; divergence and Laplacian carry the transverse factors inside the derivatives, e.g. — geometry of the cell faces, not convention.
- The machinery works only for orthogonal systems; skewed grids need the full metric tensor, the road to general relativity.
- Key idea: three scale factors — the local exchange rates between coordinate changes and real lengths — completely determine an orthogonal coordinate system: every element and every differential operator is manufactured from by one universal recipe.
Three scale factors — the local exchange rates between coordinate changes and real distances — completely determine an orthogonal coordinate system: displacement, volume element, gradient, divergence, curl, and Laplacian all follow from by one universal recipe.
Where this lives today
The most literal descendants of Lamé's machinery are the body-fitted grids of computational physics. Airflow over a wing, plasma in a tokamak, the electromagnetic field in a curved waveguide — production solvers generate a curvilinear coordinate system shaped to the hardware, compute the scale factors (numerically, cell by cell), and run exactly the master formulas of this article on the resulting grid. When a simulation paper says "generalized coordinates," it means equations (2) through (6) with 's tabulated by mesh software. The most spectacular descendant is transformation optics. Maxwell's equations keep their form under coordinate transformations, with the geometry reappearing as effective material properties — so a desired bending of light can be specified as a coordinate transformation and then built as a metamaterial whose permittivity and permeability mimic the transformed metric. The invisibility-cloak literature that erupted after 2006 is scale-factor engineering: space is not actually curved, but light is made to believe it is. And in general relativity the promotion is complete — there the metric is not a computational convenience but the gravitational field itself, and this article's are the friendly diagonal corner of that grand structure.
The physical picture
Think of a coordinate system as a currency, and space as the land you are traveling through. A step of "one unit" in coordinate buys you a different amount of actual distance depending on where you stand — one degree of longitude is 111 km at the equator and nothing at the pole. The scale factor is the local exchange rate: real distance per unit of coordinate. Cartesian coordinates are the special currency whose rate is everywhere 1; all the exotic behaviour of spherical and cylindrical formulas — the , the lonely — is nothing but exchange rates showing up in the arithmetic.
Orthogonality is the property that keeps everything simple: at every point, the three coordinate directions are mutually perpendicular, so the infinitesimal cell is an honest (curvilinear) brick — edge lengths , , , volume the product of the three. All the coordinate systems of daily physics — Cartesian, cylindrical, spherical, plus the exotic parabolic, elliptic, and toroidal grids — are orthogonal. (Skewed systems, where grid lines cross at changing angles, need a full metric tensor with off-diagonal entries; that heavier machinery belongs to general relativity, and knowing the boundary of the light machinery is part of owning it.)
The scale factors, defined and harvested
Let label points, with the position vector known in Cartesian terms. Nudge one coordinate: the point moves by . The direction of that move defines the unit vector ; its length per unit coordinate defines the scale factor:
where: orthogonality means at every point, with the triad ordered right-handed. The definition is completely mechanical — differentiate, take the magnitude — and it packages all the geometry of the system. Note the units: if is a length (like or ), is dimensionless; if is an angle, carries the metres. The scale factor is precisely what keeps every formula dimensionally honest. The general displacement adds the three perpendicular nudges, and the elements follow by multiplying edges exactly as they did on the sphere and the cylinder:
where: the area element on a surface of constant is , and cyclically. The product is the Jacobian of the transformation, factorized into meaningful pieces — one exchange rate per direction — rather than delivered as an opaque determinant.
The goal is to show that definition (1) is a two-line calculation in practice, by extracting the spherical factors from the position vector — no geometric ingenuity required, just differentiation. The strategy: write in Cartesian components as a function of , differentiate with respect to each coordinate in turn, and take magnitudes. Watch the trigonometric identities collapse each magnitude to a single clean factor — that collapse is orthogonality quietly certifying itself.
Step 1. The position vector: .
Step 2. Differentiate with respect to : . Its magnitude: , so . Why it had to be 1: is itself a distance, so a unit change of is a unit of real length.
Step 3. Differentiate with respect to : . Magnitude: , so .
Step 4. Differentiate with respect to : . Magnitude: , so . Why this is the axis distance: the -motion is a circle around the -axis, and is exactly the perpendicular distance to that axis — the geometry of the spherical article, recovered by blind differentiation.
Step 5. Orthogonality check (the license for everything downstream): the three derivative vectors have pairwise dot products , and similarly for the other pairs — all zero, everywhere. Verified: reproduces the spherical results of Griffiths §1.4; the same two-line procedure applied to yields the cylindrical triple .
The master operators
With lengths under control, the differential operators follow from their coordinate-free definitions — the same definitions used on the sphere and cylinder, now run once for all systems. The gradient is "rate of change per unit length in each direction," so each derivative is divided by its exchange rate:
where: the quickest honest route to (3) is to demand for the displacement (2): the chain rule gives , and matching coefficients against forces . Insert and the spherical gradient reappears; insert for the cylindrical one. The divergence is flux out per unit volume, computed on the curvilinear brick — and here the transverse scale factors are forced inside the derivatives, because opposite faces of the brick have different areas:
where: is precisely the area factor of the faces the flux crosses. Feed the machine spherical fuel: , and the first term becomes — the formula you met before, now inevitable rather than memorized.
Go deeper · Derivation B · 1 minThe master divergence from flux through the curvilinear brick
The goal is equation (4), proved once for every orthogonal system simultaneously — after this, the spherical and cylindrical cell arguments you have already seen become two specializations of a single computation. The strategy is the standard one: compute the net flux out of the brick with edges , divide by its volume. The step to watch is the same one as always, now in full generality: both the field component and the face area vary from one face to the opposite one, and the product rule bundles them into a single derivative of .
Step 1. The two faces perpendicular to sit at and . Each has area — evaluated at its own location, where and generally differ. The net outflow through this pair is
Why the whole product is differentiated: a constant field still leaks net flux if the far face is bigger — geometry and field variation enter on exactly the same footing, and only the product knows both.
Step 2. The other two face-pairs contribute cyclically: and , each times .
Step 3. Divide the total by the brick's volume to get flux per volume — equation (4).
Step 4. Harvest the special cases. Cartesian : all factors disappear, . Cylindrical : gives . Spherical : gives . Why this harvest matters: three previously separate derivations are now one — and any new orthogonal system you ever meet is pre-solved. *Verified: reproduces Griffiths Appendix A and Boas Ch. 10; the three specializations match the formulas derived independently in the spherical and cylindrical articles.*
The remaining two operators come from composing what we have. The Laplacian is divergence-of-gradient — insert (3) into (4):
where: each slot carries the ratio (transverse area)/(own factor) — one from the gradient's division, two from the divergence's areas. This is the formula behind every separation-of-variables solution in E2: the shapes of decide whether the Laplace equation splits into ordinary differential equations, and the classical coordinate systems are famous precisely because theirs do. The curl follows the same grammar, tidiest as a determinant:
where: each component reproduces the circulation-per-area computation on the corresponding brick face — for instance . Note the pattern across all four operators: gradient divides by one ; divergence and curl differentiate components pre-multiplied by 's. Once that asymmetry makes sense (lengths per coordinate versus areas swept by faces and edges), the formulas stop being memorization and start being readable.
Which formula answers which question
| you want | use | notes |
|---|---|---|
| the scale factors of any system | two lines of differentiation | |
| lengths, areas, volumes | equation (2) | multiply the swept edges |
| slope of a scalar | equation (3) | divide by |
| sources of a field | equation (4) | transverse areas inside the derivative |
| Laplace or Poisson equation | equation (5) | the separability engine of E2 |
| swirl of a field | equation (6) | determinant with 's in rows one and three |
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| all operators collapse to Cartesian | the machine's calibration check | |
| cylindrical formulas | one curved direction | |
| spherical formulas | two curved directions | |
| drop , | plane polar | 2D electrostatics and central-force orbits |
| all constant but unequal | rescaled Cartesian (anisotropic stretch) | units conversion is a "coordinate system" |
| non-orthogonal grid | machinery fails; needs metric tensor | the door to general relativity |
Worked examples
1 · The length of a helical antenna wire (confidence builder)
A wire is wound as a helix of radius and pitch (vertical rise per turn), for turns. Find the wire's length.
Step 1. Choose cylindrical coordinates , scale factors . The helix is (constant), , with running from to .
Step 2. The line element from equation (2), with : . Note the scale factor at work: the contributes arc , not .
Step 3. The integrand is constant, so — per turn, the wire is the hypotenuse of a rectangle "circumference by pitch," unrolled.
Step 4. Numbers: , so per turn , and . Check the limits: gives flat circles, — the pitch adds barely 3 cm, as the nearly-flat winding suggests.
2 · Running the machine on an unfamiliar system (exam level)
Parabolic cylindrical coordinates are defined by , , . (a) Find the scale factors and verify orthogonality. (b) Compute the area of the patch , in the plane (coordinates in metres).
Step 1. Differentiate the position vector. and , with .
Step 2. Orthogonality: , and both are orthogonal to — the system qualifies, so all master formulas apply.
Step 3. Scale factors: , , . (Equal is the signature of a conformal map in the plane.) At the point : — one coordinate unit there buys m of real distance.
Step 4. The area element on is . Integrate:
Step 5. Sanity check: the patch's coordinate rectangle is , but the exchange rate averages well above 1 over the region (it reaches at the far corner), so a real area of — bigger than the naive — is exactly the right kind of number. A machine you can audit is a machine you can trust on systems you have never seen before.
Origins · 1 minGabriel Lamé and how this was discovered
Lamé was the nineteenth century's great believer in coordinates fitted to problems. An engineer-mathematician who spent a decade building railways and schools in Russia before returning to Paris chairs, he attacked heat conduction in crystals and ellipsoids where the standard grids fail — and, in doing so, built the general theory of curvilinear coordinates, publishing the definitive Leçons on the subject in 1859. The scale factors of this article are called the Lamé coefficients in his honour, and the curvilinear Laplacian machinery is essentially his. His fingerprints are all over solid mechanics too: the Lamé parameters of elasticity theory measure every material's stiffness to this day. Gauss praised him as the finest French mathematician of his generation; characteristically, Lamé thought of himself as an engineer. Fitting coordinates to geometry, he insisted, was not a trick but a method — the metric viewpoint that Riemann would soon make universal.
Going further
References. Griffiths, Introduction to Electrodynamics, 4th ed., §1.4 and Appendix A (curvilinear coordinates) · Jackson, Classical Electrodynamics, 3rd ed., front-cover vector formulas and §3 · Zangwill, Modern Electrodynamics, §1.2 and Appendix C · Boas, Mathematical Methods in the Physical Sciences, 3rd ed., Ch. 10 (curvilinear coordinates) · Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., §3.10 · Morse & Feshbach, Methods of Theoretical Physics, Ch. 5 (the separable systems)
Provenance. Scale factor definitions and the gradient/divergence/curl/Laplacian master formulas follow Griffiths §1.4 and Appendix A, and Boas Ch. 10; verifier should confirm the spherical by direct differentiation of , and check the spherical/cylindrical Laplacians against Jackson's inside-cover formulas. All limiting cases ( Cartesian) are recomputable by substitution. Worked-example numbers on this page (helix length m for cm, cm, ; parabolic-cylindrical and patch area ) are illustrative arithmetic recomputed from the boxed formulas; the parabolic-cylindrical scale factors match Morse & Feshbach's tabulation.
Builds on: Scalar and Vector Fields · The Del Operator (Nabla) · The Gradient Operator · Line Integrals · Surface Integrals and Flux Leads to: The Divergence (Gauss) Theorem · The Curl (Stokes) Theorem · Second Derivatives and the Laplacian
How do I compute the scale factors of a system I have never seen?
Mechanically, in three moves: write the position vector in Cartesian components as a function of the new coordinates, differentiate with respect to each coordinate, and take magnitudes: . While you are there, dot the derivative vectors pairwise — all zero means the system is orthogonal and every master formula applies; any nonzero dot product means stop, this machinery does not cover it. The parabolic-coordinates worked example runs the full procedure in four lines. With the three 's in hand you never derive anything else for that system: elements and operators are read off equations (2) through (6).
Why do some scale factors carry units of length and others not?
Because coordinates themselves come in two species: lengths (like , , ) and pure numbers (like angles). A displacement must always be a length, so the scale factor supplies whatever units the coordinate lacks — carries metres because carries none, while is unitless because is already a length. This is more useful than it sounds: dimensional analysis becomes a proofreading tool. Every term of a gradient must have units of field-per-length; if one term of your expression has field-per-radian instead, a scale factor has been dropped, and the units tell you exactly which one.
What exactly goes wrong for non-orthogonal coordinates?
The brick stops being a brick. When coordinate directions meet at oblique (and position-dependent) angles, the cell is a parallelepiped: its volume involves the angles, displacement components mix, and a single number per direction can no longer encode the geometry. The honest bookkeeping is the metric tensor — a symmetric matrix whose diagonal holds the squared scale factors and whose off-diagonal entries measure the skew. Orthogonal systems are precisely those with diagonal , where and everything in this article follows. The general- machinery (index gymnastics, Christoffel symbols) is the standard toolkit of general relativity — this article is its diagonal, flat-space apprenticeship.
Is the product h₁h₂h₃ the same thing as the Jacobian determinant?
For orthogonal systems, yes — up to sign. The Jacobian determinant measures the volume of the parallelepiped spanned by the three derivative vectors; when those vectors are mutually perpendicular, that volume is simply the product of their lengths, . So the mysterious of multivariable calculus factorizes, for orthogonal systems, into three meaningful exchange rates: the of spherical coordinates is not one opaque determinant but , one factor per direction. For skewed systems the determinant picks up the angle factors and the neat factorization is lost.
Why do the gradient and the divergence treat the scale factors so differently?
Because they answer different geometric questions. The gradient asks "how fast does the scalar change per metre in each direction?" — a length question, so each coordinate derivative gets divided by its own exchange rate, one per component. The divergence asks "how much net flux leaves per unit volume?" — an area and volume question: the flux through a face involves the face's area ( for an -face, inside the derivative because areas vary from face to face), and the whole is divided by the brick volume . Curl, an area-and-edge question, mixes the two patterns. Once you attach each to the geometric object it measures — edge, face, or volume — the four master formulas become readable sentences rather than arbitrary strings.
Will I ever actually use a coordinate system beyond the big three?
Sooner than you might think, and always for the same reason: separability. Laplace's and Helmholtz's equations split into ordinary differential equations only when the boundaries are coordinate surfaces, and classical physics assembled a whole zoo for exactly this purpose — parabolic coordinates for the field near a charged parabolic tip (and, famously, the quantum Stark effect), prolate spheroidal for the two-centre problem of the hydrogen molecular ion, elliptic cylindrical for slots and strips, toroidal for fusion plasmas. The Helmholtz equation separates in precisely eleven orthogonal systems, all catalogued in Morse and Feshbach. You will not memorize them — but with this article's machine, you can operate any of them the day a problem demands it.
How does this connect to the metric of special and general relativity?
Directly — this is the shallow end of that pool. Write the squared line element from equation (2): . That quadratic form is a metric: the rule that converts coordinate differences into distances. Relativity makes two upgrades: time joins the coordinates (with its notorious minus sign), and the coefficients — now written , allowed off-diagonal entries — become dynamical, determined by matter through Einstein's equations rather than chosen for convenience. But the conceptual move is the one this article already made: geometry lives not in the coordinates themselves, which are arbitrary labels, but in the conversion table between coordinates and lengths. Master scale factors and the metric tensor is a generalization, not a revolution.