HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a spherical coordinate system specifies a given point in
three-dimensional space In geometry, a three-dimensional space (3D space, 3-space or, rarely, tri-dimensional space) is a mathematical space in which three values ('' coordinates'') are required to determine the position of a point. Most commonly, it is the three- ...
by using a distance and two angles as its three
coordinates In geometry, a coordinate system is a system that uses one or more numbers, or coordinates, to uniquely determine and standardize the Position (geometry), position of the Point (geometry), points or other geometric elements on a manifold such as ...
. These are * the radial distance along the line connecting the point to a fixed point called the origin; * the polar angle between this radial line and a given ''polar axis''; and * the azimuthal angle , which is the
angle of rotation The angular displacement (symbol θ, , or φ) – also called angle of rotation, rotational displacement, or rotary displacement – of a physical body is the angle (in units of radians, degrees, turns, etc.) through which the body rotates (r ...
of the radial line around the polar axis. (See graphic regarding the "physics convention".) Once the radius is fixed, the three coordinates (''r'', ''θ'', ''φ''), known as a 3-
tuple In mathematics, a tuple is a finite sequence or ''ordered list'' of numbers or, more generally, mathematical objects, which are called the ''elements'' of the tuple. An -tuple is a tuple of elements, where is a non-negative integer. There is o ...
, provide a coordinate system on a
sphere A sphere (from Ancient Greek, Greek , ) is a surface (mathematics), surface analogous to the circle, a curve. In solid geometry, a sphere is the Locus (mathematics), set of points that are all at the same distance from a given point in three ...
, typically called the spherical polar coordinates. The plane passing through the origin and
perpendicular In geometry, two geometric objects are perpendicular if they intersect at right angles, i.e. at an angle of 90 degrees or π/2 radians. The condition of perpendicularity may be represented graphically using the '' perpendicular symbol'', � ...
to the polar axis (where the polar angle is a
right angle In geometry and trigonometry, a right angle is an angle of exactly 90 Degree (angle), degrees or radians corresponding to a quarter turn (geometry), turn. If a Line (mathematics)#Ray, ray is placed so that its endpoint is on a line and the ad ...
) is called the ''reference plane'' (sometimes '' fundamental plane'').


Terminology

The radial distance from the fixed point of origin is also called the ''radius'', or ''radial line'', or ''radial coordinate''. The polar angle may be called '' inclination angle'', '' zenith angle'', '' normal angle'', or the ''
colatitude In a spherical coordinate system, a colatitude is the complementary angle of a given latitude, i.e. the difference between a right angle and the latitude. In geography, Southern latitudes are defined to be negative, and as a result the colatitude ...
''. The user may choose to replace the inclination angle by its complement, the ''
elevation angle The horizontal coordinate system is a celestial coordinate system that uses the observer's local horizon as the fundamental plane to define two angles of a spherical coordinate system: altitude and ''azimuth''. Therefore, the horizontal coordin ...
'' (or ''
altitude angle The horizontal coordinate system is a celestial coordinate system that uses the observer's local horizon as the fundamental plane to define two angles of a spherical coordinate system: altitude and ''azimuth''. Therefore, the horizontal coordin ...
''), measured upward between the reference plane and the radial linei.e., from the reference plane upward (towards to the positive z-axis) to the radial line. The ''depression angle'' is the negative of the elevation angle. ''(See graphic re the "physics convention"not "mathematics convention".)'' Both the use of symbols and the naming order of tuple coordinates differ among the several sources and disciplines. This article will use the ISO convention frequently encountered in ''physics'', where the naming tuple gives the order as: radial distance, polar angle, azimuthal angle, or ''(r,\theta,\varphi)''. (See graphic re the "physics convention".) In contrast, the conventions in many mathematics books and texts give the naming order differently as: radial distance, "azimuthal angle", "polar angle", and (\rho,\theta,\varphi) or (r,\theta,\varphi)which switches the uses and meanings of symbols θ and φ. Other conventions may also be used, such as ''r'' for a radius from the ''z-''axis that is not from the point of origin. Particular care must be taken to check the meaning of the symbols. According to the conventions of geographical coordinate systems, positions are measured by latitude, longitude, and height (altitude). There are a number of
celestial coordinate system In astronomy, coordinate systems are used for specifying positions of celestial objects (satellites, planets, stars, galaxies, etc.) relative to a given reference frame, based on physical reference points available to a situated observer (e. ...
s based on different fundamental planes and with different terms for the various coordinates. The spherical coordinate systems used in mathematics normally use
radian The radian, denoted by the symbol rad, is the unit of angle in the International System of Units (SI) and is the standard unit of angular measure used in many areas of mathematics. It is defined such that one radian is the angle subtended at ...
s rather than degrees; (note 90 degrees equals radians). And these systems of the ''mathematics convention'' may measure the azimuthal angle ''counterclockwise'' (i.e., from the south direction -axis, or 180°, towards the east direction -axis, or +90°)rather than measure ''clockwise'' (i.e., from the north direction x-axis, or 0°, towards the east direction y-axis, or +90°), as done in the
horizontal coordinate system The horizontal coordinate system is a celestial coordinate system that uses the observer's local horizon as the fundamental plane to define two angles of a spherical coordinate system: altitude and ''azimuth''. Therefore, the horizontal coord ...
. ''(See graphic re "mathematics convention".)'' The spherical coordinate system of the ''physics convention'' can be seen as a generalization of the
polar coordinate system In mathematics, the polar coordinate system specifies a given point in a plane by using a distance and an angle as its two coordinates. These are *the point's distance from a reference point called the ''pole'', and *the point's direction from ...
in
three-dimensional space In geometry, a three-dimensional space (3D space, 3-space or, rarely, tri-dimensional space) is a mathematical space in which three values ('' coordinates'') are required to determine the position of a point. Most commonly, it is the three- ...
. It can be further extended to higher-dimensional spaces, and is then referred to as a ''hyperspherical coordinate system''.


Definition

To define a spherical coordinate system, one must designate an ''origin'' point in space, ', and two orthogonal directions: the ''zenith reference'' direction and the ''azimuth reference'' direction. These choices determine a reference plane that is typically defined as containing the point of origin and the ''x and yaxes'', either of which may be designated as the ''azimuth reference'' direction. The reference plane is perpendicular (orthogonal) to the zenith direction, and typically is designated "horizontal" to the zenith direction's "vertical". The spherical coordinates of a point then are defined as follows: * The ''radius'' or ''radial distance'' is the
Euclidean distance In mathematics, the Euclidean distance between two points in Euclidean space is the length of the line segment between them. It can be calculated from the Cartesian coordinates of the points using the Pythagorean theorem, and therefore is o ...
from the origin ' to '. * The ''inclination'' (or ''polar angle'') is the signed angle from the zenith reference direction to the line segment . (''Elevation'' may be used as the polar angle instead of ''inclination''; see below.) * The ''
azimuth An azimuth (; from ) is the horizontal angle from a cardinal direction, most commonly north, in a local or observer-centric spherical coordinate system. Mathematically, the relative position vector from an observer ( origin) to a point ...
'' (or ''azimuthal angle'') is the signed angle measured from the ''azimuth reference'' direction to the orthogonal projection of the radial line segment on the reference plane. The sign of the azimuth is determined by designating the rotation that is the ''positive'' sense of turning about the zenith. This choice is arbitrary, and is part of the coordinate system definition. (If the inclination is either zero or 180 degrees (= radians), the azimuth is arbitrary. If the radius is zero, both azimuth and inclination are arbitrary.) The ''elevation'' is the signed angle from the x-y reference plane to the radial line segment , where positive angles are designated as upward, towards the zenith reference. ''Elevation'' is 90 degrees (= radians) ''minus inclination''. Thus, if the inclination is 60 degrees (= radians), then the elevation is 30 degrees (= radians). In
linear algebra Linear algebra is the branch of mathematics concerning linear equations such as :a_1x_1+\cdots +a_nx_n=b, linear maps such as :(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n, and their representations in vector spaces and through matrix (mathemat ...
, the
vector Vector most often refers to: * Euclidean vector, a quantity with a magnitude and a direction * Disease vector, an agent that carries and transmits an infectious pathogen into another living organism Vector may also refer to: Mathematics a ...
from the origin to the point is often called the ''
position vector In geometry, a position or position vector, also known as location vector or radius vector, is a Euclidean vector that represents a point ''P'' in space. Its length represents the distance in relation to an arbitrary reference origin ''O'', and ...
'' of ''P''.


Conventions

Several different conventions exist for representing spherical coordinates and prescribing the naming order of their symbols. The 3-tuple number set (r,\theta,\varphi) denotes radial distance, the polar angle"inclination", or as the alternative, "elevation"and the azimuthal angle. It is the common practice within the physics convention, as specified by
ISO The International Organization for Standardization (ISO ; ; ) is an independent, non-governmental, international standard development organization composed of representatives from the national standards organizations of member countries. Me ...
standard 80000-2:2019, and earlier in
ISO 31-11 ISO 31-11:1992 was the part of international standard ISO 31 that defines ''mathematical signs and symbols for use in physical sciences and technology''. It was superseded in 2009 by ISO 80000-2:2009 and subsequently revised in 2019 as ISO-80000 ...
(1992). ''As stated above, this article describes the ISO "physics convention"unless otherwise noted.'' However, some authors (including mathematicians) use the symbol ''ρ'' (rho) for radius, or radial distance, ''φ'' for inclination (or elevation) and ''θ'' for azimuthwhile others keep the use of ''r'' for the radius; all which "provides a logical extension of the usual polar coordinates notation". As to order, some authors list the azimuth ''before'' the inclination (or the elevation) angle. Some combinations of these choices result in a
left-handed In human biology, handedness is an individual's preferential use of one hand, known as the dominant hand, due to and causing it to be stronger, faster or more dextrous. The other hand, comparatively often the weaker, less dextrous or simply l ...
coordinate system. The standard "physics convention" 3-tuple set (r,\theta,\varphi) conflicts with the usual notation for two-dimensional
polar coordinates In mathematics, the polar coordinate system specifies a given point (mathematics), point in a plane (mathematics), plane by using a distance and an angle as its two coordinate system, coordinates. These are *the point's distance from a reference ...
and three-dimensional
cylindrical coordinates A cylinder () has traditionally been a three-dimensional solid, one of the most basic of curvilinear geometric shapes. In elementary geometry, it is considered a prism with a circle as its base. A cylinder may also be defined as an infinite ...
, where is often used for the azimuth. Angles are typically measured in degrees (°) or in
radian The radian, denoted by the symbol rad, is the unit of angle in the International System of Units (SI) and is the standard unit of angular measure used in many areas of mathematics. It is defined such that one radian is the angle subtended at ...
s (rad), where 360° = 2 rad. The use of degrees is most common in geography, astronomy, and engineering, where radians are commonly used in mathematics and theoretical physics. The unit for radial distance is usually determined by the context, as occurs in applications of the 'unit sphere', see
applications Application may refer to: Mathematics and computing * Application software, computer software designed to help the user to perform specific tasks ** Application layer, an abstraction layer that specifies protocols and interface methods used in a ...
. When the system is used to designate physical three-space, it is customary to assign positive to azimuth angles measured in the ''counterclockwise'' sense from the reference direction on the reference planeas seen from the "zenith" side of the plane. This convention is used in particular for geographical coordinates, where the "zenith" direction is
north North is one of the four compass points or cardinal directions. It is the opposite of south and is perpendicular to east and west. ''North'' is a noun, adjective, or adverb indicating Direction (geometry), direction or geography. Etymology T ...
and the positive azimuth (longitude) angles are measured eastwards from some
prime meridian A prime meridian is an arbitrarily chosen meridian (geography), meridian (a line of longitude) in a geographic coordinate system at which longitude is defined to be 0°. On a spheroid, a prime meridian and its anti-meridian (the 180th meridian ...
. Note: Easting (), Northing (), Upwardness (). In the case of the local
azimuth An azimuth (; from ) is the horizontal angle from a cardinal direction, most commonly north, in a local or observer-centric spherical coordinate system. Mathematically, the relative position vector from an observer ( origin) to a point ...
angle would be measured
counterclockwise Two-dimensional rotation can occur in two possible directions or senses of rotation. Clockwise motion (abbreviated CW) proceeds in the same direction as a clock's hands relative to the observer: from the top to the right, then down and then to ...
from to .


Unique coordinates

Any spherical coordinate triplet (or tuple) (r,\theta,\varphi) specifies a single point of three-dimensional space. On the reverse view, any single point has infinitely many equivalent spherical coordinates. That is, the user can add or subtract any number of full turns to the angular measures without changing the angles themselves, and therefore without changing the point. It is convenient in many contexts to use negative radial distances, the convention being (-r,\theta,\varphi), which is equivalent to (r,\theta180^\circ,\varphi) or (r,90^\circ\theta,\varphi180^\circ) for any , , and . Moreover, (r,-\theta,\varphi) is equivalent to (r,\theta,\varphi180^\circ). When necessary to define a unique set of spherical coordinates for each point, the user must restrict the range, aka interval, of each coordinate. A common choice is: * radial distance: * polar angle: , or , * azimuth : , or . But instead of the interval , the azimuth is typically restricted to the
half-open interval In mathematics, a real interval is the set of all real numbers lying between two fixed endpoints with no "gaps". Each endpoint is either a real number or positive or negative infinity, indicating the interval extends without a bound. A real in ...
, or radians, which is the standard convention for geographic longitude. For the polar angle , the range (interval) for inclination is , which is equivalent to elevation range (interval) . In geography, the latitude is the elevation. Even with these restrictions, if the polar angle (inclination) is 0° or 180°elevation is −90° or +90°then the azimuth angle is arbitrary; and if is zero, both azimuth and polar angles are arbitrary. To define the coordinates as unique, the user can assert the convention that (in these cases) the arbitrary coordinates are set to zero.


Plotting

To plot any dot from its spherical coordinates , where is inclination, the user would: move units from the origin in the zenith reference direction (z-axis); then rotate by the amount of the azimuth angle () about the origin ''from'' the designated ''azimuth reference'' direction, (i.e., either the x- or y-axis, see
Definition A definition is a statement of the meaning of a term (a word, phrase, or other set of symbols). Definitions can be classified into two large categories: intensional definitions (which try to give the sense of a term), and extensional definitio ...
, above); and then rotate ''from'' the z-axis by the amount of the angle.


Applications

Just as the two-dimensional
Cartesian coordinate system In geometry, a Cartesian coordinate system (, ) in a plane (geometry), plane is a coordinate system that specifies each point (geometry), point uniquely by a pair of real numbers called ''coordinates'', which are the positive and negative number ...
is usefulhas a wide set of applicationson a planar surface, a two-dimensional spherical coordinate system is useful on the surface of a sphere. For example, one sphere that is described in ''Cartesian coordinates'' with the equation can be described in ''spherical coordinates'' by the simple equation . (In this system''shown here in the mathematics convention''the sphere is adapted as a
unit sphere In mathematics, a unit sphere is a sphere of unit radius: the locus (mathematics), set of points at Euclidean distance 1 from some center (geometry), center point in three-dimensional space. More generally, the ''unit -sphere'' is an n-sphere, -s ...
, where the radius is set to unity and then can generally be ignored, see graphic.) This (unit sphere) simplification is also useful when dealing with objects such as rotational matrices. Spherical coordinates are also useful in analyzing systems that have some degree of symmetry about a point, including: volume integrals inside a sphere; the potential energy field surrounding a concentrated mass or charge; or global weather simulation in a planet's atmosphere. Three dimensional modeling of
loudspeaker A loudspeaker (commonly referred to as a speaker or, more fully, a speaker system) is a combination of one or more speaker drivers, an enclosure, and electrical connections (possibly including a crossover network). The speaker driver is an ...
output patterns can be used to predict their performance. A number of polar plots are required, taken at a wide selection of frequencies, as the pattern changes greatly with frequency. Polar plots help to show that many loudspeakers tend toward omnidirectionality at lower frequencies. An important application of spherical coordinates provides for the
separation of variables In mathematics, separation of variables (also known as the Fourier method) is any of several methods for solving ordinary differential equation, ordinary and partial differential equations, in which algebra allows one to rewrite an equation so tha ...
in two
partial differential equations In mathematics, a partial differential equation (PDE) is an equation which involves a multivariable function and one or more of its partial derivatives. The function is often thought of as an "unknown" that solves the equation, similar to how ...
the
Laplace Pierre-Simon, Marquis de Laplace (; ; 23 March 1749 – 5 March 1827) was a French polymath, a scholar whose work has been instrumental in the fields of physics, astronomy, mathematics, engineering, statistics, and philosophy. He summariz ...
and the
Helmholtz equation In mathematics, the Helmholtz equation is the eigenvalue problem for the Laplace operator. It corresponds to the elliptic partial differential equation: \nabla^2 f = -k^2 f, where is the Laplace operator, is the eigenvalue, and is the (eigen)fun ...
sthat arise in many physical problems. The angular portions of the solutions to such equations take the form of
spherical harmonics In mathematics and physical science, spherical harmonics are special functions defined on the surface of a sphere. They are often employed in solving partial differential equations in many scientific fields. The table of spherical harmonics co ...
. Another application is ergonomic design, where is the arm length of a stationary person and the angles describe the direction of the arm as it reaches out. The spherical coordinate system is also commonly used in 3D game development to rotate the camera around the player's position


In geography

Instead of inclination, the
geographic coordinate system A geographic coordinate system (GCS) is a spherical coordinate system, spherical or geodetic coordinates, geodetic coordinate system for measuring and communicating position (geometry), positions directly on Earth as latitude and longitude. ...
uses elevation angle (or ''
latitude In geography, latitude is a geographic coordinate system, geographic coordinate that specifies the north-south position of a point on the surface of the Earth or another celestial body. Latitude is given as an angle that ranges from −90° at t ...
''), in the range (aka domain) and rotated north from the
equator The equator is the circle of latitude that divides Earth into the Northern Hemisphere, Northern and Southern Hemisphere, Southern Hemispheres of Earth, hemispheres. It is an imaginary line located at 0 degrees latitude, about in circumferen ...
plane. Latitude (i.e., ''the angle'' of latitude) may be either '' geocentric latitude'', measured (rotated) from the Earth's centerand designated variously by or '' geodetic latitude'', measured (rotated) from the observer's local vertical, and typically designated . The polar angle (inclination), which is 90° minus the latitude and ranges from 0 to 180°, is called ''
colatitude In a spherical coordinate system, a colatitude is the complementary angle of a given latitude, i.e. the difference between a right angle and the latitude. In geography, Southern latitudes are defined to be negative, and as a result the colatitude ...
'' in geography. The azimuth angle (or ''
longitude Longitude (, ) is a geographic coordinate that specifies the east- west position of a point on the surface of the Earth, or another celestial body. It is an angular measurement, usually expressed in degrees and denoted by the Greek lett ...
'') of a given position on Earth, commonly denoted by , is measured in degrees east or west from some conventional reference meridian (most commonly the IERS Reference Meridian); thus its domain (or range) is and a given reading is typically designated "East" or "West". For positions on the
Earth Earth is the third planet from the Sun and the only astronomical object known to Planetary habitability, harbor life. This is enabled by Earth being an ocean world, the only one in the Solar System sustaining liquid surface water. Almost all ...
or other solid
celestial body An astronomical object, celestial object, stellar object or heavenly body is a naturally occurring physical entity, association, or structure that exists within the observable universe. In astronomy, the terms ''object'' and ''body'' are of ...
, the reference plane is usually taken to be the plane perpendicular to the
axis of rotation Rotation or rotational/rotary motion is the circular movement of an object around a central line, known as an ''axis of rotation''. A plane figure can rotate in either a clockwise or counterclockwise sense around a perpendicular axis intersect ...
. Instead of the radial distance geographers commonly use ''
altitude Altitude is a distance measurement, usually in the vertical or "up" direction, between a reference datum (geodesy), datum and a point or object. The exact definition and reference datum varies according to the context (e.g., aviation, geometr ...
'' above or below some local reference surface ('' vertical datum''), which, for example, may be the
mean sea level A mean is a quantity representing the "center" of a collection of numbers and is intermediate to the extreme values of the set of numbers. There are several kinds of means (or "measures of central tendency") in mathematics, especially in statist ...
. When needed, the radial distance can be computed from the altitude by adding the radius of Earth, which is approximately . However, modern geographical coordinate systems are quite complex, and the positions implied by these simple formulae may be inaccurate by several kilometers. The precise standard meanings of ''latitude, longitude'' and ''altitude'' are currently defined by the
World Geodetic System The World Geodetic System (WGS) is a standard used in cartography, geodesy, and satellite navigation including GPS. The current version, WGS 84, defines an Earth-centered, Earth-fixed coordinate system and a geodetic datum, and also describ ...
(WGS), and take into account the flattening of the Earth at the poles (about ) and many other details. Planetary coordinate systems use formulations analogous to the geographic coordinate system.


In astronomy

A series of astronomical coordinate systems are used to measure the elevation angle from several fundamental planes. These reference planes include: the observer's
horizon The horizon is the apparent curve that separates the surface of a celestial body from its sky when viewed from the perspective of an observer on or near the surface of the relevant body. This curve divides all viewing directions based on whethe ...
, the galactic equator (defined by the rotation of the
Milky Way The Milky Way or Milky Way Galaxy is the galaxy that includes the Solar System, with the name describing the #Appearance, galaxy's appearance from Earth: a hazy band of light seen in the night sky formed from stars in other arms of the galax ...
), the
celestial equator The celestial equator is the great circle of the imaginary celestial sphere on the same plane as the equator of Earth. By extension, it is also a plane of reference in the equatorial coordinate system. Due to Earth's axial tilt, the celestial ...
(defined by Earth's rotation), the plane of the
ecliptic The ecliptic or ecliptic plane is the orbital plane of Earth's orbit, Earth around the Sun. It was a central concept in a number of ancient sciences, providing the framework for key measurements in astronomy, astrology and calendar-making. Fr ...
(defined by Earth's orbit around the
Sun The Sun is the star at the centre of the Solar System. It is a massive, nearly perfect sphere of hot plasma, heated to incandescence by nuclear fusion reactions in its core, radiating the energy from its surface mainly as visible light a ...
), and the plane of the earth terminator (normal to the instantaneous direction to the
Sun The Sun is the star at the centre of the Solar System. It is a massive, nearly perfect sphere of hot plasma, heated to incandescence by nuclear fusion reactions in its core, radiating the energy from its surface mainly as visible light a ...
).


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 coordinates

The spherical coordinates of a point in the ISO convention (i.e. for physics: radius , inclination , azimuth ) can be obtained from its
Cartesian coordinates In geometry, a Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of real numbers called ''coordinates'', which are the signed distances to the point from two fixed perpendicular o ...
by the formulae \begin r &= \sqrt \\ \theta &= \arccos\frac = \arccos\frac= \begin \arctan\frac &\text z > 0 \\ \pi +\arctan\frac &\text z < 0 \\ +\frac &\text z = 0 \text \sqrt \neq 0 \\ \text &\text x=y=z = 0 \\ \end \\ \varphi &= \sgn(y)\arccos\frac = \begin \arctan(\frac) &\text x > 0, \\ \arctan(\frac) + \pi &\text x < 0 \text y \geq 0, \\ \arctan(\frac) - \pi &\text x < 0 \text y < 0, \\ +\frac &\text x = 0 \text y > 0, \\ -\frac &\text x = 0 \text y < 0, \\ \text &\text x = 0 \text y = 0. \end \end The inverse tangent denoted in must be suitably defined, taking into account the correct quadrant of , as done in the equations above. See the article on atan2. Alternatively, the conversion can be considered as two sequential rectangular to polar conversions: the first in the Cartesian plane from to , where is the projection of onto the -plane, and the second in the Cartesian -plane from to . The correct quadrants for and are implied by the correctness of the planar rectangular to polar conversions. These formulae assume that the two systems have the same origin, that the spherical reference plane is the Cartesian plane, that is inclination from the direction, and that the azimuth angles are measured from the Cartesian axis (so that the axis has ). If ''θ'' measures elevation from the reference plane instead of inclination from the zenith the arccos above becomes an arcsin, and the and below become switched. Conversely, the Cartesian coordinates may be retrieved from the spherical coordinates (''radius'' , ''inclination'' , ''azimuth'' ), where , , , by \begin x &= r \sin\theta \, \cos\varphi, \\ y &= r \sin\theta \, \sin\varphi, \\ z &= r \cos\theta. \end


Cylindrical coordinates

Cylindrical coordinates A cylinder () has traditionally been a three-dimensional solid, one of the most basic of curvilinear geometric shapes. In elementary geometry, it is considered a prism with a circle as its base. A cylinder may also be defined as an infinite ...
(''axial'' ''radius'' ''ρ'', ''azimuth'' ''φ'', ''elevation'' ''z'') may be converted into spherical coordinates (''central radius'' ''r'', ''inclination'' ''θ'', ''azimuth'' ''φ''), by the formulas \begin r &= \sqrt, \\ \theta &= \arctan\frac = \arccos\frac, \\ \varphi &= \varphi. \end Conversely, the spherical coordinates may be converted into cylindrical coordinates by the formulae \begin \rho &= r \sin \theta, \\ \varphi &= \varphi, \\ z &= r \cos \theta. \end These formulae assume that the two systems have the same origin and same reference plane, measure the azimuth angle in the same senses from the same axis, and that the spherical angle is inclination from the cylindrical axis.


Generalization

It is also possible to deal with ellipsoids in Cartesian coordinates by using a modified version of the spherical coordinates. Let P be an ellipsoid specified by the level set ax^2 + by^2 + cz^2 = d. The modified spherical coordinates of a point in P in the ISO convention (i.e. for physics: ''radius'' , ''inclination'' , ''azimuth'' ) can be obtained from its
Cartesian coordinates In geometry, a Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of real numbers called ''coordinates'', which are the signed distances to the point from two fixed perpendicular o ...
by the formulae \begin x &= \frac r \sin\theta \, \cos\varphi, \\ y &= \frac r \sin\theta \, \sin\varphi, \\ z &= \frac r \cos\theta, \\ r^ &= ax^2 + by^2 + cz^2. \end An infinitesimal volume element is given by \mathrmV = \left, \frac\ \, dr\,d\theta\,d\varphi = \frac r^2 \sin \theta \,\mathrmr \,\mathrm\theta \,\mathrm\varphi = \frac r^2 \,\mathrmr \,\mathrm\Omega. The square-root factor comes from the property of the
determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
that allows a constant to be pulled out from a column: \begin ka & b & c \\ kd & e & f \\ kg & h & i \end = k \begin a & b & c \\ d & e & f \\ g & h & i \end.


Integration and differentiation in spherical coordinates

The following equations (Iyanaga 1977) assume that the colatitude is the inclination from the positive axis, as in the ''physics convention'' discussed. The line element for an infinitesimal displacement from to is \mathrm\mathbf = \mathrmr\,\hat + r\,\mathrm\theta \,\hat + r \sin \, \mathrm\varphi\,\mathbf, where \begin \hat &= \sin \theta \cos \varphi \,\hat + \sin \theta \sin \varphi \,\hat + \cos \theta \,\hat, \\ \hat &= \cos \theta \cos \varphi \,\hat + \cos \theta \sin \varphi \,\hat - \sin \theta \,\hat, \\ \hat &= - \sin \varphi \,\hat + \cos \varphi \,\hat \end are the local orthogonal unit vectors in the directions of increasing , , and , respectively, and , , and are the unit vectors in Cartesian coordinates. The linear transformation to this right-handed coordinate triplet is a
rotation matrix In linear algebra, a rotation matrix is a transformation matrix that is used to perform a rotation (mathematics), rotation in Euclidean space. For example, using the convention below, the matrix :R = \begin \cos \theta & -\sin \theta \\ \sin \t ...
, R = \begin \sin\theta\cos\varphi&\sin\theta\sin\varphi&\hphantom\cos\theta\\ \cos\theta\cos\varphi&\cos\theta\sin\varphi&-\sin\theta\\ -\sin\varphi&\cos\varphi &\hphantom0 \end. This gives the transformation from the Cartesian to the spherical, the other way around is given by its inverse. Note: the matrix is an
orthogonal matrix In linear algebra, an orthogonal matrix, or orthonormal matrix, is a real square matrix whose columns and rows are orthonormal vectors. One way to express this is Q^\mathrm Q = Q Q^\mathrm = I, where is the transpose of and is the identi ...
, that is, its inverse is simply its
transpose In linear algebra, the transpose of a Matrix (mathematics), matrix is an operator which flips a matrix over its diagonal; that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other ...
. The Cartesian unit vectors are thus related to the spherical unit vectors by: \begin\mathbf \\ \mathbf \\ \mathbf \end = \begin \sin\theta\cos\varphi & \cos\theta\cos\varphi & -\sin\varphi \\ \sin\theta\sin\varphi & \cos\theta\sin\varphi & \hphantom\cos\varphi \\ \cos\theta & -\sin\theta & \hphantom0 \end \begin \boldsymbol \\ \boldsymbol \\ \boldsymbol \end The general form of the formula to prove the differential line element, is \mathrm\mathbf = \sum_i \frac \,\mathrmx_i = \sum_i \left, \frac\ \frac \, \mathrmx_i = \sum_i \left, \frac\ \,\mathrmx_i \, \hat_i, that is, the change in \mathbf r is decomposed into individual changes corresponding to changes in the individual coordinates. To apply this to the present case, one needs to calculate how \mathbf r changes with each of the coordinates. In the conventions used, \mathbf = \begin r \sin\theta \, \cos\varphi \\ r \sin\theta \, \sin\varphi \\ r \cos\theta \end, x_1=r, x_2=\theta, x_3=\varphi. Thus, \frac = \begin \sin\theta \, \cos\varphi \\ \sin\theta \, \sin\varphi \\ \cos\theta \end=\mathbf, \quad \frac = \begin r \cos\theta \, \cos\varphi \\ r \cos\theta \, \sin\varphi \\ -r \sin\theta \end=r\,\hat, \quad \frac = \begin -r \sin\theta \, \sin\varphi \\ \hphantomr \sin\theta \, \cos\varphi \\ 0 \end = r \sin\theta\,\mathbf . The desired coefficients are the magnitudes of these vectors: \left, \frac\ = 1, \quad \left, \frac\ = r, \quad \left, \frac\ = r \sin\theta. The surface element spanning from to and to on a spherical surface at (constant) radius is then \mathrmS_r = \left\, \frac \times \frac\right\, \mathrm\theta \,\mathrm\varphi = \left, r \times r \sin \theta \\mathrm\theta \,\mathrm\varphi= r^2 \sin\theta \,\mathrm\theta \,\mathrm\varphi ~. Thus the differential
solid angle In geometry, a solid angle (symbol: ) is a measure of the amount of the field of view from some particular point that a given object covers. That is, it is a measure of how large the object appears to an observer looking from that point. The poin ...
is \mathrm\Omega = \frac = \sin\theta \,\mathrm\theta \,\mathrm\varphi. The surface element in a surface of polar angle constant (a cone with vertex at the origin) is \mathrmS_\theta = r \sin\theta \,\mathrm\varphi \,\mathrmr. The surface element in a surface of azimuth constant (a vertical half-plane) is \mathrmS_\varphi = r \,\mathrmr \,\mathrm\theta. The volume element spanning from to , to , and to is specified by the
determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
of the
Jacobian matrix In vector calculus, the Jacobian matrix (, ) of a vector-valued function of several variables is the matrix of all its first-order partial derivatives. If this matrix is square, that is, if the number of variables equals the number of component ...
of
partial derivative In mathematics, a partial derivative of a function of several variables is its derivative with respect to one of those variables, with the others held constant (as opposed to the total derivative, in which all variables are allowed to vary). P ...
s, J =\frac =\begin \sin\theta\cos\varphi & r\cos\theta\cos\varphi & -r\sin\theta\sin\varphi\\ \sin\theta\sin\varphi & r\cos\theta\sin\varphi & \hphantomr\sin\theta\cos\varphi\\ \cos\theta & -r\sin\theta & \hphantom0 \end, namely \mathrmV = \left, \frac\ \,\mathrmr \,\mathrm\theta \,\mathrm\varphi= r^2 \sin\theta \,\mathrmr \,\mathrm\theta \,\mathrm\varphi = r^2 \,\mathrmr \,\mathrm\Omega ~. Thus, for example, a function can be integrated over every point in by the triple integral \int\limits_0^ \int\limits_0^\pi \int\limits_0^\infty f(r, \theta, \varphi) r^2 \sin\theta \,\mathrmr \,\mathrm\theta \,\mathrm\varphi ~. The
del Del, or nabla, is an operator used in mathematics (particularly in vector calculus) as a vector differential operator, usually represented by the nabla symbol ∇. When applied to a function defined on a one-dimensional domain, it denotes ...
operator in this system leads to the following expressions for the
gradient In vector calculus, the gradient of a scalar-valued differentiable function f of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p gives the direction and the rate of fastest increase. The g ...
and
Laplacian In mathematics, the Laplace operator or Laplacian is a differential operator given by the divergence of the gradient of a scalar function on Euclidean space. It is usually denoted by the symbols \nabla\cdot\nabla, \nabla^2 (where \nabla is th ...
for scalar fields, \begin \nabla f &= \hat + \hat + \hat, \\ pt\nabla^2 f &= \left(r^2 \right) + \left(\sin\theta \right) + \\ pt& = \left(\frac + \frac \frac\right) f + \left(\sin\theta \frac\right) f + \frac\fracf ~, \\ pt\endAnd it leads to the following expressions for the
divergence In vector calculus, divergence is a vector operator that operates on a vector field, producing a scalar field giving the rate that the vector field alters the volume in an infinitesimal neighborhood of each point. (In 2D this "volume" refers to ...
and curl of vector fields, \nabla \cdot \mathbf = \frac\left( r^2 A_r \right) + \frac \left( \sin\theta A_\theta \right) + \frac ,\begin \nabla \times \mathbf = & \frac \left \left( A_\varphi\sin\theta \right) - \right\hat \\ pt& + \frac 1 r \left - \left( r A_\varphi \right) \right\hat \\ pt& + \frac 1 r \left \left( r A_\theta \right) - \right\hat, \end Further, the inverse Jacobian in Cartesian coordinates is J^ = \begin \dfrac&\dfrac&\dfrac\\\\ \dfrac&\dfrac&\dfrac\\\\ \dfrac&\dfrac&0 \end. The
metric tensor In the mathematical field of differential geometry, a metric tensor (or simply metric) is an additional structure on a manifold (such as a surface) that allows defining distances and angles, just as the inner product on a Euclidean space allows ...
in the spherical coordinate system is g = J^T J .


Distance in spherical coordinates

In spherical coordinates, given two points with being the azimuthal coordinate \begin &= (r,\theta,\varphi), \\ &= (r',\theta',\varphi') \end The distance between the two points can be expressed as \begin &= \sqrt \end


Kinematics

In spherical coordinates, the position of a point or particle (although better written as a triple(r,\theta, \varphi)) can be written as \mathbf = r \mathbf . Its velocity is then \mathbf = \frac = \dot \mathbf + r\,\dot\theta\,\hat + r\,\dot\varphi \sin\theta\,\mathbf and its acceleration is \begin \mathbf = & \frac \\ ex= & \hphantom\; \left( \ddot - r\,\dot\theta^2 - r\,\dot\varphi^2\sin^2\theta \right)\mathbf \\ & + \left( r\,\ddot\theta + 2\dot\,\dot\theta - r\,\dot\varphi^2\sin\theta\cos\theta \right) \hat \\ & + \left( r\ddot\varphi\,\sin\theta + 2\dot\,\dot\varphi\,\sin\theta + 2 r\,\dot\theta\,\dot\varphi\,\cos\theta \right) \hat \end The angular momentum is \mathbf = \mathbf \times \mathbf = \mathbf \times m\mathbf = m r^2 \left(- \dot\varphi \sin\theta\,\mathbf + \dot\theta\,\hat\right) Where m is mass. In the case of a constant or else , this reduces to vector calculus in polar coordinates. The corresponding angular momentum operator then follows from the phase-space reformulation of the above, \mathbf= -i\hbar ~\mathbf \times \nabla =i \hbar \left(\frac \frac - \hat \frac\right). The torque is given as \mathbf = \frac = \mathbf \times \mathbf = -m \left(2r\dot\dot\sin\theta + r^2\ddot\sin + 2r^2\dot\dot\cos \right)\hat + m \left(r^2\ddot + 2r\dot\dot - r^2\dot^2\sin\theta\cos\theta \right) \hat The kinetic energy is given as E_k = \fracm \left \left(\dot\right)^2 + \left(r\dot\right)^2 + \left(r\dot\sin\theta\right)^2 \right


See also

* * * * * * * * * * * * * * *


Notes


References


Bibliography

* * * * * * *


External links

*
MathWorld description of spherical coordinates


{{Orthogonal coordinate systems Orthogonal coordinate systems Three-dimensional coordinate systems fi:Koordinaatisto#Pallokoordinaatisto