Spherical polar coordinates: Difference between revisions

From Citizendium
Jump to navigation Jump to search
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>. Sperical 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]] in [[partial differential equations]] and three-dimensional [[integrals]] with spherically symmetric [[integrands]] simplify drastically when transformed to spherical polar coordinates.
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 coordinates of a vector <math>\scriptstyle \vec\mathbf{r}</math> in <math>\scriptstyle \mathbb{R}^3</math>, that is,
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. These axes are orthogonal and so are the unit vectors along them.
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]] twice it follows that ''r''<sup>2</sup> = ''x''<sup>2</sup> + ''y''<sup>2</sup> + ''z''<sup>2</sup>.  
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 &theta; be the ''colatitude angle'' (see the figure) of the vector <math>\scriptstyle \vec\mathbf{r}</math>. In the usual geographic coordinate system used to describe a position on  Earth the  corresponding latitude angle has its zero at the equator, while the colatitude angle, introduced here, has its zero at the  "North Pole", that is, the angle &theta; is zero when <math>\scriptstyle \vec\mathbf{r}</math> is along the positive ''z''-axis. The sum of latitude and colatitude angle of a point is 90<sup>0</sup>, the fact that the angles are complementary explains the name of the latter.  
Let &theta; 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 &theta; 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 &phi; 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 &phi; 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 &phi; is the ''longitude angle'' (also known as the ''azimuth angle'').  
The angle &phi; is the ''longitude angle'' (also known as the ''azimuth angle'').  


Note that  the projection <math>\scriptstyle \vec\mathbf{r}'</math> has length ''r''sin&theta;. The length of the projection of the latter vector on the ''x'' and ''y'' axis is therefore  ''r''sin&theta;cos&phi; and ''r''sin&theta;sin&phi;, respectively. In summary, the spherical polar coordinates ''r'', &theta;, and &phi;  of <math>\scriptstyle \vec\mathbf{r}</math> are related to its Cartesian coordinates by
Note that  the projection <math>\scriptstyle \vec\mathbf{r}'</math> has length ''r'' sin&theta;. The length of the projection of <math>\scriptstyle \vec\mathbf{r}'</math> on the ''x'' and ''y'' axis is therefore  ''r'' sin&theta;cos&phi; and ''r'' sin&theta;sin&phi;, respectively. In summary, the spherical polar coordinates ''r'', &theta;, and &phi;  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'', &theta;, &phi;) the corresponding Cartesian coordinates
Given a spherical polar triplet (''r'', &theta;, &phi;) the corresponding Cartesian coordinates
are readily obtained by application of these defining equations. The figure makes clear that
are readily obtained by application of these defining equations.  
0<sup>0</sup> &le; &phi; &le; 360<sup>0</sup>, 0<sup>0</sup> &le; &theta; &le; 180<sup>0</sup>,
and ''r'' > 0.


The computation of spherical polar coordinates from a given triplet of Cartesian coordinates is somewhat more difficult 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 &theta; and &phi; are undetermined, that is to say, any value for these two parameters will give the correct answer ''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).  
The figure makes clear that 0<sup>0</sup> &le; &phi; &le; 360<sup>0</sup>, 0<sup>0</sup> &le; &theta; &le; 180<sup>0</sup>, and ''r'' > 0. The coordinate surfaces are:  
# ''r'' constant, all &theta; and &phi;: surface of sphere.
# &theta; constant, all ''r'' and &phi;: surface of a cone.
# &phi; constant, all ''r'' and  &theta;: plane.


Two other points of indeterminacy are the "North" and the "South Pole", &theta; = 0<sup>0</sup> and &theta; = 180<sup>0</sup>, respectively (while ''r'' &ne; 0). On both poles the longitudinal angle &phi; 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 &theta; and &phi; 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", &theta; = 0<sup>0</sup> and &theta; = 180<sup>0</sup>, respectively (while ''r'' &ne; 0). On both poles the longitudinal angle &phi; 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.
The steps are
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

Spherical polar coordinates

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:

  1. r constant, all θ and φ: surface of sphere.
  2. θ constant, all r and φ: surface of a cone.
  3. φ 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)