@@ -62,7 +62,7 @@ system makes mathematics easier. For example, if you want to describe vibrations
...
@@ -62,7 +62,7 @@ system makes mathematics easier. For example, if you want to describe vibrations
circular drum, polar coordinates become very convenient. These are
circular drum, polar coordinates become very convenient. These are
defined for a two-dimensional space (a plane). The position on this plane is characterised by two
defined for a two-dimensional space (a plane). The position on this plane is characterised by two
coordinates: the *distance* $r$ between the point and the origin, and by the
coordinates: the *distance* $r$ between the point and the origin, and by the
angle ($\varphi$) between the line connecting the point to the origin and the $x$-axis.
angle ($\varphi$) between the line connecting the point to the origin and the $x$-axis. The radius is therefore always a non-negative number $r \geq 0$, and the range for the polar angle is $\varphi \in \left< 0,2\pi \right)$
Note that each Cartesian coordinate has a *dimension* of length.
Note that each Cartesian coordinate has a *dimension* of length.
In polar coordinates, the radius $r$ has a dimension of *length*, but
In polar coordinates, the radius $r$ has a dimension of *length*, but
...
@@ -247,7 +247,7 @@ problem.
...
@@ -247,7 +247,7 @@ problem.
Cylindrical coordinates are defined straightforwardly: we use polar
Cylindrical coordinates are defined straightforwardly: we use polar
coordinates $r$ and $\varphi$ in the $xy$ plane, and the distance $z$
coordinates $r$ and $\varphi$ in the $xy$ plane, and the distance $z$
along the symmetry-axis as the third coordinate. If the axis system is
along the symmetry-axis as the third coordinate. The radius is therefore again always defined as a non-negative number $r \in \left<0, \infty \right)$, and the range for the azimuthal angle is analogically $\varphi \in \left< 0,2\pi \right)$. The *height* $z$ along the cylinder axis can take any real value, hence $z \in \mathbb{R}$ . If the axis system is
chosen in physical space, we have two coordinates which have the
chosen in physical space, we have two coordinates which have the
dimension of a distance: $r$ and $z$. The other coordinate,
dimension of a distance: $r$ and $z$. The other coordinate,
$\varphi$ is of course dimensionless.
$\varphi$ is of course dimensionless.
...
@@ -283,30 +283,35 @@ sphere which is centered at the origin:
...
@@ -283,30 +283,35 @@ sphere which is centered at the origin:
<figuremarkdown>
<figuremarkdown>


<figcaption>The position of a point on the sphere is specified using the radius $r$ and two angles
<figcaption>The position of a point on the sphere is specified using the radius $r$ and two angles (azimuthal)
$\theta$ and $\phi$</figcaption>
$\varphi$ and (polar) $\theta$ in the given order </figcaption>
</figure>
</figure>
!!! warning "Parameter ranges in spherical coordinates"
- The radius ($r$) is defined for $r \in \left<0,\infty\right)$</br>
- The azimuthal angle ($\varphi$) has the range of $\varphi \in \left<0,2\pi\right)$</br>
- The polar angle ($\theta$) has the range $\theta \in \left<0,\pi\right>$
!!! warning
!!! warning
In mathematics, the angles are often labeled the other way
In mathematics, the angles are often labeled the other way
around: there, $\phi$ is used for the angle between a line running from
around: there, $\varphi$ is used for the angle between a line running from
the origin to the point of interest and the $z$-axis, and $\theta$ for
the origin to the point of interest and the $z$-axis, and $\theta$ for
the angle of the projection of that line with the $x$-axis. The
the angle of the projection of that line with the $x$-axis. The
convention used here is customary in physics.
convention used here is customary in physics.
The relation between Cartesian and spherical coordinates is defined by:
The relation between Cartesian and spherical coordinates is defined by:
!!! info "The relation between Cartesian and spherical coordinates"
!!! info "The relation between Cartesian and spherical coordinates"
$$x = r \cos \varphi \sin \vartheta$$
$$x = r \cos \varphi \sin \theta$$
$$y = r \sin\varphi \sin \vartheta$$ $$z = r \cos\vartheta$$
$$y = r \sin\varphi \sin \theta$$ $$z = r \cos\theta$$
The inverse transformation is easy to find:
The inverse transformation is easy to find:
!!! info "The inverse relation between Cartesian and spherical coordinates"
!!! info "The inverse relation between Cartesian and spherical coordinates"
$$r = \sqrt{x^2+y^2+z^2}$$
$$r = \sqrt{x^2+y^2+z^2}, \qquad r \in \left<0, \infty \right)$$
$$\theta = \arccos(z/\sqrt{x^2+y^2+z^2})$$
$$\varphi = \begin{cases} \arctan(y/x) &{\rm for ~} x>0; \\
$$\phi = \begin{cases} \arctan(y/x) &{\rm for ~} x>0; \\
\pi + \arctan(y/x) & {\rm for ~} x<0{\rm~and~}y>0;\\
\pi + \arctan(y/x) & {\rm for ~} x<0{\rm~and~}y>0;\\
-\pi + \arctan(y/x) &{\rm for ~} x<0 {\rm ~ and ~} y<0.
-\pi + \arctan(y/x) &{\rm for ~} x<0 {\rm ~ and ~} y<0.