Compute: $\underset{x^2+y^2+(z-2)^2\le 1}{\int\int\int}{1\over x^2+y^2+z^2}dxdydz$.
Hint given: show that
- $\cos \theta> {r^2+3\over 4r}$
- $1<r<3$
What I already did: I shift the unit sphere two coordinates upwards. With $z=r\cos \theta$, assisted by a general drawn line from the sphere (suppose from $a=(x,y,z)$) to the origin, we get that $x^2+y^2$ equals $a$'s projection on the $z$-axis, which by simple computations equals $(r\sin\theta)^2$.
Then: $$x^2+y^2+z^2-4z+4=r^2-4r\cos\theta+4\le 1\Rightarrow \cos \theta \ge {r^2+3\over 4r}$$ (How is the strong inequality achieved? I tried showing it but the RHS are variables.) Obviously $1<r<3$. The change of variables is injective and surjective using the inequality in the hint, and the remaining term is $r^2\sin \theta$, but I have no how $\theta$ acts in a single round. I find myself starting from $\theta=0$ (r=1), and again $\theta =0 $ for $r=3$. Do you have any idea how one can proceed from here? While I do understand how to bound the variables in the unit sphere(or, obviously any sphere centered at the origin), here it all seems to collapse.
Final answer is told to be: $\pi(2-{3\over 2}\log 3)$, for those who are interested or need it.
I think the aim of the hint is to guide you through finding the limits of integration. To me, there is no need for shifting the coordinate system. You can proceed as follows
$$\begin{align}{} I &=\underset{x^2+y^2+(z-2)^2\le 1}{\int\int\int}{1\over x^2+y^2+z^2}dxdydz \\ &= \int_{\phi=0}^{2 \pi} \int_{r=1}^{3} \int_{\theta=0}^{ \cos^{-1} (\frac{r^2+3}{4r})} \frac{1}{r^2} r^2 \sin \theta \, d\theta \, dr \, d \phi \\ &= \int_{\phi=0}^{2 \pi} \int_{r=1}^{3} \int_{\theta=0}^{\cos^{-1} (\frac{r^2+3}{4r})} \sin \theta \, d\theta \, dr \, d \phi \\ &= \int_{\phi=0}^{2 \pi} \int_{r=1}^{3} -\cos \theta|_{0}^{\cos^{-1} (\frac{r^2+3}{4r})} \, dr \, d \phi \\ &= \int_{\phi=0}^{2 \pi} \int_{r=1}^{3} (1-\frac{r^2+3}{4r}) \, dr \, d \phi \\ &=(\int_{0}^{2 \pi} d\phi)(\int_{r=1}^{3} (1-\frac{1}{4}r-\frac{3}{4}\frac{1}{r}) \, dr) \\ &= (2 \pi) (1-\frac{3}{4}\log3) \\ &=\pi (2-\frac{3}{2}\log3) \end{align} \\ $$