evaluate $int_0^{infty}frac{x^a}{x^2+1}dx$ for $ain(0,1)$












1












$begingroup$


I am stuck on this complex analysis homework problem :( here is my attack so far:



If I integrate around a keyhole contour, I can show that $$int_0^{infty}frac{x^a}{x^2+1}dx=frac{2pi i}{1-e^{2api i}}sum_{win{i,-i}}RES(frac{e^{alog z}}{z^2+1},w).$$ Now, luckily the poles in this integrand are simple, so it's easy enough to find: $$RES(frac{e^{alog z}}{z^2+1},i)=frac{e^{api i/2}}{2i},$$ while $$RES(frac{e^{alog z}}{z^2+1},-i)=frac{-e^{-api i/2}}{2i},$$ and adding these fellas together we get $sin(api/2)$ by Euler's i.d. So it goes $$int_0^{infty}frac{x^a}{x^2+1}dx=frac{2pi isin(api/2)}{1-e^{2api i}}.$$ But where to go now? The integral on the left is real, while I have my doubts about the term on the right.



Have I made a mistake, or there's some further trick I don't see? (I'm almost certain it's the former, since I'm an expert at mistakes but an amateur at finding them). Anyways, I would appreciate any help, or advice on this problem. Thanks!










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    Factor out an $e^{pi a i}$ from the denominator
    $endgroup$
    – Frank W.
    Jan 26 at 22:06












  • $begingroup$
    @ Frank W. Oh I see! haha wow I'm dumb, thank you so much!!
    $endgroup$
    – T. Alexander
    Jan 26 at 22:20










  • $begingroup$
    While a useful technique, that doesn't actually solve the issue here. The expression written down is indeed not real.
    $endgroup$
    – jmerry
    Jan 26 at 22:24










  • $begingroup$
    @jmerry yes but it made it more clear what the issue with my solution was, also thank you for your answer as well!
    $endgroup$
    – T. Alexander
    Jan 26 at 22:39
















1












$begingroup$


I am stuck on this complex analysis homework problem :( here is my attack so far:



If I integrate around a keyhole contour, I can show that $$int_0^{infty}frac{x^a}{x^2+1}dx=frac{2pi i}{1-e^{2api i}}sum_{win{i,-i}}RES(frac{e^{alog z}}{z^2+1},w).$$ Now, luckily the poles in this integrand are simple, so it's easy enough to find: $$RES(frac{e^{alog z}}{z^2+1},i)=frac{e^{api i/2}}{2i},$$ while $$RES(frac{e^{alog z}}{z^2+1},-i)=frac{-e^{-api i/2}}{2i},$$ and adding these fellas together we get $sin(api/2)$ by Euler's i.d. So it goes $$int_0^{infty}frac{x^a}{x^2+1}dx=frac{2pi isin(api/2)}{1-e^{2api i}}.$$ But where to go now? The integral on the left is real, while I have my doubts about the term on the right.



Have I made a mistake, or there's some further trick I don't see? (I'm almost certain it's the former, since I'm an expert at mistakes but an amateur at finding them). Anyways, I would appreciate any help, or advice on this problem. Thanks!










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    Factor out an $e^{pi a i}$ from the denominator
    $endgroup$
    – Frank W.
    Jan 26 at 22:06












  • $begingroup$
    @ Frank W. Oh I see! haha wow I'm dumb, thank you so much!!
    $endgroup$
    – T. Alexander
    Jan 26 at 22:20










  • $begingroup$
    While a useful technique, that doesn't actually solve the issue here. The expression written down is indeed not real.
    $endgroup$
    – jmerry
    Jan 26 at 22:24










  • $begingroup$
    @jmerry yes but it made it more clear what the issue with my solution was, also thank you for your answer as well!
    $endgroup$
    – T. Alexander
    Jan 26 at 22:39














1












1








1





$begingroup$


I am stuck on this complex analysis homework problem :( here is my attack so far:



If I integrate around a keyhole contour, I can show that $$int_0^{infty}frac{x^a}{x^2+1}dx=frac{2pi i}{1-e^{2api i}}sum_{win{i,-i}}RES(frac{e^{alog z}}{z^2+1},w).$$ Now, luckily the poles in this integrand are simple, so it's easy enough to find: $$RES(frac{e^{alog z}}{z^2+1},i)=frac{e^{api i/2}}{2i},$$ while $$RES(frac{e^{alog z}}{z^2+1},-i)=frac{-e^{-api i/2}}{2i},$$ and adding these fellas together we get $sin(api/2)$ by Euler's i.d. So it goes $$int_0^{infty}frac{x^a}{x^2+1}dx=frac{2pi isin(api/2)}{1-e^{2api i}}.$$ But where to go now? The integral on the left is real, while I have my doubts about the term on the right.



Have I made a mistake, or there's some further trick I don't see? (I'm almost certain it's the former, since I'm an expert at mistakes but an amateur at finding them). Anyways, I would appreciate any help, or advice on this problem. Thanks!










share|cite|improve this question









$endgroup$




I am stuck on this complex analysis homework problem :( here is my attack so far:



If I integrate around a keyhole contour, I can show that $$int_0^{infty}frac{x^a}{x^2+1}dx=frac{2pi i}{1-e^{2api i}}sum_{win{i,-i}}RES(frac{e^{alog z}}{z^2+1},w).$$ Now, luckily the poles in this integrand are simple, so it's easy enough to find: $$RES(frac{e^{alog z}}{z^2+1},i)=frac{e^{api i/2}}{2i},$$ while $$RES(frac{e^{alog z}}{z^2+1},-i)=frac{-e^{-api i/2}}{2i},$$ and adding these fellas together we get $sin(api/2)$ by Euler's i.d. So it goes $$int_0^{infty}frac{x^a}{x^2+1}dx=frac{2pi isin(api/2)}{1-e^{2api i}}.$$ But where to go now? The integral on the left is real, while I have my doubts about the term on the right.



Have I made a mistake, or there's some further trick I don't see? (I'm almost certain it's the former, since I'm an expert at mistakes but an amateur at finding them). Anyways, I would appreciate any help, or advice on this problem. Thanks!







contour-integration






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 26 at 22:03









T. AlexanderT. Alexander

273




273








  • 2




    $begingroup$
    Factor out an $e^{pi a i}$ from the denominator
    $endgroup$
    – Frank W.
    Jan 26 at 22:06












  • $begingroup$
    @ Frank W. Oh I see! haha wow I'm dumb, thank you so much!!
    $endgroup$
    – T. Alexander
    Jan 26 at 22:20










  • $begingroup$
    While a useful technique, that doesn't actually solve the issue here. The expression written down is indeed not real.
    $endgroup$
    – jmerry
    Jan 26 at 22:24










  • $begingroup$
    @jmerry yes but it made it more clear what the issue with my solution was, also thank you for your answer as well!
    $endgroup$
    – T. Alexander
    Jan 26 at 22:39














  • 2




    $begingroup$
    Factor out an $e^{pi a i}$ from the denominator
    $endgroup$
    – Frank W.
    Jan 26 at 22:06












  • $begingroup$
    @ Frank W. Oh I see! haha wow I'm dumb, thank you so much!!
    $endgroup$
    – T. Alexander
    Jan 26 at 22:20










  • $begingroup$
    While a useful technique, that doesn't actually solve the issue here. The expression written down is indeed not real.
    $endgroup$
    – jmerry
    Jan 26 at 22:24










  • $begingroup$
    @jmerry yes but it made it more clear what the issue with my solution was, also thank you for your answer as well!
    $endgroup$
    – T. Alexander
    Jan 26 at 22:39








2




2




$begingroup$
Factor out an $e^{pi a i}$ from the denominator
$endgroup$
– Frank W.
Jan 26 at 22:06






$begingroup$
Factor out an $e^{pi a i}$ from the denominator
$endgroup$
– Frank W.
Jan 26 at 22:06














$begingroup$
@ Frank W. Oh I see! haha wow I'm dumb, thank you so much!!
$endgroup$
– T. Alexander
Jan 26 at 22:20




$begingroup$
@ Frank W. Oh I see! haha wow I'm dumb, thank you so much!!
$endgroup$
– T. Alexander
Jan 26 at 22:20












$begingroup$
While a useful technique, that doesn't actually solve the issue here. The expression written down is indeed not real.
$endgroup$
– jmerry
Jan 26 at 22:24




$begingroup$
While a useful technique, that doesn't actually solve the issue here. The expression written down is indeed not real.
$endgroup$
– jmerry
Jan 26 at 22:24












$begingroup$
@jmerry yes but it made it more clear what the issue with my solution was, also thank you for your answer as well!
$endgroup$
– T. Alexander
Jan 26 at 22:39




$begingroup$
@jmerry yes but it made it more clear what the issue with my solution was, also thank you for your answer as well!
$endgroup$
– T. Alexander
Jan 26 at 22:39










1 Answer
1






active

oldest

votes


















2












$begingroup$

The trick to this one? You've got the wrong residues. We have to use the same branch of the function in calculating the residues that we did in setting up the integral. Specifically, since we run $arg z$ from $0$ to $2pi$, we should write the two zeros of the denominator as $i=expleft(frac{pi i}{2}right)$ and $-i=expleft(frac{3pi i}{2}right)$. The residues are then $frac1{2i}e^{api i/2}{2i}$ and $frac{-1}{2i}e^{3api i/2}$.



That leads to a factor of $e^{api i}$ in the numerator. Divide through by it, the denominator becomes $i$ times a sine, and it all comes out real.






share|cite|improve this answer









$endgroup$













    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%2f3088825%2fevaluate-int-0-infty-fracxax21dx-for-a-in0-1%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2












    $begingroup$

    The trick to this one? You've got the wrong residues. We have to use the same branch of the function in calculating the residues that we did in setting up the integral. Specifically, since we run $arg z$ from $0$ to $2pi$, we should write the two zeros of the denominator as $i=expleft(frac{pi i}{2}right)$ and $-i=expleft(frac{3pi i}{2}right)$. The residues are then $frac1{2i}e^{api i/2}{2i}$ and $frac{-1}{2i}e^{3api i/2}$.



    That leads to a factor of $e^{api i}$ in the numerator. Divide through by it, the denominator becomes $i$ times a sine, and it all comes out real.






    share|cite|improve this answer









    $endgroup$


















      2












      $begingroup$

      The trick to this one? You've got the wrong residues. We have to use the same branch of the function in calculating the residues that we did in setting up the integral. Specifically, since we run $arg z$ from $0$ to $2pi$, we should write the two zeros of the denominator as $i=expleft(frac{pi i}{2}right)$ and $-i=expleft(frac{3pi i}{2}right)$. The residues are then $frac1{2i}e^{api i/2}{2i}$ and $frac{-1}{2i}e^{3api i/2}$.



      That leads to a factor of $e^{api i}$ in the numerator. Divide through by it, the denominator becomes $i$ times a sine, and it all comes out real.






      share|cite|improve this answer









      $endgroup$
















        2












        2








        2





        $begingroup$

        The trick to this one? You've got the wrong residues. We have to use the same branch of the function in calculating the residues that we did in setting up the integral. Specifically, since we run $arg z$ from $0$ to $2pi$, we should write the two zeros of the denominator as $i=expleft(frac{pi i}{2}right)$ and $-i=expleft(frac{3pi i}{2}right)$. The residues are then $frac1{2i}e^{api i/2}{2i}$ and $frac{-1}{2i}e^{3api i/2}$.



        That leads to a factor of $e^{api i}$ in the numerator. Divide through by it, the denominator becomes $i$ times a sine, and it all comes out real.






        share|cite|improve this answer









        $endgroup$



        The trick to this one? You've got the wrong residues. We have to use the same branch of the function in calculating the residues that we did in setting up the integral. Specifically, since we run $arg z$ from $0$ to $2pi$, we should write the two zeros of the denominator as $i=expleft(frac{pi i}{2}right)$ and $-i=expleft(frac{3pi i}{2}right)$. The residues are then $frac1{2i}e^{api i/2}{2i}$ and $frac{-1}{2i}e^{3api i/2}$.



        That leads to a factor of $e^{api i}$ in the numerator. Divide through by it, the denominator becomes $i$ times a sine, and it all comes out real.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 26 at 22:24









        jmerryjmerry

        15.8k1632




        15.8k1632






























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3088825%2fevaluate-int-0-infty-fracxax21dx-for-a-in0-1%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

            MongoDB - Not Authorized To Execute Command

            How to fix TextFormField cause rebuild widget in Flutter

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith