# Coordinates (elementary mathematics)

(Redirected from Polar coordinates)

This article describes some of the common coordinate systems that appear in elementary mathematics. For advanced topics, please refer to coordinate system. For more background, see Cartesian coordinate system.

The coordinates of a point are the components of a tuple of numbers used to represent the location of the point in the plane or space. A coordinate system is a plane or space where the origin and axes are defined so that coordinates can be measured.

 Contents

## Cartesian coordinates

Missing image
Cartesiancoordinates2D.JPG
Image:cartesiancoordinates2D.JPG

In the two-dimensional Cartesian coordinate system, a point P in the xy-plane is represent by a tuple of two components [itex](x, y)[itex].

• [itex]x[itex] is the signed distance from the y-axis to the point P, and
• [itex]y[itex] is the signed distance from the x-axis to the point P.

In the three-dimensional Cartesian coordinate system, a point P in the xyz-space is represent by a tuple of three components [itex](x, y, z)[itex].

• [itex]x[itex] is the signed distance from the yz-plane to the point P,
• [itex]y[itex] is the signed distance from the xz-plane to the point P, and
• [itex]z[itex] is the signed distance from the xy-plane to the point P.

## Polar coordinates

The polar coordinate systems are coordinate systems in which a point is identified by a distance from some fixed feature in space and one or more subtended angles.

The term polar coordinates often refers to circular coordinates (two-dimensional). Other commonly used polar coordinates are cylindrical coordinates and spherical coordinates (both three-dimensional).

### Circular coordinates

The circular coordinate system, often referred to simply as the polar coordinate system, is a two-dimensional polar coordinate system, defined by an origin, O, and a semi-infinite line L leading from this point. L is also called the polar axis. In terms of the Cartesian coordinate system, one usually picks O to be the origin (0,0) and L to be the positive x-axis (the right half of the x-axis).

In the circular coordinate system, a point P is represented by a tuple of two components [itex](r, \theta)[itex]. Using terms of the Cartesian coordinate system,

• [itex]0\leq{r}[itex] (radius) is the distance from the origin to the point P, and
• [itex]0\leq\theta<360^\circ[itex] (azimuth) is the angle between the positive x-axis and the line from the origin to the point P.

### Cylindrical coordinates

The cylindrical coordinate system is a three-dimensional polar coordinate system.

In the cylindrical coordinate system, a point P is represented by a tuple of three components [itex](r, \theta, h)[itex]. Using terms of the Cartesian coordinate system,

• [itex]0\leq{r}[itex] (radius) is the distance between the z-axis and the point P,
• [itex]0\leq\theta<360^\circ[itex] (azimuth or longitude) is the angle between the positive x-axis and the line from the origin to the point P projected onto the xy-plane, and
• [itex]h[itex] (height) is the signed distance from xy-plane to the point P.
Note: some sources use [itex]z[itex] for [itex]h[itex]; there is no "right" or "wrong" convention, but it is necessary to be aware of the convention being used.

Cylindrical coordinates involve some redundancy; [itex]\theta[itex] loses its significance if [itex]r=0[itex].

Cylindrical coordinates are useful in analyzing systems that are symmetrical about an axis. For example the infinitely long cylinder that has the Cartesian equation [itex]x^2+y^2=c^2[itex] has the very simple equation [itex]r=c[itex] in cylindrical coordinates.

### Spherical coordinates

The spherical coordinate system is a three-dimensional polar coordinate system.

Missing image
Spherical_Coordinates.png

In the spherical coordinate system, a point [itex]P[itex] is represented by a tuple of three components [itex](\rho, \phi, \theta)[itex]. Using terms of the Cartesian coordinate system,

• [itex]0\leq\rho[itex] (radius) is the distance between the point [itex]P[itex] and the origin,
• [itex]0\leq\phi\leq 180^\circ[itex] (colatitude or polar angle) is the angle between the [itex]z[itex]-axis and the line from the origin to the point P, and
• [itex]0\leq\theta<360^\circ[itex] (azimuth or longitude) is the angle between the positive [itex]x[itex]-axis and the line from the origin to the point P projected onto the [itex]xy[itex]-plane.

NB: The above convention is the standard used by American mathematicians and American calculus textbooks. However, most physicists, engineers, and non-American mathematicians interchange the symbols [itex]\phi[itex] and [itex]\theta[itex] above, using [itex]\phi[itex] to denote the azimuth and [itex]\theta[itex] the colatitude. One should be very careful to note which convention is being used by a particular author. It should be noted that, regardless of how one labels the coordinates, one argument against the conventional American mathematical definition is the fact that it produces a left-handed coordinate system, rather than the usual convention of a right-handed coordinate system.

The spherical coordinate system also involves some redundancy; [itex]\phi[itex] loses its significance if [itex]\rho=0[itex], and [itex]\theta[itex] loses its significance if [itex]\rho=0[itex] or [itex]\phi=0[itex] or [itex]\phi=180^\circ[itex].

To construct a point from its spherical coordinates: from the origin, go [itex]{\rho}[itex] along the positive [itex]z[itex]-axis, rotate [itex]\phi[itex] about [itex]y[itex]-axis toward the direction of the positive [itex]x[itex]-axis, and rotate [itex]\theta[itex] about the [itex]z[itex]-axis toward the direction of the positive [itex]y[itex]-axis.

Spherical coordinates are useful in analyzing systems that are symmetrical about a point; a sphere that has the Cartesian equation [itex]x^2+y^2+z^2=c^2[itex] has the very simple equation [itex]\rho=c[itex] in spherical coordinates.

