I have to calculate the volume of solid geometry for $a>0$ $$T=\{(x,y,z)\in \mathbb{R}; x^2+y^2+z^2 \leq 2a^2; z \leq \frac{x^2+y^2}{a}\}$$
I know that first formula is inside of sphere with radium $\sqrt2a$. So I have to use triple integral to calculate this. I use cylindric coordinates $$x = rcos\phi, y=rsin\phi, z = z$$
I tried to calculate like this $$\int_{0}^{2\pi}d\phi \int_{0}^{a} dr \int_{\sqrt{2a^2-r^2}}^{\frac{r^2}{a}}r\,dz $$ but I do not know if is right.
Two mistakes -
i) The lower bound of $z$ should be $~ - \sqrt{2a^2-r^2}$
ii) There is volume bound for $r \geq a$ too. For $a \leq r \leq a\sqrt2, ~z$ is bound between lower and upper half of the sphere.
So the integral will be,
$ \displaystyle \int_{0}^{2\pi} \int_{0}^{a} \int_{-\sqrt{2a^2-r^2}}^{\frac{r^2}{a}} dz ~ dr ~ d\phi ~ + $
$ \displaystyle \int_{0}^{2\pi} \int_{a}^{a \sqrt2} \int_{-\sqrt{2a^2-r^2}}^{\sqrt{2a^2-r^2}} r ~ dz ~ dr ~ d\phi ~ $
The other and a bit simpler approach is to integrate with respect to $dr$ first. Note that for $z \lt 0$, it is simply volume of the half sphere of volume $a \sqrt2$, which is $ \displaystyle \frac{4 \sqrt2 \pi a^3}{3}$.
For $z \geq 0$, $r$ is bound below by the paraboloid and above by the sphere. The upper bound of $z$ is the intersection of both surfaces which is $z = a$. So the integral is,
$ \displaystyle \int_{0}^{2\pi} \int_{0}^{a} \int_{\sqrt{az}}^{\sqrt{2a^2 - z^2}} r ~ dr ~ dz ~ d\phi$
The answer comes to $\displaystyle \frac{4 \sqrt2 \pi a^3}{3} + \frac{7 \pi a^3}{6}$