# Evaluate integral by using spherical coordinates

030sqrt(9-x2)sqrt(x2+y2)sqrt(18-x2-y2) (x2+y2+z2)dzdxdy

x=$\rho$sin$\varphi$cosθ
y=$\rho$sin$\varphi$sinθ
z=$\rho$cos$\varphi$

Change the integrand to $\rho$ and integrate wrt d$\rho$dθd$\varphi$

I don't know how to find the limits of integration. Normally I would draw a picture and reason it out, but that doesn't seem plausible here.

Thanks.

LCKurtz
Homework Helper
Gold Member
030sqrt(9-x2)sqrt(x2+y2)sqrt(18-x2-y2) (x2+y2+z2)dzdxdy

x=$\rho$sin$\varphi$cosθ
y=$\rho$sin$\varphi$sinθ
z=$\rho$cos$\varphi$

Change the integrand to $\rho$ and integrate wrt d$\rho$dθd$\varphi$

I don't know how to find the limits of integration. Normally I would draw a picture and reason it out, but that doesn't seem plausible here.

Thanks.

Sure it does. The ##z## limits are ##z=\sqrt{x^2+y^2}## and ##z=\sqrt{18-x^2-y^2}##. What are those two surfaces?

Sure it does. The ##z## limits are ##z=\sqrt{x^2+y^2}## and ##z=\sqrt{18-x^2-y^2}##. What are those two surfaces?

Z is limited on bottom is a cone and on top a sphere with radius sqrt18.
Y is limited on the left by the xz-plane and on the right by y=3.
X... I don't know.

LCKurtz
Homework Helper
Gold Member
So where do the sphere and cone intersect? Have you drawn the first octant picture? Once you have that the ##\rho,\phi,\theta## limits are pretty obvious.

So where do the sphere and cone intersect? Have you drawn the first octant picture? Once you have that the ##\rho,\phi,\theta## limits are pretty obvious.

I don't know how to draw the first octant because I'm unsure of how to draw the limiting surface on X.

Z is a cone and sphere. Y is two planes.

I feel like the upper limit on X should be sqrt(9-y^2) instead of sqrt(9-x^2). In that case it would be easy to re-parametrize.

LCKurtz
Homework Helper
Gold Member
I don't know how to draw the first octant because I'm unsure of how to draw the limiting surface on X.

Z is a cone and sphere. Y is two planes.

I feel like the upper limit on X should be sqrt(9-y^2) instead of sqrt(9-x^2). In that case it would be easy to re-parametrize.

Yes, that is an obvious typo which I didn't notice until you pointed it out. Nevertheless, you have the cone and sphere given.

Draw the cone and sphere in the first octant. They are going to intersect where their z values are equal. Get that equation. That will tell you the xy domain. But you don't need that anyway. Once you have the picture you can read the spherical coordinate limits from it.

Yes, that is an obvious typo which I didn't notice until you pointed it out. Nevertheless, you have the cone and sphere given.

Draw the cone and sphere in the first octant. They are going to intersect where their z values are equal. Get that equation. That will tell you the xy domain. But you don't need that anyway. Once you have the picture you can read the spherical coordinate limits from it.

Ah... yes. Okay.

rho from 0 to sqrt18
theta from 0 to pi/2
phi from 0 to pi/4

integrating (rho)^3*sin(phi)

I got 149 but that's too big.

Edit: Woops. Did theta from 0 to 2pi in calculations. Divided by 4 and got 32.266.

haruspex