Assume \(G\) is one-to-one on the interior of \(\mathcal{R}\subseteq\R^3\text{,}\) and let \(\mathcal{S}=G(\mathcal{R})\) be the image under \(G\text{.}\) If \(f\) is continuous on the interior of \(\mathcal{R}\text{,}\) then by TheoremĀ 1.6.6 we have
\begin{align}
\iiint\limits_\mathcal{S}f(x,y,z)\, dV \amp =\iiint\limits_\mathcal{R}f(\rho\sin\phi\cos\theta, \rho\sin\phi\sin\theta, \rho\cos\phi) \, \rho^2 \abs{\sin\phi}\, dV \tag{1.8.7}\\
\amp = \iiint\limits_\mathcal{R}f(\rho\sin\phi\cos\theta, \rho\sin\phi\sin\theta, \rho\cos\phi) \, \rho^2 \sin\phi\, dV
\amp (\text{assuming } 0\leq \phi\leq \pi)\text{.}\tag{1.8.8}
\end{align}
Procedure1.8.3.Integrating using spherical change of variables.
When computing an integral \(\iiint\limits_Df(x,y,z)\, dV\) using a spherical change of variables, we often end up describing the corresponding region in \(\rho\phi\theta\)-space in type-B form. In this case, proceed as follows.
Sketch.
Sketch \(D\) along with its projection \(\mathcal{R}\) onto the \(xy\)-plane.
\(\rho\)-limits of integration.
For each \(\phi\in [0,\pi]\) and \(\theta\in [0,2\pi]\text{,}\) let \(R_{\phi,\theta}\) be the ray through the origin that makes an angle of \(\phi\) with the positive \(z\)-axis, and whose projection on the \(xy\)-plane makes an angle of \(\theta\) with the positive \(x\)-axis. The \(\rho\)-values of the points where the ray \(R_{\phi,\theta}\) enters and leaves \(D\) give us our \(\rho\)-bounds \(p_1(\phi,\theta)\leq \rho\leq p_2(\phi,\theta)\text{.}\)
\(\phi\)-limits of integration.
For each \(\theta\in [0,2\pi]\text{,}\) as we let \(\phi\) vary the ray \(R_{\phi,\theta}\) sweeps through \(D\text{.}\) The \(\phi\) values \(g_1(\theta), g_2(\theta)\) of the points where the sweeping ray enters and leaves \(D\) give us our \(\phi\)-bounds \(g_1(\theta)\leq \phi\leq g_2(\theta)\text{.}\)
\(\theta\)-limits of integration.
As we let \(\theta\) vary, the ray \(L_\theta\) in the \(xy\)-plane making an angle of \(\theta\) with the positive \(x\)-axis rotates around the \(z\)-axis and sweeps across \(\mathcal{R}\text{.}\) The \(\theta\)-values \(\theta_1, \theta_2\) of the points where the sweeping ray enters and leaves \(\mathcal{R}\) give us our \(\theta\)-bounds \(\theta_1\leq \theta\leq \theta_2\text{.}\)
Integrate.
Use cylindrical substitution and Fubini's theorem to conclude
Example1.8.5.Average distance over a solid sphere.
Compute the average distance to the origin of points \((x,y,z)\) lying within the sphere \(x^2+y^2+z^2= R^2\text{,}\) where \(R\) is a fixed positive constant.
Let \(D\) be the region lying within the sphere. Observe that the function in question is \(f(x,y,z)=\sqrt{x^2+y^2+z^2}\text{.}\) In spherical coordinates the solid sphere is described as
Let \(D\) be the region lying above the cone \(z=\sqrt{x^2+y^2}\) and within the sphere \(x^2+y^2+(z-R)^2=R^2\text{,}\) where \(R\) is a fixed positive constant. Compute the volume of \(D\) as a triple integral.
First we convert the equation \(z=\sqrt{x^2+y^2}\) defining the cone into spherical coordinates with the help of the auxiliary equations (1.8.4)ā(1.8.5):
We see that for a point to lie within the cone \(z=\sqrt{x^2+y^2}\) we need \(0\leq \phi\leq \pi/4\text{.}\) Next, we describe the given sphere in spherical coordinates: