List of common coordinate transformations
This article needs additional citations for verification. (May 2010) |
This is a list of some of the most commonly used coordinate transformations.
2-dimensional
[edit | edit source]Let be the standard Cartesian coordinates, and the standard polar coordinates.
To Cartesian coordinates
[edit | edit source]From polar coordinates
[edit | edit source]
From log-polar coordinates
[edit | edit source]
By using complex numbers , the transformation can be written as
That is, it is given by the complex exponential function.
From bipolar coordinates
[edit | edit source]
From 2-center bipolar coordinates
[edit | edit source]
From Cesàro equation
[edit | edit source]
To polar coordinates
[edit | edit source]From Cartesian coordinates
[edit | edit source]Note: solving for returns the resultant angle in the first quadrant (). To find one must refer to the original Cartesian coordinate, determine the quadrant in which lies (for example, (3,−3) [Cartesian] lies in QIV), then use the following to solve for
The value for must be solved for in this manner because for all values of , is only defined for , and is periodic (with period ). This means that the inverse function will only give values in the domain of the function, but restricted to a single period. Hence, the range of the inverse function is only half a full circle.
Note that one can also use
From 2-center bipolar coordinates
[edit | edit source]
Where 2c is the distance between the poles.
To log-polar coordinates from Cartesian coordinates
[edit | edit source]
Arc-length and curvature
[edit | edit source]In Cartesian coordinates
[edit | edit source]
In polar coordinates
[edit | edit source]
3-dimensional
[edit | edit source]
Let (x, y, z) be the standard Cartesian coordinates, and (ρ, θ, φ) the spherical coordinates, with θ the angle measured away from the +Z axis (as illustrated). As φ has a range of 360° the same considerations as in polar (2 dimensional) coordinates apply whenever an arctangent of it is taken. θ has a range of 180°, running from 0° to 180°, and does not pose any problem when calculated from an arccosine, but beware for an arctangent.
If, in the alternative definition, θ is chosen to run from −90° to +90°, in opposite direction of the earlier definition, it can be found uniquely from an arcsine, but beware of an arccotangent. In this case in all formulas below all arguments in θ should have sine and cosine exchanged, and as derivative also a plus and minus exchanged.
All divisions by zero result in special cases of being directions along one of the main axes and are in practice most easily solved by observation.
To Cartesian coordinates
[edit | edit source]From spherical coordinates
[edit | edit source]
So for the volume element:
From cylindrical coordinates
[edit | edit source]
So for the volume element:
To spherical coordinates
[edit | edit source]From Cartesian coordinates
[edit | edit source]
See also the article on atan2 for how to elegantly handle some edge cases.
So for the element:
From cylindrical coordinates
[edit | edit source]
To cylindrical coordinates
[edit | edit source]From Cartesian coordinates
[edit | edit source]
From spherical coordinates
[edit | edit source]
Arc-length, curvature and torsion from Cartesian coordinates
[edit | edit source]
See also
[edit | edit source]References
[edit | edit source]- Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).