We can switch over from 2D Cartesian coordinates to a system of polar coordinates, as shown in Fig. 1.2
With coordinate transforms given by:
\[\begin{split}x &= r \cos(\theta) &\quad& r^2 = x^2 + y^2 \\
y &= r \sin(\theta) &\quad& \tan(\theta) = \frac{y}{x}\end{split}\]
We can see that the coordinates ranges here are \(r \in [0,\, \infty)\) and \(\theta \in [0,\,2\pi)\), although sometimes the range
\(\theta \in (-\pi,\,\pi]\) is used instead.
In doing so we can rewrite the coordinate vector and find the infinitesimal changes:
So 2D polar coordinates actually make up an orthonormal coordinate basis (orthongoal and normalised)
We can see these illustrated in
Fig. 1.3, where the \(\hat{\bf r},\, \hat{\bf \theta}\) coordinates can we see to be perpendicular
and from the definition we see that that they staisfy all the properties of Equation (1.1).
and therefore the area element \(\mathrm{d}A\) is given by:
In our discussion of vectors, we looked at the Cartesian coordinate system, which we can define in 3D using a system of basis vectors and the
diagram in Fig. 1.4 to indicate the right handed axis convention.
Here we see that the coordindates can take any value in \(x \in (\infty,\, \infty), \,y \in (\infty,\, \infty),\, z \in (\infty,\, \infty)\)
In three dimensions, we can continute a switch to polar coordinates, with one length \(r\) and two angles \(\theta,\, \phi\)
describing the three spatial dimensions \(x,\,y,\ z\):
\[\begin{split}x &= r \cos(\theta)\sin(\phi) \\
y &= r \sin(\theta)\sin(\phi) \\
z &= r \cos(\phi)\end{split}\]
so spherical polar coordinates also form an orthonormal coordinate basis.
Each coordinate here has a range, \(r \in [0,\, \infty)\), whereas the two angles here have \(\theta \in [0,\, 2\pi),\, \phi \in [0,\, \pi)\). It might be a little confusing why
the angles do not both go to \(2\pi\), however if we think about the going form \(\phi = 0 \rightarrow \phi = \pi\) this will form a semicircle. Rotating this around
\(\theta = 0\rightarrow \theta = 2\pi\) does give a full sphere - so only one of the two spherical angles should be up to \(\pi\) and the other up to \(2\pi\).
In this convention, the volume element \(\mathrm{d}V\) is given by:
We can see in Fig. 1.6 lines of constant \(r,\, \theta\) traced out along contour I, lines of constant \(\theta,\,\phi\) along contour II and
lines of constant \(r,\, \phi\) along contour III. These are usually called isobars in some contexts and level surfaces or level curves in other contexts.
We might imagine that both \(\theta\) and \(\phi\) should go to \(2\pi\) here, but if we consider first going from pole to pole (i.e. with increasing \(\phi\)),
this would trace out a semi-circle, which when rotated around the equator (i.e. increasing \(\theta\)) will trace out a full sphere.
This convention of angles is the one used most often in mathematics, although in physics a slightly different one is employed, as
illustrated in Fig. 1.7. In this system the azimuthal angle is switched with the polar angle, but the physical intutition
remains the same.
Sometimes it makes more sense to combine the rotation symmetry of polar coordinates with the rectilinear nature of 3D Cartesian coodiantes,
which results in a cylindrical coordinate system. Thus was have coordinate transforms of the form:
\[\begin{split}x &= r \cos(\theta)\\
y &= r \sin(\theta)\\
z &= z\end{split}\]
Here \(r \in [0,\, \infty),\, \theta \in [0,\, 2\pi),\, z \in (-\infty,\, \infty)\). Notice that in contrast to the spherical polar coordinate system,
the radial vector \(r\) is only the distance in the \(x-y\) plane. Sometimes this system is written in terms of \((\rho, \,\phi,\, z)\), but this is just a
variable relabelling.
To find the infinitesimal changes in the coordinates here we find: