# Coordinate system

In geometry, a **coordinate system** is a system that uses one or more numbers, or **coordinates**, to uniquely determine the position of the points or other geometric elements on a manifold such as Euclidean space. The order of the coordinates is significant, and they are sometimes identified by their position in an ordered tuple and sometimes by a letter, as in "the *x*-coordinate". The coordinates are taken to be real numbers in elementary mathematics, but may be complex numbers or elements of a more abstract system such as a commutative ring. The use of a coordinate system allows problems in geometry to be translated into problems about numbers and *vice versa*; this is the basis of analytic geometry.

## Common coordinate systems

### Number line

The simplest example of a coordinate system is the identification of points on a line with real numbers using the *number line*. In this system, an arbitrary point *O* (the *origin*) is chosen on a given line. The coordinate of a point *P* is defined as the signed distance from *O* to *P*, where the signed distance is the distance taken as positive or negative depending on which side of the line *P* lies. Each point is given a unique coordinate and each real number is the coordinate of a unique point.

### Cartesian coordinate system

The prototypical example of a coordinate system is the Cartesian coordinate system. In the plane, two perpendicular lines are chosen and the coordinates of a point are taken to be the signed distances to the lines. In three dimensions, three mutually orthogonal planes are chosen and the three coordinates of a point are the signed distances to each of the planes. This can be generalized to create *n* coordinates for any point in *n*-dimensional Euclidean space.

Depending on the direction and order of the coordinate axes, the three-dimensional system may be a right-handed or a left-handed system.

### Polar coordinate system

Another common coordinate system for the plane is the *polar coordinate system*. A point is chosen as the *pole* and a ray from this point is taken as the *polar axis*. For a given angle *θ*, there is a single line through the pole whose angle with the polar axis is *θ* (measured counterclockwise from the axis to the line). Then there is a unique point on this line whose signed distance from the origin is *r* for given number *r*. For a given pair of coordinates (*r*, *θ*) there is a single point, but any point is represented by many pairs of coordinates. For example, (*r*, *θ*), (*r*, *θ*+2*π*) and (−*r*, *θ*+*π*) are all polar coordinates for the same point. The pole is represented by (0, *θ*) for any value of *θ*.

### Cylindrical and spherical coordinate systems

There are two common methods for extending the polar coordinate system to three dimensions. In the **cylindrical coordinate system**, a *z*-coordinate with the same meaning as in Cartesian coordinates is added to the *r* and *θ* polar coordinates giving a triple (*r*, *θ*, *z*). Spherical coordinates take this a step further by converting the pair of cylindrical coordinates (*r*, *z*) to polar coordinates (*ρ*, *φ*) giving a triple (*ρ*, *θ*, *φ*).

### Homogeneous coordinate system

A point in the plane may be represented in *homogeneous coordinates* by a triple (*x*, *y*, *z*) where *x*/*z* and *y*/*z* are the Cartesian coordinates of the point. This introduces an "extra" coordinate since only two are needed to specify a point on the plane, but this system is useful in that it represents any point on the projective plane without the use of infinity. In general, a homogeneous coordinate system is one where only the ratios of the coordinates are significant and not the actual values.

### Other commonly used systems

Some other common coordinate systems are the following:

- Curvilinear coordinates are a generalization of coordinate systems generally; the system is based on the intersection of curves.
- Orthogonal coordinates: coordinate surfaces meet at right angles
- Skew coordinates: coordinate surfaces are not orthogonal

- The log-polar coordinate system represents a point in the plane by the logarithm of the distance from the origin and an angle measured from a reference line intersecting the origin.
- Plücker coordinates are a way of representing lines in 3D Euclidean space using a six-tuple of numbers as homogeneous coordinates.
- Generalized coordinates are used in the Lagrangian treatment of mechanics.
- Canonical coordinates are used in the Hamiltonian treatment of mechanics.
- Barycentric coordinate system as used for ternary plots and more generally in the analysis of triangles.
- Trilinear coordinates are used in the context of triangles.

There are ways of describing curves without coordinates, using intrinsic equations that use invariant quantities such as curvature and arc length. These include:

- The Whewell equation relates arc length and the tangential angle.
- The Cesàro equation relates arc length and curvature.

## Coordinates of geometric objects

Coordinates systems are often used to specify the position of a point, but they may also be used to specify the position of more complex figures such as lines, planes, circles or spheres. For example, Plücker coordinates are used to determine the position of a line in space. When there is a need, the type of figure being described is used to distinguish the type of coordinate system, for example the term *line coordinates* is used for any coordinate system that specifies the position of a line.

It may occur that systems of coordinates for two different sets of geometric figures are equivalent in terms of their analysis. An example of this is the systems of homogeneous coordinates for points and lines in the projective plane. The two systems in a case like this are said to be *dualistic*. Dualistic systems have the property that results from one system can be carried over to the other since these results are only different interpretations of the same analytical result; this is known as the *principle of duality*.

