Spherical polar coordinates: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Paul Wormer
No edit summary
imported>Paul Wormer
Line 15: Line 15:
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 the theorem of [[Pythagoras]] twice it follows 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 latitute 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>, which 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  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.  


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 ''azimuthal 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 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
Line 29: Line 29:
</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.  
are readily obtained by application of these defining equations. 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 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 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).  
Line 40: Line 42:
\begin{align}
\begin{align}
r  &= \sqrt{x^2+y^2+z^2} \\
r  &= \sqrt{x^2+y^2+z^2} \\
\theta &= \arccos(z/r) \quad r \ne 0 \\  
\theta &= \arccos(z/r), \quad r \ne 0 \\  
r'  & = r \sin\theta \\
r'  & = r \sin\theta = \sqrt{x^2+y^2} \\
\phi & = \begin{cases}
\phi & = \begin{cases}
  \arccos(x/r')&\quad \hbox{if}\quad  y \ge 0\quad r' \ne 0  \\
  \arccos(x/r')&\quad \hbox{if}\quad  y \ge 0,\quad r' \ne 0  \\
  \arccos(x/r')+180^0&\quad \hbox{if}\quad  y < 0\quad r'\ne0   \\
  360^0 - \arccos(x/r')&\quad \hbox{if}\quad  y < 0,\quad r'\ne 0   \\
\end{cases}
\end{cases}
\end{align}
\end{align}

Revision as of 11:43, 14 January 2008

Spherical polar coordinates

In mathematics and physics, spherical polar coordinates form a coordinate system for the three-dimensional real space . Three numbers, two angles and a length specify any point in . 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.

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. These 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 the theorem of Pythagoras twice it follows that r2 = x2 + y2 + z2.

Let θ be the colatitude angle (see the figure) of the vector . 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 θ is zero when is along the positive z-axis. The sum of latitude and colatitude angle of a point is 900, the fact that the angles are 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 rsinθ. The length of the projection of the latter vector on the x and y axis is therefore rsinθcosφ and rsinθ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 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 θ and φ 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).

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. The steps are

(To be continued)