Why doesn't integrating over a sphere with $phi$ between $0$ and $2pi$ and $theta$ between $0$ and $pi$ work?












2














One way of integrating over a sphere with $p = 1$ is by integrating over $p$ from $0$ to $1$, $phi$ from $0$ to $pi$, and $theta$ from $0$ to $2 pi$



Here is a link that can graph parametric surfaces in spherical coordinates: http://www.math.uri.edu/~bkaskosz/flashmo/sphplot/



If you enter in what is above, then you will find that the graph is indeed, a sphere. Furthermore, if you integrate $p^2sin (phi)$ over these ranges, you will get $frac {4pi}{3}$ which is the expected value.



I noticed that $p$ from $0$ to $1$, $phi$ from $0$ to $2pi$, and $theta$ from $0$ to $pi$ also seems to create a sphere.

Note the subtle change: $phi$ is from $0$ to $2pi$ and $theta$ is from $0$ to $1pi$. If you plug this in to the grapher, you find that what you get resembles a sphere.

However, when you integrate $p^2sin (phi)$ over $p$ from $0$ to $1$, $phi$ from $0$ to $2pi$, and $theta$ from $0$ to $pi$, you get $0$. Why is that?










share|cite|improve this question





























    2














    One way of integrating over a sphere with $p = 1$ is by integrating over $p$ from $0$ to $1$, $phi$ from $0$ to $pi$, and $theta$ from $0$ to $2 pi$



    Here is a link that can graph parametric surfaces in spherical coordinates: http://www.math.uri.edu/~bkaskosz/flashmo/sphplot/



    If you enter in what is above, then you will find that the graph is indeed, a sphere. Furthermore, if you integrate $p^2sin (phi)$ over these ranges, you will get $frac {4pi}{3}$ which is the expected value.



    I noticed that $p$ from $0$ to $1$, $phi$ from $0$ to $2pi$, and $theta$ from $0$ to $pi$ also seems to create a sphere.

    Note the subtle change: $phi$ is from $0$ to $2pi$ and $theta$ is from $0$ to $1pi$. If you plug this in to the grapher, you find that what you get resembles a sphere.

    However, when you integrate $p^2sin (phi)$ over $p$ from $0$ to $1$, $phi$ from $0$ to $2pi$, and $theta$ from $0$ to $pi$, you get $0$. Why is that?










    share|cite|improve this question



























      2












      2








      2







      One way of integrating over a sphere with $p = 1$ is by integrating over $p$ from $0$ to $1$, $phi$ from $0$ to $pi$, and $theta$ from $0$ to $2 pi$



      Here is a link that can graph parametric surfaces in spherical coordinates: http://www.math.uri.edu/~bkaskosz/flashmo/sphplot/



      If you enter in what is above, then you will find that the graph is indeed, a sphere. Furthermore, if you integrate $p^2sin (phi)$ over these ranges, you will get $frac {4pi}{3}$ which is the expected value.



      I noticed that $p$ from $0$ to $1$, $phi$ from $0$ to $2pi$, and $theta$ from $0$ to $pi$ also seems to create a sphere.

      Note the subtle change: $phi$ is from $0$ to $2pi$ and $theta$ is from $0$ to $1pi$. If you plug this in to the grapher, you find that what you get resembles a sphere.

      However, when you integrate $p^2sin (phi)$ over $p$ from $0$ to $1$, $phi$ from $0$ to $2pi$, and $theta$ from $0$ to $pi$, you get $0$. Why is that?










      share|cite|improve this question















      One way of integrating over a sphere with $p = 1$ is by integrating over $p$ from $0$ to $1$, $phi$ from $0$ to $pi$, and $theta$ from $0$ to $2 pi$



      Here is a link that can graph parametric surfaces in spherical coordinates: http://www.math.uri.edu/~bkaskosz/flashmo/sphplot/



      If you enter in what is above, then you will find that the graph is indeed, a sphere. Furthermore, if you integrate $p^2sin (phi)$ over these ranges, you will get $frac {4pi}{3}$ which is the expected value.



      I noticed that $p$ from $0$ to $1$, $phi$ from $0$ to $2pi$, and $theta$ from $0$ to $pi$ also seems to create a sphere.

      Note the subtle change: $phi$ is from $0$ to $2pi$ and $theta$ is from $0$ to $1pi$. If you plug this in to the grapher, you find that what you get resembles a sphere.

      However, when you integrate $p^2sin (phi)$ over $p$ from $0$ to $1$, $phi$ from $0$ to $2pi$, and $theta$ from $0$ to $pi$, you get $0$. Why is that?







      integration multivariable-calculus spherical-coordinates multiple-integral






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 23 at 9:01









      idea

      2,11341024




      2,11341024










      asked Nov 23 at 7:29









      Typical Highschooler

      1117




      1117






















          2 Answers
          2






          active

          oldest

          votes


















          1














          When you change to spherical coordinates (with the convention that you seem to be using), the absolute value of the Jacobian determinant is $|rho^2 sin phi|$, and this does only simplify to $rho^2 sinphi$ if $sinphi ge 0$, which is the case in the interval $0 le phi le pi$, but not in the interval $pi < phi < 2 pi$. But if you instead integrate $|rho^2 sin phi|$ over the ranges that you suggest, then you indeed get $4pi/3$.






          share|cite|improve this answer





























            1














            The key fact is that the sphere $$x^2+y^2+z^2=R^2$$ is parametrized by




            • $x=Rcos theta sin phi$

            • $y=Rsin theta sin phi$

            • $z=Rcos phi$


            with




            • $theta in [0,2pi)$

            • $phi in[0,pi]$


            and at each point $P(x,y,z)$ on the sphere corresponds an unique pair for the parameters $(theta, phi)$.



            Of course we can also use different range for the parametrization as for example




            • $theta in [-pi,pi)$

            • $phi in[0,pi]$


            enter image description here



            (credits http://mathworld.wolfram.com/SphericalCoordinates.html)






            share|cite|improve this answer























            • I don't think this is the issue here. As the OP has noted, the unconventional ranges $theta in [0,pi)$ and $phi in [0,2 pi)$ also give a sphere.
              – Hans Lundmark
              Nov 23 at 8:38










            • @HansLundmark Yes of course, maybe I misunderstood the doubt ofthe OP. I agree we can introduce (infinitely) many different parametrization for the sphere by suitable choices of the range for $theta$ and $phi$.
              – gimusi
              Nov 23 at 8:45











            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            });
            });
            }, "mathjax-editing");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "69"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3010081%2fwhy-doesnt-integrating-over-a-sphere-with-phi-between-0-and-2-pi-and-t%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            When you change to spherical coordinates (with the convention that you seem to be using), the absolute value of the Jacobian determinant is $|rho^2 sin phi|$, and this does only simplify to $rho^2 sinphi$ if $sinphi ge 0$, which is the case in the interval $0 le phi le pi$, but not in the interval $pi < phi < 2 pi$. But if you instead integrate $|rho^2 sin phi|$ over the ranges that you suggest, then you indeed get $4pi/3$.






            share|cite|improve this answer


























              1














              When you change to spherical coordinates (with the convention that you seem to be using), the absolute value of the Jacobian determinant is $|rho^2 sin phi|$, and this does only simplify to $rho^2 sinphi$ if $sinphi ge 0$, which is the case in the interval $0 le phi le pi$, but not in the interval $pi < phi < 2 pi$. But if you instead integrate $|rho^2 sin phi|$ over the ranges that you suggest, then you indeed get $4pi/3$.






              share|cite|improve this answer
























                1












                1








                1






                When you change to spherical coordinates (with the convention that you seem to be using), the absolute value of the Jacobian determinant is $|rho^2 sin phi|$, and this does only simplify to $rho^2 sinphi$ if $sinphi ge 0$, which is the case in the interval $0 le phi le pi$, but not in the interval $pi < phi < 2 pi$. But if you instead integrate $|rho^2 sin phi|$ over the ranges that you suggest, then you indeed get $4pi/3$.






                share|cite|improve this answer












                When you change to spherical coordinates (with the convention that you seem to be using), the absolute value of the Jacobian determinant is $|rho^2 sin phi|$, and this does only simplify to $rho^2 sinphi$ if $sinphi ge 0$, which is the case in the interval $0 le phi le pi$, but not in the interval $pi < phi < 2 pi$. But if you instead integrate $|rho^2 sin phi|$ over the ranges that you suggest, then you indeed get $4pi/3$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 23 at 8:36









                Hans Lundmark

                35k564112




                35k564112























                    1














                    The key fact is that the sphere $$x^2+y^2+z^2=R^2$$ is parametrized by




                    • $x=Rcos theta sin phi$

                    • $y=Rsin theta sin phi$

                    • $z=Rcos phi$


                    with




                    • $theta in [0,2pi)$

                    • $phi in[0,pi]$


                    and at each point $P(x,y,z)$ on the sphere corresponds an unique pair for the parameters $(theta, phi)$.



                    Of course we can also use different range for the parametrization as for example




                    • $theta in [-pi,pi)$

                    • $phi in[0,pi]$


                    enter image description here



                    (credits http://mathworld.wolfram.com/SphericalCoordinates.html)






                    share|cite|improve this answer























                    • I don't think this is the issue here. As the OP has noted, the unconventional ranges $theta in [0,pi)$ and $phi in [0,2 pi)$ also give a sphere.
                      – Hans Lundmark
                      Nov 23 at 8:38










                    • @HansLundmark Yes of course, maybe I misunderstood the doubt ofthe OP. I agree we can introduce (infinitely) many different parametrization for the sphere by suitable choices of the range for $theta$ and $phi$.
                      – gimusi
                      Nov 23 at 8:45
















                    1














                    The key fact is that the sphere $$x^2+y^2+z^2=R^2$$ is parametrized by




                    • $x=Rcos theta sin phi$

                    • $y=Rsin theta sin phi$

                    • $z=Rcos phi$


                    with




                    • $theta in [0,2pi)$

                    • $phi in[0,pi]$


                    and at each point $P(x,y,z)$ on the sphere corresponds an unique pair for the parameters $(theta, phi)$.



                    Of course we can also use different range for the parametrization as for example




                    • $theta in [-pi,pi)$

                    • $phi in[0,pi]$


                    enter image description here



                    (credits http://mathworld.wolfram.com/SphericalCoordinates.html)






                    share|cite|improve this answer























                    • I don't think this is the issue here. As the OP has noted, the unconventional ranges $theta in [0,pi)$ and $phi in [0,2 pi)$ also give a sphere.
                      – Hans Lundmark
                      Nov 23 at 8:38










                    • @HansLundmark Yes of course, maybe I misunderstood the doubt ofthe OP. I agree we can introduce (infinitely) many different parametrization for the sphere by suitable choices of the range for $theta$ and $phi$.
                      – gimusi
                      Nov 23 at 8:45














                    1












                    1








                    1






                    The key fact is that the sphere $$x^2+y^2+z^2=R^2$$ is parametrized by




                    • $x=Rcos theta sin phi$

                    • $y=Rsin theta sin phi$

                    • $z=Rcos phi$


                    with




                    • $theta in [0,2pi)$

                    • $phi in[0,pi]$


                    and at each point $P(x,y,z)$ on the sphere corresponds an unique pair for the parameters $(theta, phi)$.



                    Of course we can also use different range for the parametrization as for example




                    • $theta in [-pi,pi)$

                    • $phi in[0,pi]$


                    enter image description here



                    (credits http://mathworld.wolfram.com/SphericalCoordinates.html)






                    share|cite|improve this answer














                    The key fact is that the sphere $$x^2+y^2+z^2=R^2$$ is parametrized by




                    • $x=Rcos theta sin phi$

                    • $y=Rsin theta sin phi$

                    • $z=Rcos phi$


                    with




                    • $theta in [0,2pi)$

                    • $phi in[0,pi]$


                    and at each point $P(x,y,z)$ on the sphere corresponds an unique pair for the parameters $(theta, phi)$.



                    Of course we can also use different range for the parametrization as for example




                    • $theta in [-pi,pi)$

                    • $phi in[0,pi]$


                    enter image description here



                    (credits http://mathworld.wolfram.com/SphericalCoordinates.html)







                    share|cite|improve this answer














                    share|cite|improve this answer



                    share|cite|improve this answer








                    edited Nov 23 at 8:47

























                    answered Nov 23 at 7:34









                    gimusi

                    1




                    1












                    • I don't think this is the issue here. As the OP has noted, the unconventional ranges $theta in [0,pi)$ and $phi in [0,2 pi)$ also give a sphere.
                      – Hans Lundmark
                      Nov 23 at 8:38










                    • @HansLundmark Yes of course, maybe I misunderstood the doubt ofthe OP. I agree we can introduce (infinitely) many different parametrization for the sphere by suitable choices of the range for $theta$ and $phi$.
                      – gimusi
                      Nov 23 at 8:45


















                    • I don't think this is the issue here. As the OP has noted, the unconventional ranges $theta in [0,pi)$ and $phi in [0,2 pi)$ also give a sphere.
                      – Hans Lundmark
                      Nov 23 at 8:38










                    • @HansLundmark Yes of course, maybe I misunderstood the doubt ofthe OP. I agree we can introduce (infinitely) many different parametrization for the sphere by suitable choices of the range for $theta$ and $phi$.
                      – gimusi
                      Nov 23 at 8:45
















                    I don't think this is the issue here. As the OP has noted, the unconventional ranges $theta in [0,pi)$ and $phi in [0,2 pi)$ also give a sphere.
                    – Hans Lundmark
                    Nov 23 at 8:38




                    I don't think this is the issue here. As the OP has noted, the unconventional ranges $theta in [0,pi)$ and $phi in [0,2 pi)$ also give a sphere.
                    – Hans Lundmark
                    Nov 23 at 8:38












                    @HansLundmark Yes of course, maybe I misunderstood the doubt ofthe OP. I agree we can introduce (infinitely) many different parametrization for the sphere by suitable choices of the range for $theta$ and $phi$.
                    – gimusi
                    Nov 23 at 8:45




                    @HansLundmark Yes of course, maybe I misunderstood the doubt ofthe OP. I agree we can introduce (infinitely) many different parametrization for the sphere by suitable choices of the range for $theta$ and $phi$.
                    – gimusi
                    Nov 23 at 8:45


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Mathematics Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3010081%2fwhy-doesnt-integrating-over-a-sphere-with-phi-between-0-and-2-pi-and-t%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...