Curvilinear Coordinates
Scale factors and local vector calculus
In orthogonal coordinates, a coordinate increment becomes a physical distance only after multiplication by its local scale factor. The same factors convert coordinate derivatives into rates per physical distance.
Coordinate distances
For coordinates q1,q2,q3, let hi=∣∂r/∂qi∣ at a regular point. The unit vector ei points along increasing qi, so a physical displacement is dr=∑ihidqiei. The unit vectors can rotate with position even though each retains length one.
In cylindrical coordinates (r,ϕ,z), the factors are (1,r,1): a small angular step at fixed radius covers rdϕ along its circular path. In spherical coordinates (ρ,θ,ϕ), with θ measured from positive z, they are (1,ρ,ρsinθ). Thus polar and azimuthal steps generally have different physical lengths at the same location.
Differential operators
For a scalar f, its gradient is ∇f=∑iei(∂if/hi). Each component measures change per physical length in its local direction. A zero angular component follows when the angular derivative vanishes at that point, not merely because the angular coordinate is held fixed while differentiating.
For a vector field with physical components Ai, its divergence is ∇⋅A=(h1h2h3)−1∑i∂i[(h1h2h3/hi)Ai]. The scalar Laplacian is the divergence of the gradient. These formulas apply where the coordinate factors used in their denominators are nonzero.
Worked example
At cylindrical radius r=7m, an angular step dϕ=0.03rad at fixed r,z covers (7m)(0.03)=0.21m along the circle. Radians contribute no length unit, while the radius supplies one.
Take the dimensionless scalar f=(r/L)2+11z/L, where L=1m. Its gradient is (2r/L2)er+(11/L)ez; at r=4m, the components are 8/m and 11/m. The azimuthal component is zero because this scalar has no ϕ dependence.
For dimensionless f(r,phi,z) = (r/1 m) phi + (z/1 m) squared in cylindrical coordinates, what is the physical e_phi component of grad f at r = 2 m, phi = 1 rad, z = 0?
In spherical coordinates with theta measured from +z, a scalar is f(rho,theta,phi) = rho cos theta. Which expression gives its e_theta gradient component away from the origin?