# Math Help - Spherical Coordinates

1. ## Spherical Coordinates

I have to calculate some tripe integral $\int\int\int_G f(x,y,z)dV$

with $G= \left\{x^2+y^2+z^2 \leq R^2, x^2+y^2\leq z^2, z\geq 0\right\}$

with spherical coordinates. Thus we substitute:
$x= \rho\sin(\phi)\cos(\theta)$
$y=\rho\sin(\phi)\sin(\theta)$
$z=\rho\cos(\phi)$

and $dV = \rho^2\sin(\phi)d\rho d\phi d\theta$

How do I find the boundaries of integration for $\phi,\rho,\theta$ w.r.t G?
I guess $0\leq \rho\leq R$, but how about $\phi,\theta$

2. Originally Posted by Dinkydoe
I have to calculate some tripe integral $\int\int\int_G f(x,y,z)dV$

with $G= \left\{x^2+y^2+z^2 \leq R^2, x^2+y^2\leq z^2, z\geq 0\right\}$

with spherical coordinates. Thus we substitute:
$x= \rho\sin(\phi)\cos(\theta)$
$y=\rho\sin(\phi)\sin(\theta)$
$z=\rho\cos(\phi)$

and $dV = \rho^2\sin(\phi)d\rho d\phi d\theta$

How do I find the boundaries of integration for $\phi,\rho,\theta$ w.r.t G?
I actually have one of my notes online that has pretty much this exact same problem. Attached at the bottem

Go to the definition of spherical co-ordinates. Theta is the angle from the project onto the XY plane. So we want to go from 0-->2pi

Phi is the angle from the z-axis to the line of P. So we want to go from the bound of your cylinder --> pi/2

And for P, well I'll let you look that up in my note because it's best explained there. But generally you see that P must be greater then the line from the origin to the cylinder, so find an equation within the cylinder to model radius with height, and that is your min radius. Of course your max P is that of the sphere. Again, more detail in my notes!

Here you go:

Edit- OOPs, noticed that in my final integral of dV there should be a 2 in front of the intregal, to get both the upper and lower hemispheres!