Section6.4Application: Spherical and Cylindrical Coordinates
Sometimes it is useful to work with other `coordinates' than Cartesian coordinates. The most commonly used such coordinates are spherical and cylindrical coordinates. We want to see how to integrate functions given in these coordinates. As for the polar coordinates in Section 5.4 we need to compute the corresponding Jacobian determinant.
Subsection6.4.1Spherical Coordinates
A point in space can be determined by giving the distance, \(r\text{,}\) from the origin and two angles, \(\theta\) and \(\varphi\text{,}\) as shown in Figure 6.7. For every point off the \(z\)-axis the triple \((r,\theta,\varphi)\) is uniquely determined if we choose \(r>0\text{,}\)\(\theta\in[0,\pi]\) and \(\varphi\in[0,2\pi)\text{.}\) We call \(r,\theta,\varphi\) the spherical coordinates of the given point. Our notation follows the naming convention used in applied mathematics and mathematical physics.
The fact that \(J_{\vect g}(r,\theta,\varphi)\) is positive for all \(\theta\in(0,\pi)\) tells us that the change of variables preserves the orientation of the coordinate systems, and that is why we take the variables in the order \((r,\theta,\varphi)\text{.}\) Hence we have the following lemma, providing the Jacobian determinant for spherical coordinates.
Sometimes, spherical coordinates are defined measuring the angle \(\theta\) not from the \(z\)-axis but from the \(xy\)-plane. If done so then \(\theta\in[-\pi/2,\pi/2]\text{,}\) and
\begin{align*}
x \amp =r\cos\varphi\cos\theta\\
y \amp =r\sin\varphi\cos\theta\\
z \amp =r\sin\theta\text{.}
\end{align*}
Moreover, the corresponding Jacobian determinant is \(J_{\vect g}(r,\varphi,\theta)=r^2\cos\theta\text{.}\)
Example6.10.
Compute the volume of a ball of radius \(R\) in \(\mathbb R^3\text{.}\)
In polar coordinates we can describe the ball, \(B\text{,}\) of radius \(R\) as the set of all \((r,\theta,\varphi)\) for which \(r\in [0,R]\text{,}\)\(\varphi\in[0,2\pi]\) and \(\theta\in[0,\pi]\text{.}\) Hence, applying Fubini's theorem and the formula for spherical coordinates, the volume of the ball is
Given a point in space we can express the first two coordinates in polar coordinates, \((r,\varphi)\text{,}\) and leave the third one, \(z\text{,}\) as shown in Figure 6.11.
Choosing \(r>0\) and \(\varphi\in[0,2\pi)\) the triple \((r,\varphi,z)\) is uniquely determined for every point not on the \(z\)-axis. We call \(r,\varphi,z\) the cylindrical coordinates of a point. Looking at Figure 6.11 we can express \(x,y,z\) by
\begin{align*}
x \amp =r\cos\varphi\\
y \amp =r\sin\varphi\\
z \amp =z
\end{align*}