Compute complex integral inside an open curve












2












$begingroup$


I need to compute this complex integral:



$$ int_gamma frac{1}{(z-i)(z-2i)} dz $$



$gamma$ is defined as:



$$ gamma (t) = t + i(3e^tcos^2(t)) $$



The parameter t belongs to the following interval: $[frac{-pi}{2},frac{pi}{2}] $



My approach to this question was to use the Residue's Theorem. However, the theorem requires a closed curve.



The problem above does not portray a closed curve. It is an open one.



I know that open curves can be manipulated as closed ones. You treat it artificially as a closed one and, by the end, you take out (or add) something.



How can I approach this integral?



The partial result of the residues is:



$Res(f,i)= i$ and $Res(f,2i)=-i$



Hence:



$2pi i(+i-i)=0 $



P.S.: I also tried a different approach with the formula:



$$ int f(gamma(t))gamma'(t)dt $$



Nonetheless, this approach results in a massive and ugly integral. I think the correct approach is the manipulation described above.





UPDATE



Professor Robert Israel commented bellow and suggested using a third approach with $F(gamma(pi/2)) - F(gamma(-pi/2))$. In order to do that, I needed to find the primitives. I got them with a little help from Wolfram Alpha. As you can see bellow, the primitive is not really friendly. I am still curious on how to solve this problem treating the curve as a closed one and manipulating it:
enter image description here










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    The point is that to do it with primitives, which is really the easiest way, you need to split the integral up as in my answer, and then define an appropriate branch of the complex logarithm, as Dr. Israel says. Then, the result falls out. Wolfram is giving you an antiderivative using the Log function, which is not analytic in any open set containing $gamma$, so it won't work.
    $endgroup$
    – Matematleta
    Dec 11 '18 at 23:30








  • 1




    $begingroup$
    I don't know why Wolfram alpha's giving you such a complicated-looking primitive, but it really isn't. Use partial fraction decomposition.
    $endgroup$
    – Dylan
    Dec 12 '18 at 6:51
















2












$begingroup$


I need to compute this complex integral:



$$ int_gamma frac{1}{(z-i)(z-2i)} dz $$



$gamma$ is defined as:



$$ gamma (t) = t + i(3e^tcos^2(t)) $$



The parameter t belongs to the following interval: $[frac{-pi}{2},frac{pi}{2}] $



My approach to this question was to use the Residue's Theorem. However, the theorem requires a closed curve.



The problem above does not portray a closed curve. It is an open one.



I know that open curves can be manipulated as closed ones. You treat it artificially as a closed one and, by the end, you take out (or add) something.



How can I approach this integral?



The partial result of the residues is:



$Res(f,i)= i$ and $Res(f,2i)=-i$



Hence:



$2pi i(+i-i)=0 $



P.S.: I also tried a different approach with the formula:



$$ int f(gamma(t))gamma'(t)dt $$



Nonetheless, this approach results in a massive and ugly integral. I think the correct approach is the manipulation described above.





UPDATE



Professor Robert Israel commented bellow and suggested using a third approach with $F(gamma(pi/2)) - F(gamma(-pi/2))$. In order to do that, I needed to find the primitives. I got them with a little help from Wolfram Alpha. As you can see bellow, the primitive is not really friendly. I am still curious on how to solve this problem treating the curve as a closed one and manipulating it:
enter image description here










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    The point is that to do it with primitives, which is really the easiest way, you need to split the integral up as in my answer, and then define an appropriate branch of the complex logarithm, as Dr. Israel says. Then, the result falls out. Wolfram is giving you an antiderivative using the Log function, which is not analytic in any open set containing $gamma$, so it won't work.
    $endgroup$
    – Matematleta
    Dec 11 '18 at 23:30








  • 1




    $begingroup$
    I don't know why Wolfram alpha's giving you such a complicated-looking primitive, but it really isn't. Use partial fraction decomposition.
    $endgroup$
    – Dylan
    Dec 12 '18 at 6:51














2












2








2





