Orthogonal coordinates

Short description: Set of coordinates where the coordinate hypersurfaces all meet at right angles

In mathematics, orthogonal coordinates are defined as a set of d coordinates 𝐪=(q1,q2,…,qd) 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.

## Contents

* 1 Motivation
* 2 Basis vectors
* 2.1 Covariant basis
* 2.2 Contravariant basis
* 3 Vector algebra
* 3.1 Dot product
* 3.2 Cross product
* 4 Vector calculus
* 4.1 Differentiation
* 4.2 Basis vector formulae
* 4.3 Integration
* 5 Differential operators in three dimensions
* 6 Table of two-dimensional orthogonal coordinates
* 7 Table of three-dimensional orthogonal coordinates
* 8 See also
* 9 Notes
* 10 References

## Motivation

A conformal map acting on a rectangular grid. Note that the orthogonality of the curved grid is retained.

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.[1][2]

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

ds2=∑k=1d(hkdqk)2

where d is the dimension and the scaling functions (or scale factors)

hk(𝐪) =def gkk(𝐪)=|𝐞k|

equal the square roots of the diagonal components of the metric tensor, or the lengths of the local basis vectors 𝐞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,

𝐞i⋅𝐞j=0ifi≠j

These basis vectors are by definition the tangent vectors of the curves obtained by varying one coordinate, keeping the others fixed:

Visualization of 2D orthogonal coordinates. Curves obtained by holding all but one coordinate constant are shown, along with basis vectors. Note that the basis vectors aren't of equal length: they need not be, they only need to be orthogonal.

𝐞i=∂𝐫∂qi

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 hi of the basis vectors 𝐞^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:

𝐞^i=𝐞ihi=𝐞i|𝐞i|

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):

𝐞i=𝐞^ihi=𝐞ihi2

this follows from the fact that, by definition, 𝐞i⋅𝐞j=δij, using the Kronecker delta. Note that:

𝐞^i=𝐞ihi=hi𝐞i=𝐞^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:

𝐱=∑ixi𝐞i=∑ixi𝐞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:

hi2xi=xi

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:

𝐱⋅𝐲=∑ixi𝐞^i⋅∑jyj𝐞^j=∑ixiyi

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,

𝐱⋅𝐲=∑ihi2xiyi=∑ixiyihi2=∑ixiyi=∑ixiyi

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:

𝐱⋅𝐲=(x1𝐞1+x2𝐞2)⋅(y1𝐞1+y2𝐞2)=(x1h1𝐞^1+x2h2𝐞^2)⋅(y1𝐞^1h1+y2𝐞^2h2)=x1y1+x2y2

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:

𝐱×𝐲=(x2y3−x3y2)𝐞^1+(x3y1−x1y3)𝐞^2+(x1y2−x2y1)𝐞^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:

𝐱×𝐲=∑ixi𝐞i×∑jyj𝐞j=∑ixihi𝐞^i×∑jyjhj𝐞^j

which, written expanded out,

𝐱×𝐲=(x2y3−x3y2)h2h3h1𝐞1+(x3y1−x1y3)h1h3h2𝐞2+(x1y2−x2y1)h1h2h3𝐞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𝐫=∑i∂𝐫∂qidqi=∑i𝐞idqi

By definition, the gradient of a function must satisfy (this definition remains true if ƒ is any tensor)

df=∇f⋅d𝐫⇒df=∇f⋅∑i𝐞idqi

It follows then that del operator must be:

∇=∑i𝐞i∂∂qi

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.[3][4]

Differential element  | Vectors  | Scalars

|
|

Line element | Tangent vector to coordinate curve qi:

dℓ=hidqi𝐞^i=∂𝐫∂qidqi

| Infinitesimal length

dℓ=d𝐫⋅d𝐫=(h1dq1)2+(h2dq2)2+(h3dq3)2

Surface element | Normal to coordinate surface qk = constant:

d𝐒=(hidqi𝐞^i)×(hjdqj𝐞^j)=dqidqj(∂𝐫∂qi×∂𝐫∂qj)=hihjdqidqj𝐞^k

