Spherical polar coordinates: Difference between revisions
imported>Paul Wormer |
imported>Paul Wormer No edit summary |
||
Line 1: | Line 1: | ||
[[Image:Spherical polar.png|right|thumb|250px|Spherical polar coordinates]] | [[Image:Spherical polar.png|right|thumb|250px|Spherical polar coordinates]] | ||
In [[mathematics]] and [[physics]], '''spherical polar coordinates''' form a coordinate system for the three-dimensional real space <math>\scriptstyle \mathbb{R}^3</math>. Three numbers, two angles and a length specify any point in <math>\scriptstyle \mathbb{R}^3</math>. | In [[mathematics]] and [[physics]], '''spherical polar coordinates''' (also known as '''spherical coordinates''') form a coordinate system for the three-dimensional real space <math>\scriptstyle \mathbb{R}^3</math>. Three numbers, two angles and a length specify any point in <math>\scriptstyle \mathbb{R}^3</math>. The two angles specify the position on the surface of a sphere and the length gives the radius of the sphere. | ||
Spherical polar coordinates are useful in cases where there is (approximate) spherical symmetry, in interactions or in boundary conditions (or in both). In such cases spherical polar coordinates often allow the [[separation of variables]] simplifying the solution of [[partial differential equations]] and the evaluation of three-dimensional [[integrals]]. | |||
==Definition== | ==Definition== | ||
Let ''x'', ''y'', ''z'' be Cartesian | Let ''x'', ''y'', ''z'' be [[Cartesian coordinate]]s of a vector <math>\scriptstyle \vec\mathbf{r}</math> in <math>\scriptstyle \mathbb{R}^3</math>, that is, | ||
:<math> | :<math> | ||
\vec\mathbf{r} = (\vec\mathbf{e}_x, \, \vec\mathbf{e}_y, \, \vec\mathbf{e}_z) | \vec\mathbf{r} = (\vec\mathbf{e}_x, \, \vec\mathbf{e}_y, \, \vec\mathbf{e}_z) | ||
Line 11: | Line 13: | ||
x\,\vec\mathbf{e}_x + y\,\vec\mathbf{e}_y + z\, \vec\mathbf{e}_z, | x\,\vec\mathbf{e}_x + y\,\vec\mathbf{e}_y + z\, \vec\mathbf{e}_z, | ||
</math> | </math> | ||
where <math>\scriptstyle \vec\mathbf{e}_x, \, \vec\mathbf{e}_y, \, \vec\mathbf{e}_z </math> are unit vectors along the ''x'', ''y'', and ''z'' axis, respectively. | where <math>\scriptstyle \vec\mathbf{e}_x, \, \vec\mathbf{e}_y, \, \vec\mathbf{e}_z </math> are unit vectors along the ''x'', ''y'', and ''z'' axis, respectively. The ''x'', ''y'', and ''z'' axes are orthogonal and so are the unit vectors along them. | ||
The length ''r'' of the vector <math>\scriptstyle \vec\mathbf{r}</math> is one of the three numbers necessary to give the position of the vector in three-dimensional space. By applying the theorem of [[Pythagoras]] | The length ''r'' of the vector <math>\scriptstyle \vec\mathbf{r}</math> is one of the three numbers necessary to give the position of the vector in three-dimensional space. By applying twice the theorem of [[Pythagoras]] we find that ''r''<sup>2</sup> = ''x''<sup>2</sup> + ''y''<sup>2</sup> + ''z''<sup>2</sup>. | ||
Let θ be the ''colatitude angle'' (see the figure) of the vector <math>\scriptstyle \vec\mathbf{r}</math>. In the usual | Let θ be the ''colatitude angle'' (see the figure) of the vector <math>\scriptstyle \vec\mathbf{r}</math>. In the usual system to describe a position on Earth, ''latitude'' has its zero at the equator, while the colatitude angle, introduced here, has its zero at the "North Pole". That is, the angle θ is zero when <math>\scriptstyle \vec\mathbf{r}</math> is along the positive ''z''-axis. The sum of latitude and colatitude of a point is 90<sup>0</sup>; these angles being complementary explains the name of the latter. | ||
The angle φ gives the angle with the ''x''-axis of the projection <math>\scriptstyle \vec\mathbf{r}'</math> of <math>\scriptstyle \vec\mathbf{r}</math> on the ''x-y'' plane. | The angle φ gives the angle with the ''x''-axis of the projection <math>\scriptstyle \vec\mathbf{r}'</math> of <math>\scriptstyle \vec\mathbf{r}</math> on the ''x-y'' plane. | ||
The angle φ is the ''longitude angle'' (also known as the ''azimuth angle''). | The angle φ is the ''longitude angle'' (also known as the ''azimuth angle''). | ||
Note that the projection <math>\scriptstyle \vec\mathbf{r}'</math> has length ''r''sinθ. The length of the projection of | Note that the projection <math>\scriptstyle \vec\mathbf{r}'</math> has length ''r'' sinθ. The length of the projection of <math>\scriptstyle \vec\mathbf{r}'</math> on the ''x'' and ''y'' axis is therefore ''r'' sinθcosφ and ''r'' sinθsinφ, respectively. In summary, the spherical polar coordinates ''r'', θ, and φ of <math>\scriptstyle \vec\mathbf{r}</math> are related to its Cartesian coordinates by | ||
:<math> | :<math> | ||
\begin{align} | \begin{align} | ||
Line 29: | Line 31: | ||
</math> | </math> | ||
Given a spherical polar triplet (''r'', θ, φ) the corresponding Cartesian coordinates | Given a spherical polar triplet (''r'', θ, φ) the corresponding Cartesian coordinates | ||
are readily obtained by application of these defining equations | are readily obtained by application of these defining equations. | ||
The | The figure makes clear that 0<sup>0</sup> ≤ φ ≤ 360<sup>0</sup>, 0<sup>0</sup> ≤ θ ≤ 180<sup>0</sup>, and ''r'' > 0. The coordinate surfaces are: | ||
# ''r'' constant, all θ and φ: surface of sphere. | |||
# θ constant, all ''r'' and φ: surface of a cone. | |||
# φ constant, all ''r'' and θ: plane. | |||
Two other points of indeterminacy are the "North" and the "South Pole", θ = 0<sup>0</sup> and θ = 180<sup>0</sup>, respectively (while ''r'' ≠ 0). On both poles the longitudinal angle φ is undetermined. | The computation of spherical polar coordinates from Cartesian coordinates is somewhat more difficult than the converse, due to the fact that the spherical polar coordinate system has singularities, also known as points of indeterminacy. The first such point is immediately clear: if ''r'' = 0, we have a zero vector (a point in the origin). Then θ and φ are undetermined, that is to say, any values for these two parameters will give the correct result ''x'' = ''y'' = ''z'' = 0. Compare this to the case that one of the Cartesian coordinates is zero, say ''x'' = 0, then the other two coordinates are still determined (they fix a point in the ''yz''-plane). Two other points of indeterminacy are the "North" and the "South Pole", θ = 0<sup>0</sup> and θ = 180<sup>0</sup>, respectively (while ''r'' ≠ 0). On both poles the longitudinal angle φ is undetermined. | ||
So, when going from Cartesian coordinates to spherical polar coordinates, one has to watch for the singularities, especially when the transformation is performed by a computer program. | So, when going from Cartesian coordinates to spherical polar coordinates, one has to watch for the singularities, especially when the transformation is performed by a computer program. | ||
Given ''x'', ''y'' and ''z'', the consecutive steps are | |||
:<math> | :<math> | ||
\begin{align} | \begin{align} | ||
Line 51: | Line 54: | ||
</math> | </math> | ||
==Other conventions== | |||
'''(To be continued)''' | '''(To be continued)''' | ||
Revision as of 06:04, 15 January 2008
In mathematics and physics, spherical polar coordinates (also known as spherical coordinates) form a coordinate system for the three-dimensional real space . Three numbers, two angles and a length specify any point in . The two angles specify the position on the surface of a sphere and the length gives the radius of the sphere.
Spherical polar coordinates are useful in cases where there is (approximate) spherical symmetry, in interactions or in boundary conditions (or in both). In such cases spherical polar coordinates often allow the separation of variables simplifying the solution of partial differential equations and the evaluation of three-dimensional integrals.
Definition
Let x, y, z be Cartesian coordinates of a vector in , that is,
where are unit vectors along the x, y, and z axis, respectively. The x, y, and z axes are orthogonal and so are the unit vectors along them.
The length r of the vector is one of the three numbers necessary to give the position of the vector in three-dimensional space. By applying twice the theorem of Pythagoras we find that r2 = x2 + y2 + z2.
Let θ be the colatitude angle (see the figure) of the vector . In the usual system to describe a position on Earth, latitude has its zero at the equator, while the colatitude angle, introduced here, has its zero at the "North Pole". That is, the angle θ is zero when is along the positive z-axis. The sum of latitude and colatitude of a point is 900; these angles being complementary explains the name of the latter.
The angle φ gives the angle with the x-axis of the projection of on the x-y plane. The angle φ is the longitude angle (also known as the azimuth angle).
Note that the projection has length r sinθ. The length of the projection of on the x and y axis is therefore r sinθcosφ and r sinθsinφ, respectively. In summary, the spherical polar coordinates r, θ, and φ of are related to its Cartesian coordinates by
Given a spherical polar triplet (r, θ, φ) the corresponding Cartesian coordinates are readily obtained by application of these defining equations.
The figure makes clear that 00 ≤ φ ≤ 3600, 00 ≤ θ ≤ 1800, and r > 0. The coordinate surfaces are:
- r constant, all θ and φ: surface of sphere.
- θ constant, all r and φ: surface of a cone.
- φ constant, all r and θ: plane.
The computation of spherical polar coordinates from Cartesian coordinates is somewhat more difficult than the converse, due to the fact that the spherical polar coordinate system has singularities, also known as points of indeterminacy. The first such point is immediately clear: if r = 0, we have a zero vector (a point in the origin). Then θ and φ are undetermined, that is to say, any values for these two parameters will give the correct result x = y = z = 0. Compare this to the case that one of the Cartesian coordinates is zero, say x = 0, then the other two coordinates are still determined (they fix a point in the yz-plane). Two other points of indeterminacy are the "North" and the "South Pole", θ = 00 and θ = 1800, respectively (while r ≠ 0). On both poles the longitudinal angle φ is undetermined.
So, when going from Cartesian coordinates to spherical polar coordinates, one has to watch for the singularities, especially when the transformation is performed by a computer program. Given x, y and z, the consecutive steps are
Other conventions
(To be continued)