$begingroup$


I need to compute this complex integral:



$$ int_gamma frac{1}{(z-i)(z-2i)} dz $$



$gamma$ is defined as:



$$ gamma (t) = t + i(3e^tcos^2(t)) $$



The parameter t belongs to the following interval: $[frac{-pi}{2},frac{pi}{2}] $



My approach to this question was to use the Residue's Theorem. However, the theorem requires a closed curve.



The problem above does not portray a closed curve. It is an open one.



I know that open curves can be manipulated as closed ones. You treat it artificially as a closed one and, by the end, you take out (or add) something.



How can I approach this integral?



The partial result of the residues is:



$Res(f,i)= i$ and $Res(f,2i)=-i$



Hence:



$2pi i(+i-i)=0 $



P.S.: I also tried a different approach with the formula:



$$ int f(gamma(t))gamma'(t)dt $$



Nonetheless, this approach results in a massive and ugly integral. I think the correct approach is the manipulation described above.





UPDATE



Professor Robert Israel commented bellow and suggested using a third approach with $F(gamma(pi/2)) - F(gamma(-pi/2))$. In order to do that, I needed to find the primitives. I got them with a little help from Wolfram Alpha. As you can see bellow, the primitive is not really friendly. I am still curious on how to solve this problem treating the curve as a closed one and manipulating it:
enter image description here










share|cite|improve this question











$endgroup$




I need to compute this complex integral:



$$ int_gamma frac{1}{(z-i)(z-2i)} dz $$



$gamma$ is defined as:



$$ gamma (t) = t + i(3e^tcos^2(t)) $$



The parameter t belongs to the following interval: $[frac{-pi}{2},frac{pi}{2}] $



My approach to this question was to use the Residue's Theorem. However, the theorem requires a closed curve.



The problem above does not portray a closed curve. It is an open one.



I know that open curves can be manipulated as closed ones. You treat it artificially as a closed one and, by the end, you take out (or add) something.



How can I approach this integral?



The partial result of the residues is:



$Res(f,i)= i$ and $Res(f,2i)=-i$



Hence:



$2pi i(+i-i)=0 $



P.S.: I also tried a different approach with the formula:



$$ int f(gamma(t))gamma'(t)dt $$



Nonetheless, this approach results in a massive and ugly integral. I think the correct approach is the manipulation described above.





UPDATE



Professor Robert Israel commented bellow and suggested using a third approach with $F(gamma(pi/2)) - F(gamma(-pi/2))$. In order to do that, I needed to find the primitives. I got them with a little help from Wolfram Alpha. As you can see bellow, the primitive is not really friendly. I am still curious on how to solve this problem treating the curve as a closed one and manipulating it:
enter image description here







integration complex-analysis residue-calculus complex-integration






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 12 '18 at 12:47







Pedro Delfino

















asked Dec 11 '18 at 20:33









Pedro DelfinoPedro Delfino

857




857








  • 1




    $begingroup$
    The point is that to do it with primitives, which is really the easiest way, you need to split the integral up as in my answer, and then define an appropriate branch of the complex logarithm, as Dr. Israel says. Then, the result falls out. Wolfram is giving you an antiderivative using the Log function, which is not analytic in any open set containing $gamma$, so it won't work.
    $endgroup$
    – Matematleta
    Dec 11 '18 at 23:30








  • 1




    $begingroup$
    I don't know why Wolfram alpha's giving you such a complicated-looking primitive, but it really isn't. Use partial fraction decomposition.
    $endgroup$
    – Dylan
    Dec 12 '18 at 6:51














  • 1




    $begingroup$
    The point is that to do it with primitives, which is really the easiest way, you need to split the integral up as in my answer, and then define an appropriate branch of the complex logarithm, as Dr. Israel says. Then, the result falls out. Wolfram is giving you an antiderivative using the Log function, which is not analytic in any open set containing $gamma$, so it won't work.
    $endgroup$
    – Matematleta
    Dec 11 '18 at 23:30








  • 1




    $begingroup$
    I don't know why Wolfram alpha's giving you such a complicated-looking primitive, but it really isn't. Use partial fraction decomposition.
    $endgroup$
    – Dylan
    Dec 12 '18 at 6:51








