# Thread:

1. ## changing an integral from rectangular to spherical

I have a triple integral in terms of x,y and z and need to convert it to spherical coordinates.

it is the integral from 0 to 2 and then from 0 to (4 - x^2)^(1/2) inner bounds from 0 to (4 - x^2 - y^2)^(1/2) of (x^2 + y^2 + z^2)^(1/2) dz dy dx

Since the integral is of roe spherical will work well I think!!!

So, we will integrate roe^3 sin phi d roe d phi d theta

My lower bounds must be all zeros.

Can someone please go through the thinking process to determine my upper bounds?

Once I have these I can do the integration no problem. Without them I am stuck! Frostking

2. $\int_0^2 \int_0^{\sqrt {4-x^2}} \int_0^{\sqrt{4-x^2-y^2}} \sqrt{x^2+y^2+z^2} dz dy dx$

$\phi$ varies from 0 to $\pi.$.
$\theta$ varies from 0 to $2 \pi$.
$\rho$ varies from 0 to 2.

Hence the integral is:

$\int_0^{2\pi} \int_0^{\pi} \int_0^{2} \rho^3 sin \phi \ d \rho d \phi d \theta$

EDIT: I've changed the $\rho$ limits to how they should be.

3. Shouldn't you have $\rho$ ranging from 0 to 2?

--Kevin C.

4. Ah yes, it isn't a unit sphere is it!!

*doi*

5. ## limits of integral

Yes 0 to 2 pi is what the key has for roe but it has 0 to pi /2 for both the others and I still do not understand how to get any of these??? Any explanation would be very much appreciated. Frostking

6. I've only started doing these myself, hence why I made a mistake!

The limits of $\rho$, $\theta$ and $\phi$ are found from the definition of spherical polar co-ordinates (see the video below):

7. Your only dealing with 1/8 of a sphere (first octant only) and in the xy plane the region is a quarter of a circle so the limits should be

$\int_0^{\pi/2} \int_0^{\pi/2} \int_0^{2} \rho^3 sin \phi \ d \rho d \phi d \theta$

8. Sorry, but how is it $\frac{1}{4}$ of a circle?

9. Originally Posted by Showcase_22
Sorry, but how is it $\frac{1}{4}$ of a circle?
$\int_0^2 \int_0^{\sqrt {4-x^2}} \int_0^{\sqrt{4-x^2-y^2}} \sqrt{x^2+y^2+z^2} dz dy dx$ so from your limits
$0 \le x \le 2,\; 0 \le y \le \sqrt{4-x^2}$, a circle in the first quadrant, i.e. a 1/4 of a circle.
{"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": 17, "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.9346178770065308, "perplexity_flag": "middle"}