# Triple integral in spherical coordinates

## Homework Statement

The problem is to calculate the volume of the region contained within a sphere and outside a cone in spherical coordinates.

Sphere: x2+y2+z2=16

Cone: z=4-√(x2+y2)

## Homework Equations

I am having difficulty converting the equation of the cone into spherical coordinates. Judging by the graph I was able to deduce from the formulas (working in rectangular coordinates), I believe I will need the cone equation as the inside ρ limit.

## The Attempt at a Solution

Converting the sphere into spherical coordinates:

x2+y2+z2=16

ρ2=16

ρ=4 a sphere with radius 4 centered at the origin, which is consistent with my graph.

I recognize that the cone is downward opening and peaks at z=0. My attempt to convert the equation was as follows:

ρcos$\phi$=4-√(ρ2sin2$\phi$cos2θ+ρ2sin2$\phi$sin2θ)

ρcos$\phi$=4-ρsin$\phi$

ρ(cos$\phi$+sin$\phi$)=4

I can't figure out how to further simplify this formula. All the examples of cones in spherical coordinates I came across were peaked at the origin and simplified nicely to $\phi$=(some arbitrary angle), but I couldn't find any that were more complicated.

This is my first post so please let me know if I've done anything wrong, and thanks in advance!

tiny-tim
Homework Helper
welcome to pf!

hi dickyroberts! welcome to pf!
I am having difficulty converting the equation of the cone into spherical coordinates.

i'm not surprised!

just because it's a sphere, that's no reason to jump straight in and convert to spherical coordinates!

it has no spherical symmetry, so spherical coordinates just makes it more complicated

you could use cylindrical coordinates (since it obviously has cylindrical symmetry),

or it might be easier to stick to Cartesian coordinates (since you already have them), and slice the region into horizontal slices of height dz …

try both ways

btw …
I recognize that the cone is downward opening and peaks at z=0.
… (you've probably worked this out by now, but anyway:) no, it peaks at z = 4

HallsofIvy
Homework Helper
tiny-tim, my interpretation of the problem is that we are required to use spherical coordinates.

dickeyroberts, you say you got $\rho(cos(\phi)+ sin(\phi))= 4$. Okay, what do you get with $\rho= 4/(cos(\phi)+ sin(\phi))$?

Hey tiny-tim, thanks for the welcome!

and my mistake, that was a typo. I meant to say the cone peaks at z=4, that wouldn't have been a very good start

HallsofIvy - I think you may have just solved my problem!

For some reason I had the idea that I needed the equation of the cone to be ϕ=(arbitrary angle) because that's what all the examples I could find had. Not sure what I was thinking; your last comment helped me realize that I can just use the equation

ρ=4/(cos(ϕ)+sin(ϕ)

as the limit in the integration of ρ since ϕ will be integrated in a later step.

The biggest downside of doing an online course is not having classmates to bounce ideas off of

Thanks guys!