Spherical coordinates are the natural coordinates for physical situations where there is spherical symmetry. In such a situation, one can describe waves using spherical harmonics. Another application is ergonomic design, where [itex]{\rho}[itex] is the arm length of a stationary person and the angles describe the direction of the arm as it reaches out.

The concept of spherical coordinates can be extended to higher dimensional spaces and are then referred to as hyperspherical coordinates.

## Conversion between coordinate systems

### Cartesian and circular

[itex]r=\sqrt{x^2 + y^2}[itex]
[itex]\theta

= \arctan\frac{y}{x} + \pi u_0(-x) \, \operatorname{sgn} y [itex] where u0 is the Heaviside step function with [itex] u_0(0)=0 [itex] and sgn is the signum function. Here the u0 and sgn functions are being used as "logical" switches which are used as shorthand substitutes for several if ... then statements. Some computer languages include a bivariate arctangent function atan2(y,x) which finds the value for θ in the correct quadrant given x and y.

### Cartesian and cylindrical

[itex]x=r\,\cos\theta[itex]
[itex]y=r\,\sin\theta[itex]
[itex]r=\sqrt{x^2 + y^2}[itex]
[itex]\theta

=\arctan\frac{y}{x} + \pi u_0(-x) \, \operatorname{sgn} y [itex]

[itex]

\begin{bmatrix}dx\\dy\\dz\end{bmatrix}= \begin{bmatrix} \cos\theta&-r\sin\theta&0\\ \sin\theta&r\cos\theta&0\\ 0&0&1 \end{bmatrix} \begin{bmatrix}dr\\d\theta\\dh\end{bmatrix} [itex]

[itex]

\begin{bmatrix}dr\\d\theta\\dh\end{bmatrix}= \begin{bmatrix} \frac{x}{\sqrt{x^2+y^2}}&\frac{y}{\sqrt{x^2+y^2}}&0\\ \frac{-y}{x^2+y^2}&\frac{x}{x^2+y^2}&0\\ 0&0&1 \end{bmatrix} \begin{bmatrix}dx\\dy\\dz\end{bmatrix} [itex]

### Cartesian and spherical

[itex]{x}=\rho \, \sin\phi \, \cos\theta \quad [itex]
[itex]{y}=\rho \, \sin\phi \, \sin\theta \quad [itex]
[itex]{\rho}=\sqrt{x^2+y^2+z^2}[itex]
[itex]{\phi}=\arccos\frac{z}{\rho}[itex]
[itex]{\phi}=\arctan\frac{\sqrt{x^2+y^2}}{z}[itex]
[itex]{\theta}

=\arctan\frac{y}{x} + \pi\, u_0(-x)\, \operatorname{sgn} y [itex]

[itex]

\begin{bmatrix}dx\\dy\\dz\end{bmatrix}= \begin{bmatrix} \sin\phi\cos\theta&\rho\cos\phi\cos\theta&-\rho\sin\phi\sin\theta\\ \sin\phi\sin\theta&\rho\cos\phi\sin\theta&\rho\sin\phi\cos\theta\\ \cos\phi&-\rho\sin\phi&0 \end{bmatrix} \begin{bmatrix}d\rho\\d\phi\\d\theta\end{bmatrix} [itex]

[itex]

\begin{bmatrix}d\rho\\d\phi\\d\theta\end{bmatrix}= \begin{bmatrix} \frac{x}{\rho}&\frac{y}{\rho}&\frac{z}{\rho}\\ \frac{xz}{\rho\sqrt{x^2+y^2}}&\frac{yz}{\rho\sqrt{x^2+y^2}}&\frac{-(x^2+y^2)}{\rho\sqrt{x^2+y^2}}\\ \frac{-y}{\sqrt{x^2+y^2}}&\frac{x}{\sqrt{x^2+y^2}}&0 \end{bmatrix} \begin{bmatrix}dx\\dy\\dz\end{bmatrix} [itex]

### Cylindrical and spherical

[itex]{r}=\rho \,\sin\phi[itex]
[itex]{h}=\rho \,\cos\phi[itex]
[itex]{\rho}=\sqrt{r^2+h^2}[itex]
[itex]{\phi}

=\arctan\frac{h}{r} + \pi \, u_0(-r) \, \operatorname{sgn} h [itex]

[itex]

\begin{bmatrix}dr\\d\theta\\dh\end{bmatrix}= \begin{bmatrix} \sin\phi&\rho\cos\phi&0\\ 0&0&1\\ \cos\phi&-\rho\sin\phi&0 \end{bmatrix} \begin{bmatrix}d\rho\\d\phi\\d\theta\end{bmatrix} [itex]

[itex]

\begin{bmatrix}d\rho\\d\phi\\d\theta\end{bmatrix}= \begin{bmatrix} \frac{r}{\sqrt{r^2+h^2}}&0&\frac{h}{\sqrt{r^2+h^2}}\\ \frac{-h}{r^2+h^2}&0&\frac{r}{r^2+h^2}\\ 0&1&0 \end{bmatrix} \begin{bmatrix}dr\\d\theta\\dh\end{bmatrix} [itex]

### Spherical coordinates

• Frank Wattenberg has made some nice animations illustrating spherical (http://www.math.montana.edu/frankw/ccp/multiworld/multipleIVP/spherical/body.htm) and cylindrical (http://www.math.montana.edu/frankw/ccp/multiworld/multipleIVP/cylindrical/body.htm) coordinate systems.
• http://www.physics.oregonstate.edu/bridge/papers/spherical.pdf is a description of the different conventions in use for naming components of spherical coordinates, along with a proposal for standardizing this.de:Polarkoordinate

• Art and Cultures
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Space and Astronomy