Evaluating a definite integral using residue theorem











up vote
0
down vote

favorite












I am trying to show $$int_0^{infty} frac{log (x)}{(x^2+1)^2}$$. We can use the integrand $g(z) = frac{log(z)}{(x^2+1)^2}$ defining log as $log(rho e^{itheta}) = log(rho) + itheta$ and letting $theta in [0,2pi]$



Now, I know that the singularities of the integrand occur at $i,-i$ one being in the upper half plane, the other in the lower half plane.



Typically the counter used for integrands which require choosing a branch cut of log is a half donut shape on the upper plane. Since there is a singularity no on the lower half plane, do I ignore it or include the residue of it in the calculation?



Also, I believe the singularities to be poles of order 3 and I do not know how to calculate residues for them. Is there an explicit formula like there is for simple poles?










share|cite|improve this question




























    up vote
    0
    down vote

    favorite












    I am trying to show $$int_0^{infty} frac{log (x)}{(x^2+1)^2}$$. We can use the integrand $g(z) = frac{log(z)}{(x^2+1)^2}$ defining log as $log(rho e^{itheta}) = log(rho) + itheta$ and letting $theta in [0,2pi]$



    Now, I know that the singularities of the integrand occur at $i,-i$ one being in the upper half plane, the other in the lower half plane.



    Typically the counter used for integrands which require choosing a branch cut of log is a half donut shape on the upper plane. Since there is a singularity no on the lower half plane, do I ignore it or include the residue of it in the calculation?



    Also, I believe the singularities to be poles of order 3 and I do not know how to calculate residues for them. Is there an explicit formula like there is for simple poles?










    share|cite|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to show $$int_0^{infty} frac{log (x)}{(x^2+1)^2}$$. We can use the integrand $g(z) = frac{log(z)}{(x^2+1)^2}$ defining log as $log(rho e^{itheta}) = log(rho) + itheta$ and letting $theta in [0,2pi]$



      Now, I know that the singularities of the integrand occur at $i,-i$ one being in the upper half plane, the other in the lower half plane.



      Typically the counter used for integrands which require choosing a branch cut of log is a half donut shape on the upper plane. Since there is a singularity no on the lower half plane, do I ignore it or include the residue of it in the calculation?



      Also, I believe the singularities to be poles of order 3 and I do not know how to calculate residues for them. Is there an explicit formula like there is for simple poles?










      share|cite|improve this question















      I am trying to show $$int_0^{infty} frac{log (x)}{(x^2+1)^2}$$. We can use the integrand $g(z) = frac{log(z)}{(x^2+1)^2}$ defining log as $log(rho e^{itheta}) = log(rho) + itheta$ and letting $theta in [0,2pi]$



      Now, I know that the singularities of the integrand occur at $i,-i$ one being in the upper half plane, the other in the lower half plane.



      Typically the counter used for integrands which require choosing a branch cut of log is a half donut shape on the upper plane. Since there is a singularity no on the lower half plane, do I ignore it or include the residue of it in the calculation?



      Also, I believe the singularities to be poles of order 3 and I do not know how to calculate residues for them. Is there an explicit formula like there is for simple poles?







      complex-analysis residue-calculus






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 4 at 10:06









      Tianlalu

      2,9901936




      2,9901936










      asked Dec 4 at 1:13









      Richard Villalobos

      1516




      1516






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          Any singularity outside the contour will be irrelevant to the integral.



          The poles in this case will be of order $2$. A residue for a pole of order at most $m$ can be found from
          $$Res(f,z_0)=frac1{(m-1)!}lim_{zto z_0}frac{d^{m-1}}{dz^{m-1}}(z-z_0)^mf(z)$$
          which for large $m$ can be frustrating but should be OK in this case.






          share|cite|improve this answer





















          • Ah yes, you are right that it is a pole of order 2, thank you for catching my mistake!
            – Richard Villalobos
            Dec 4 at 1:25










          • so would I have $$Res(g,z_0) = lim_{z rightarrow i} 2(z-z_0) [frac{(z^2+1)^2}{z}-log(z)4z(z^2+1)]frac{1}{(z^2+1)^3}$$ and if so wouldnt this limit be zero?
            – Richard Villalobos
            Dec 4 at 2:05












          • I can't follow your differentiation. Remember that in this case $z_0=i$, and that $$(z-z_0)^2f(z)=frac{(z-i)^2}{(z^2+1)^2}log z ,$$ simplify first then differentiate. The answer might be zero, I haven't worked it out.
            – David
            Dec 4 at 3:00


















          up vote
          0
          down vote













          You are trying to show... what?
          $$begin{eqnarray*}int_{0}^{+infty}frac{log(x)}{(1+x^2)^2},dx &=& int_{0}^{1}frac{log x}{(1+x^2)^2},dx+underbrace{int_{0}^{1}frac{-x^2log(x)}{(1+x^2)^2},dx}_{xmapsto 1/x}\&=&int_{0}^{1}frac{1-x^2}{(1+x^2)^2}log(x),dxend{eqnarray*} $$
          and since $$forall xin(0,1),qquad frac{1-x^2}{(1+x^2)^2}=sum_{ngeq 0}(-1)^n (2n+1) x^{2n}, $$
          $$ int_{0}^{1}x^{2n}log(x),dx = -frac{1}{(2n+1)^2}$$
          we have:
          $$ int_{0}^{+infty}frac{log x}{(1+x^2)^2},dx = -sum_{ngeq 0}frac{(-1)^n}{2n+1}=-arctan(1)=color{red}{-frac{pi}{4}}.$$
          We do not strictly need Complex Analysis.






          share|cite|improve this answer





















            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%2f3024977%2fevaluating-a-definite-integral-using-residue-theorem%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
            0
            down vote



            accepted










            Any singularity outside the contour will be irrelevant to the integral.



            The poles in this case will be of order $2$. A residue for a pole of order at most $m$ can be found from
            $$Res(f,z_0)=frac1{(m-1)!}lim_{zto z_0}frac{d^{m-1}}{dz^{m-1}}(z-z_0)^mf(z)$$
            which for large $m$ can be frustrating but should be OK in this case.






            share|cite|improve this answer





















            • Ah yes, you are right that it is a pole of order 2, thank you for catching my mistake!
              – Richard Villalobos
              Dec 4 at 1:25










            • so would I have $$Res(g,z_0) = lim_{z rightarrow i} 2(z-z_0) [frac{(z^2+1)^2}{z}-log(z)4z(z^2+1)]frac{1}{(z^2+1)^3}$$ and if so wouldnt this limit be zero?
              – Richard Villalobos
              Dec 4 at 2:05












            • I can't follow your differentiation. Remember that in this case $z_0=i$, and that $$(z-z_0)^2f(z)=frac{(z-i)^2}{(z^2+1)^2}log z ,$$ simplify first then differentiate. The answer might be zero, I haven't worked it out.
              – David
              Dec 4 at 3:00















            up vote
            0
            down vote



            accepted










            Any singularity outside the contour will be irrelevant to the integral.



            The poles in this case will be of order $2$. A residue for a pole of order at most $m$ can be found from
            $$Res(f,z_0)=frac1{(m-1)!}lim_{zto z_0}frac{d^{m-1}}{dz^{m-1}}(z-z_0)^mf(z)$$
            which for large $m$ can be frustrating but should be OK in this case.






            share|cite|improve this answer





















            • Ah yes, you are right that it is a pole of order 2, thank you for catching my mistake!
              – Richard Villalobos
              Dec 4 at 1:25










            • so would I have $$Res(g,z_0) = lim_{z rightarrow i} 2(z-z_0) [frac{(z^2+1)^2}{z}-log(z)4z(z^2+1)]frac{1}{(z^2+1)^3}$$ and if so wouldnt this limit be zero?
              – Richard Villalobos
              Dec 4 at 2:05












            • I can't follow your differentiation. Remember that in this case $z_0=i$, and that $$(z-z_0)^2f(z)=frac{(z-i)^2}{(z^2+1)^2}log z ,$$ simplify first then differentiate. The answer might be zero, I haven't worked it out.
              – David
              Dec 4 at 3:00













            up vote
            0
            down vote



            accepted







            up vote
            0
            down vote



            accepted






            Any singularity outside the contour will be irrelevant to the integral.



            The poles in this case will be of order $2$. A residue for a pole of order at most $m$ can be found from
            $$Res(f,z_0)=frac1{(m-1)!}lim_{zto z_0}frac{d^{m-1}}{dz^{m-1}}(z-z_0)^mf(z)$$
            which for large $m$ can be frustrating but should be OK in this case.






            share|cite|improve this answer












            Any singularity outside the contour will be irrelevant to the integral.



            The poles in this case will be of order $2$. A residue for a pole of order at most $m$ can be found from
            $$Res(f,z_0)=frac1{(m-1)!}lim_{zto z_0}frac{d^{m-1}}{dz^{m-1}}(z-z_0)^mf(z)$$
            which for large $m$ can be frustrating but should be OK in this case.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Dec 4 at 1:21









            David

            67.4k663126




            67.4k663126












            • Ah yes, you are right that it is a pole of order 2, thank you for catching my mistake!
              – Richard Villalobos
              Dec 4 at 1:25










            • so would I have $$Res(g,z_0) = lim_{z rightarrow i} 2(z-z_0) [frac{(z^2+1)^2}{z}-log(z)4z(z^2+1)]frac{1}{(z^2+1)^3}$$ and if so wouldnt this limit be zero?
              – Richard Villalobos
              Dec 4 at 2:05












            • I can't follow your differentiation. Remember that in this case $z_0=i$, and that $$(z-z_0)^2f(z)=frac{(z-i)^2}{(z^2+1)^2}log z ,$$ simplify first then differentiate. The answer might be zero, I haven't worked it out.
              – David
              Dec 4 at 3:00


















            • Ah yes, you are right that it is a pole of order 2, thank you for catching my mistake!
              – Richard Villalobos
              Dec 4 at 1:25










            • so would I have $$Res(g,z_0) = lim_{z rightarrow i} 2(z-z_0) [frac{(z^2+1)^2}{z}-log(z)4z(z^2+1)]frac{1}{(z^2+1)^3}$$ and if so wouldnt this limit be zero?
              – Richard Villalobos
              Dec 4 at 2:05












            • I can't follow your differentiation. Remember that in this case $z_0=i$, and that $$(z-z_0)^2f(z)=frac{(z-i)^2}{(z^2+1)^2}log z ,$$ simplify first then differentiate. The answer might be zero, I haven't worked it out.
              – David
              Dec 4 at 3:00
















            Ah yes, you are right that it is a pole of order 2, thank you for catching my mistake!
            – Richard Villalobos
            Dec 4 at 1:25




            Ah yes, you are right that it is a pole of order 2, thank you for catching my mistake!
            – Richard Villalobos
            Dec 4 at 1:25












            so would I have $$Res(g,z_0) = lim_{z rightarrow i} 2(z-z_0) [frac{(z^2+1)^2}{z}-log(z)4z(z^2+1)]frac{1}{(z^2+1)^3}$$ and if so wouldnt this limit be zero?
            – Richard Villalobos
            Dec 4 at 2:05






            so would I have $$Res(g,z_0) = lim_{z rightarrow i} 2(z-z_0) [frac{(z^2+1)^2}{z}-log(z)4z(z^2+1)]frac{1}{(z^2+1)^3}$$ and if so wouldnt this limit be zero?
            – Richard Villalobos
            Dec 4 at 2:05














            I can't follow your differentiation. Remember that in this case $z_0=i$, and that $$(z-z_0)^2f(z)=frac{(z-i)^2}{(z^2+1)^2}log z ,$$ simplify first then differentiate. The answer might be zero, I haven't worked it out.
            – David
            Dec 4 at 3:00




            I can't follow your differentiation. Remember that in this case $z_0=i$, and that $$(z-z_0)^2f(z)=frac{(z-i)^2}{(z^2+1)^2}log z ,$$ simplify first then differentiate. The answer might be zero, I haven't worked it out.
            – David
            Dec 4 at 3:00










            up vote
            0
            down vote













            You are trying to show... what?
            $$begin{eqnarray*}int_{0}^{+infty}frac{log(x)}{(1+x^2)^2},dx &=& int_{0}^{1}frac{log x}{(1+x^2)^2},dx+underbrace{int_{0}^{1}frac{-x^2log(x)}{(1+x^2)^2},dx}_{xmapsto 1/x}\&=&int_{0}^{1}frac{1-x^2}{(1+x^2)^2}log(x),dxend{eqnarray*} $$
            and since $$forall xin(0,1),qquad frac{1-x^2}{(1+x^2)^2}=sum_{ngeq 0}(-1)^n (2n+1) x^{2n}, $$
            $$ int_{0}^{1}x^{2n}log(x),dx = -frac{1}{(2n+1)^2}$$
            we have:
            $$ int_{0}^{+infty}frac{log x}{(1+x^2)^2},dx = -sum_{ngeq 0}frac{(-1)^n}{2n+1}=-arctan(1)=color{red}{-frac{pi}{4}}.$$
            We do not strictly need Complex Analysis.






            share|cite|improve this answer

























              up vote
              0
              down vote













              You are trying to show... what?
              $$begin{eqnarray*}int_{0}^{+infty}frac{log(x)}{(1+x^2)^2},dx &=& int_{0}^{1}frac{log x}{(1+x^2)^2},dx+underbrace{int_{0}^{1}frac{-x^2log(x)}{(1+x^2)^2},dx}_{xmapsto 1/x}\&=&int_{0}^{1}frac{1-x^2}{(1+x^2)^2}log(x),dxend{eqnarray*} $$
              and since $$forall xin(0,1),qquad frac{1-x^2}{(1+x^2)^2}=sum_{ngeq 0}(-1)^n (2n+1) x^{2n}, $$
              $$ int_{0}^{1}x^{2n}log(x),dx = -frac{1}{(2n+1)^2}$$
              we have:
              $$ int_{0}^{+infty}frac{log x}{(1+x^2)^2},dx = -sum_{ngeq 0}frac{(-1)^n}{2n+1}=-arctan(1)=color{red}{-frac{pi}{4}}.$$
              We do not strictly need Complex Analysis.






              share|cite|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                You are trying to show... what?
                $$begin{eqnarray*}int_{0}^{+infty}frac{log(x)}{(1+x^2)^2},dx &=& int_{0}^{1}frac{log x}{(1+x^2)^2},dx+underbrace{int_{0}^{1}frac{-x^2log(x)}{(1+x^2)^2},dx}_{xmapsto 1/x}\&=&int_{0}^{1}frac{1-x^2}{(1+x^2)^2}log(x),dxend{eqnarray*} $$
                and since $$forall xin(0,1),qquad frac{1-x^2}{(1+x^2)^2}=sum_{ngeq 0}(-1)^n (2n+1) x^{2n}, $$
                $$ int_{0}^{1}x^{2n}log(x),dx = -frac{1}{(2n+1)^2}$$
                we have:
                $$ int_{0}^{+infty}frac{log x}{(1+x^2)^2},dx = -sum_{ngeq 0}frac{(-1)^n}{2n+1}=-arctan(1)=color{red}{-frac{pi}{4}}.$$
                We do not strictly need Complex Analysis.






                share|cite|improve this answer












                You are trying to show... what?
                $$begin{eqnarray*}int_{0}^{+infty}frac{log(x)}{(1+x^2)^2},dx &=& int_{0}^{1}frac{log x}{(1+x^2)^2},dx+underbrace{int_{0}^{1}frac{-x^2log(x)}{(1+x^2)^2},dx}_{xmapsto 1/x}\&=&int_{0}^{1}frac{1-x^2}{(1+x^2)^2}log(x),dxend{eqnarray*} $$
                and since $$forall xin(0,1),qquad frac{1-x^2}{(1+x^2)^2}=sum_{ngeq 0}(-1)^n (2n+1) x^{2n}, $$
                $$ int_{0}^{1}x^{2n}log(x),dx = -frac{1}{(2n+1)^2}$$
                we have:
                $$ int_{0}^{+infty}frac{log x}{(1+x^2)^2},dx = -sum_{ngeq 0}frac{(-1)^n}{2n+1}=-arctan(1)=color{red}{-frac{pi}{4}}.$$
                We do not strictly need Complex Analysis.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 4 at 10:51









                Jack D'Aurizio

                285k33275654




                285k33275654






























                    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%2f3024977%2fevaluating-a-definite-integral-using-residue-theorem%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

                    Bressuire

                    Cabo Verde

                    Gyllenstierna