With a coordinate transformation , the coordinates of a point in one coordinate system are calculated from the coordinates in another coordinate system. From a formal point of view, this is the conversion (transformation) of the original coordinates into the new coordinates . The most common applications are found in geometry , geodesy , image measurement and technical tasks, but also in such popular areas as computer animation or computer games , in which the "reality" shown from the perspective of the player (as a moving coordinate system) is continuous must be recalculated.
In general, the new coordinates can be any functions of the old coordinates . As a rule, special transformations are used where these functions have certain restrictions - e.g. B. Differentiability, linearity or form fidelity - subject. Coordinate transformations can be used when a problem is easier to solve in another coordinate system, e.g. B. when transforming Cartesian coordinates into spherical coordinates or vice versa.
A special case of coordinate transformation is the change of base in a vector space.
The transformations considered here, in which the coordinate systems are changed and only the coordinates of the points change while the points themselves remain unchanged, are also called passive or alias transformations, while transformations in which the position of the points is reversed relative to a fixed one Coordinate system changes, also called active or alibi transformations (see Fig.).
In the case of linear transformations, the new coordinates are linear functions of the original ones, i.e.
The origin of the new coordinate system agrees with that of the original coordinate system.
An important type of linear coordinate transformations are those in which the new coordinate system is rotated around the origin of the coordinates compared to the old one (the so-called "alias transformation" in the graphic opposite). In two dimensions there is only the angle of rotation as a parameter, in the three-dimensional, however, an axis of rotation that does not change due to the rotation must also be defined. In both cases, the rotation is described by a rotation matrix .
Consider two-dimensional Cartesian coordinate systems and having a common z-axis and a common origin. Let the coordinate system be rotated by the angle around the z-axis. A point P, which has the coordinates in the coordinate system S , then has the coordinates in the coordinate system S ' with:
In matrix notation, the inverse rotation matrix for this rotation of the coordinate system results:
When scaling , the "units" of the axes are changed. This means that the numerical values of the coordinates are multiplied by constant factors ("scaled")
The parameters of this transformation are the numbers . A special case is the “change of scale” in which all factors have the same value
The matrix in this case is -fold the identity matrix .
The angle between the coordinate axes changes during shear . There is therefore one parameter in two dimensions and three parameters in three-dimensional space.
Affine transformations consist of a linear transformation and a translation.
If both coordinate systems involved are linear (i.e. in principle given by a coordinate origin and uniformly subdivided coordinate axes), then there is an affine transformation. Here the new coordinates are affine functions of the original ones , ie
The translation is a special case of an affine transformation, where A is the identity matrix.
Two coordinate systems and are considered . The system is shifted in relation to the vector . A point that has the coordinates in the coordinate system then has the coordinates in the coordinate system .
Cartesian coordinates and polar coordinates
A point in the plane is determined in the Cartesian coordinate system by its coordinates (x, y) and in the polar coordinate system by the distance from the origin and the (positive) angle to the x-axis.
The following applies to the conversion of polar coordinates into Cartesian coordinates:
The following applies to the conversion of Cartesian coordinates into polar coordinates:
When implementing the variant with , rounding errors are to be expected, which are significantly lower when using the .
In physics , the invariance of certain natural laws plays a special role under coordinate transformations, see symmetry transformation . The Galileo transformation , Lorentz transformation and the gauge transformation are of particularly fundamental importance . Transformations of operators and vectors are also frequently used:
- Transformation of latitude and longitude into Gauß-Krüger coordinates
- The conversions between astronomical coordinates
- 7-parameter transformation (displacement, rotation, scale between two coordinate systems on the same or different reference ellipsoid (s), also Helmert transformation ("rotation- stretching ")).
- IN Bronstein, KA Semendjajew, G. Musiol: Pocket book of mathematics . 6th completely revised and expanded edition. Harry Deutsch Verlag, Frankfurt am Main 2005, ISBN 3-8171-2006-0 .
- Siegfried Heitz : Coordinates on geodetic reference surfaces. Dümmler, Bonn 1985, ISBN 3-427-78981-0 .
- Siegfried Heitz: Mechanics of solid bodies. Volume 1: Basics. Rigid body dynamics. Dümmler, Bonn 1980, ISBN 3-427-78921-7 .
- WTRANS software for calculating the parameters for 2D / 3D coordinate transformations for Cartesian and geographic coordinates (Molodenski approach), projections, main geodetic tasks
- MapRef.org , specialist literature and links on 2D and 3D coordinate transformations
- Online calculation of plane and spatial coordinate transformations with given parameters
- Online calculation of plane and spatial coordinate transformations from identical points (control points)
- For example, the conversion between Cartesian coordinates and spherical coordinates cannot be represented by a base change matrix . Therefore it is a coordinate transformation, but not a base change.
- Eric W. Weisstein: Alias Transformation . MathWorld - A Wolfram Web Resource.
- Eric W. Weisstein: Alibi Transformation . MathWorld - A Wolfram Web Resource.