1




1




$begingroup$
The point is that to do it with primitives, which is really the easiest way, you need to split the integral up as in my answer, and then define an appropriate branch of the complex logarithm, as Dr. Israel says. Then, the result falls out. Wolfram is giving you an antiderivative using the Log function, which is not analytic in any open set containing $gamma$, so it won't work.
$endgroup$
– Matematleta
Dec 11 '18 at 23:30






$begingroup$
The point is that to do it with primitives, which is really the easiest way, you need to split the integral up as in my answer, and then define an appropriate branch of the complex logarithm, as Dr. Israel says. Then, the result falls out. Wolfram is giving you an antiderivative using the Log function, which is not analytic in any open set containing $gamma$, so it won't work.
$endgroup$
– Matematleta
Dec 11 '18 at 23:30






1




1




$begingroup$
I don't know why Wolfram alpha's giving you such a complicated-looking primitive, but it really isn't. Use partial fraction decomposition.
$endgroup$
– Dylan
Dec 12 '18 at 6:51




$begingroup$
I don't know why Wolfram alpha's giving you such a complicated-looking primitive, but it really isn't. Use partial fraction decomposition.
$endgroup$
– Dylan
Dec 12 '18 at 6:51










2 Answers
2






active

oldest

votes


















2












$begingroup$

Here is a brute force approach. First, decompose the integrand:



$int_gamma frac{1}{(z-i)(z-2i)} dz=iint_gamma frac{1}{z-i} dz-iint_gamma frac{1}{z-2i} dz.$



Now, treat each one separately:



For the first integral, complete $gamma $ to a closed curve $Gamma$ by taking $gamma_1$ to be the circular arc centered at $z=i$ of radius $|i-pi/2|$ going from $x=-pi/2$ to $x=pi/2$ and find that the angle $theta $ subtended by this arc is given by $cos frac{1}{2}theta=frac{1}{|i-pi/2|}.$ Then, $iint_{gamma_1} frac{1}{z-i} dz=-theta.$



Now, the argument principle applies to show that $iint_{Gamma} frac{1}{z-i} dz=i(2pi i)(1)=-2pi.$



Therefore, $iint_{Gamma} frac{1}{z-i} dz=iint_{gamma_1} frac{1}{z-i} dz-iint_{gamma} frac{1}{z-i} dzRightarrow int_{gamma} frac{1}{z-i} dz=itheta-2pi i$.



The second integral is treated in the same way, this time with a circle centered at $2i$.






share|cite|improve this answer











