Evaluating the integral $\int x\,dV$ where $V$ is the region bounded the surface $x^2+y^2+z^2=1$ and the planes $x = 0$, $y = x$, $z=0$ Evaluate the integral $\int x\,dV$ inside domain $V$, where $V$ is bounded by the planes $x=0$, $y=x$, $z=0$, and the surface $x^2+y^2+z^2=1$.
Answer given: $\dfrac{1}{8} - \dfrac{\sqrt{2}}{16}$
Uh, so I did it in spherical coordinates, which equals 
$$\iiint p^2 \sin φ \;dp dφ dθ$$
$∫dp$ runs from $0$ to $1$
$∫dφ$ runs from $0$ to $\frac{\pi}{2}$ (right??)
$∫dθ$ runs from $-\frac{\pi}{2}$ to $\frac{\pi}{4}$ (because of the line $y = x$ in the $xy$ plane)
I do not get the given answer though. 

I may have made a mistake, but it seems easier to use rectilinear coordinates here. I get:
$$I = \int_{z=0}^1 \int_{y=0}^{\sqrt{1-z^2}} \int_{x=0}^{\min(y,\sqrt{1-y^2-z^2})} x \; dx dy dz$$
The min can be removed by splitting the integral into:
$$I = \int_{z=0}^1 \int_{y=0}^{\frac{1}{\sqrt{2}}\sqrt{1-z^2}} \int_{x=0}^{y} x \; dx dy dz + \int_{z=0}^1 \int_{y=\frac{1}{\sqrt{2}}\sqrt{1-z^2}}^{\sqrt{1-z^2}} \int_{x=0}^{\sqrt{1-y^2-z^2}} x \; dx dy dz$$
However, when I integrate this (a little tedious, but not particularly difficult), I get $I = \frac{(2-\sqrt{2}) \pi}{32}$.
