In geometry, curvilinear coordinates are a coordinate system for Euclidean space in which the coordinate lines may be curved. These coordinates may be derived from a set of Cartesian coordinates by using a transformation that is locally invertible (a one-to-one map) at each point. This means that one can convert a point given in a Cartesian coordinate system to its curvilinear coordinates and back. The name curvilinear coordinates, coined by the French mathematician Lamé, derives from the fact that the coordinate surfaces of the curvilinear systems are curved.
Well-known examples of curvilinear coordinate systems in three-dimensional Euclidean space (R3) are cylindrical and spherical coordinates. A Cartesian coordinate surface in this space is a coordinate plane; for example z = 0 defines the x-y plane. In the same space, the coordinate surface r = 1 in spherical coordinates is the surface of a unit sphere, which is curved. The formalism of curvilinear coordinates provides a unified and general description of the standard coordinate systems.
Curvilinear coordinates are often used to define the location or distribution of physical quantities which may be, for example, scalars, vectors, or tensors. Mathematical expressions involving these quantities in vector calculus and tensor analysis (such as the gradient, divergence, curl, and Laplacian) can be transformed from one coordinate system to another, according to transformation rules for scalars, vectors, and tensors. Such expressions then become valid for any curvilinear coordinate system.
A curvilinear coordinate system may be simpler to use than the Cartesian coordinate system for some applications. The motion of particles under the influence of central forces is usually easier to solve in spherical coordinates than in Cartesian coordinates; this is true of many physical problems with spherical symmetry defined in R3. Equations with boundary conditions that follow coordinate surfaces for a particular curvilinear coordinate system may be easier to solve in that system. While one might describe the motion of a particle in a rectangular box using Cartesian coordinates, it is easier to describe the motion in a sphere with spherical coordinates. Spherical coordinates are the most common curvilinear coordinate systems and are used in Earth sciences, cartography, quantum mechanics, relativity, and engineering.
For now, consider 3-D space. A point P in 3-D space (or its position vector r) can be defined using Cartesian coordinates (x, y, z) [equivalently written (''x''<sup>1</sup>, ''x''<sup>2</sup>, ''x''<sup>3</sup>)], by
r=xex+yey+zez
It can also be defined by its curvilinear coordinates (q1, q2, q3) if this triplet of numbers defines a single point in an unambiguous way. The relation between the coordinates is then given by the invertible transformation functions:
x=f1(q1,q2,q3),y=f2(q1,q2,q3),z=f3(q1,q2,q3)
q1=g1(x,y,z),q2=g2(x,y,z),q3=g3(x,y,z)
The surfaces q1 = constant, q2 = constant, q3 = constant are called the coordinate surfaces; and the space curves formed by their intersection in pairs are called the coordinate curves. The coordinate axes are determined by the tangents to the coordinate curves at the intersection of three surfaces. They are not in general fixed directions in space, which happens to be the case for simple Cartesian coordinates, and thus there is generally no natural global basis for curvilinear coordinates.
In the Cartesian system, the standard basis vectors can be derived from the derivative of the location of point P with respect to the local coordinate
ex=\dfrac{\partialr
Applying the same derivatives to the curvilinear system locally at point P defines the natural basis vectors:
h1=\dfrac{\partialr
Such a basis, whose vectors change their direction and/or magnitude from point to point is called a local basis. All bases associated with curvilinear coordinates are necessarily local. Basis vectors that are the same at all points are global bases, and can be associated only with linear or affine coordinate systems.
For this article e is reserved for the standard basis (Cartesian) and h or b is for the curvilinear basis.
These may not have unit length, and may also not be orthogonal. In the case that they are orthogonal at all points where the derivatives are well-defined, we define the Lamé coefficients (after Gabriel Lamé) by
h1=|h1|; h2=|h2|; h3=|h3|
and the curvilinear orthonormal basis vectors by
b1=\dfrac{h1}{h1}; b2=\dfrac{h2}{h2}; b3=\dfrac{h3}{h3}.
These basis vectors may well depend upon the position of P; it is therefore necessary that they are not assumed to be constant over a region. (They technically form a basis for the tangent bundle of
R3
In general, curvilinear coordinates allow the natural basis vectors hi not all mutually perpendicular to each other, and not required to be of unit length: they can be of arbitrary magnitude and direction. The use of an orthogonal basis makes vector manipulations simpler than for non-orthogonal. However, some areas of physics and engineering, particularly fluid mechanics and continuum mechanics, require non-orthogonal bases to describe deformations and fluid transport to account for complicated directional dependences of physical quantities. A discussion of the general case appears later on this page.
See also: Differential geometry.
In orthogonal curvilinear coordinates, since the total differential change in r is
dr=\dfrac{\partialr
so scale factors are
hi=\left|
\partialr | |
\partialqi |
\right|
In non-orthogonal coordinates the length of
dr=dq1h1+dq2h2+dq3h3
dr ⋅ dr=dqidqjhi ⋅ hj
See main article: Covariance and contravariance of vectors and Raising and lowering indices.
Spatial gradients, distances, time derivatives and scale factors are interrelated within a coordinate system by two groups of basis vectors:
Note that, because of Einstein's summation convention, the position of the indices of the vectors is the opposite of that of the coordinates.
Consequently, a general curvilinear coordinate system has two sets of basis vectors for every point: is the contravariant basis, and is the covariant (a.k.a. reciprocal) basis. The covariant and contravariant basis vectors types have identical direction for orthogonal curvilinear coordinate systems, but as usual have inverted units with respect to each other.
Note the following important equality:wherein
i | |
\delta | |
j |
A vector v can be specified in terms of either basis, i.e.,
v=
1b | |
v | |
1 |
+
2b | |
v | |
2 |
+
3b | |
v | |
3 |
=
1 | |
v | |
1b |
+
2 | |
v | |
2b |
+
3 | |
v | |
3b |
Using the Einstein summation convention, the basis vectors relate to the components by
v ⋅ bi=
i | |
v | |
k ⋅ b |
=vk\delta
i | |
k |
=vi
v ⋅ bi=
k ⋅ b | |
v | |
i |
=vk\delta
k | |
i |
=vi
v ⋅ bi=
kb | |
v | |
k ⋅ b |
i=gkivk
v ⋅ bi=
k ⋅ b | |
v | |
kb |
i=gkivk
A vector can be specified with covariant coordinates (lowered indices, written vk) or contravariant coordinates (raised indices, written vk). From the above vector sums, it can be seen that contravariant coordinates are associated with covariant basis vectors, and covariant coordinates are associated with contravariant basis vectors.
A key feature of the representation of vectors and tensors in terms of indexed components and basis vectors is invariance in the sense that vector components which transform in a covariant manner (or contravariant manner) are paired with basis vectors that transform in a contravariant manner (or covariant manner).
See main article: Covariant transformation.
Consider the one-dimensional curve shown in Fig. 3. At point P, taken as an origin, x is one of the Cartesian coordinates, and q1 is one of the curvilinear coordinates. The local (non-unit) basis vector is b1 (notated h1 above, with b reserved for unit vectors) and it is built on the q1 axis which is a tangent to that coordinate line at the point P. The axis q1 and thus the vector b1 form an angle
\alpha
It can be seen from triangle PAB that
\cos\alpha=\cfrac{|e1|}{|b1|} ⇒ |e1|=|b1|\cos\alpha
However, this method for basis vector transformations using directional cosines is inapplicable to curvilinear coordinates for the following reasons:
\alpha
\alpha
The angles that the q1 line and that axis form with the x axis become closer in value the closer one moves towards point P and become exactly equal at P.
Let point E be located very close to P, so close that the distance PE is infinitesimally small. Then PE measured on the q1 axis almost coincides with PE measured on the q1 line. At the same time, the ratio PD/PE (PD being the projection of PE on the x axis) becomes almost exactly equal to
\cos\alpha
Let the infinitesimally small intercepts PD and PE be labelled, respectively, as dx and dq1. Then
\cos\alpha=\cfrac{dx}{dq1}=
|e1| | |
|b1| |
Thus, the directional cosines can be substituted in transformations with the more exact ratios between infinitesimally small coordinate intercepts. It follows that the component (projection) of b1 on the x axis is
p1=b1 ⋅ \cfrac{e1}{|e1|}=|b1|\cfrac{|e1|}{|e1|}\cos\alpha=
1} | |
|b | |
1|\cfrac{dx}{dq |
⇒
1}{|b | |
\cfrac{p | |
1|} |
=\cfrac{dx}{dq1}
If qi = qi(x1, x2, x3) and xi = xi(q1, q2, q3) are smooth (continuously differentiable) functions the transformation ratios can be written as
\cfrac{\partialqi}{\partialxj}
\cfrac{\partialxi}{\partialqj}
Doing the same for the coordinates in the other 2 dimensions, b1 can be expressed as:
b1=
1e | |
p | |
1 |
+
2e | |
p | |
2 |
+
3e | |
p | |
3 |
=\cfrac{\partialx1}{\partialq1}e1+\cfrac{\partialx2}{\partialq1}e2+\cfrac{\partialx3}{\partialq1}e3
\begin{align} b1&=\cfrac{\partialx1}{\partialq1}e1+\cfrac{\partialx2}{\partialq1}e2+\cfrac{\partialx3}{\partialq1}e3\\ b2&=\cfrac{\partialx1}{\partialq2}e1+\cfrac{\partialx2}{\partialq2}e2+\cfrac{\partialx3}{\partialq2}e3\\ b3&=\cfrac{\partialx1}{\partialq3}e1+\cfrac{\partialx2}{\partialq3}e2+\cfrac{\partialx3}{\partialq3}e3 \end{align}
By analogous reasoning, one can obtain the inverse transformation from local basis to standard basis:
\begin{align} e1&=\cfrac{\partialq1}{\partialx1}b1+\cfrac{\partialq2}{\partialx1}b2+\cfrac{\partialq3}{\partialx1}b3\\ e2&=\cfrac{\partialq1}{\partialx2}b1+\cfrac{\partialq2}{\partialx2}b2+\cfrac{\partialq3}{\partialx2}b3\\ e3&=\cfrac{\partialq1}{\partialx3}b1+\cfrac{\partialq2}{\partialx3}b2+\cfrac{\partialq3}{\partialx3}b3 \end{align}
The above systems of linear equations can be written in matrix form using the Einstein summation convention as
\cfrac{\partialxi}{\partialqk}ei=bk, \cfrac{\partialqi}{\partialxk}bi=ek
This coefficient matrix of the linear system is the Jacobian matrix (and its inverse) of the transformation. These are the equations that can be used to transform a Cartesian basis into a curvilinear basis, and vice versa.
In three dimensions, the expanded forms of these matrices are
J=\begin{bmatrix} \cfrac{\partialx1}{\partialq1}&\cfrac{\partialx1}{\partialq2}&\cfrac{\partialx1}{\partialq3}\\ \cfrac{\partialx2}{\partialq1}&\cfrac{\partialx2}{\partialq2}&\cfrac{\partialx2}{\partialq3}\\ \cfrac{\partialx3}{\partialq1}&\cfrac{\partialx3}{\partialq2}&\cfrac{\partialx3}{\partialq3}\\ \end{bmatrix}, J-1=\begin{bmatrix} \cfrac{\partialq1}{\partialx1}&\cfrac{\partialq1}{\partialx2}&\cfrac{\partialq1}{\partialx3}\\ \cfrac{\partialq2}{\partialx1}&\cfrac{\partialq2}{\partialx2}&\cfrac{\partialq2}{\partialx3}\\ \cfrac{\partialq3}{\partialx1}&\cfrac{\partialq3}{\partialx2}&\cfrac{\partialq3}{\partialx3}\\ \end{bmatrix}
In the inverse transformation (second equation system), the unknowns are the curvilinear basis vectors. For any specific location there can only exist one and only one set of basis vectors (else the basis is not well defined at that point). This condition is satisfied if and only if the equation system has a single solution. In linear algebra, a linear equation system has a single solution (non-trivial) only if the determinant of its system matrix is non-zero:
\det(J-1) ≠ 0
The formalism extends to any finite dimension as follows.
Consider the real Euclidean n-dimensional space, that is Rn = R × R × ... × R (n times) where R is the set of real numbers and × denotes the Cartesian product, which is a vector space.
The coordinates of this space can be denoted by: x = (x1, x2,...,xn). Since this is a vector (an element of the vector space), it can be written as:
x=
n | |
\sum | |
i=1 |
i | |
x | |
ie |
where e1 = (1,0,0...,0), e2 = (0,1,0...,0), e3 = (0,0,1...,0),...,en = (0,0,0...,1) is the standard basis set of vectors for the space Rn, and i = 1, 2,...n is an index labelling components. Each vector has exactly one component in each dimension (or "axis") and they are mutually orthogonal (perpendicular) and normalized (has unit magnitude).
More generally, we can define basis vectors bi so that they depend on q = (q1, q2,...,qn), i.e. they change from point to point: bi = bi(q). In which case to define the same point x in terms of this alternative basis: the coordinates with respect to this basis vi also necessarily depend on x also, that is vi = vi(x). Then a vector v in this space, with respect to these alternative coordinates and basis vectors, can be expanded as a linear combination in this basis (which simply means to multiply each basis vector ei by a number vi – scalar multiplication):
v=
n | |
\sum | |
j=1 |
jb | |
\bar{v} | |
j |
=
n | |
\sum | |
j=1 |
j(q)b | |
\bar{v} | |
j(q) |
The vector sum that describes v in the new basis is composed of different vectors, although the sum itself remains the same.
From a more general and abstract perspective, a curvilinear coordinate system is simply a coordinate patch on the differentiable manifold En (n-dimensional Euclidean space) that is diffeomorphic to the Cartesian coordinate patch on the manifold.[1] Two diffeomorphic coordinate patches on a differential manifold need not overlap differentiably. With this simple definition of a curvilinear coordinate system, all the results that follow below are simply applications of standard theorems in differential topology.
The transformation functions are such that there's a one-to-one relationship between points in the "old" and "new" coordinates, that is, those functions are bijections, and fulfil the following requirements within their domains:
Elementary vector and tensor algebra in curvilinear coordinates is used in some of the older scientific literature in mechanics and physics and can be indispensable to understanding work from the early and mid-1900s, for example the text by Green and Zerna.[2] Some useful relations in the algebra of vectors and second-order tensors in curvilinear coordinates are given in this section. The notation and contents are primarily from Ogden,[3] Naghdi,[4] Simmonds,[5] Green and Zerna,[2] Basar and Weichert,[6] and Ciarlet.[7]
See main article: Tensors in curvilinear coordinates. A second-order tensor can be expressed as
\boldsymbol{S}=Sijbi ⊗ bj=
i{} | |
S | |
jb |
j | |
i ⊗ b |
=
jb | |
S | |
i{} |
i ⊗ b | |
j |
=Sijbi ⊗ bj
\scriptstyle ⊗
Sij=gik
j | |
S | |
k{} |
=gjk
i{} | |
S | |
k |
=gikgj\ellSk\ell
See main article: Metric tensor.
At each point, one can construct a small line element, so the square of the length of the line element is the scalar product dx • dx and is called the metric of the space, given by:
dx ⋅ dx=\cfrac{\partialxi}{\partialqj}\cfrac{\partialxi}{\partialqk}dqjdqk
The following portion of the above equation
\cfrac{\partialxk}{\partialqi}\cfrac{\partialxk}{\partialqj}=gij(qi,qj)=bi ⋅ bj
Indices can be raised and lowered by the metric:
vi=gikvk
Defining the scale factors hi by
hihj=gij=bi ⋅ bj ⇒ hi=\sqrt{gii
gives a relation between the metric tensor and the Lamé coefficients, and
gij=\cfrac{\partialx
where hij are the Lamé coefficients. For an orthogonal basis we also have:
g=g11g22g33=
2 | |
h | |
3 |
⇒ \sqrt{g}=h1h2h3=J
If we consider polar coordinates for R2,
(x,y)=(r\cos\theta,r\sin\theta)
The orthogonal basis vectors are br = (cos θ, sin θ), bθ = (−r sin θ, r cos θ). The scale factors are hr = 1 and hθ= r. The fundamental tensor is g11 =1, g22 =r2, g12 = g21 =0.
In an orthonormal right-handed basis, the third-order alternating tensor is defined as
\boldsymbol{l{E}}=\varepsilonijkei ⊗ ej ⊗ ek
In a general curvilinear basis the same tensor may be expressed as
\boldsymbol{l{E}}=l{E}ijkbi ⊗ bj ⊗ bk =l{E}ijkbi ⊗ bj ⊗ bk
It can also be shown that
l{E}ijk=\cfrac{1}{J}\varepsilonijk=\cfrac{1}{+\sqrt{g}}\varepsilonijk
\Gammakij
bi,j=
\partialbi | |
\partialqj |
=bk\Gammakij ⇒ bk ⋅ bi,j=\Gammakij
where the comma denotes a partial derivative (see Ricci calculus). To express Γkij in terms of gij,
\begin{align} gij,k&=(bi ⋅ bj),k=bi,k ⋅ bj+bi ⋅ bj,k=\Gammajik+\Gammaijk\\ gik,j&=(bi ⋅ bk),j=bi,j ⋅ bk+bi ⋅ bk,j=\Gammakij+\Gammaikj\\ gjk,i&=(bj ⋅ bk),i=bj,i ⋅ bk+bj ⋅ bk,i=\Gammakji+\Gammajki\end{align}
Since
bi,j=bj,i ⇒ \Gammakij=\Gammakji
\Gammakij=
1 | |
2 |
(gik,j+gjk,i-gij,k)=
1 | |
2 |
[(bi ⋅ bk),j+(bj ⋅ bk),i-(bi ⋅ bj),k]
k{} | |
\Gamma | |
ji |
k{} | |
\Gamma | |
ij |
=gkl\Gammalij=
k{} | |
\Gamma | |
ji |
, \cfrac{\partialbi}{\partialqj}=bk
k{} | |
\Gamma | |
ij |
This implies that
k{} | |
\Gamma | |
ij |
=\cfrac{\partialbi}{\partialqj} ⋅ bk=-bi ⋅ \cfrac{\partialbk}{\partialqj}
\cfrac{\partial}{\partial
k)=0 | |
q | |
i ⋅ b |
Other relations that follow are
\cfrac{\partialbi}{\partialqj}=
i{} | |
-\Gamma | |
jk |
k, \boldsymbol{\nabla}b | |
b | |
i |
=
k{} | |
\Gamma | |
ij |
j, \boldsymbol{\nabla}b | |
b | |
k ⊗ b |
i=
i{} | |
-\Gamma | |
jk |
bk ⊗ bj
Adjustments need to be made in the calculation of line, surface and volume integrals. For simplicity, the following restricts to three dimensions and orthogonal curvilinear coordinates. However, the same arguments apply for n-dimensional spaces. When the coordinate system is not orthogonal, there are some additional terms in the expressions.
Simmonds,[5] in his book on tensor analysis, quotes Albert Einstein saying[8]
The magic of this theory will hardly fail to impose itself on anybody who has truly understood it; it represents a genuine triumph of the method of absolute differential calculus, founded by Gauss, Riemann, Ricci, and Levi-Civita.Vector and tensor calculus in general curvilinear coordinates is used in tensor analysis on four-dimensional curvilinear manifolds in general relativity,[9] in the mechanics of curved shells,[7] in examining the invariance properties of Maxwell's equations which has been of interest in metamaterials[10] [11] and in many other fields.
Some useful relations in the calculus of vectors and second-order tensors in curvilinear coordinates are given in this section. The notation and contents are primarily from Ogden,[12] Simmonds, Green and Zerna,[2] Basar and Weichert,[6] and Ciarlet.[7]
Let φ = φ(x) be a well defined scalar field and v = v(x) a well-defined vector field, and λ1, λ2... be parameters of the coordinates
scope=col width="10px" | Operator | scope=col width="200px" | Scalar field | scope=col width="200px" | Vector field | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Line integral | \intC\varphi(x)ds=
\varphi(x(λ))\left | \right | d\lambda | \intCv(x) ⋅ ds=
v(x(λ)) ⋅ \left({\partialx\over\partialλ}\right)dλ | ||||||||||||
Surface integral | \intS\varphi(x)dS=\iintT\varphi(x(λ1,λ2))\left | \times \right | d\lambda_1 d\lambda_2 | \intSv(x) ⋅ dS=\iintTv(x(λ1,λ2)) ⋅ \left({\partialx\over\partialλ1} x {\partialx\over\partialλ2}\right)dλ1dλ2 | ||||||||||||
Volume integral | \iiintV\varphi(x,y,z)dV=\iiintV\chi(q1,q2,q3)Jdq1dq2dq3 | \iiintVu(x,y,z)dV=\iiintVv(q1,q2,q3)Jdq1dq2dq3 | ||||||||||||||
The expressions for the gradient, divergence, and Laplacian can be directly extended to n-dimensions, however the curl is only defined in 3D.
The vector field bi is tangent to the qi coordinate curve and forms a natural basis at each point on the curve. This basis, as discussed at the beginning of this article, is also called the covariant curvilinear basis. We can also define a reciprocal basis, or contravariant curvilinear basis, bi. All the algebraic relations between the basis vectors, as discussed in the section on tensor algebra, apply for the natural basis and its reciprocal at each point x.
scope=col width="10px" | Operator | scope=col width="200px" | Scalar field | scope=col width="200px" | Vector field | scope=col width="200px" | 2nd order tensor field | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Gradient | \nabla\varphi=\cfrac{1}{hi}{\partial\varphi\over\partialqi}bi | \nablav=
v\over\partial
| \boldsymbol{\nabla}\boldsymbol{S}=\cfrac{\partial\boldsymbol{S}}{\partialqi} ⊗ bi | ||||||||||||||||
Divergence | N/A | \nabla ⋅ v=\cfrac{1}{\prodjhj}
hj) | (\boldsymbol{\nabla} ⋅ \boldsymbol{S}) ⋅ a=\boldsymbol{\nabla} ⋅ (\boldsymbol{S} ⋅ a) \boldsymbol{\nabla} ⋅ \boldsymbol{S}=\left[\cfrac{\partialSij | ||||||||||||||||
Laplacian | \nabla2\varphi=\cfrac{1}{\prodj
\left(\cfrac{\prodjhj}{h
\right) | \nabla2v\equiv\nabla\nabla ⋅ v-\nabla x \nabla x v ~~~=\hat{x | |||||||||||||||||
Curl | N/A | For vector fields in 3D only, \nabla x v=
ei\epsilonijkhi
where \epsilonijk | See Curl of a tensor field |
By definition, if a particle with no forces acting on it has its position expressed in an inertial coordinate system, (x1, x2, x3, t), then there it will have no acceleration (d2xj/dt2 = 0).[13] In this context, a coordinate system can fail to be "inertial" either due to non-straight time axis or non-straight space axes (or both). In other words, the basis vectors of the coordinates may vary in time at fixed positions, or they may vary with position at fixed times, or both. When equations of motion are expressed in terms of any non-inertial coordinate system (in this sense), extra terms appear, called Christoffel symbols. Strictly speaking, these terms represent components of the absolute acceleration (in classical mechanics), but we may also choose to continue to regard d2xj/dt2 as the acceleration (as if the coordinates were inertial) and treat the extra terms as if they were forces, in which case they are called fictitious forces.[14] The component of any such fictitious force normal to the path of the particle and in the plane of the path's curvature is then called centrifugal force.[15]
This more general context makes clear the correspondence between the concepts of centrifugal force in rotating coordinate systems and in stationary curvilinear coordinate systems. (Both of these concepts appear frequently in the literature.[16] [17] [18]) For a simple example, consider a particle of mass m moving in a circle of radius r with angular speed w relative to a system of polar coordinates rotating with angular speed W. The radial equation of motion is mr” = Fr + mr(w + W)2. Thus the centrifugal force is mr times the square of the absolute rotational speed A = w + W of the particle. If we choose a coordinate system rotating at the speed of the particle, then W = A and w = 0, in which case the centrifugal force is mrA2, whereas if we choose a stationary coordinate system we have W = 0 and w = A, in which case the centrifugal force is again mrA2. The reason for this equality of results is that in both cases the basis vectors at the particle's location are changing in time in exactly the same way. Hence these are really just two different ways of describing exactly the same thing, one description being in terms of rotating coordinates and the other being in terms of stationary curvilinear coordinates, both of which are non-inertial according to the more abstract meaning of that term.
When describing general motion, the actual forces acting on a particle are often referred to the instantaneous osculating circle tangent to the path of motion, and this circle in the general case is not centered at a fixed location, and so the decomposition into centrifugal and Coriolis components is constantly changing. This is true regardless of whether the motion is described in terms of stationary or rotating coordinates.