| Infinitesimal surface

dSk=hihjdqidqj

Volume element | N/A  | Infinitesimal volume

dV=|(h1dq1𝐞^1)⋅(h2dq2𝐞^2)×(h3dq3𝐞^3)|=|𝐞^1⋅𝐞^2×𝐞^3|h1h2h3dq1dq2dq3=h1h2h3dq1dq2dq3=Jdq1dq2dq3

where

J=|∂𝐫∂q1⋅(∂𝐫∂q2×∂𝐫∂q3)|=|∂(x,y,z)∂(q1,q2,q3)|=h1h2h3

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 𝒫 of a vector F is:

∫𝒫𝐅⋅d𝐫=∫𝒫∑iFi𝐞i⋅∑j𝐞jdqj=∑i∫𝒫Fidqi

An infinitesimal element of area for a surface described by holding one coordinate qk constant is:

dAk=∏i≠kdsi=∏i≠khidqi

Similarly, the volume element is:

dV=∏idsi=∏ihidqi

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 𝒮 in 3D is:

∫𝒮𝐅⋅d𝐀=∫𝒮𝐅⋅𝐧^ dA=∫𝒮𝐅⋅𝐞^1 dA=∫𝒮F1h2h3h1dq2dq3

Note that F1/h1 is the component of F normal to the surface.

## Differential operators in three dimensions

Main article: Del

Since these operations are common in application, all vector components in this section are presented with respect to the normalised basis: Fi=𝐅⋅𝐞^i.

Operator  | Expression

|

Gradient of a scalar field | ∇ϕ=𝐞^1h1∂ϕ∂q1+𝐞^2h2∂ϕ∂q2+𝐞^3h3∂ϕ∂q3
Divergence of a vector field | ∇⋅𝐅=1h1h2h3[∂∂q1(F1h2h3)+∂∂q2(F2h3h1)+∂∂q3(F3h1h2)]
Curl of a vector field  | ∇×𝐅=𝐞^1h2h3[∂∂q2(h3F3)−∂∂q3(h2F2)]+𝐞^2h3h1[∂∂q3(h1F1)−∂∂q1(h3F3)]+𝐞^3h1h2[∂∂q1(h2F2)−∂∂q2(h1F1)]=1h1h2h3|h1𝐞^1h2𝐞^2h3𝐞^3∂∂q1∂∂q2∂∂q3h1F1h2F2h3F3|
Laplacian of a scalar field  | ∇2ϕ=1h1h2h3[∂∂q1(h2h3h1∂ϕ∂q1)+∂∂q2(h3h1h2∂ϕ∂q2)+∂∂q3(h1h2h3∂ϕ∂q3)]

The above expressions can be written in a more compact form using the Levi-Civita symbol ϵijk and the Jacobian determinant J=h1h2h3, assuming summation over repeated indices:

Operator  | Expression

|

Gradient of a scalar field | ∇ϕ=𝐞^khk∂ϕ∂qk
Divergence of a vector field | ∇⋅𝐅=1J∂∂qk(JhkFk)
Curl of a vector field (3D only)  | ∇×𝐅=hk𝐞^kJϵijk∂∂qi(hjFj)
Laplacian of a scalar field  | ∇2ϕ=1J∂∂qk(Jhk2∂ϕ∂qk)

Also notice the gradient of a scalar field can be expressed in terms of the Jacobian matrix J containing canonical partial derivatives:

𝐉=[∂ϕ∂q1,∂ϕ∂q2,∂ϕ∂q3]

upon a change of basis:

∇ϕ=𝐒𝐑𝐉T

where the rotation and scaling matrices are:

𝐑=[𝐞1,𝐞2,𝐞3]
𝐒=diag([h1−1,h2−1,h3−1]).

## Table of two-dimensional orthogonal coordinates

System  | Complex Transform

x+iy=f(u+iv)

| Shape of u and v isolines  | Comment

|
|
|

