Checked content

Spherical coordinate system

Related subjects: Mathematics

About this schools Wikipedia selection

This Wikipedia selection is available offline from SOS Children for distribution in the developing world. SOS Children is the world's largest charity giving orphaned and abandoned children the chance of family life.

A point plotted using the spherical coordinate system

In mathematics, the spherical coordinate system is a coordinate system for representing geometric figures in three dimensions using three coordinates: the radial distance of a point from a fixed origin, the zenith angle from the positive z-axis, and the azimuth angle from the positive x-axis.


Several different conventions exist for representing the three coordinates. In accordance with the International Organisation for Standardisation ( ISO 31-11), in physics they are typically notated as (r, θ,φ ) for radial distance, zenith, and azimuth, respectively.

In (American) mathematics, the notation for zenith and azimuth are reversed as φ is used to denote the zenith angle and θ is used to denote the azimuthal angle. A further complication is that some mathematics texts list the azimuth before the zenith, but this convention is left-handed and should be avoided. The "math" convention has the advantage of being most compatible in the meaning of θ with the traditional notation for the two-dimensional polar coordinate system and the three-dimensional cylindrical coordinate system, while the "physics" convention has broader acceptance geographically. Some users of the "physics" convention also use φ for polar coordinates to avoid the first problem (as is the standard ISO for cylindrical coordinates). Other notation uses ρ for radial distance. The notation convention of the author of any work pertaining to spherical coordinates should always be checked before using the formulas and equations of that author. This article uses the standard convention.


The coordinate surfaces of the spherical coordinates (r, θ, φ). The red sphere shows the points with r=2, the blue cone shows the points with θ=45°, and the yellow half- plane shows the points with φ=-60°. The z-axis is vertical and the x-axis is highlighted in green. The three surfaces intersect at the point P with those coordinates (shown as a black sphere); the Cartesian coordinates of P are roughly (0.707, -1.225, 1.414).

The three coordinates (r, θ, φ) are defined as:

  • r ≥ 0 is the distance from the origin to a given point P.
  • 0 ≤ θ ≤ π is the angle between the positive z-axis and the line formed between the origin and P.
  • 0 ≤ φ < 2π is the angle between the positive x-axis and the line from the origin to the P projected onto the xy-plane.

φ is referred to as the azimuth, while θ is referred to as the zenith, colatitude or polar angle.

θ and φ lose significance when r = 0 and φ loses significance when sin(θ) = 0 (at θ = 0 and θ = π).

To plot a point from its spherical coordinates, go r units from the origin along the positive z-axis, rotate θ about the y-axis in the direction of the positive x-axis and rotate φ about the z-axis in the direction of the positive y-axis.

Coordinate system conversions

As the spherical coordinate system is only one of many three-dimensional coordinate systems, there exist equations for converting coordinates between the spherical coordinate system and others.

Cartesian coordinate system

The three spherical coordinates are obtained from Cartesian coordinates by:

r=\sqrt{x^2 + y^2 + z^2}
{\theta}=\arctan \left( \frac{\sqrt{x^2 + y^2}}{z} \right)=\arccos \left( {\frac{z}{\sqrt{x^2 + y^2 + z^2}}} \right)
{\varphi}=\arctan \left( {\frac{y}{x}} \right).

Note that the arctangent must be defined suitably so as to take account of the correct quadrant of y/x. The atan2 or equivalent function accomplishes this for computational purposes.

Conversely, Cartesian coordinates may be retrieved from spherical coordinates by:

{x}=r \, \sin\theta \, \cos\varphi \quad
{y}=r \, \sin\theta \, \sin\varphi \quad
{z}=r \, \cos\theta. \quad

Geographic coordinate system

The geographic coordinate system is an alternate version of the spherical coordinate system, used primarily in geography though also in mathematics and physics applications. In geography, ρ is usually dropped or replaced with a value representing elevation or altitude.

Latitude {\delta}\, is the complement of the zenith or colatitude, and can be converted by:

{\delta}=90^\circ - \theta, or
{\theta}=90^\circ - \delta,

though latitude is typically represented by θ as well. This represents a zenith angle originating from the xy-plane with a domain -90° ≤ θ ≤ 90°. The longitude is measured in degrees east or west from 0°, so its domain is -180° ≤ φ ≤ 180°.

Cylindrical coordinate system

Cylindrical coordinates2.svg

The cylindrical coordinate system is a three-dimensional extrusion of the polar coordinate system, with an z coordinate to describe a point's height above or below the xy-plane. The full coordinate tuple is (r, φ, z).

Cylindrical coordinates may be converted into spherical coordinates by:

{\varphi}=\varphi \quad

Spherical coordinates may be converted into cylindrical coordinates by:

 \rho = r \sin \theta \,
 \varphi  = \varphi \,
 z  = r \cos \theta \,


The geographic coordinate system applies the two angles of the spherical coordinate system to express locations on Earth, calling them latitude and longitude. Just as the two-dimensional Cartesian coordinate system is useful on the plane, a two-dimensional spherical coordinate system is useful on the surface of a sphere. In this system, the sphere is taken as a unit sphere, so the radius is unity and can generally be ignored. This simplification can also be very useful when dealing with objects such as rotational matrices.

Spherical coordinates are useful in analyzing systems that are symmetrical about a point; a sphere that has the Cartesian equation x2 + y2 + z2 = c2 has the very simple equation r = c in spherical coordinates. An example is in solving a triple integral with a sphere as its domain.

The surface element for a spherical surface is

\mathrm dS=r^2\sin\theta\,\mathrm d\theta\,\mathrm d\varphi

The volume element is

\mathrm dV=r^2\sin\theta\,\mathrm dr\,\mathrm d\theta\,\mathrm d\varphi

Spherical coordinates are the natural coordinates for describing and analyzing physical situations where there is spherical symmetry, such as the potential energy field surrounding a sphere (or point) with mass or charge. Two important partial differential equations, Laplace's equation and the Helmholtz equation, allow a separation of variables in spherical coordinates. The angular portions of the solutions to such equations take the form of spherical harmonics.

Another application is ergonomic design, where r 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.


In spherical coordinates the position of a point is written,

\mathbf{r} = \rho \mathbf{e}_\rho

its velocity is then,

\mathbf{v} = \dot\rho \mathbf{e}_\rho + \rho\dot\theta \mathbf{e}_\theta + \rho\dot\phi\sin\theta \mathbf{e}_\phi

and its acceleration is,

\mathbf{a} = \left( \ddot\rho - \rho\dot\theta^2 - \rho\dot\phi^2\sin^2\theta \right)\mathbf{e}_\rho
 + \left( \rho\ddot\theta + 2\dot\rho\dot\theta - \rho\dot\phi^2\sin\theta\cos\theta \right) \mathbf{e}_\theta
+ \left( \rho\ddot\phi\sin\theta + 2\dot\rho\dot\phi\sin\theta + 2\rho\dot\theta\dot\phi\cos\theta \right) \mathbf{e}_\phi
Retrieved from ""