$endgroup$





















    2












    $begingroup$

    Hint: find an antiderivative $F$ of the integrand that is analytic in a region containing the curve $gamma$. For this it suffices that any branch cuts are on the imaginary axis below $2i$.
    Then the integral is $F(gamma(pi/2)) - F(gamma(-pi/2))$.






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      Thanks, Professor Israel. I had a go on your suggestion with a little help from Wolfram Alpha. The primitive I got is not really nice: wolframalpha.com/input/?i=integral+of+1%2F((z-i)(z-2i))+dz
      $endgroup$
      – Pedro Delfino
      Dec 11 '18 at 22:35












    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%2f3035780%2fcompute-complex-integral-inside-an-open-curve%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









    2












    $begingroup$

    Here is a brute force approach. First, decompose the integrand:



    $int_gamma frac{1}{(z-i)(z-2i)} dz=iint_gamma frac{1}{z-i} dz-iint_gamma frac{1}{z-2i} dz.$



    Now, treat each one separately:



    For the first integral, complete $gamma $ to a closed curve $Gamma$ by taking $gamma_1$ to be the circular arc centered at $z=i$ of radius $|i-pi/2|$ going from $x=-pi/2$ to $x=pi/2$ and find that the angle $theta $ subtended by this arc is given by $cos frac{1}{2}theta=frac{1}{|i-pi/2|}.$ Then, $iint_{gamma_1} frac{1}{z-i} dz=-theta.$



    Now, the argument principle applies to show that $iint_{Gamma} frac{1}{z-i} dz=i(2pi i)(1)=-2pi.$



    Therefore, $iint_{Gamma} frac{1}{z-i} dz=iint_{gamma_1} frac{1}{z-i} dz-iint_{gamma} frac{1}{z-i} dzRightarrow int_{gamma} frac{1}{z-i} dz=itheta-2pi i$.



    The second integral is treated in the same way, this time with a circle centered at $2i$.






    share|cite|improve this answer











    $endgroup$


















      2












      $begingroup$

      Here is a brute force approach. First, decompose the integrand:



      $int_gamma frac{1}{(z-i)(z-2i)} dz=iint_gamma frac{1}{z-i} dz-iint_gamma frac{1}{z-2i} dz.$



      Now, treat each one separately:



      For the first integral, complete $gamma $ to a closed curve $Gamma$ by taking $gamma_1$ to be the circular arc centered at $z=i$ of radius $|i-pi/2|$ going from $x=-pi/2$ to $x=pi/2$ and find that the angle $theta $ subtended by this arc is given by $cos frac{1}{2}theta=frac{1}{|i-pi/2|}.$ Then, $iint_{gamma_1} frac{1}{z-i} dz=-theta.$



      Now, the argument principle applies to show that $iint_{Gamma} frac{1}{z-i} dz=i(2pi i)(1)=-2pi.$



      Therefore, $iint_{Gamma} frac{1}{z-i} dz=iint_{gamma_1} frac{1}{z-i} dz-iint_{gamma} frac{1}{z-i} dzRightarrow int_{gamma} frac{1}{z-i} dz=itheta-2pi i$.



      The second integral is treated in the same way, this time with a circle centered at $2i$.






      share|cite|improve this answer











      $endgroup$
















        2












        2








        2





        $begingroup$

        Here is a brute force approach. First, decompose the integrand:



        $int_gamma frac{1}{(z-i)(z-2i)} dz=iint_gamma frac{1}{z-i} dz-iint_gamma frac{1}{z-2i} dz.$



        Now, treat each one separately:



        For the first integral, complete $gamma $ to a closed curve $Gamma$ by taking $gamma_1$ to be the circular arc centered at $z=i$ of radius $|i-pi/2|$ going from $x=-pi/2$ to $x=pi/2$ and find that the angle $theta $ subtended by this arc is given by $cos frac{1}{2}theta=frac{1}{|i-pi/2|}.$ Then, $iint_{gamma_1} frac{1}{z-i} dz=-theta.$



        Now, the argument principle applies to show that $iint_{Gamma} frac{1}{z-i} dz=i(2pi i)(1)=-2pi.$



        Therefore, $iint_{Gamma} frac{1}{z-i} dz=iint_{gamma_1} frac{1}{z-i} dz-iint_{gamma} frac{1}{z-i} dzRightarrow int_{gamma} frac{1}{z-i} dz=itheta-2pi i$.



        The second integral is treated in the same way, this time with a circle centered at $2i$.






        share|cite|improve this answer











        $endgroup$



        Here is a brute force approach. First, decompose the integrand:



        $int_gamma frac{1}{(z-i)(z-2i)} dz=iint_gamma frac{1}{z-i} dz-iint_gamma frac{1}{z-2i} dz.$



        Now, treat each one separately:



        For the first integral, complete $gamma $ to a closed curve $Gamma$ by taking $gamma_1$ to be the circular arc centered at $z=i$ of radius $|i-pi/2|$ going from $x=-pi/2$ to $x=pi/2$ and find that the angle $theta $ subtended by this arc is given by $cos frac{1}{2}theta=frac{1}{|i-pi/2|}.$ Then, $iint_{gamma_1} frac{1}{z-i} dz=-theta.$



        Now, the argument principle applies to show that $iint_{Gamma} frac{1}{z-i} dz=i(2pi i)(1)=-2pi.$



        Therefore, $iint_{Gamma} frac{1}{z-i} dz=iint_{gamma_1} frac{1}{z-i} dz-iint_{gamma} frac{1}{z-i} dzRightarrow int_{gamma} frac{1}{z-i} dz=itheta-2pi i$.



        The second integral is treated in the same way, this time with a circle centered at $2i$.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Dec 11 '18 at 21:57

























        answered Dec 11 '18 at 21:10









        MatematletaMatematleta

        12k21020




        12k21020























            2












            $begingroup$

            Hint: find an antiderivative $F$ of the integrand that is analytic in a region containing the curve $gamma$. For this it suffices that any branch cuts are on the imaginary axis below $2i$.
            Then the integral is $F(gamma(pi/2)) - F(gamma(-pi/2))$.






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Thanks, Professor Israel. I had a go on your suggestion with a little help from Wolfram Alpha. The primitive I got is not really nice: wolframalpha.com/input/?i=integral+of+1%2F((z-i)(z-2i))+dz
              $endgroup$
              – Pedro Delfino
              Dec 11 '18 at 22:35
















            2












            $begingroup$

            Hint: find an antiderivative $F$ of the integrand that is analytic in a region containing the curve $gamma$. For this it suffices that any branch cuts are on the imaginary axis below $2i$.
            Then the integral is $F(gamma(pi/2)) - F(gamma(-pi/2))$.






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Thanks, Professor Israel. I had a go on your suggestion with a little help from Wolfram Alpha. The primitive I got is not really nice: wolframalpha.com/input/?i=integral+of+1%2F((z-i)(z-2i))+dz
              $endgroup$
              – Pedro Delfino
              Dec 11 '18 at 22:35














            2












            2








            2





            $begingroup$

            Hint: find an antiderivative $F$ of the integrand that is analytic in a region containing the curve $gamma$. For this it suffices that any branch cuts are on the imaginary axis below $2i$.
            Then the integral is $F(gamma(pi/2)) - F(gamma(-pi/2))$.






            share|cite|improve this answer









            $endgroup$



            Hint: find an antiderivative $F$ of the integrand that is analytic in a region containing the curve $gamma$. For this it suffices that any branch cuts are on the imaginary axis below $2i$.
            Then the integral is $F(gamma(pi/2)) - F(gamma(-pi/2))$.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Dec 11 '18 at 20:39









            Robert IsraelRobert Israel

            330k23218473




            330k23218473












            • $begingroup$
              Thanks, Professor Israel. I had a go on your suggestion with a little help from Wolfram Alpha. The primitive I got is not really nice: wolframalpha.com/input/?i=integral+of+1%2F((z-i)(z-2i))+dz
              $endgroup$
              – Pedro Delfino
              Dec 11 '18 at 22:35


















            • $begingroup$
              Thanks, Professor Israel. I had a go on your suggestion with a little help from Wolfram Alpha. The primitive I got is not really nice: wolframalpha.com/input/?i=integral+of+1%2F((z-i)(z-2i))+dz
              $endgroup$
              – Pedro Delfino
              Dec 11 '18 at 22:35
















            $begingroup$
            Thanks, Professor Israel. I had a go on your suggestion with a little help from Wolfram Alpha. The primitive I got is not really nice: wolframalpha.com/input/?i=integral+of+1%2F((z-i)(z-2i))+dz
            $endgroup$
            – Pedro Delfino
            Dec 11 '18 at 22:35




            $begingroup$
            Thanks, Professor Israel. I had a go on your suggestion with a little help from Wolfram Alpha. The primitive I got is not really nice: wolframalpha.com/input/?i=integral+of+1%2F((z-i)(z-2i))+dz
            $endgroup$
            – Pedro Delfino
            Dec 11 '18 at 22:35


















            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%2f3035780%2fcompute-complex-integral-inside-an-open-curve%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

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?