Cartesian | u+iv | line, line  |
Log-polar | exp⁡(u+iv) | circle, line  | for u=ln⁡r becomes Polar
Parabolic | 12(u+iv)2 | parabola, parabola  |
point dipol  | (u+iv)−1 | circle, circle  |
Elliptic | cosh⁡(u+iv) | ellipse, hyperbola  | field of a needle, appears Log-polar for large distances
Bipolar | coth⁡(u+iv) | circle, circle  | appears like point dipol for large distances
| u+iv | hyperbola, hyperbola  | field of a inner edge
| u=x2+2y2, y=vx2 | elipse, parabola  |

cartesian

polar

logpolar

ellipse parabola

parabolic

point dipol

sqrt(u+iv)

elliptic

bipolar

inverse logpolar

Examples of two-dimensional orthogonal coordinates (https://www.desmos.com/calculator/m5gmtg4n1d).

## Table of three-dimensional orthogonal coordinates

Besides the usual cartesian coordinates, several others are tabulated below.[5] Interval notation is used for compactness in the coordinates column, and the entries are grouped by their interval signatures, e.g. COCCCO for spherical coordinates. The entries are not sorted by their interval signatures in alphabetic order. After the grouping of the entries by interval signature, the sort order here is alphabetic by the curvilinear coordinate system name.

Curvillinear coordinates (q1, q2, q3)  | Transformation from cartesian (x, y, z)  | Scale factors

|
|

Spherical coordinates

(r,θ,ϕ)∈[0,∞)×[0,π]×[0,2π)

| x=rsin⁡θcos⁡ϕy=rsin⁡θsin⁡ϕz=rcos⁡θ | h1=1h2=rh3=rsin⁡θ
Parabolic coordinates

(u,v,ϕ)∈[0,∞)×[0,∞)×[0,2π)

| x=uvcos⁡ϕy=uvsin⁡ϕz=12(u2−v2) | h1=h2=u2+v2h3=uv
Bipolar cylindrical coordinates

(u,v,z)∈[0,2π)×(−∞,∞)×(−∞,∞)

| x=asinh⁡vcosh⁡v−cos⁡uy=asin⁡ucosh⁡v−cos⁡uz=z | h1=h2=acosh⁡v−cos⁡uh3=1
Ellipsoidal coordinates

(λ,μ,ν)∈[0,c2)×(c2,b2)×(b2,a2)λ<c2<b2<a2,c2<μ<b2<a2,c2<b2<ν<a2,

| x2a2−qi+y2b2−qi+z2c2−qi=1

where (q1,q2,q3)=(λ,μ,ν)

| hi=12(qj−qi)(qk−qi)(a2−qi)(b2−qi)(c2−qi)
Paraboloidal coordinates

(λ,μ,ν)∈[0,b2)×(b2,a2)×(a2,∞)b2<a2

| x2qi−a2+y2qi−b2=2z+qi

where (q1,q2,q3)=(λ,μ,ν)

| hi=12(qj−qi)(qk−qi)(a2−qi)(b2−qi)
Cylindrical polar coordinates

(r,ϕ,z)∈[0,∞)×[0,2π)×(−∞,∞)

| x=rcos⁡ϕy=rsin⁡ϕz=z | h1=h3=1h2=r
Elliptic cylindrical coordinates

(u,v,z)∈[0,∞)×[0,2π)×(−∞,∞)

| x=acosh⁡ucos⁡vy=asinh⁡usin⁡vz=z | h1=h2=asinh2u+sin2vh3=1
Oblate spheroidal coordinates

(ξ,η,ϕ)∈[0,∞)×[−π2,π2]×[0,2π)

| x=acosh⁡ξcos⁡ηcos⁡ϕy=acosh⁡ξcos⁡ηsin⁡ϕz=asinh⁡ξsin⁡η | h1=h2=asinh2ξ+sin2ηh3=acosh⁡ξcos⁡η
Prolate spheroidal coordinates

(ξ,η,ϕ)∈[0,∞)×[0,π]×[0,2π)

| x=asinh⁡ξsin⁡ηcos⁡ϕy=asinh⁡ξsin⁡ηsin⁡ϕz=acosh⁡ξcos⁡η | h1=h2=asinh2ξ+sin2ηh3=asinh⁡ξsin⁡η
Bispherical coordinates

(u,v,ϕ)∈(−π,π]×[0,∞)×[0,2π)

| x=asin⁡ucos⁡ϕcosh⁡v−cos⁡uy=asin⁡usin⁡ϕcosh⁡v−cos⁡uz=asinh⁡vcosh⁡v−cos⁡u | h1=h2=acosh⁡v−cos⁡uh3=asin⁡ucosh⁡v−cos⁡u
Toroidal coordinates

(u,v,ϕ)∈(−π,π]×[0,∞)×[0,2π)

| x=asinh⁡vcos⁡ϕcosh⁡v−cos⁡uy=asinh⁡vsin⁡ϕcosh⁡v−cos⁡uz=asin⁡ucosh⁡v−cos⁡u | h1=h2=acosh⁡v−cos⁡uh3=asinh⁡vcosh⁡v−cos⁡u
Parabolic cylindrical coordinates

(u,v,z)∈(−∞,∞)×[0,∞)×(−∞,∞)

| x=12(u2−v2)y=uvz=z | h1=h2=u2+v2h3=1
Conical coordinates

(λ,μ,ν)ν2<b2<μ2<a2λ∈[0,∞)

| x=λμνaby=λa(μ2−a2)(ν2−a2)a2−b2z=λb(μ2−b2)(ν2−b2)b2−a2 | h1=1h22=λ2(μ2−ν2)(μ2−a2)(b2−μ2)h32=λ2(μ2−ν2)(ν2−a2)(ν2−b2)

## See also

* Curvilinear coordinates
* Geodetic coordinates
* Tensor
* Vector field
* Skew coordinates

## Notes

1. ↑ Eric W. Weisstein. "Orthogonal Coordinate System". MathWorld. http://mathworld.wolfram.com/OrthogonalCoordinateSystem.html.
2. ↑ Morse and Feshbach 1953, Volume 1, pp. 494–523, 655–666.
3. ↑ Mathematical Handbook of Formulas and Tables (3rd edition), S. Lipschutz, M.R. Spiegel, J. Liu, Schuam's Outline Series, 2009, ISBN 978-0-07-154855-7.
4. ↑ Vector Analysis (2nd Edition), M.R. Spiegel, S. Lipschutz, D. Spellman, Schaum’s Outlines, McGraw Hill (USA), 2009, ISBN 978-0-07-161545-7
5. ↑ Vector Analysis (2nd Edition), M.R. Spiegel, S. Lipschutz, D. Spellman, Schaum’s Outlines, McGraw Hill (USA), 2009, ISBN 978-0-07-161545-7

## 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.

* v
* t
* e

Orthogonal coordinate systems

Two dimensional|

* Cartesian
* Polar
* Parabolic
* Bipolar
* Elliptic

Three dimensional|

* Cartesian coordinate system
* Cylindrical coordinate system
* Spherical coordinate system
* Parabolic cylindrical coordinates
* Paraboloidal coordinates
* Oblate spheroidal coordinates
* Prolate spheroidal coordinates
* Ellipsoidal coordinates
* Elliptic cylindrical coordinates
* Toroidal coordinates
* Bispherical coordinates
* Bipolar cylindrical coordinates
* Conical coordinates
* 6-sphere coordinates
* Flat-ring cyclide coordinates
* Flat-disk cyclide coordinates
* Bi-cyclide coordinates
* Cap-cyclide coordinates
* Concave bi-sinusoidal single-centered coordinates
* Concave bi-sinusoidal double-centered coordinates
* Convex inverted-sinusoidal spherically aligned coordinates
* Quasi-random-intersection cartesian coordinates

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Orthogonal coordinates. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Orthogonal_coordinates&oldid=188946"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template