- Source: Orthogonal coordinates
In mathematics, orthogonal coordinates are defined as a set of d coordinates
q
=
(
q
1
,
q
2
,
…
,
q
d
)
{\displaystyle \mathbf {q} =(q^{1},q^{2},\dots ,q^{d})}
in which the coordinate hypersurfaces all meet at right angles (note that superscripts are indices, not exponents). A coordinate surface for a particular coordinate qk is the curve, surface, or hypersurface on which qk is a constant. For example, the three-dimensional Cartesian coordinates (x, y, z) is an orthogonal coordinate system, since its coordinate surfaces x = constant, y = constant, and z = constant are planes that meet at right angles to one another, i.e., are perpendicular. Orthogonal coordinates are a special but extremely common case of curvilinear coordinates.
Motivation
While vector operations and physical laws are normally easiest to derive in Cartesian coordinates, non-Cartesian orthogonal coordinates are often used instead for the solution of various problems, especially boundary value problems, such as those arising in field theories of quantum mechanics, fluid flow, electrodynamics, plasma physics and the diffusion of chemical species or heat.
The chief advantage of non-Cartesian coordinates is that they can be chosen to match the symmetry of the problem. For example, the pressure wave due to an explosion far from the ground (or other barriers) depends on 3D space in Cartesian coordinates, however the pressure predominantly moves away from the center, so that in spherical coordinates the problem becomes very nearly one-dimensional (since the pressure wave dominantly depends only on time and the distance from the center). Another example is (slow) fluid in a straight circular pipe: in Cartesian coordinates, one has to solve a (difficult) two dimensional boundary value problem involving a partial differential equation, but in cylindrical coordinates the problem becomes one-dimensional with an ordinary differential equation instead of a partial differential equation.
The reason to prefer orthogonal coordinates instead of general curvilinear coordinates is simplicity: many complications arise when coordinates are not orthogonal. For example, in orthogonal coordinates many problems may be solved by separation of variables. Separation of variables is a mathematical technique that converts a complex d-dimensional problem into d one-dimensional problems that can be solved in terms of known functions. Many equations can be reduced to Laplace's equation or the Helmholtz equation. Laplace's equation is separable in 13 orthogonal coordinate systems (the 14 listed in the table below with the exception of toroidal), and the Helmholtz equation is separable in 11 orthogonal coordinate systems.
Orthogonal coordinates never have off-diagonal terms in their metric tensor. In other words, the infinitesimal squared distance ds2 can always be written as a scaled sum of the squared infinitesimal coordinate displacements
d
s
2
=
∑
k
=
1
d
(
h
k
d
q
k
)
2
{\displaystyle ds^{2}=\sum _{k=1}^{d}\left(h_{k}\,dq^{k}\right)^{2}}
where d is the dimension and the scaling functions (or scale factors)
h
k
(
q
)
=
d
e
f
g
k
k
(
q
)
=
|
e
k
|
{\displaystyle h_{k}(\mathbf {q} )\ {\stackrel {\mathrm {def} }{=}}\ {\sqrt {g_{kk}(\mathbf {q} )}}=|\mathbf {e} _{k}|}
equal the square roots of the diagonal components of the metric tensor, or the lengths of the local basis vectors
e
k
{\displaystyle \mathbf {e} _{k}}
described below. These scaling functions hi are used to calculate differential operators in the new coordinates, e.g., the gradient, the Laplacian, the divergence and the curl.
A simple method for generating orthogonal coordinates systems in two dimensions is by a conformal mapping of a standard two-dimensional grid of Cartesian coordinates (x, y). A complex number z = x + iy can be formed from the real coordinates x and y, where i represents the imaginary unit. Any holomorphic function w = f(z) with non-zero complex derivative will produce a conformal mapping; if the resulting complex number is written w = u + iv, then the curves of constant u and v intersect at right angles, just as the original lines of constant x and y did.
Orthogonal coordinates in three and higher dimensions can be generated from an orthogonal two-dimensional coordinate system, either by projecting it into a new dimension (cylindrical coordinates) or by rotating the two-dimensional system about one of its symmetry axes. However, there are other orthogonal coordinate systems in three dimensions that cannot be obtained by projecting or rotating a two-dimensional system, such as the ellipsoidal coordinates. More general orthogonal coordinates may be obtained by starting with some necessary coordinate surfaces and considering their orthogonal trajectories.
Basis vectors
= Covariant basis
=In Cartesian coordinates, the basis vectors are fixed (constant). In the more general setting of curvilinear coordinates, a point in space is specified by the coordinates, and at every such point there is bound a set of basis vectors, which generally are not constant: this is the essence of curvilinear coordinates in general and is a very important concept. What distinguishes orthogonal coordinates is that, though the basis vectors vary, they are always orthogonal with respect to each other. In other words,
e
i
⋅
e
j
=
0
if
i
≠
j
{\displaystyle \mathbf {e} _{i}\cdot \mathbf {e} _{j}=0\quad {\text{if}}\quad i\neq j}
These basis vectors are by definition the tangent vectors of the curves obtained by varying one coordinate, keeping the others fixed:
e
i
=
∂
r
∂
q
i
{\displaystyle \mathbf {e} _{i}={\frac {\partial \mathbf {r} }{\partial q^{i}}}}
where r is some point and qi is the coordinate for which the basis vector is extracted. In other words, a curve is obtained by fixing all but one coordinate; the unfixed coordinate is varied as in a parametric curve, and the derivative of the curve with respect to the parameter (the varying coordinate) is the basis vector for that coordinate.
Note that the vectors are not necessarily of equal length. The useful functions known as scale factors of the coordinates are simply the lengths
h
i
{\displaystyle h_{i}}
of the basis vectors
e
i
{\displaystyle {\mathbf {e} }_{i}}
(see table below). The scale factors are sometimes called Lamé coefficients, not to be confused with Lamé parameters (solid mechanics).
The normalized basis vectors are notated with a hat and obtained by dividing by the length:
e
^
i
=
e
i
h
i
=
e
i
|
e
i
|
{\displaystyle {\hat {\mathbf {e} }}_{i}={\frac {{\mathbf {e} }_{i}}{h_{i}}}={\frac {{\mathbf {e} }_{i}}{\left|{\mathbf {e} }_{i}\right|}}}
A vector field may be specified by its components with respect to the basis vectors or the normalized basis vectors, and one must be sure which case is meant. Components in the normalized basis are most common in applications for clarity of the quantities (for example, one may want to deal with tangential velocity instead of tangential velocity times a scale factor); in derivations the normalized basis is less common since it is more complicated.
= Contravariant basis
=The basis vectors shown above are covariant basis vectors (because they "co-vary" with vectors). In the case of orthogonal coordinates, the contravariant basis vectors are easy to find since they will be in the same direction as the covariant vectors but reciprocal length (for this reason, the two sets of basis vectors are said to be reciprocal with respect to each other):
e
i
=
e
^
i
h
i
=
e
i
h
i
2
{\displaystyle \mathbf {e} ^{i}={\frac {{\hat {\mathbf {e} }}_{i}}{h_{i}}}={\frac {\mathbf {e} _{i}}{h_{i}^{2}}}}
this follows from the fact that, by definition,
e
i
⋅
e
j
=
δ
i
j
{\displaystyle \mathbf {e} _{i}\cdot \mathbf {e} ^{j}=\delta _{i}^{j}}
, using the Kronecker delta. Note that:
e
^
i
=
e
i
h
i
=
h
i
e
i
≡
e
^
i
{\displaystyle {\hat {\mathbf {e} }}_{i}={\frac {\mathbf {e} _{i}}{h_{i}}}=h_{i}\mathbf {e} ^{i}\equiv {\hat {\mathbf {e} }}^{i}}
We now face three different basis sets commonly used to describe vectors in orthogonal coordinates: the covariant basis ei, the contravariant basis ei, and the normalized basis êi. While a vector is an objective quantity, meaning its identity is independent of any coordinate system, the components of a vector depend on what basis the vector is represented in.
To avoid confusion, the components of the vector x with respect to the ei basis are represented as xi, while the components with respect to the ei basis are represented as xi:
x
=
∑
i
x
i
e
i
=
∑
i
x
i
e
i
{\displaystyle \mathbf {x} =\sum _{i}x^{i}\mathbf {e} _{i}=\sum _{i}x_{i}\mathbf {e} ^{i}}
The position of the indices represent how the components are calculated (upper indices should not be confused with exponentiation). Note that the summation symbols Σ (capital Sigma) and the summation range, indicating summation over all basis vectors (i = 1, 2, ..., d), are often omitted. The components are related simply by:
h
i
2
x
i
=
x
i
{\displaystyle h_{i}^{2}x^{i}=x_{i}}
There is no distinguishing widespread notation in use for vector components with respect to the normalized basis; in this article we'll use subscripts for vector components and note that the components are calculated in the normalized basis.
Vector algebra
Vector addition and negation are done component-wise just as in Cartesian coordinates with no complication. Extra considerations may be necessary for other vector operations.
Note however, that all of these operations assume that two vectors in a vector field are bound to the same point (in other words, the tails of vectors coincide). Since basis vectors generally vary in orthogonal coordinates, if two vectors are added whose components are calculated at different points in space, the different basis vectors require consideration.
= Dot product
=The dot product in Cartesian coordinates (Euclidean space with an orthonormal basis set) is simply the sum of the products of components. In orthogonal coordinates, the dot product of two vectors x and y takes this familiar form when the components of the vectors are calculated in the normalized basis:
x
⋅
y
=
∑
i
x
i
e
^
i
⋅
∑
j
y
j
e
^
j
=
∑
i
x
i
y
i
{\displaystyle \mathbf {x} \cdot \mathbf {y} =\sum _{i}x_{i}{\hat {\mathbf {e} }}_{i}\cdot \sum _{j}y_{j}{\hat {\mathbf {e} }}_{j}=\sum _{i}x_{i}y_{i}}
This is an immediate consequence of the fact that the normalized basis at some point can form a Cartesian coordinate system: the basis set is orthonormal.
For components in the covariant or contravariant bases,
x
⋅
y
=
∑
i
h
i
2
x
i
y
i
=
∑
i
x
i
y
i
h
i
2
=
∑
i
x
i
y
i
=
∑
i
x
i
y
i
{\displaystyle \mathbf {x} \cdot \mathbf {y} =\sum _{i}h_{i}^{2}x^{i}y^{i}=\sum _{i}{\frac {x_{i}y_{i}}{h_{i}^{2}}}=\sum _{i}x^{i}y_{i}=\sum _{i}x_{i}y^{i}}
This can be readily derived by writing out the vectors in component form, normalizing the basis vectors, and taking the dot product. For example, in 2D:
x
⋅
y
=
(
x
1
e
1
+
x
2
e
2
)
⋅
(
y
1
e
1
+
y
2
e
2
)
=
(
x
1
h
1
e
^
1
+
x
2
h
2
e
^
2
)
⋅
(
y
1
e
^
1
h
1
+
y
2
e
^
2
h
2
)
=
x
1
y
1
+
x
2
y
2
{\displaystyle {\begin{aligned}\mathbf {x} \cdot \mathbf {y} &=\left(x^{1}\mathbf {e} _{1}+x^{2}\mathbf {e} _{2}\right)\cdot \left(y_{1}\mathbf {e} ^{1}+y_{2}\mathbf {e} ^{2}\right)\\[10pt]&=\left(x^{1}h_{1}{\hat {\mathbf {e} }}_{1}+x^{2}h_{2}{\hat {\mathbf {e} }}_{2}\right)\cdot \left(y_{1}{\frac {{\hat {\mathbf {e} }}^{1}}{h_{1}}}+y_{2}{\frac {{\hat {\mathbf {e} }}^{2}}{h_{2}}}\right)=x^{1}y_{1}+x^{2}y_{2}\end{aligned}}}
where the fact that the normalized covariant and contravariant bases are equal has been used.
= Cross product
=The cross product in 3D Cartesian coordinates is:
x
×
y
=
(
x
2
y
3
−
x
3
y
2
)
e
^
1
+
(
x
3
y
1
−
x
1
y
3
)
e
^
2
+
(
x
1
y
2
−
x
2
y
1
)
e
^
3
{\displaystyle \mathbf {x} \times \mathbf {y} =(x_{2}y_{3}-x_{3}y_{2}){\hat {\mathbf {e} }}_{1}+(x_{3}y_{1}-x_{1}y_{3}){\hat {\mathbf {e} }}_{2}+(x_{1}y_{2}-x_{2}y_{1}){\hat {\mathbf {e} }}_{3}}
The above formula then remains valid in orthogonal coordinates if the components are calculated in the normalized basis.
To construct the cross product in orthogonal coordinates with covariant or contravariant bases we again must simply normalize the basis vectors, for example:
x
×
y
=
∑
i
x
i
e
i
×
∑
j
y
j
e
j
=
∑
i
x
i
h
i
e
^
i
×
∑
j
y
j
h
j
e
^
j
{\displaystyle \mathbf {x} \times \mathbf {y} =\sum _{i}x^{i}\mathbf {e} _{i}\times \sum _{j}y^{j}\mathbf {e} _{j}=\sum _{i}x^{i}h_{i}{\hat {\mathbf {e} }}_{i}\times \sum _{j}y^{j}h_{j}{\hat {\mathbf {e} }}_{j}}
which, written expanded out,
x
×
y
=
(
x
2
y
3
−
x
3
y
2
)
h
2
h
3
h
1
e
1
+
(
x
3
y
1
−
x
1
y
3
)
h
1
h
3
h
2
e
2
+
(
x
1
y
2
−
x
2
y
1
)
h
1
h
2
h
3
e
3
{\displaystyle \mathbf {x} \times \mathbf {y} =\left(x^{2}y^{3}-x^{3}y^{2}\right){\frac {h_{2}h_{3}}{h_{1}}}\mathbf {e} _{1}+\left(x^{3}y^{1}-x^{1}y^{3}\right){\frac {h_{1}h_{3}}{h_{2}}}\mathbf {e} _{2}+\left(x^{1}y^{2}-x^{2}y^{1}\right){\frac {h_{1}h_{2}}{h_{3}}}\mathbf {e} _{3}}
Terse notation for the cross product, which simplifies generalization to non-orthogonal coordinates and higher dimensions, is possible with the Levi-Civita tensor, which will have components other than zeros and ones if the scale factors are not all equal to one.
Vector calculus
= Differentiation
=Looking at an infinitesimal displacement from some point, it's apparent that
d
r
=
∑
i
∂
r
∂
q
i
d
q
i
=
∑
i
e
i
d
q
i
{\displaystyle d\mathbf {r} =\sum _{i}{\frac {\partial \mathbf {r} }{\partial q^{i}}}\,dq^{i}=\sum _{i}\mathbf {e} _{i}\,dq^{i}}
By definition, the gradient of a function must satisfy (this definition remains true if ƒ is any tensor)
d
f
=
∇
f
⋅
d
r
⇒
d
f
=
∇
f
⋅
∑
i
e
i
d
q
i
{\displaystyle df=\nabla f\cdot d\mathbf {r} \quad \Rightarrow \quad df=\nabla f\cdot \sum _{i}\mathbf {e} _{i}\,dq^{i}}
It follows then that del operator must be:
∇
=
∑
i
e
i
∂
∂
q
i
{\displaystyle \nabla =\sum _{i}\mathbf {e} ^{i}{\frac {\partial }{\partial q^{i}}}}
and this happens to remain true in general curvilinear coordinates. Quantities like the gradient and Laplacian follow through proper application of this operator.
= Basis vector formulae
=From dr and normalized basis vectors êi, the following can be constructed.
where
J
=
|
∂
r
∂
q
1
⋅
(
∂
r
∂
q
2
×
∂
r
∂
q
3
)
|
=
|
∂
(
x
,
y
,
z
)
∂
(
q
1
,
q
2
,
q
3
)
|
=
h
1
h
2
h
3
{\displaystyle J=\left|{\frac {\partial \mathbf {r} }{\partial q^{1}}}\cdot \left({\frac {\partial \mathbf {r} }{\partial q^{2}}}\times {\frac {\partial \mathbf {r} }{\partial q^{3}}}\right)\right|=\left|{\frac {\partial (x,y,z)}{\partial (q^{1},q^{2},q^{3})}}\right|=h_{1}h_{2}h_{3}}
is the Jacobian determinant, which has the geometric interpretation of the deformation in volume from the infinitesimal cube dxdydz to the infinitesimal curved volume in the orthogonal coordinates.
= Integration
=Using the line element shown above, the line integral along a path
P
{\displaystyle \scriptstyle {\mathcal {P}}}
of a vector F is:
∫
P
F
⋅
d
r
=
∫
P
∑
i
F
i
e
i
⋅
∑
j
e
j
d
q
j
=
∑
i
∫
P
F
i
d
q
i
{\displaystyle \int _{\mathcal {P}}\mathbf {F} \cdot d\mathbf {r} =\int _{\mathcal {P}}\sum _{i}F_{i}\mathbf {e} ^{i}\cdot \sum _{j}\mathbf {e} _{j}\,dq^{j}=\sum _{i}\int _{\mathcal {P}}F_{i}\,dq^{i}}
An infinitesimal element of area for a surface described by holding one coordinate qk constant is:
d
A
k
=
∏
i
≠
k
d
s
i
=
∏
i
≠
k
h
i
d
q
i
{\displaystyle dA_{k}=\prod _{i\neq k}ds_{i}=\prod _{i\neq k}h_{i}\,dq^{i}}
Similarly, the volume element is:
d
V
=
∏
i
d
s
i
=
∏
i
h
i
d
q
i
{\displaystyle dV=\prod _{i}ds_{i}=\prod _{i}h_{i}\,dq^{i}}
where the large symbol Π (capital Pi) indicates a product the same way that a large Σ indicates summation. Note that the product of all the scale factors is the Jacobian determinant.
As an example, the surface integral of a vector function F over a q1 = constant surface
S
{\displaystyle \scriptstyle {\mathcal {S}}}
in 3D is:
∫
S
F
⋅
d
A
=
∫
S
F
⋅
n
^
d
A
=
∫
S
F
⋅
e
^
1
d
A
=
∫
S
F
1
h
2
h
3
h
1
d
q
2
d
q
3
{\displaystyle \int _{\mathcal {S}}\mathbf {F} \cdot d\mathbf {A} =\int _{\mathcal {S}}\mathbf {F} \cdot {\hat {\mathbf {n} }}\ dA=\int _{\mathcal {S}}\mathbf {F} \cdot {\hat {\mathbf {e} }}_{1}\ dA=\int _{\mathcal {S}}F^{1}{\frac {h_{2}h_{3}}{h_{1}}}\,dq^{2}\,dq^{3}}
Note that F1/h1 is the component of F normal to the surface.
Differential operators in three dimensions
Since these operations are common in application, all vector components in this section are presented with respect to the normalised basis:
F
^
i
=
F
⋅
e
^
i
{\displaystyle {\hat {F}}_{i}=\mathbf {F} \cdot {\hat {\mathbf {e} }}_{i}}
.
The above expressions can be written in a more compact form using the Levi-Civita symbol
ϵ
i
j
k
{\displaystyle \epsilon _{ijk}}
and the Jacobian determinant
J
=
h
1
h
2
h
3
{\displaystyle J=h_{1}h_{2}h_{3}}
, assuming summation over repeated indices:
Also notice the gradient of a scalar field can be expressed in terms of the Jacobian matrix J containing canonical partial derivatives:
J
=
[
∂
ϕ
∂
q
1
,
∂
ϕ
∂
q
2
,
∂
ϕ
∂
q
3
]
{\displaystyle \mathbf {J} =\left[{\frac {\partial \phi }{\partial q^{1}}},{\frac {\partial \phi }{\partial q^{2}}},{\frac {\partial \phi }{\partial q^{3}}}\right]}
upon a change of basis:
∇
ϕ
=
S
R
J
T
{\displaystyle \nabla \phi =\mathbf {S} \mathbf {R} \mathbf {J} ^{T}}
where the rotation and scaling matrices are:
R
=
[
e
1
,
e
2
,
e
3
]
{\displaystyle \mathbf {R} =[\mathbf {e} _{1},\mathbf {e} _{2},\mathbf {e} _{3}]}
S
=
d
i
a
g
(
[
h
1
−
1
,
h
2
−
1
,
h
3
−
1
]
)
.
{\displaystyle \mathbf {S} =\mathrm {diag} ([h_{1}^{-1},h_{2}^{-1},h_{3}^{-1}]).}
Table of two-dimensional orthogonal coordinates
Table of three-dimensional orthogonal coordinates
Besides the usual Cartesian coordinates, 13 others are tabulated below. Interval notation is used for compactness in the curvilinear coordinates column, and the entries are grouped by their interval signatures, e.g. COxCCxCO for spherical coordinates, with the x in each signature indicating the Cartesian product, with a theoretical limit of 27 products. From symmetry we may conclude this is a complete listing. The entries are not sorted by their interval signatures in alphabetic order, nor are the signatures included. After the grouping of the entries by interval signature, the sort order here is alphabetic by the curvilinear coordinate system name.
See also
Balanced ternary numeral system
Curvilinear coordinates
Geodetic coordinates
Orthogonal basis
Skew coordinates
Tensor
Vector field
Notes
References
Korn GA and Korn TM. (1961) Mathematical Handbook for Scientists and Engineers, McGraw-Hill, pp. 164–182.
Morse and Feshbach (1953). Methods of Theoretical Physics, Volume 1. McGraw-Hill.
Margenau H. and Murphy GM. (1956) The Mathematics of Physics and Chemistry, 2nd. ed., Van Nostrand, pp. 172–192.
Leonid P. Lebedev and Michael J. Cloud (2003) Tensor Analysis, pp. 81 – 88.
Kata Kunci Pencarian:
- Orthogonal coordinates
- Bipolar coordinates
- Curvilinear coordinates
- Coordinate system
- Parabolic coordinates
- Cartesian coordinate system
- Unit vector
- Orthogonal basis
- Geodetic coordinates
- Del in cylindrical and spherical coordinates