I want to integrate $\iiint_E z\,dx\,dy\,dz$ in $E=\lbrace(x,y,z) : x^2+y^2+z^2 \leq 4, z \leq 1 \rbrace$.
I want to split that triple integral in 3 integrals, but I don't see which the limits are.
I guess I have to do $x \leq \pm \sqrt{4-y^2-z^2}$ and integrate in $x$ between those limits (I don't know if this is correct) but then I get lost with the $y$ limits. If I let $z$ be the last variable I integrate, I suppose I can say that $z$ is between $-2$ and $1$, so that limits are easy.
What are the limits of the $y$ integral? And are the $x$ limits okay? Thanks in advance.
I will first tell you the easiest way which is using cylindrical coordinates.
$x^2+y^2 = r^2$ so $x^2+y^2+z^2 \leq 4 \implies r^2 \leq 4-z^2$
So the integral becomes,
$\displaystyle \int_0^{2\pi} \int_{-2}^{1} \int_0^{\sqrt{4-z^2}} r \ z \ dr \ dz \ d\theta$
Can you see why it is the simplest?
Also note that as $z$ is an odd function, its integral between $-1 \leq z \leq 1$ will be simply zero due to symmetry of the region wrt z-plane.
So integral between $-2 \leq z \leq -1$ will give you the same result. This point becomes important if you decide to use spherical coordinates for the integral.
If one is integrating for $z \leq 1$ using spherical coordinates, the integral must be split into two. In spherical coordinates,
$x = \rho \cos\theta \sin\phi, y = \rho \sin\theta \sin\phi, z = \rho \cos\phi$
At $z = 1, \rho = \sec \phi$ and to find upper bound of $\phi$, $1 = 2 \cos\phi \implies \phi = \frac{\pi}{3}$. So the integral becomes,
$\displaystyle \int_0^{2\pi} \int_0^{\pi/3} \int_{0}^{\sec\phi} \rho^3 \cos\phi \sin\phi \ d\rho \ d\phi \ d\theta + \int_0^{2\pi} \int_{\pi/3}^{\pi} \int_{0}^{2} \rho^3 \cos\phi \sin\phi \ d\rho \ d\phi \ d\theta$
Now as I mentioned earlier, you can simply write it as one integral between $-2 \leq z \leq -1$ and I will leave the set-up of that integral as an exercise for you.