Find the volume of the solid $\mathcal{S}$ enclosed laterally by the paraboloids $\mathcal{P}_1$ of equation $z = x^2 + y^2$ and $\mathcal{P}_2$ of equation $z = 3(x^2 + y^2)$ and from above by the plane $z = 1$ using spherical Coordinates. How one may set the limits of integration of the spherical coordinates?
Now, for a solid bounded below by paraboloid $z=a^2(x^2+y^2)$ for $a>0$, and above by plane $z=1$, the volume can be obtained and it is equal to $\dfrac{\pi}{2a^2}$. Using this result we can get the volume of the solid $\mathcal{S}$ and obtain that $$ V(\mathcal{S})=V_{\mathcal{P}_1}-V_{\mathcal{P}_2}=\dfrac{\pi}{2 \times 1}-\dfrac{\pi}{2\times 3}=\dfrac{\pi}{3}. $$ But, how one can obtain the volume of $S$ using spherical coordinates?
There are two components of the integral that must be considered:
When $\rho$ varies between the inner and outer paraboloid
When $\rho$ varies between the inner paraboloid and the plane $z=1$.
We consider these cases separately.
First, we transform the boundary surfaces into spherical coordinates. $z=1$ becomes $\rho \cos\phi = 1$, so $\rho = \sec \phi$. For $z = x^2 + y^2$, we have $\rho \cos \phi = \rho^2 \sin^2\phi$, so $\rho = \cot\phi \csc\phi$. Similarly, for $z = 3(x^2 + y^2)$, we have $\rho = \frac{1}{3}\cot\phi \csc\phi$. These will form the bounds on $\rho$ in our triple integrals.
We now need to find the bounds on $\phi$. The plane intersects the inner paraboloid at the point $(r,z) = (1/\sqrt{3},1)$, where $r^2 = x^2+y^2$. Recalling that $z = \rho \cos \phi$ and $r = \rho \sin \phi$, we then have $\phi = \tan^{-1}(1/\sqrt{3}) = \frac{\pi}{6}$. Using a similar calculation for the outer paraboloid, we find this intersection at $\phi = \frac{\pi}{4}$. This range corresponds to case (2) and case (1) is given by $\phi\in[\pi/4,\pi/2]$ where we vary from the plane intersection with the outer paraboloid all the way down to the $xy$-plane.
We then have
$$ V = \int_0^{2\pi}\int_{\frac{\pi}{6}}^{\frac{\pi}{4}}\int_{\frac{1}{3}\cot\phi \csc\phi}^{\sec \phi} \rho^2\sin\phi~\mathrm{d}\rho \mathrm{d}\phi \mathrm{d}\theta + \int_0^{2\pi}\int_{\frac{\pi}{4}}^{\frac{\pi}{2}}\int_{\frac{1}{3}\cot\phi \csc\phi}^{\cot\phi \csc\phi} \rho^2\sin\phi~\mathrm{d}\rho \mathrm{d}\phi \mathrm{d}\theta. $$