## Transformations

There are often many different possible coordinate systems for describing geometrical figures. The relationship between different systems is described by *coordinate transformations*, which give formulas for the coordinates in one system in terms of the coordinates in another system. For example, in the plane, if Cartesian coordinates (*x*, *y*) and polar coordinates (*r*, *θ*) have the same origin, and the polar axis is the positive *x* axis, then the coordinate transformation from polar to Cartesian coordinates is given by *x* = *r* cos*θ* and *y* = *r* sin*θ*.

With every bijection from the space to itself two coordinate transformations can be associated:

- Such that the new coordinates of the image of each point are the same as the old coordinates of the original point (the formulas for the mapping are the inverse of those for the coordinate transformation)
- Such that the old coordinates of the image of each point are the same as the new coordinates of the original point (the formulas for the mapping are the same as those for the coordinate transformation)

For example, in 1D, if the mapping is a translation of 3 to the right, the first moves the origin from 0 to 3, so that the coordinate of each point becomes 3 less, while the second moves the origin from 0 to −3, so that the coordinate of each point becomes 3 more.

## Coordinate lines/curves and planes/surfaces

Given a coordinate system, if one of the coordinates of a point varies while the other coordinates are held constant, then the resulting curve is called a **coordinate curve**. If a coordinate curve is a straight line, it is called a **coordinate line**. A coordinate system for which some coordinate curves are not lines is called a curvilinear coordinate system.

A coordinate line with all constant coordinates equal to zero is called a **coordinate axis**.

In a Cartesian coordinate system, all coordinates curves are lines, and, therefore, there are as many coordinate axes as coordinates. Moreover, the coordinate axes are pairwise orthogonal.

A polar coordinate system is a curvilinear system where coordinate curves are lines or circles. However, one of the coordinate curves is reduced to a single point, the origin, which is often viewed as a circle of radius zero. Similarly, spherical and cylindrical coordinate systems have coordinate curves that are lines, circles or circles of radius zero.

Many curves can occur as coordinate curves. For example, the coordinate curves of parabolic coordinates are parabolas.

In three-dimensional space, if one coordinate is held constant and the other two are allowed to vary, then the resulting surface is called a **coordinate surface**. For example, the coordinate surfaces obtained by holding *ρ* constant in the spherical coordinate system are the spheres with center at the origin. In three-dimensional space the intersection of two coordinate surfaces is a coordinate curve. In the Cartesian coordinate system we may speak of **coordinate planes**.

Similarly, **coordinate hypersurfaces** are the (*n* − 1)-dimensional spaces resulting from fixing a single coordinate of an *n*-dimensional coordinate system.

## Coordinate maps

The concept of a *coordinate map*, or *coordinate chart* is central to the theory of manifolds. A coordinate map is essentially a coordinate system for a subset of a given space with the property that each point has exactly one set of coordinates. More precisely, a coordinate map is a homeomorphism from an open subset of a space *X* to an open subset of **R**^{n}. It is often not possible to provide one consistent coordinate system for an entire space. In this case, a collection of coordinate maps are put together to form an atlas covering the space. A space equipped with such an atlas is called a *manifold* and additional structure can be defined on a manifold if the structure is consistent where the coordinate maps overlap. For example, a differentiable manifold is a manifold where the change of coordinates from one coordinate map to another is always a differentiable function.

## Orientation-based coordinates

In geometry and kinematics, coordinate systems are used to describe the (linear) position of points and the angular position of axes, planes, and rigid bodies. In the latter case, the orientation of a second (typically referred to as "local") coordinate system, fixed to the node, is defined based on the first (typically referred to as "global" or "world" coordinate system). For instance, the orientation of a rigid body can be represented by an orientation matrix, which includes, in its three columns, the Cartesian coordinates of three points. These points are used to define the orientation of the axes of the local system; they are the tips of three unit vectors aligned with those axes.

## Geographic systems

The Earth as a whole is one of the most common geometric spaces requiring the precise measurement of location, and thus coordinate systems. Starting with the Greeks of the Hellenistic period, a variety of coordinate systems have been developed based on the types above, including:

- Geographic coordinate system, the spherical coordinates of latitude and longitude
- Projected coordinate systems, including thousands of cartesian coordinate systems, each based on a map projection to create a planar surface of the world or a region.
- Geocentric coordinate system, a three-dimensional cartesian coordinate system that models the earth as an object, and are most commonly used for modeling the orbits of satellites, including the Global Positioning System and other satellite navigation systems.

## See also

- Absolute angular momentum
- Alphanumeric grid
- Axes conventions in engineering
- Celestial coordinate system
- Coordinate-free
- Fractional coordinates
- Frame of reference
- Galilean transformation
- Grid reference
- Nomogram, graphical representations of different coordinate systems
- Reference system
- Rotation of axes
- Translation of axes