Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Curvilinear coordinates
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Coordinate system whose directions vary in space}} {{redirect-distinguish|Lamé coefficients|Lamé parameters (solid mechanics)}} {{Use American English|date = March 2019}} <!--{{Multiple issues| {{confusing|date=January 2013}} {{disputed|date=January 2013}} }}--> [[File:Curvilinear.svg|thumb|upright=1.25|<span style="color:blue">'''Curvilinear'''</span> (top), [[Affine coordinate system|<span style="color:red">'''affine'''</span>]] (right), and [[Cartesian coordinate system|<span style="color:black">'''Cartesian'''</span>]] (left) coordinates in two-dimensional space]] In [[geometry]], '''curvilinear coordinates''' are a [[coordinate system]] for [[Euclidean space]] in which the [[coordinate line]]s may be curved. These coordinates may be derived from a set of [[Cartesian coordinate]]s by using a transformation that is [[invertible|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 [[Gabriel Lamé|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 ('''R'''<sup>3</sup>) are [[Cylindrical coordinate system|cylindrical]] and [[spherical coordinates|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, [[scalar (mathematics)|scalar]]s, [[vector (geometric)|vector]]s, or [[tensor]]s. Mathematical expressions involving these quantities in [[vector calculus]] and [[tensor analysis]] (such as the [[gradient]], [[divergence]], [[curl (mathematics)|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 force]]s is usually easier to solve in [[spherical coordinates]] than in Cartesian coordinates; this is true of many physical problems with [[Circular symmetry|spherical symmetry]] defined in '''R'''<sup>3</sup>. 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]], [[Theory of relativity|relativity]], and [[engineering]]. ==Orthogonal curvilinear coordinates in 3 dimensions== === Coordinates, basis, and vectors === [[File:General curvilinear coordinates 1.svg|thumb|upright=1.35|Fig. 1 - Coordinate surfaces, coordinate lines, and coordinate axes of general curvilinear coordinates.]] [[File:Spherical coordinate elements.svg|thumb|upright=1.35|Fig. 2 - Coordinate surfaces, coordinate lines, and coordinate axes of spherical coordinates. '''Surfaces:''' ''r'' - spheres, θ - cones, Φ - half-planes; '''Lines:''' ''r'' - straight beams, θ - vertical semicircles, Φ - horizontal circles; '''Axes:''' ''r'' - straight beams, θ - tangents to vertical semicircles, Φ - tangents to horizontal circles]] For now, consider [[three-dimensional space|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 <math>\mathbf{r} = x \mathbf{e}_x + y\mathbf{e}_y + z\mathbf{e}_z</math>, where '''e'''<sub>''x''</sub>, '''e'''<sub>''y''</sub>, '''e'''<sub>''z''</sub> are the ''[[standard basis]] vectors''. It can also be defined by its '''curvilinear coordinates''' (''q''<sup>1</sup>, ''q''<sup>2</sup>, ''q''<sup>3</sup>) 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: :<math> x = f^1(q^1, q^2, q^3),\, y = f^2(q^1, q^2, q^3),\, z = f^3(q^1, q^2, q^3)</math> :<math> q^1 = g^1(x,y,z),\, q^2 = g^2(x,y,z),\, q^3 = g^3(x,y,z)</math> The surfaces ''q''<sup>1</sup> = constant, ''q''<sup>2</sup> = constant, ''q''<sup>3</sup> = 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 [[tangent]]s 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 :<math>\mathbf{e}_x = \dfrac{\partial\mathbf{r}}{\partial x}; \; \mathbf{e}_y = \dfrac{\partial\mathbf{r}}{\partial y}; \; \mathbf{e}_z = \dfrac{\partial\mathbf{r}}{\partial z}.</math> Applying the same derivatives to the curvilinear system locally at point ''P'' defines the natural basis vectors: :<math>\mathbf{h}_1 = \dfrac{\partial\mathbf{r}}{\partial q^1}; \; \mathbf{h}_2 = \dfrac{\partial\mathbf{r}}{\partial q^2}; \; \mathbf{h}_3 = \dfrac{\partial\mathbf{r}}{\partial q^3}.</math> 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 system]]s. 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 '''[[#Relation to Lamé coefficients|Lamé coefficients]]'''{{anchor|Lamé coefficients}} (after [[Gabriel Lamé]]) by :<math>h_1 = |\mathbf{h}_1|; \; h_2 = |\mathbf{h}_2|; \; h_3 = |\mathbf{h}_3|</math> and the curvilinear [[orthonormal basis]] vectors by :<math>\mathbf{b}_1 = \dfrac{\mathbf{h}_1}{h_1}; \; \mathbf{b}_2 = \dfrac{\mathbf{h}_2}{h_2}; \; \mathbf{b}_3 = \dfrac{\mathbf{h}_3}{h_3}.</math> 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 <math>\mathbb{R}^3</math> at ''P'', and so are local to ''P''.) In general, curvilinear coordinates allow the natural basis vectors '''h'''<sub>i</sub> 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. ==Vector calculus== {{See also|Differential geometry}} ===Differential elements=== In orthogonal curvilinear coordinates, since the [[total differential]] change in '''r''' is :<math>d\mathbf{r}=\dfrac{\partial\mathbf{r}}{\partial q^1}dq^1 + \dfrac{\partial\mathbf{r}}{\partial q^2}dq^2 + \dfrac{\partial\mathbf{r}}{\partial q^3}dq^3 = h_1 dq^1 \mathbf{b}_1 + h_2 dq^2 \mathbf{b}_2 + h_3 dq^3 \mathbf{b}_3 </math> so scale factors are <math>h_i = \left|\frac{\partial\mathbf{r}}{\partial q^i}\right|</math> In non-orthogonal coordinates the length of <math>d\mathbf{r}= dq^1 \mathbf{h}_1 + dq^2 \mathbf{h}_2 + dq^3 \mathbf{h}_3 </math> is the positive square root of <math>d\mathbf{r} \cdot d\mathbf{r} = dq^i dq^j \mathbf{h}_i \cdot \mathbf{h}_j </math> (with [[Einstein summation convention]]). The six independent scalar products ''g<sub>ij</sub>''='''h'''<sub>''i''</sub>.'''h'''<sub>''j''</sub> of the natural basis vectors generalize the three scale factors defined above for orthogonal coordinates. The nine ''g<sub>ij</sub>'' are the components of the [[metric tensor]], which has only three non zero components in orthogonal coordinates: ''g''<sub>11</sub>=''h''<sub>1</sub>''h''<sub>1</sub>, ''g''<sub>22</sub>=''h''<sub>2</sub>''h''<sub>2</sub>, ''g''<sub>33</sub>=''h''<sub>3</sub>''h''<sub>3</sub>. ==Covariant and contravariant bases== {{Main|Covariance and contravariance of vectors|Raising and lowering indices}} {{Further|Orthogonal coordinates#Covariant and contravariant bases}} [[File:Vector 1-form.svg|upright=1.5|thumb| A vector '''v''' ('''<span style="color:#CC0000;">red</span>''') represented by • a vector basis ('''<span style="color:orange;">yellow</span>, left:''' '''e'''<sub>1</sub>, '''e'''<sub>2</sub>, '''e'''<sub>3</sub>), tangent vectors to coordinate curves ('''black''') and • a covector basis or cobasis ('''<span style="color:blue;">blue</span>, right:''' '''e'''<sup>1</sup>, '''e'''<sup>2</sup>, '''e'''<sup>3</sup>), normal vectors to coordinate surfaces ('''<span style="color:#3B444B;">grey</span>''') in ''general'' (not necessarily [[orthogonal coordinates|orthogonal]]) curvilinear coordinates (''q''<sup>1</sup>, ''q''<sup>2</sup>, ''q''<sup>3</sup>). The basis and cobasis do not coincide unless the coordinate system is orthogonal.<ref>{{cite book|title=Gravitation|author1=J.A. Wheeler |author2=C. Misner |author3=K.S. Thorne |publisher=W.H. Freeman & Co|year=1973|isbn=0-7167-0344-0}}</ref>]] Spatial gradients, distances, time derivatives and scale factors are interrelated within a coordinate system by two groups of basis vectors: # basis vectors that are locally tangent to their associated coordinate pathline: <math display="block">\mathbf{b}_i=\dfrac{\partial\mathbf{r}}{\partial q^i}</math> are [[covariance and contravariance of vectors|contravariant vectors]] (denoted by lowered indices), and # basis vectors that are locally normal to the isosurface created by the other coordinates: <math display="block">\mathbf{b}^i=\nabla q^i </math> are [[covariance and contravariance of vectors|covariant vectors]] (denoted by raised indices), ∇ is the [[del]] [[linear operator|operator]]. 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: {'''b'''<sub>1</sub>, '''b'''<sub>2</sub>, '''b'''<sub>3</sub>} is the contravariant basis, and {'''b'''<sup>1</sup>, '''b'''<sup>2</sup>, '''b'''<sup>3</sup>} 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: <math display="block"> \mathbf{b}^i\cdot\mathbf{b}_j = \delta^i_j </math> wherein <math> \delta^i_j </math> denotes the [[Kronecker delta#Generalizations of the Kronecker delta|generalized Kronecker delta]]. {{math proof|proof= In the Cartesian coordinate system <math> ( \mathbf{e}_x , \mathbf{e}_y, \mathbf{e}_z ) </math>, we can write the dot product as: :<math> \mathbf{b}_i\cdot\mathbf{b}^j = \left( \dfrac {\partial x} {\partial q_i} , \dfrac {\partial y} {\partial q_i} , \dfrac {\partial z} {\partial q_i} \right) \cdot \left( \dfrac {\partial q_j} {\partial x} , \dfrac {\partial q_j} {\partial y} , \dfrac {\partial q_j} {\partial z} \right) = \dfrac {\partial x} {\partial q_i} \dfrac {\partial q_j} {\partial x} + \dfrac {\partial y} {\partial q_i} \dfrac {\partial q_j} {\partial y} + \dfrac {\partial z} {\partial q_i} \dfrac {\partial q_j} {\partial z} </math> Consider an infinitesimal displacement <math> d \mathbf{r} = dx \cdot \mathbf{e}_x + dy \cdot \mathbf{e}_y + dz \cdot \mathbf{e}_z </math>. Let dq<sub>1</sub>, dq<sub>2</sub> and dq<sub>3</sub> denote the corresponding infinitesimal changes in curvilinear coordinates q<sub>1</sub>, q<sub>2</sub> and q<sub>3</sub> respectively. By the chain rule, dq<sub>1</sub> can be expressed as: :<math> dq_1 = \dfrac {\partial q_1} {\partial x} dx + \dfrac {\partial q_1} {\partial y} dy + \dfrac {\partial q_1} {\partial z} dz = \dfrac {\partial q_1} {\partial x} dx + \dfrac {\partial q_1} {\partial y} \left(\dfrac {\partial y} {\partial q_1} dq_1 + \dfrac {\partial y} {\partial q_2} dq_2 + \dfrac {\partial y} {\partial q_3} dq_3\right) + \dfrac {\partial q_1} {\partial z} \left(\dfrac {\partial z} {\partial q_1} dq_1 + \dfrac {\partial z} {\partial q_2} dq_2 + \dfrac {\partial z} {\partial q_3} dq_3\right) </math> If the displacement ''d'''r''''' is such that ''dq''<sub>2</sub> = ''dq''<sub>3</sub> = 0, i.e. the position vector '''r''' moves by an infinitesimal amount along the coordinate axis ''q''<sub>2</sub>=const and ''q''<sub>3</sub>=const, then: :<math> dq_1 = \dfrac {\partial q_1} {\partial x} dx + \dfrac {\partial q_1} {\partial y} \dfrac {\partial y} {\partial q_1} dq_1 + \dfrac {\partial q_1} {\partial z} \dfrac {\partial z} {\partial q_1} dq_1 </math> Dividing by ''dq''<sub>1</sub>, and taking the limit ''dq''<sub>1</sub> → 0: :<math> 1 = \dfrac {\partial q_1} {\partial x} \dfrac {\partial x} {\partial q_1} + \dfrac {\partial q_1} {\partial y} \dfrac {\partial y} {\partial q_1} + \dfrac {\partial q_1} {\partial z} \dfrac {\partial z} {\partial q_1} = \dfrac {\partial x} {\partial q_1} \dfrac {\partial q_1} {\partial x} + \dfrac {\partial y} {\partial q_1} \dfrac {\partial q_1} {\partial y} + \dfrac {\partial z} {\partial q_1} \dfrac {\partial q_1} {\partial z} </math> or equivalently: :<math> \mathbf{b}_1\cdot\mathbf{b}^1 = 1 </math> Now if the displacement d'''r''' is such that ''dq''<sub>1</sub>=''dq''<sub>3</sub>=0, i.e. the position vector '''r''' moves by an infinitesimal amount along the coordinate axis q<sub>1</sub>=const and q<sub>3</sub>=const, then: :<math> 0 = \dfrac {\partial q_1} {\partial x} dx + \dfrac {\partial q_1} {\partial y} \dfrac {\partial y} {\partial q_2} dq_2 + \dfrac {\partial q_1} {\partial z} \dfrac {\partial z} {\partial q_2} dq_2 </math> Dividing by dq<sub>2</sub>, and taking the limit dq<sub>2</sub> → 0: :<math> 0 = \dfrac {\partial q_1} {\partial x} \dfrac {\partial x} {\partial q_2} + \dfrac {\partial q_1} {\partial y} \dfrac {\partial y} {\partial q_2} + \dfrac {\partial q_1} {\partial z} \dfrac {\partial z} {\partial q_2} = \dfrac {\partial x} {\partial q_2} \dfrac {\partial q_1} {\partial x} + \dfrac {\partial y} {\partial q_2} \dfrac {\partial q_1} {\partial y} + \dfrac {\partial z} {\partial q_2} \dfrac {\partial q_1} {\partial z} </math> or equivalently: :<math> \mathbf{b}_2 \cdot \mathbf{b}^1 = 0 </math> And so forth for the other dot products. '''Alternative Proof:''' :<math>\delta^i_j dq^j=dq^i=\nabla q^i \cdot d\mathbf{r}=\mathbf{b}^i \cdot \dfrac{\partial\mathbf{r}}{\partial q^j} dq^j = \mathbf{b}^i \cdot \mathbf{b}_j dq^j</math> and the [[Einstein summation convention]] is implied. }} A vector '''v''' can be specified in terms of either basis, i.e., :<math> \mathbf{v} = v^1\mathbf{b}_1 + v^2\mathbf{b}_2 + v^3\mathbf{b}_3 = v_1\mathbf{b}^1 + v_2\mathbf{b}^2 + v_3\mathbf{b}^3 </math> Using the Einstein summation convention, the basis vectors relate to the components by<ref name=Simmonds/>{{rp|pages=30–32}} :<math> \mathbf{v}\cdot\mathbf{b}^i = v^k\mathbf{b}_k\cdot\mathbf{b}^i = v^k\delta^i_k = v^i </math> :<math> \mathbf{v}\cdot\mathbf{b}_i = v_k\mathbf{b}^k\cdot\mathbf{b}_i = v_k\delta_i^k = v_i </math> and :<math> \mathbf{v}\cdot\mathbf{b}_i = v^k\mathbf{b}_k\cdot\mathbf{b}_i = g_{ki}v^k </math> :<math> \mathbf{v}\cdot\mathbf{b}^i = v_k\mathbf{b}^k\cdot\mathbf{b}^i = g^{ki}v_k </math> where ''g'' is the metric tensor (see below). A vector can be specified with covariant coordinates (lowered indices, written ''v<sub>k</sub>'') or contravariant coordinates (raised indices, written ''v<sup>k</sup>''). 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). ==Integration== {{Main|Covariant transformation}} ===Constructing a covariant basis in one dimension=== [[File:Local basis transformation.svg|thumb|upright=1.35|Fig. 3 – Transformation of local covariant basis in the case of general curvilinear coordinates]] Consider the one-dimensional curve shown in Fig. 3. At point ''P'', taken as an [[Origin (mathematics)|origin]], ''x'' is one of the Cartesian coordinates, and ''q''<sup>1</sup> is one of the curvilinear coordinates. The local (non-unit) basis vector is '''b'''<sub>1</sub> (notated '''h'''<sub>1</sub> above, with '''b''' reserved for unit vectors) and it is built on the ''q''<sup>1</sup> axis which is a tangent to that coordinate line at the point ''P''. The axis ''q''<sup>1</sup> and thus the vector '''b'''<sub>1</sub> form an angle <math>\alpha</math> with the Cartesian ''x'' axis and the Cartesian basis vector '''e'''<sub>1</sub>. It can be seen from triangle ''PAB'' that :<math> \cos \alpha = \cfrac{|\mathbf{e}_1|}{|\mathbf{b}_1|} \quad \Rightarrow \quad |\mathbf{e}_1| = |\mathbf{b}_1|\cos \alpha</math> where |'''e'''<sub>1</sub>|, |'''b'''<sub>1</sub>| are the magnitudes of the two basis vectors, i.e., the scalar intercepts ''PB'' and ''PA''. ''PA'' is also the projection of '''b'''<sub>1</sub> on the ''x'' axis. However, this method for basis vector transformations using ''directional cosines'' is inapplicable to curvilinear coordinates for the following reasons: #By increasing the distance from ''P'', the angle between the curved line ''q''<sup>1</sup> and Cartesian axis ''x'' increasingly deviates from <math>\alpha</math>. #At the distance ''PB'' the true angle is that which the tangent '''at point C''' forms with the ''x'' axis and the latter angle is clearly different from <math>\alpha</math>. The angles that the ''q''<sup>1</sup> 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 ''q''<sup>1</sup> axis almost coincides with ''PE'' measured on the ''q''<sup>1</sup> line. At the same time, the ratio ''PD/PE'' (''PD'' being the projection of ''PE'' on the ''x'' axis) becomes almost exactly equal to <math>\cos\alpha</math>. Let the infinitesimally small intercepts ''PD'' and ''PE'' be labelled, respectively, as ''dx'' and d''q''<sup>1</sup>. Then :<math>\cos \alpha = \cfrac{dx}{dq^1} = \frac{|\mathbf{e}_1|}{|\mathbf{b}_1|}</math>. 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 '''b'''<sub>1</sub> on the ''x'' axis is :<math>p^1 = \mathbf{b}_1\cdot\cfrac{\mathbf{e}_1}{|\mathbf{e}_1|} = |\mathbf{b}_1|\cfrac{|\mathbf{e}_1|}{|\mathbf{e}_1|}\cos\alpha = |\mathbf{b}_1|\cfrac{dx}{dq^1} \quad \Rightarrow \quad \cfrac{p^1}{|\mathbf{b}_1|} = \cfrac{dx}{dq^1}</math>. If ''q<sup>i</sup>'' = ''q<sup>i</sup>''(''x''<sub>1</sub>, ''x''<sub>2</sub>, ''x''<sub>3</sub>) and ''x<sub>i</sub>'' = ''x<sub>i</sub>''(''q''<sup>1</sup>, ''q''<sup>2</sup>, ''q''<sup>3</sup>) are [[Smooth function|smooth]] (continuously differentiable) functions the transformation ratios can be written as <math>\cfrac{\partial q^i}{\partial x_j}</math> and <math>\cfrac{\partial x_i}{\partial q^j}</math>. That is, those ratios are [[partial derivative]]s of coordinates belonging to one system with respect to coordinates belonging to the other system. ===Constructing a covariant basis in three dimensions=== Doing the same for the coordinates in the other 2 dimensions, '''b'''<sub>1</sub> can be expressed as: :<math> \mathbf{b}_1 = p^1\mathbf{e}_1 + p^2\mathbf{e}_2 + p^3\mathbf{e}_3 = \cfrac{\partial x_1}{\partial q^1} \mathbf{e}_1 + \cfrac{\partial x_2}{\partial q^1} \mathbf{e}_2 + \cfrac{\partial x_3}{\partial q^1} \mathbf{e}_3 </math> Similar equations hold for '''b'''<sub>2</sub> and '''b'''<sub>3</sub> so that the standard basis {'''e'''<sub>1</sub>, '''e'''<sub>2</sub>, '''e'''<sub>3</sub>} is transformed to a local (ordered and '''''normalised''''') basis {'''b'''<sub>1</sub>, '''b'''<sub>2</sub>, '''b'''<sub>3</sub>} by the following system of equations: :<math>\begin{align} \mathbf{b}_1 & = \cfrac{\partial x_1}{\partial q^1} \mathbf{e}_1 + \cfrac{\partial x_2}{\partial q^1} \mathbf{e}_2 + \cfrac{\partial x_3}{\partial q^1} \mathbf{e}_3 \\ \mathbf{b}_2 & = \cfrac{\partial x_1}{\partial q^2} \mathbf{e}_1 + \cfrac{\partial x_2}{\partial q^2} \mathbf{e}_2 + \cfrac{\partial x_3}{\partial q^2} \mathbf{e}_3 \\ \mathbf{b}_3 & = \cfrac{\partial x_1}{\partial q^3} \mathbf{e}_1 + \cfrac{\partial x_2}{\partial q^3} \mathbf{e}_2 + \cfrac{\partial x_3}{\partial q^3} \mathbf{e}_3 \end{align}</math> By analogous reasoning, one can obtain the inverse transformation from local basis to standard basis: :<math>\begin{align} \mathbf{e}_1 & = \cfrac{\partial q^1}{\partial x_1} \mathbf{b}_1 + \cfrac{\partial q^2}{\partial x_1} \mathbf{b}_2 + \cfrac{\partial q^3}{\partial x_1} \mathbf{b}_3 \\ \mathbf{e}_2 & = \cfrac{\partial q^1}{\partial x_2} \mathbf{b}_1 + \cfrac{\partial q^2}{\partial x_2} \mathbf{b}_2 + \cfrac{\partial q^3}{\partial x_2} \mathbf{b}_3 \\ \mathbf{e}_3 & = \cfrac{\partial q^1}{\partial x_3} \mathbf{b}_1 + \cfrac{\partial q^2}{\partial x_3} \mathbf{b}_2 + \cfrac{\partial q^3}{\partial x_3} \mathbf{b}_3 \end{align}</math> ===Jacobian of the transformation=== The above [[systems of linear equations]] can be written in matrix form using the Einstein summation convention as :<math>\cfrac{\partial x_i}{\partial q^k} \mathbf{e}_i = \mathbf{b}_k, \quad \cfrac{\partial q^i}{\partial x_k} \mathbf{b}_i = \mathbf{e}_k</math>. 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 :<math> \mathbf{J} = \begin{bmatrix} \cfrac{\partial x_1}{\partial q^1} & \cfrac{\partial x_1}{\partial q^2} & \cfrac{\partial x_1}{\partial q^3} \\ \cfrac{\partial x_2}{\partial q^1} & \cfrac{\partial x_2}{\partial q^2} & \cfrac{\partial x_2}{\partial q^3} \\ \cfrac{\partial x_3}{\partial q^1} & \cfrac{\partial x_3}{\partial q^2} & \cfrac{\partial x_3}{\partial q^3} \\ \end{bmatrix},\quad \mathbf{J}^{-1} = \begin{bmatrix} \cfrac{\partial q^1}{\partial x_1} & \cfrac{\partial q^1}{\partial x_2} & \cfrac{\partial q^1}{\partial x_3} \\ \cfrac{\partial q^2}{\partial x_1} & \cfrac{\partial q^2}{\partial x_2} & \cfrac{\partial q^2}{\partial x_3} \\ \cfrac{\partial q^3}{\partial x_1} & \cfrac{\partial q^3}{\partial x_2} & \cfrac{\partial q^3}{\partial x_3} \\ \end{bmatrix} </math> 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: :<math> \det(\mathbf{J}^{-1}) \neq 0</math> which shows the rationale behind the above requirement concerning the inverse Jacobian determinant. ==Generalization to ''n'' dimensions== The formalism extends to any finite dimension as follows. Consider the [[real number|real]] [[Euclidean space|Euclidean]] ''n''-dimensional space, that is '''R'''<sup>''n''</sup> = '''R''' × '''R''' × ... × '''R''' (''n'' times) where '''R''' is the [[set (mathematics)|set]] of [[real numbers]] and × denotes the [[Cartesian product]], which is a [[vector space]]. The [[coordinates]] of this space can be denoted by: '''x''' = (''x''<sub>1</sub>, ''x''<sub>2</sub>,...,''x<sub>n</sub>''). Since this is a vector (an element of the vector space), it can be written as: :<math> \mathbf{x} = \sum_{i=1}^n x_i\mathbf{e}^i </math> where '''e'''<sup>1</sup> = (1,0,0...,0), '''e'''<sup>2</sup> = (0,1,0...,0), '''e'''<sup>3</sup> = (0,0,1...,0),...,'''e'''<sup>''n''</sup> = (0,0,0...,1) is the ''[[standard basis]] set of vectors'' for the space '''R'''<sup>''n''</sup>, 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 vector|orthogonal]] ([[perpendicular]]) and normalized (has [[unit vector|unit magnitude]]). More generally, we can define basis vectors '''b'''<sub>''i''</sub> so that they depend on '''q''' = (''q''<sub>1</sub>, ''q''<sub>2</sub>,...,''q<sub>n</sub>''), i.e. they change from point to point: '''b'''<sub>''i''</sub> = '''b'''<sub>''i''</sub>('''q'''). In which case to define the same point '''x''' in terms of this alternative basis: the ''[[coordinate vector|coordinates]]'' with respect to this basis ''v<sub>i</sub>'' also necessarily depend on '''x''' also, that is ''v<sub>i</sub>'' = ''v<sub>i</sub>''('''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 [[Coordinate vector|vector]] '''e'''<sub>''i''</sub> by a number ''v''<sub>''i''</sub> – [[scalar multiplication]]): :<math> \mathbf{v} = \sum_{j=1}^n \bar{v}^j\mathbf{b}_j = \sum_{j=1}^n \bar{v}^j(\mathbf{q})\mathbf{b}_j(\mathbf{q}) </math> The vector sum that describes '''v''' in the new basis is composed of different vectors, although the sum itself remains the same. ==Transformation of coordinates== From a more general and abstract perspective, a curvilinear coordinate system is simply a [[Atlas (topology)|coordinate patch]] on the [[differentiable manifold]] '''E'''<sup>n</sup> (n-dimensional [[Euclidean space]]) that is [[Diffeomorphism|diffeomorphic]] to the [[Cartesian coordinate system|Cartesian]] coordinate patch on the manifold.<ref>{{cite book | last=Boothby | first=W. M. | year=2002 | title=An Introduction to Differential Manifolds and Riemannian Geometry | edition=revised | publisher=Academic Press | location=New York, NY }}</ref> 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 [[bijection]]s, and fulfil the following requirements within their [[domain of a function|domain]]s: {{ordered list |1= They are [[smooth function]]s: q<sup>''i''</sup> = q<sup>''i''</sup>('''x''') |2= The inverse [[Jacobian matrix and determinant|Jacobian]] determinant :<math> J^{-1}=\begin{vmatrix} \dfrac{\partial q^1}{\partial x_1} & \dfrac{\partial q^1}{\partial x_2} & \cdots & \dfrac{\partial q^1}{\partial x_n} \\ \dfrac{\partial q^2}{\partial x_1} & \dfrac{\partial q^2}{\partial x_2} & \cdots & \dfrac{\partial q^2}{\partial x_n} \\ \vdots & \vdots & \ddots & \vdots \\ \dfrac{\partial q^n}{\partial x_1} & \dfrac{\partial q^n}{\partial x_2} & \cdots & \dfrac{\partial q^n}{\partial x_n} \end{vmatrix} \neq 0 </math> is not zero; meaning the transformation is [[invertible]]: ''x<sub>i</sub>''('''q''') according to the [[inverse function theorem]]. The condition that the Jacobian determinant is not zero reflects the fact that three surfaces from different families intersect in one and only one point and thus determine the position of this point in a unique way.<ref>{{cite book | last=McConnell | first=A. J. | year=1957 | publisher=Dover Publications, Inc. | location=New York, NY | at=Ch. 9, sec. 1 | title=Application of Tensor Analysis | url=https://archive.org/details/applicationoften0000mcco | url-access=registration | isbn=0-486-60373-3 }}</ref> }} ==Vector and tensor algebra in three-dimensional curvilinear coordinates== {{Einstein_summation_convention}} 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.<ref name=Green>{{cite book | last1=Green | first1=A. E. | last2=Zerna | first2=W. | year=1968 | title=Theoretical Elasticity | publisher=Oxford University Press | isbn=0-19-853486-8 }}</ref> 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,<ref name=Ogden00>{{cite book | last=Ogden | first=R. W. | year=2000 | title=Nonlinear elastic deformations | publisher=Dover}}</ref> Naghdi,<ref name=Naghdi>{{cite book | first1=P. M. | last1=Naghdi | year=1972 | contribution=Theory of shells and plates | editor=S. Flügge | title=Handbook of Physics | volume=VIa/2 | pages=425–640}}</ref> Simmonds,<ref name=Simmonds>{{cite book | last=Simmonds | first=J. G. | year=1994 | title=A brief on tensor analysis | publisher=Springer | isbn=0-387-90639-8}}</ref> Green and Zerna,<ref name=Green/> Basar and Weichert,<ref name=Basar>{{cite book | last1=Basar | first1=Y. | last2=Weichert | first2=D. | year=2000 | title=Numerical continuum mechanics of solids: fundamental concepts and perspectives | publisher=Springer}}</ref> and Ciarlet.<ref name=Ciarlet>{{cite book | last=Ciarlet | first=P. G. | year=2000 | title=Theory of Shells | volume=1 | publisher=Elsevier Science }}</ref> ==Tensors in curvilinear coordinates== {{main|Tensors in curvilinear coordinates}} A second-order tensor can be expressed as :<math> \boldsymbol{S} = S^{ij}\mathbf{b}_i\otimes\mathbf{b}_j = S^i{}_j\mathbf{b}_i\otimes\mathbf{b}^j = S_i{}^j\mathbf{b}^i\otimes\mathbf{b}_j = S_{ij}\mathbf{b}^i\otimes\mathbf{b}^j </math> where <math>\scriptstyle\otimes</math> denotes the [[tensor product]]. The components ''S<sup>ij</sup>'' are called the '''contravariant''' components, ''S<sup>i</sup> <sub>j</sub>'' the '''mixed right-covariant''' components, ''S<sub>i</sub> <sup>j</sup>'' the '''mixed left-covariant''' components, and ''S<sub>ij</sub>'' the '''covariant''' components of the second-order tensor. The components of the second-order tensor are related by :<math> S^{ij} = g^{ik}S_k{}^j = g^{jk}S^i{}_k = g^{ik}g^{j\ell}S_{k\ell} </math> ===The metric tensor in orthogonal curvilinear coordinates=== {{Main|Metric tensor}} At each point, one can construct a small line element {{math|d'''x'''}}, so the square of the length of the line element is the scalar product d'''x''' • d'''x''' and is called the [[Metric (mathematics)|metric]] of the [[space]], given by: :<math>d\mathbf{x}\cdot d\mathbf{x} = \cfrac{\partial x_i}{\partial q^j}\cfrac{\partial x_i}{\partial q^k}dq^jdq^k </math>. The following portion of the above equation :<math> \cfrac{\partial x_k}{\partial q^i}\cfrac{\partial x_k}{\partial q^j} = g_{ij}(q^i,q^j) = \mathbf{b}_i\cdot\mathbf{b}_j </math> is a ''symmetric'' tensor called the '''[[metric tensor|fundamental (or metric) tensor]]''' of the [[Euclidean space]] in curvilinear coordinates. Indices can be [[raising and lowering indices|raised and lowered]] by the metric: :<math> v^i = g^{ik}v_k </math> ====Relation to Lamé coefficients==== Defining the scale factors ''h<sub>i</sub>'' by :<math> h_ih_j = g_{ij} = \mathbf{b}_i\cdot\mathbf{b}_j \quad \Rightarrow \quad h_i =\sqrt{g_{ii}}= \left|\mathbf{b}_i\right|=\left|\cfrac{\partial\mathbf{x}}{\partial q^i}\right| </math> gives a relation between the metric tensor and the Lamé coefficients, and :<math> g_{ij} = \cfrac{\partial\mathbf{x}}{\partial q^i}\cdot\cfrac{\partial\mathbf{x}}{\partial q^j} = \left( h_{ki}\mathbf{e}_k\right)\cdot\left( h_{mj}\mathbf{e}_m\right) = h_{ki}h_{kj} </math> where ''h<sub>ij</sub>'' are the Lamé coefficients. For an orthogonal basis we also have: :<math> g = g_{11}g_{22}g_{33} = h_1^2h_2^2h_3^2 \quad \Rightarrow \quad \sqrt{g} = h_1h_2h_3 = J </math> ====Example: Polar coordinates==== If we consider polar coordinates for '''R'''<sup>2</sup>, :<math> (x, y)=(r \cos \theta, r \sin \theta) </math> (r, θ) are the curvilinear coordinates, and the Jacobian determinant of the transformation (''r'',θ) → (''r'' cos θ, ''r'' sin θ) is ''r''. The [[orthogonal]] basis vectors are '''b'''<sub>''r''</sub> = (cos θ, sin θ), '''b'''<sub>θ</sub> = (−r sin θ, r cos θ). The scale factors are ''h''<sub>''r''</sub> = 1 and ''h''<sub>θ</sub>= ''r''. The fundamental tensor is ''g''<sub>11</sub> =1, ''g''<sub>22</sub> =''r''<sup>2</sup>, ''g''<sub>12</sub> = ''g''<sub>21</sub> =0. ===The alternating tensor=== In an orthonormal right-handed basis, the third-order [[Levi-Civita symbol|alternating tensor]] is defined as :<math> \boldsymbol{\mathcal{E}} = \varepsilon_{ijk}\mathbf{e}^i\otimes\mathbf{e}^j\otimes\mathbf{e}^k </math> In a general curvilinear basis the same tensor may be expressed as :<math> \boldsymbol{\mathcal{E}} = \mathcal{E}_{ijk}\mathbf{b}^i\otimes\mathbf{b}^j\otimes\mathbf{b}^k = \mathcal{E}^{ijk}\mathbf{b}_i\otimes\mathbf{b}_j\otimes\mathbf{b}_k </math> It can also be shown that :<math> \mathcal{E}^{ijk} = \cfrac{1}{J}\varepsilon_{ijk} = \cfrac{1}{+\sqrt{g}}\varepsilon_{ijk} </math> ===Christoffel symbols=== ;[[Christoffel symbols]] of the first kind <math>\Gamma_{kij}</math>: :<math> \mathbf{b}_{i,j} = \frac{\partial \mathbf{b}_i}{\partial q^j} = \mathbf{b}^k \Gamma_{kij} \quad \Rightarrow \quad \mathbf{b}_k \cdot \mathbf{b}_{i,j} = \Gamma_{kij} </math> where the comma denotes a [[partial derivative]] (see [[Ricci calculus]]). To express Γ<sub>''kij''</sub> in terms of ''g<sub>ij</sub>'', :<math> \begin{align} g_{ij,k} & = (\mathbf{b}_i\cdot\mathbf{b}_j)_{,k} = \mathbf{b}_{i,k}\cdot\mathbf{b}_j + \mathbf{b}_i\cdot\mathbf{b}_{j,k} = \Gamma_{jik} + \Gamma_{ijk}\\ g_{ik,j} & = (\mathbf{b}_i\cdot\mathbf{b}_k)_{,j} = \mathbf{b}_{i,j}\cdot\mathbf{b}_k + \mathbf{b}_i\cdot\mathbf{b}_{k,j} = \Gamma_{kij} + \Gamma_{ikj}\\ g_{jk,i} & = (\mathbf{b}_j\cdot\mathbf{b}_k)_{,i} = \mathbf{b}_{j,i}\cdot\mathbf{b}_k + \mathbf{b}_j\cdot\mathbf{b}_{k,i} = \Gamma_{kji} + \Gamma_{jki} \end{align} </math> Since :<math>\mathbf{b}_{i,j} = \mathbf{b}_{j,i}\quad\Rightarrow\quad\Gamma_{kij} = \Gamma_{kji}</math> using these to rearrange the above relations gives :<math>\Gamma_{kij} = \frac{1}{2}(g_{ik,j} + g_{jk,i} - g_{ij,k}) = \frac{1}{2}[(\mathbf{b}_i\cdot\mathbf{b}_k)_{,j} + (\mathbf{b}_j\cdot\mathbf{b}_k)_{,i} - (\mathbf{b}_i\cdot\mathbf{b}_j)_{,k}] </math> ;[[Christoffel symbols]] of the second kind <math>\Gamma^k{}_{ji}</math>: :<math>\Gamma^k{}_{ij} = g^{kl}\Gamma_{lij} = \Gamma^k{}_{ji},\quad \cfrac{\partial \mathbf{b}_i}{\partial q^j} = \mathbf{b}_k \Gamma^k{}_{ij} </math> This implies that :<math> \Gamma^k{}_{ij} = \cfrac{\partial \mathbf{b}_i}{\partial q^j}\cdot\mathbf{b}^k = -\mathbf{b}_i\cdot\cfrac{\partial \mathbf{b}^k}{\partial q^j}\quad </math> since <math> \quad\cfrac{\partial}{\partial q^j}(\mathbf{b}_i\cdot\mathbf{b}^k)=0</math>. Other relations that follow are :<math> \cfrac{\partial \mathbf{b}^i}{\partial q^j} = -\Gamma^i{}_{jk}\mathbf{b}^k,\quad \boldsymbol{\nabla}\mathbf{b}_i = \Gamma^k{}_{ij}\mathbf{b}_k\otimes\mathbf{b}^j,\quad \boldsymbol{\nabla}\mathbf{b}^i = -\Gamma^i{}_{jk}\mathbf{b}^k\otimes\mathbf{b}^j </math> ===Vector operations=== {{ordered list |1= '''[[Dot product]]:''' The scalar product of two vectors in curvilinear coordinates is<ref name=Simmonds/>{{rp|page=32}} :<math> \mathbf{u}\cdot\mathbf{v} = u^iv_i = u_iv^i = g_{ij}u^iv^j = g^{ij}u_iv_j </math> |2= '''[[Cross product]]:''' The [[cross product]] of two vectors is given by<ref name=Simmonds/>{{rp|pages=32–34}} :<math> \mathbf{u}\times\mathbf{v} = \epsilon_{ijk}{u}_j{v}_k\mathbf{e}_i </math> where <math>\epsilon_{ijk}</math> is the [[permutation symbol]] and <math>\mathbf{e}_i</math> is a Cartesian basis vector. In curvilinear coordinates, the equivalent expression is :<math> \mathbf{u}\times\mathbf{v} = [(\mathbf{b}_m\times\mathbf{b}_n)\cdot\mathbf{b}_s]u^mv^n\mathbf{b}^s = \mathcal{E}_{smn}u^mv^n\mathbf{b}^s </math> where <math>\mathcal{E}_{ijk}</math> is the [[Curvilinear coordinates#The alternating tensor|third-order alternating tensor]]. }} ==Vector and tensor calculus in three-dimensional curvilinear coordinates== {{Einstein_summation_convention}} Adjustments need to be made in the calculation of [[line integral|line]], [[surface integral|surface]] and [[volume integral|volume]] [[integration (mathematics)|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,<ref name=Simmonds/> in his book on [[tensor analysis]], quotes [[Albert Einstein]] saying<ref name=Lanczos>{{cite book | last=Einstein | first=A. | year=1915 | contribution=Contribution to the Theory of General Relativity | editor=Laczos, C. | title=The Einstein Decade | page=213 | isbn=0-521-38105-3 }}</ref> <blockquote> 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. </blockquote> Vector and tensor calculus in general curvilinear coordinates is used in tensor analysis on four-dimensional curvilinear [[manifold]]s in [[general relativity]],<ref name=Misner>{{cite book | last1=Misner | first1=C. W. | last2=Thorne | first2=K. S. | last3=Wheeler | first3=J. A. | year=1973 | title=Gravitation | publisher=W. H. Freeman and Co. | isbn=0-7167-0344-0}}</ref> in the [[solid mechanics|mechanics]] of curved [[Plate theory|shells]],<ref name=Ciarlet/> in examining the [[invariant (mathematics)|invariance]] properties of [[Maxwell's equations]] which has been of interest in [[metamaterials]]<ref name=Greenleaf>{{cite journal | doi=10.1088/0967-3334/24/2/353 | last1=Greenleaf | first1=A. | last2=Lassas | first2=M. | last3=Uhlmann | first3=G. | year=2003 | title=Anisotropic conductivities that cannot be detected by EIT | journal=Physiological Measurement | volume=24 | issue=2 | pages=413–419 | pmid=12812426}}</ref><ref name=Leonhardt>{{cite journal | last1=Leonhardt | first1=U. | last2=Philbin | first2=T.G. | year=2006 | title=General relativity in electrical engineering | journal=New Journal of Physics | volume=8 | page=247 | doi=10.1088/1367-2630/8/10/247 | issue=10 | arxiv=cond-mat/0607418 | bibcode=2006NJPh....8..247L }}</ref> 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,<ref>Ogden</ref> Simmonds,<ref name=Simmonds /> Green and Zerna,<ref name=Green/> Basar and Weichert,<ref name=Basar/> and Ciarlet.<ref name=Ciarlet/> Let φ = φ('''x''') be a well defined scalar field and '''v''' = '''v'''('''x''') a well-defined vector field, and ''λ''<sub>1</sub>, ''λ''<sub>2</sub>... be parameters of the coordinates ===Geometric elements=== {{ordered list |1= '''[[Tangent vector]]:''' If '''x'''(''λ'') parametrizes a curve ''C'' in Cartesian coordinates, then :<math> {\partial \mathbf{x} \over \partial \lambda} = {\partial \mathbf{x} \over \partial q^i}{\partial q^i \over \partial \lambda} = \left( h_{ki}\cfrac{\partial q^i}{\partial \lambda}\right)\mathbf{b}_k </math> is a tangent vector to ''C'' in curvilinear coordinates (using the [[chain rule]]). Using the definition of the Lamé coefficients, and that for the metric ''g<sub>ij</sub>'' = 0 when ''i'' ≠ ''j'', the magnitude is: :<math> \left|{\partial \mathbf{x} \over \partial \lambda} \right| = \sqrt{h_{ki}h_{kj}\cfrac{\partial q^i}{\partial \lambda}\cfrac{\partial q^j}{\partial \lambda}} = \sqrt{ g_{ij}\cfrac{\partial q^i}{\partial \lambda}\cfrac{\partial q^j}{\partial \lambda}} = \sqrt{h_{i}^2\left(\cfrac{\partial q^i}{\partial \lambda}\right)^2} </math> |2= '''[[Tangent plane]] element:''' If '''x'''(''λ''<sub>1</sub>, ''λ''<sub>2</sub>) parametrizes a surface ''S'' in Cartesian coordinates, then the following cross product of tangent vectors is a normal vector to ''S'' with the magnitude of infinitesimal plane element, in curvilinear coordinates. Using the above result, :<math> {\partial \mathbf{x} \over \partial \lambda_1}\times {\partial \mathbf{x} \over \partial \lambda_2} =\left({\partial \mathbf{x} \over \partial q^i}{\partial q^i \over \partial \lambda_1}\right) \times \left({\partial \mathbf{x} \over \partial q^j}{\partial q^j \over \partial \lambda_2}\right) = \mathcal{E}_{kmp}\left( h_{ki}{\partial q^i \over \partial \lambda_1}\right)\left(h_{mj}{\partial q^j \over \partial \lambda_2}\right) \mathbf{b}_p </math> where <math>\mathcal{E}</math> is the [[permutation symbol]]. In determinant form: :<math>{\partial \mathbf{x} \over \partial \lambda_1}\times {\partial \mathbf{x} \over \partial \lambda_2} =\begin{vmatrix} \mathbf{e}_1 & \mathbf{e}_2 & \mathbf{e}_3 \\ h_{1i} \dfrac{\partial q^i}{\partial \lambda_1} & h_{2i} \dfrac{\partial q^i}{\partial \lambda_1} & h_{3i} \dfrac{\partial q^i }{\partial \lambda_1} \\ h_{1j} \dfrac{\partial q^j}{\partial \lambda_2} & h_{2j} \dfrac{\partial q^j}{\partial \lambda_2} & h_{3j} \dfrac{\partial q^j }{\partial \lambda_2} \end{vmatrix}</math> }} ===Integration=== :{| class="wikitable" |- !scope=col width="10px"| Operator !scope=col width="200px"| Scalar field !scope=col width="200px"| Vector field |- |[[Line integral]] ||<math> \int_C \varphi(\mathbf{x}) ds = \int_a^b \varphi(\mathbf{x}(\lambda))\left|{\partial \mathbf{x} \over \partial \lambda}\right| d\lambda</math> ||<math> \int_C \mathbf{v}(\mathbf{x}) \cdot d\mathbf{s} = \int_a^b \mathbf{v}(\mathbf{x}(\lambda))\cdot\left({\partial \mathbf{x} \over \partial \lambda}\right) d\lambda</math> |- | [[Surface integral]] || <math>\int_S \varphi(\mathbf{x}) dS = \iint_T \varphi(\mathbf{x}(\lambda_1, \lambda_2)) \left|{\partial \mathbf{x} \over \partial \lambda_1}\times {\partial \mathbf{x} \over \partial \lambda_2}\right| d\lambda_1 d\lambda_2</math> ||<math>\int_S \mathbf{v}(\mathbf{x}) \cdot dS = \iint_T \mathbf{v}(\mathbf{x}(\lambda_1, \lambda_2)) \cdot\left({\partial \mathbf{x} \over \partial \lambda_1}\times {\partial \mathbf{x} \over \partial \lambda_2}\right) d\lambda_1 d\lambda_2</math> |- | [[Volume integral]] || <math>\iiint_V \varphi(x,y,z) dV = \iiint_V \chi(q_1,q_2,q_3) Jdq_1dq_2dq_3 </math> || <math>\iiint_V \mathbf{u}(x,y,z) dV = \iiint_V \mathbf{v}(q_1,q_2,q_3) Jdq_1dq_2dq_3 </math> |- |} ===Differentiation=== 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 '''b'''<sub>''i''</sub> is tangent to the ''q<sup>i</sup>'' 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, '''b'''<sup>''i''</sup>. 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'''. :{| class="wikitable" |- !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]] || <math> \nabla\varphi = \cfrac{1}{h_i}{\partial\varphi \over \partial q^i} \mathbf{b}^i </math> || <math>\nabla\mathbf{v} = \cfrac{1}{h_i^2}{\partial \mathbf{v} \over \partial q^i}\otimes\mathbf{b}_i </math> || <math>\boldsymbol{\nabla}\boldsymbol{S} = \cfrac{\partial \boldsymbol{S}}{\partial q^i}\otimes\mathbf{b}^i</math> |- | [[Divergence]] || N/A || <math> \nabla \cdot \mathbf{v} = \cfrac{1}{\prod_j h_j} \frac{\partial }{\partial q^i}(v^i\prod_{j\ne i} h_j) </math> || <math> (\boldsymbol{\nabla}\cdot\boldsymbol{S})\cdot\mathbf{a} = \boldsymbol{\nabla}\cdot(\boldsymbol{S}\cdot\mathbf{a}) </math> where '''a''' is an arbitrary constant vector. In curvilinear coordinates, <math>\boldsymbol{\nabla}\cdot\boldsymbol{S} = \left[\cfrac{\partial S_{ij}}{\partial q^k} - \Gamma^l_{ki}S_{lj} - \Gamma^l_{kj}S_{il}\right]g^{ik}\mathbf{b}^j </math> |- | [[Laplacian]] ||<math> \nabla^2 \varphi = \cfrac{1}{\prod _j h_j}\frac{\partial }{\partial q^i}\left(\cfrac{\prod _j h_j}{h_i^2}\frac{\partial \varphi}{\partial q^i}\right) </math> || <math> \nabla^2 \mathbf{v} \equiv \nabla \nabla\cdot \mathbf{v} - \nabla \times \nabla \times \mathbf{v} </math> <math>~~~ = \hat{\mathbf{x}}\nabla^2 v_x + \hat{\mathbf{y}}\nabla^2 v_y + \hat{\mathbf{z}}\nabla^2 v_z</math> (First equality in 3D only; second equality in Cartesian components only) || |- | [[Curl (mathematics)|Curl]] || N/A || For vector fields in 3D only, <math> \nabla\times\mathbf{v} = \frac{1}{h_1h_2h_3} \mathbf{e}_i \epsilon_{ijk} h_i \frac{\partial (h_k v_k)}{\partial q^j} </math> where <math>\epsilon_{ijk}</math> is the [[Levi-Civita symbol]]. || See [[Tensor derivative (continuum mechanics)#Curl of a tensor field|''Curl of a tensor field'']] |} ==Fictitious forces in general curvilinear coordinates== By definition, if a particle with no forces acting on it has its position expressed in an inertial coordinate system, (''x''<sub>1</sub>, ''x''<sub>2</sub>, ''x''<sub>3</sub>, ''t''), then there it will have no acceleration (d<sup>2</sup>''x''<sub>''j''</sub>/d''t''<sup>2</sup> = 0).<ref>{{cite book | first1=Michael | last1=Friedman | title=The Foundations of Space–Time Theories | publisher=Princeton University Press | year=1989 | isbn=0-691-07239-6 }}</ref> 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 d<sup>2</sup>''x''<sub>''j''</sub>/d''t''<sup>2</sup> 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.<ref>{{cite book | title=An Introduction to the Coriolis Force | url=https://archive.org/details/introductiontoco0000stom | url-access=registration | first1=Henry M. | last1=Stommel | first2=Dennis W. | last2=Moore | year=1989 | publisher=Columbia University Press | isbn=0-231-06636-8}}</ref> 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]].<ref>{{cite book | title=Statics and Dynamics | last1=Beer | last2=Johnston | publisher=McGraw–Hill | edition=2nd | page=485 | year=1972 | isbn=0-07-736650-6 }}</ref> This more general context makes clear the correspondence between the concepts of centrifugal force in [[rotating reference frame|rotating coordinate system]]s and in stationary curvilinear coordinate systems. (Both of these concepts appear frequently in the literature.<ref>{{cite book | title=Methods of Applied Mathematics | author-link=Francis B. Hildebrand | first=Francis B. | last=Hildebrand | year=1992 | publisher=Dover | page=[https://archive.org/details/methodsofapplied00hild/page/156 156] | isbn=0-13-579201-0 | url=https://archive.org/details/methodsofapplied00hild/page/156 }}</ref><ref>{{cite book | title=Statistical Mechanics | url=https://archive.org/details/statisticalmecha00mcqu_0 | url-access=registration | first=Donald Allan | last=McQuarrie | year=2000 | publisher=University Science Books | isbn=0-06-044366-9}}</ref><ref>{{cite book | title=Essential Mathematical Methods for Physicists | first1=Hans-Jurgen | last1=Weber | first2=George Brown | last2=Arfken | author-link2 = George B. Arfken | publisher=Academic Press | year=2004 | page=843 | isbn=0-12-059877-9}}</ref>) 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''” = ''F''<sub>''r''</sub> + ''mr''(''w'' + ''W'')<sup>2</sup>. 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 ''mrA''<sup>2</sup>, whereas if we choose a stationary coordinate system we have ''W'' = 0 and ''w'' = ''A'', in which case the centrifugal force is again ''mrA''<sup>2</sup>. 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. ==See also== {{cols}} * [[Covariance and contravariance of vectors|Covariance and contravariance]] * [[Introduction to the mathematics of general relativity]] * Special cases: ** [[Orthogonal coordinates]] ** [[Skew coordinates]] * [[Tensors in curvilinear coordinates]] * [[Frenet–Serret formulas]] * [[Covariant derivative]] * [[Tensor derivative (continuum mechanics)]] * [[Curvilinear perspective]] * [[Del in cylindrical and spherical coordinates]] {{colend}} ==References== {{Reflist|30em}} ==Further reading== {{Refbegin}} *{{Cite book| first=M. R. | last=Spiegel | title=Vector Analysis | publisher=Schaum's Outline Series | location=New York | year=1959| isbn=0-07-084378-3 }} *{{Cite book| last=Arfken | first=George | title=Mathematical Methods for Physicists | publisher=Academic Press | year=1995| isbn=0-12-059877-9}} {{Refend}} ==External links== * [http://planetmath.org/derivationofunitvectorsincurvilinearcoordinates Planetmath.org Derivation of Unit vectors in curvilinear coordinates] * [http://mathworld.wolfram.com/CurvilinearCoordinates.html MathWorld's page on Curvilinear Coordinates] * [http://www.mech.utah.edu/~brannon/public/curvilinear.pdf Prof. R. Brannon's E-Book on Curvilinear Coordinates] * [[Wikiversity:Introduction to Elasticity/Tensors#The divergence of a tensor field]] – [[Wikiversity]], Introduction to Elasticity/Tensors. {{Orthogonal coordinate systems}} {{Authority control}} {{DEFAULTSORT:Curvilinear Coordinates}} [[Category:Coordinate systems]] [[Category:Metric tensors|*3]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Anchor
(
edit
)
Template:Authority control
(
edit
)
Template:Cite book
(
edit
)
Template:Cite journal
(
edit
)
Template:Colend
(
edit
)
Template:Cols
(
edit
)
Template:Einstein summation convention
(
edit
)
Template:Further
(
edit
)
Template:Main
(
edit
)
Template:Math
(
edit
)
Template:Math proof
(
edit
)
Template:Ordered list
(
edit
)
Template:Orthogonal coordinate systems
(
edit
)
Template:Redirect-distinguish
(
edit
)
Template:Refbegin
(
edit
)
Template:Refend
(
edit
)
Template:Reflist
(
edit
)
Template:Rp
(
edit
)
Template:See also
(
edit
)
Template:Short description
(
edit
)
Template:Use American English
(
edit
)