Does this integral diverge? $int_{-pi/2}^{pi/2}csc{x}dx$











up vote
-1
down vote

favorite












According to my calculusbook the following integral diverges:
$$int_{-pi/2}^{pi/2}csc{x}dx$$



This is the case since $csc{x}gefrac{1}{x}$ on $(0,pi/2]$



My question is: I would have guessed the integral would be zero, since $csc{x}$ is an odd function. Why is this not the case?



On $(0,pi/2]$ the integral goes to $infty$ and on $[-pi/2,0)$ the integral goes to $-infty$ so we have $infty-infty$, which is usually undefined, but doesn't the fact that $csc{x}$ is odd imply that $infty-infty=0$ in this case?










share|cite|improve this question




























    up vote
    -1
    down vote

    favorite












    According to my calculusbook the following integral diverges:
    $$int_{-pi/2}^{pi/2}csc{x}dx$$



    This is the case since $csc{x}gefrac{1}{x}$ on $(0,pi/2]$



    My question is: I would have guessed the integral would be zero, since $csc{x}$ is an odd function. Why is this not the case?



    On $(0,pi/2]$ the integral goes to $infty$ and on $[-pi/2,0)$ the integral goes to $-infty$ so we have $infty-infty$, which is usually undefined, but doesn't the fact that $csc{x}$ is odd imply that $infty-infty=0$ in this case?










    share|cite|improve this question


























      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      According to my calculusbook the following integral diverges:
      $$int_{-pi/2}^{pi/2}csc{x}dx$$



      This is the case since $csc{x}gefrac{1}{x}$ on $(0,pi/2]$



      My question is: I would have guessed the integral would be zero, since $csc{x}$ is an odd function. Why is this not the case?



      On $(0,pi/2]$ the integral goes to $infty$ and on $[-pi/2,0)$ the integral goes to $-infty$ so we have $infty-infty$, which is usually undefined, but doesn't the fact that $csc{x}$ is odd imply that $infty-infty=0$ in this case?










      share|cite|improve this question















      According to my calculusbook the following integral diverges:
      $$int_{-pi/2}^{pi/2}csc{x}dx$$



      This is the case since $csc{x}gefrac{1}{x}$ on $(0,pi/2]$



      My question is: I would have guessed the integral would be zero, since $csc{x}$ is an odd function. Why is this not the case?



      On $(0,pi/2]$ the integral goes to $infty$ and on $[-pi/2,0)$ the integral goes to $-infty$ so we have $infty-infty$, which is usually undefined, but doesn't the fact that $csc{x}$ is odd imply that $infty-infty=0$ in this case?







      calculus integration limits improper-integrals






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 27 at 11:59









      José Carlos Santos

      146k22116215




      146k22116215










      asked Nov 27 at 11:53









      GambitSquared

      1,1581137




      1,1581137






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          The integral does not exist as proper Riemann integral because the function is not bounded. If you interpret the integral as limit of $int_{epsilon <|x|<frac {pi} 2} csc (x) dx$ as $epsilon to 0$ then the integral exists and the value is $0$. As a Lebesgue integral it does not exist because the integrand behaves like $frac 1 x$ near $0$. So the answer depends very much what type of integral you want to consider.






          share|cite|improve this answer




























            up vote
            3
            down vote













            No, it doesn't imply that. By definition, an improper integral $int_a^bf(x),mathrm dx$, where $f$ is a map from $[a,b]setminus{c}$ into $mathbb R$, converges if both integrals $int_c^bf(x),mathrm dx$ and $int_a^cf(x),mathrm dx$ converge (and, if they do, then $int_a^b f(x),mathrm dx$ is the sum of those two integrals).



            In your case, none of the integrals converges. The fact that $csc$ is odd is irrelevant.






            share|cite|improve this answer





















            • But isn't it "clear", also from the graph that the two surfaces on both sides of $0$ must be equal?
              – GambitSquared
              Nov 27 at 12:03










            • By the same approach $int_{-infty}^{+infty}x,mathrm dx=0$.
              – José Carlos Santos
              Nov 27 at 12:04












            • @GambitSquared You cannot say that. Both surfaces have infinite area, it's not necessary that they cancel out.
              – SinTan1729
              Nov 27 at 12:04












            • @JoséCarlosSantos Hmmm, yes, would that be an unreasonable claim though?
              – GambitSquared
              Nov 27 at 12:22










            • @SinTan1729 Why don't they cancel out if the function is odd? What would be an argument to assume they do not cancel out?
              – GambitSquared
              Nov 27 at 12:23











            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',
            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%2f3015684%2fdoes-this-integral-diverge-int-pi-2-pi-2-cscxdx%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








            up vote
            2
            down vote



            accepted










            The integral does not exist as proper Riemann integral because the function is not bounded. If you interpret the integral as limit of $int_{epsilon <|x|<frac {pi} 2} csc (x) dx$ as $epsilon to 0$ then the integral exists and the value is $0$. As a Lebesgue integral it does not exist because the integrand behaves like $frac 1 x$ near $0$. So the answer depends very much what type of integral you want to consider.






            share|cite|improve this answer

























              up vote
              2
              down vote



              accepted










              The integral does not exist as proper Riemann integral because the function is not bounded. If you interpret the integral as limit of $int_{epsilon <|x|<frac {pi} 2} csc (x) dx$ as $epsilon to 0$ then the integral exists and the value is $0$. As a Lebesgue integral it does not exist because the integrand behaves like $frac 1 x$ near $0$. So the answer depends very much what type of integral you want to consider.






              share|cite|improve this answer























                up vote
                2
                down vote



                accepted







                up vote
                2
                down vote



                accepted






                The integral does not exist as proper Riemann integral because the function is not bounded. If you interpret the integral as limit of $int_{epsilon <|x|<frac {pi} 2} csc (x) dx$ as $epsilon to 0$ then the integral exists and the value is $0$. As a Lebesgue integral it does not exist because the integrand behaves like $frac 1 x$ near $0$. So the answer depends very much what type of integral you want to consider.






                share|cite|improve this answer












                The integral does not exist as proper Riemann integral because the function is not bounded. If you interpret the integral as limit of $int_{epsilon <|x|<frac {pi} 2} csc (x) dx$ as $epsilon to 0$ then the integral exists and the value is $0$. As a Lebesgue integral it does not exist because the integrand behaves like $frac 1 x$ near $0$. So the answer depends very much what type of integral you want to consider.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 27 at 11:59









                Kavi Rama Murthy

                46.6k31854




                46.6k31854






















                    up vote
                    3
                    down vote













                    No, it doesn't imply that. By definition, an improper integral $int_a^bf(x),mathrm dx$, where $f$ is a map from $[a,b]setminus{c}$ into $mathbb R$, converges if both integrals $int_c^bf(x),mathrm dx$ and $int_a^cf(x),mathrm dx$ converge (and, if they do, then $int_a^b f(x),mathrm dx$ is the sum of those two integrals).



                    In your case, none of the integrals converges. The fact that $csc$ is odd is irrelevant.






                    share|cite|improve this answer





















                    • But isn't it "clear", also from the graph that the two surfaces on both sides of $0$ must be equal?
                      – GambitSquared
                      Nov 27 at 12:03










                    • By the same approach $int_{-infty}^{+infty}x,mathrm dx=0$.
                      – José Carlos Santos
                      Nov 27 at 12:04












                    • @GambitSquared You cannot say that. Both surfaces have infinite area, it's not necessary that they cancel out.
                      – SinTan1729
                      Nov 27 at 12:04












                    • @JoséCarlosSantos Hmmm, yes, would that be an unreasonable claim though?
                      – GambitSquared
                      Nov 27 at 12:22










                    • @SinTan1729 Why don't they cancel out if the function is odd? What would be an argument to assume they do not cancel out?
                      – GambitSquared
                      Nov 27 at 12:23















                    up vote
                    3
                    down vote













                    No, it doesn't imply that. By definition, an improper integral $int_a^bf(x),mathrm dx$, where $f$ is a map from $[a,b]setminus{c}$ into $mathbb R$, converges if both integrals $int_c^bf(x),mathrm dx$ and $int_a^cf(x),mathrm dx$ converge (and, if they do, then $int_a^b f(x),mathrm dx$ is the sum of those two integrals).



                    In your case, none of the integrals converges. The fact that $csc$ is odd is irrelevant.






                    share|cite|improve this answer





















                    • But isn't it "clear", also from the graph that the two surfaces on both sides of $0$ must be equal?
                      – GambitSquared
                      Nov 27 at 12:03










                    • By the same approach $int_{-infty}^{+infty}x,mathrm dx=0$.
                      – José Carlos Santos
                      Nov 27 at 12:04












                    • @GambitSquared You cannot say that. Both surfaces have infinite area, it's not necessary that they cancel out.
                      – SinTan1729
                      Nov 27 at 12:04












                    • @JoséCarlosSantos Hmmm, yes, would that be an unreasonable claim though?
                      – GambitSquared
                      Nov 27 at 12:22










                    • @SinTan1729 Why don't they cancel out if the function is odd? What would be an argument to assume they do not cancel out?
                      – GambitSquared
                      Nov 27 at 12:23













                    up vote
                    3
                    down vote










                    up vote
                    3
                    down vote









                    No, it doesn't imply that. By definition, an improper integral $int_a^bf(x),mathrm dx$, where $f$ is a map from $[a,b]setminus{c}$ into $mathbb R$, converges if both integrals $int_c^bf(x),mathrm dx$ and $int_a^cf(x),mathrm dx$ converge (and, if they do, then $int_a^b f(x),mathrm dx$ is the sum of those two integrals).



                    In your case, none of the integrals converges. The fact that $csc$ is odd is irrelevant.






                    share|cite|improve this answer












                    No, it doesn't imply that. By definition, an improper integral $int_a^bf(x),mathrm dx$, where $f$ is a map from $[a,b]setminus{c}$ into $mathbb R$, converges if both integrals $int_c^bf(x),mathrm dx$ and $int_a^cf(x),mathrm dx$ converge (and, if they do, then $int_a^b f(x),mathrm dx$ is the sum of those two integrals).



                    In your case, none of the integrals converges. The fact that $csc$ is odd is irrelevant.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Nov 27 at 11:58









                    José Carlos Santos

                    146k22116215




                    146k22116215












                    • But isn't it "clear", also from the graph that the two surfaces on both sides of $0$ must be equal?
                      – GambitSquared
                      Nov 27 at 12:03










                    • By the same approach $int_{-infty}^{+infty}x,mathrm dx=0$.
                      – José Carlos Santos
                      Nov 27 at 12:04












                    • @GambitSquared You cannot say that. Both surfaces have infinite area, it's not necessary that they cancel out.
                      – SinTan1729
                      Nov 27 at 12:04












                    • @JoséCarlosSantos Hmmm, yes, would that be an unreasonable claim though?
                      – GambitSquared
                      Nov 27 at 12:22










                    • @SinTan1729 Why don't they cancel out if the function is odd? What would be an argument to assume they do not cancel out?
                      – GambitSquared
                      Nov 27 at 12:23


















                    • But isn't it "clear", also from the graph that the two surfaces on both sides of $0$ must be equal?
                      – GambitSquared
                      Nov 27 at 12:03










                    • By the same approach $int_{-infty}^{+infty}x,mathrm dx=0$.
                      – José Carlos Santos
                      Nov 27 at 12:04












                    • @GambitSquared You cannot say that. Both surfaces have infinite area, it's not necessary that they cancel out.
                      – SinTan1729
                      Nov 27 at 12:04












                    • @JoséCarlosSantos Hmmm, yes, would that be an unreasonable claim though?
                      – GambitSquared
                      Nov 27 at 12:22










                    • @SinTan1729 Why don't they cancel out if the function is odd? What would be an argument to assume they do not cancel out?
                      – GambitSquared
                      Nov 27 at 12:23
















                    But isn't it "clear", also from the graph that the two surfaces on both sides of $0$ must be equal?
                    – GambitSquared
                    Nov 27 at 12:03




                    But isn't it "clear", also from the graph that the two surfaces on both sides of $0$ must be equal?
                    – GambitSquared
                    Nov 27 at 12:03












                    By the same approach $int_{-infty}^{+infty}x,mathrm dx=0$.
                    – José Carlos Santos
                    Nov 27 at 12:04






                    By the same approach $int_{-infty}^{+infty}x,mathrm dx=0$.
                    – José Carlos Santos
                    Nov 27 at 12:04














                    @GambitSquared You cannot say that. Both surfaces have infinite area, it's not necessary that they cancel out.
                    – SinTan1729
                    Nov 27 at 12:04






                    @GambitSquared You cannot say that. Both surfaces have infinite area, it's not necessary that they cancel out.
                    – SinTan1729
                    Nov 27 at 12:04














                    @JoséCarlosSantos Hmmm, yes, would that be an unreasonable claim though?
                    – GambitSquared
                    Nov 27 at 12:22




                    @JoséCarlosSantos Hmmm, yes, would that be an unreasonable claim though?
                    – GambitSquared
                    Nov 27 at 12:22












                    @SinTan1729 Why don't they cancel out if the function is odd? What would be an argument to assume they do not cancel out?
                    – GambitSquared
                    Nov 27 at 12:23




                    @SinTan1729 Why don't they cancel out if the function is odd? What would be an argument to assume they do not cancel out?
                    – GambitSquared
                    Nov 27 at 12:23


















                    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%2f3015684%2fdoes-this-integral-diverge-int-pi-2-pi-2-cscxdx%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

                    Sphinx de Gizeh

                    Dijon

                    Determine an Integral..