I want to compute the volume given by: $$ D = \{ (x,y,z) \in \mathbb{R}^{3} : x^2 + y^2 + z^2 \leq 1, y^2 + z^2 \leq x^2 \} $$
Which acording to Geogebra looks like: Plot of D (Sorry guys, I tried to add some fancy plot of $ D $, but it looks like I am not allowed to show images).
In other words, I want to compute the 3D integral: $$ \int_{D} 1 dA $$
So, I used spherical coordinates and setup the integral in the following way:
$$ 2 \int_{0}^{1} \int_{0}^{\pi/2} \int_{0}^{\pi/2} r^2 \sin\theta \, d\varphi \, d\theta \, dr \tag{*} $$
Where $ 0 \leq \varphi \leq 2\pi $ and $ 0 \leq \theta \leq \pi $.
My explanation:
First, I reduce the problem to compute only one volume and duplicate it, to get the whole volume of $ D $. Then: the integral depeding of $ r $ is clear because of the sphere. The integral depending of $ \theta $ and the integral depending of $ \varphi $ have to have the same interval because the conic surface is simetric in $ y $ and $ z $ coordinates. At first, I tried to write it down just like: $$ 2 \int_{0}^{1} \int_{-\pi/4}^{\pi/4} \int_{-\pi/4}^{\pi/4} r^2 \sin\theta \, d\varphi \, d\theta \, dr $$ but then I remembered that both angles have to be positive. So I think that the volume of the function $ f(x,y,z) = 1 $ in $ [-\pi/4,\pi/4] $ is the same that in $ [0,\pi/2] $. Is it right? $ \tag{**} $
My questions:
Is the integral $ (*) $ right? Does it really compute the volume of $ D $?
Is my explanation correct?
Is $ (**) $ true?
At the moment, I just want to know if everything is fine, so I can compute the value of the integral. But my dificulties are the ones I presented before, so I appreciate if you can answer my questions.