Question on limits used in triple integral for volume of a sphere

redpen
Messages
5
Reaction score
0

Homework Statement



I am to derive the volume of a sphere using spherical coordinates. I have derived the (correct) jacobian as r^2sin(theta) dr d(theta) d(phi) so its simply a matter of integrating over the correct limits.

Homework Equations



What I don't get is why we use 2pi to 0 for phi and pi to 0 for theta, when surely the definition of spherical coordinates uses the opposite limits for the two coordinates.

The Attempt at a Solution



Here http://en.wikipedia.org/wiki/Multip...atical_applications_-_Calculations_of_volume" the correct formula is derived using these limits, so I know it works. But why?


Any help appreciated!
 
Last edited by a moderator:
Physics news on Phys.org
redpen said:

Homework Statement



I am to derive the volume of a sphere using spherical coordinates. I have derived the (correct) jacobian as r^2sin(theta) dr d(theta) d(phi) so its simply a matter of integrating over the correct limits.

Homework Equations



What I don't get is why we use 2pi to 0 for phi and pi to 0 for theta, when surely the definition of spherical coordinates uses the opposite limits for the two coordinates.

The Attempt at a Solution



Here http://en.wikipedia.org/wiki/Multip...atical_applications_-_Calculations_of_volume" the correct formula is derived using these limits, so I know it works. But why?


Any help appreciated!

It depends on your definition of the coordinates. From your above volume element, I presume you're using the convention that the theta angle is the "polar angle" i.e. the one measuring the angle from the z axis, and the phi angle is the "azimuthal angle" i.e. the angle measured in the x-y plane, measured from the x axis.

If these are your conventions, then the theta angle measures from +z to -z (i.e. between 0 and pi) whilst the phi angle covers the whole circle in the x-y plane (i.e. 0 to 2 pi)

Note that there are different conventions used; the convention I mention is used by most applied mathmaticians, engineers, physicists. However, pure mathematicians use the convention that the theta angle is the azimuthal angle, and the phi angle is the polar angle.
 
Last edited by a moderator:
I got it! Yes, I hade got the jacobian wrong. Thanks for the help!
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top