We are given the elipsoid $$\frac{x^2}{a^2}+\frac{y^2}{b^2}+\frac{z^2}{c^2} \leq 1$$ with density function $$p(x,y,z)=x^2+y^2+z^2$$ Find the mass of the elipsoid.
I used the transformation $x=ar\sin\theta \cos\phi$, $y=br\sin \theta \sin \phi$ and $z=cr\cos\theta$. Spherical coordinates but I multiplied $x,y,z$ by $a,b,c$ respectively.
I calculate the jacobian of this transformation, it is $abcr^2\sin\theta$.
So the mass is $$\int_{0}^{2\pi} \int_{0}^{\pi}\int_{0}^{1}(a^2r^2\sin^2\theta \cos^2\phi+b^2r^2\sin^2 \theta \sin ^2\phi+c^2r^2\cos^2 \theta)abcr^2\sin\theta drd\theta d\phi$$
But I'm having trouble calculating this integral. I thought maybe we can use that $$\sin^2x+\cos^2x=1$$ but because the coefficients are different it's difficult to use that here. How would I calculate this integral?
Hint: There's absolutely no reason to fear this integral. It'll start to look less terrifying if you break it down into more manageable bitesize bits. Start by bringing constant factors outside the integral, distributing terms over parentheses, and breaking the integral of the sum down into a sum of integrals:
$$\begin{align} M&=\int_{0}^{2\pi} \int_{0}^{\pi}\int_{0}^{1}(a^2r^2\sin^2\theta \cos^2\phi+b^2r^2\sin^2 \theta \sin ^2\phi+c^2r^2\cos^2 \theta)abcr^2\sin\theta\,\mathrm{d}r\mathrm{d}\theta\mathrm{d}\phi\\ &=abc\int_{0}^{2\pi} \int_{0}^{\pi}\int_{0}^{1}(a^2r^4\sin^3\theta \cos^2\phi+b^2r^4\sin^3 \theta \sin ^2\phi+c^2r^4\sin\theta\cos^2 \theta)\,\mathrm{d}r\mathrm{d}\theta\mathrm{d}\phi\\ &=abc\int_{0}^{2\pi} \int_{0}^{\pi}\int_{0}^{1}(a^2r^4\sin^3\theta \cos^2\phi)\,\mathrm{d}r\mathrm{d}\theta\mathrm{d}\phi\\ &~~~~+ abc\int_{0}^{2\pi} \int_{0}^{\pi}\int_{0}^{1}(b^2r^4\sin^3 \theta \sin ^2\phi)\,\mathrm{d}r\mathrm{d}\theta\mathrm{d}\phi\\ &~~~~+ abc\int_{0}^{2\pi} \int_{0}^{\pi}\int_{0}^{1}(c^2r^4\sin\theta\cos^2 \theta)\,\mathrm{d}r\mathrm{d}\theta\mathrm{d}\phi \\ &=a^3bc\int_{0}^{2\pi} \int_{0}^{\pi}\int_{0}^{1}(r^4\sin^3\theta \cos^2\phi)\,\mathrm{d}r\mathrm{d}\theta\mathrm{d}\phi\\ &~~~~+ ab^3c\int_{0}^{2\pi} \int_{0}^{\pi}\int_{0}^{1}(r^4\sin^3 \theta \sin ^2\phi)\,\mathrm{d}r\mathrm{d}\theta\mathrm{d}\phi\\ &~~~~+ abc^3\int_{0}^{2\pi} \int_{0}^{\pi}\int_{0}^{1}(r^4\sin\theta\cos^2 \theta)\,\mathrm{d}r\mathrm{d}\theta\mathrm{d}\phi \end{align}$$
Is that starting to look more manageable to you?
Hint #2: the sum of integrals arrived at above is not nearly as tedious as it looks. Notice that each of the multiple integrals you need to calculate is separable. For example, the first integral reduces to a product of one-dimensional integrals:
$$\int_{0}^{2\pi} \int_{0}^{\pi}\int_{0}^{1}(r^4\sin^3\theta \cos^2\phi)\,\mathrm{d}r\mathrm{d}\theta\mathrm{d}\phi = \left(\int_{0}^{2\pi}\cos^2\phi\mathrm{d}\phi\right) \left(\int_{0}^{\pi}\sin^3\theta\mathrm{d}\theta\right) \left(\int_{0}^{1}r^4\mathrm{d}r\right)\\ =I_1\,I_2\,I_3.$$
If you think carefully about the other two multiple integrals, you'll realize that you're with integration for this problem, since they just involve the factors $I_{1,2,3}$ again.
CORRECTION: oops, my last comment isn't exactly true. I misread the variables in the last integral. My apologies for any confusion.