triple integral in spherical coordinates

Consider the following triple integral:

     / 2pi   / pi       / sqrt(2)
    |        |           |               f(p,x,y) p^2 sin y dp dx dy
    |        |           |
   / 0      / 3pi/4   /0

Where p is rho, x is phi, y is theta in spherical coordinates. I'm trying to convert this integral to cartesian coordinates.

Its rather easy to see that the outer most integral will have limits of (-sqrt(2) to sqrt(2)) with respect to x, the middle integral will have limits of (-sqrt(2 - x^2) to sqrt(2 - x^2)) with respect to y, my problem is the inner most integral with respect to z. The book has the answer as something like -sqrt(2 - x^2 - y^2) to sqrt(x^2 + y^2). I'm just not seeing where this is coming from.

LVL 19
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

/ pi
 / 3pi/4
is a cone shaped spherical sector
so I would have expected the limits to be from sqrt(x^2 + y^2) to sqrt(2 - x^2 - y^2)
since phi > pi/2 z is negative.
Since the radius is at most sqrt 2, this means that x² + y² + z² <= 2
z² <= 2 - x² - y²
-(2 - x² - y²) <= z <= 2 - x² - y²

Now for the restriction based on phi.

Note the conversion from &#952;, &#966;, r
x = r cos &#952; sin &#966;
y = r sin &#952; sin &#966;
z = r cos &#966;

cos (3pi/4) = -sqrt(2)        
sin (3pi/4) = sqrt(2)
cos (pi) = -1
sin (pi) = 0

so z must be at most -sqrt(x² + y²)
z <= -sqrt(x² + y²)
and since
x² + y² <= 2
<=> (2 - x² - y²) >= 0
=> -sqrt(x² + y²) <= (2 - x² - y²)

-(2 - x² - y²) <= z <= - (x² + y²)
I'm assuming you left the negative sign out of your orignal question.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Math / Science

From novice to tech pro — start learning today.