Calculate the triple integral using spherical coordinates: $\int_C z^2dxdydz$ where C is the region in $R^3$ described by $1 \le x^2+y^2+z^2 \le 4$
Here's what I have tried:
My computation for $z$ is: $\sqrt{1-x^2-y^2} \le z \le \sqrt{4-x^2-y^2}$, as for y I get: $-\sqrt{1-x^2}\le y \le \sqrt{4-x^2}$ and for x I get: $1 \le x \le 2$
The triple integral becomes:
$$\int_{1}^2 dx \int_{-\sqrt{1-x^2}}^{\sqrt{1-x^2}}dy \int_{-\sqrt{1-x^2-y^2}}^{\sqrt{1-x^2-y^2}}z^2dz$$
The way I have pictured theta is as so:
Where The Red + Green is equal to $\frac{\pi}{2}$ But because we're only interested in the region from $1 \le x \le 2$ this covers only $\frac{\pi}{4}$
The integral becomes:
I presumed $\phi$ only goes from $\frac{\pi}{4}$ also, and we know that $r$ goes from $1\le r \le 2$
So the final integral becomes:
$$\int_0^{\frac{\pi}{4}} d\theta \int_0^{\frac{\pi}{4}} \cos^2(\phi)\sin(\phi) \space d\phi \int_1^2 r^4 dr$$
Because $z^2 = r^2 \cos^2(\phi)$
However my answer that I get is $2\pi(\sqrt{2}-4)$ but the answer should be $\frac{124\pi}{15}$. I would greatly appreciate the communities assistance


The region $C$ is $1 \le x^2+y^2+z^2 \le 4$, which is the entire region between spherical surfaces $x^2 + y^2 + z^2 = 1$ and $x^2 + y^2 + z^2 = 4$.
So clearly, $0 \leq \phi \leq \pi$ and $0 \leq \theta \leq 2 \pi$. Also, $ 1 \leq \rho \leq 2$.
So the integral should be,
$ \displaystyle \int_0^{2\pi} \int_0^{\pi} \int_1^2 \rho^4 \cos^2 \phi \sin \phi ~ d\rho ~ d\phi ~ d\theta$
Alternatively, for ease of calculation, note that due to symmetry of the region $C$, we must have
$ \displaystyle \int_C x^2 ~ dV = \int_C y^2 ~ dV = \int_C z^2 ~ dV$
So, $ ~ \displaystyle \int_C z^2 ~ dV = \frac{1}{3} \int_C (x^2 + y^2 + z^2) ~ dV$
$ \displaystyle = \frac{1}{3} \int_0^{2\pi} \int_0^{\pi} \int_1^2 \rho^4 \sin \phi ~ d \rho ~ d\phi ~ d\theta$