the professor of our integration class gave us the following exercise as an assignment:
Determine the measure in $\mathbb{R}^3$ of $A=\{(x,y,z) \in \mathbb{R}^3 ,x^2+y^2+z^2-2x+2z\leq0\leq x^2-y^2-z^2 \}$
That is, the volumen resulting of the solid bounded by the sphere of center $(1,0,-1)$ and radius $\sqrt{2}$ and the cone $x^2=y^2+z^2$. Due to the lack of spherical/cylindrical symmetry (at least at a first glance), I have tried to come up with a solution using cartesian coordinates.
First of all, plotting the section for $y=0$, it can be geometrically argued that $x \in [0,1+\sqrt{2}]$. The following idea is to study the transversal sections for each value of $x \in [0,1+\sqrt{2}]$. Fix $x \in [0,1+\sqrt{2}]$, then the resulting section is the surface bounded by the equations $y^2+(z+1)^2=2-(z-1)^2$ and $y^2+z^2=x^2$. Solving this system of equations on $(y,z)$ we deduce that the solution exists for $0\leq x \leq 2$ and for each such $x$ there are exactly two solutions: $(-\sqrt{2x^3-x^4},x-x^2),(\sqrt{2x^3-x^4},x-x^2)$.
Therefore, for a fixed $x \in [0,2]$ we have that $y \in [-\sqrt{2x^3-x^4},\sqrt{2x^3-x^4}]$ as the intersetion points of the circunferences are the extreme possible values for the $y$. Then, be must set the integration limits for $z$: it's easy to see that $z \in [-\sqrt{x^2-y^2},-1+\sqrt{2-(x-1)^2-y^2}]$ as it's bounded below by the cone and bounded above by the sphere.
On the other hand, for $x \in [2,1+\sqrt{2}]$ we have no intersections in the transversal sections. Therefore, the circle corresponding to a cut of the sphere is completely inside the cut corresponding the cone. Therefore, in this case we have to integrate for each $x$ a circle of radius $\sqrt{2-(x-1)^2}$. Summing it all up, we conclude that
$$ m_3(A) = \int_0^{2} dx \int_{-\sqrt{2x^3-x^4}}^{\sqrt{2x^3-x^4}}dy \int_{-\sqrt{x^2-y^2}}^{-1+\sqrt{2-(x-1)^2-y^2}} dz + \int_2^{1+\sqrt{2}} dx \pi (2-(x-1)^2) $$
I can't find any incongruence with my reasoning and my (limited) geometric intuition makes me think I'm correct. However, as the resulting integral seems to be hard to compute, makes me think that either there's an error in my procedure or that there's a simpler/straightforward way of handling the problem. Any suggestion or objection is always welcome.