# Thread:

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!
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 16, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9318202137947083, "perplexity_flag": "middle"}