Evaluating $ int sqrt{x^2-1} dx$












0












$begingroup$


I've seen the $sec(theta)$ substitution, but can't I factor out an $i$ so that it becomes $isqrt{1-x^2}$? Then if I use the $sin(theta)=x$ substitution, it is comprised of only complex parts. If anyone could sort out the mistake, that'd be awesome!










share|cite|improve this question











$endgroup$












  • $begingroup$
    @OlivierOloa the expressions in the OP's statement are equivalent: $isqrt{1-x^2}=sqrt{x^2-1}$
    $endgroup$
    – Paras Khosla
    Jan 14 at 13:10












  • $begingroup$
    Why is it a problem that you obtain an imaginary result? Evaluate the integrand on [-1, 1].
    $endgroup$
    – Mariuslp
    Jan 14 at 13:46
















0












$begingroup$


I've seen the $sec(theta)$ substitution, but can't I factor out an $i$ so that it becomes $isqrt{1-x^2}$? Then if I use the $sin(theta)=x$ substitution, it is comprised of only complex parts. If anyone could sort out the mistake, that'd be awesome!










share|cite|improve this question











$endgroup$












  • $begingroup$
    @OlivierOloa the expressions in the OP's statement are equivalent: $isqrt{1-x^2}=sqrt{x^2-1}$
    $endgroup$
    – Paras Khosla
    Jan 14 at 13:10












  • $begingroup$
    Why is it a problem that you obtain an imaginary result? Evaluate the integrand on [-1, 1].
    $endgroup$
    – Mariuslp
    Jan 14 at 13:46














0












0








0





$begingroup$


I've seen the $sec(theta)$ substitution, but can't I factor out an $i$ so that it becomes $isqrt{1-x^2}$? Then if I use the $sin(theta)=x$ substitution, it is comprised of only complex parts. If anyone could sort out the mistake, that'd be awesome!










share|cite|improve this question











$endgroup$




I've seen the $sec(theta)$ substitution, but can't I factor out an $i$ so that it becomes $isqrt{1-x^2}$? Then if I use the $sin(theta)=x$ substitution, it is comprised of only complex parts. If anyone could sort out the mistake, that'd be awesome!







calculus






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 14 at 13:36









amWhy

1




1










asked Jan 14 at 13:02









KoushalKoushal

1




1












  • $begingroup$
    @OlivierOloa the expressions in the OP's statement are equivalent: $isqrt{1-x^2}=sqrt{x^2-1}$
    $endgroup$
    – Paras Khosla
    Jan 14 at 13:10












  • $begingroup$
    Why is it a problem that you obtain an imaginary result? Evaluate the integrand on [-1, 1].
    $endgroup$
    – Mariuslp
    Jan 14 at 13:46


















  • $begingroup$
    @OlivierOloa the expressions in the OP's statement are equivalent: $isqrt{1-x^2}=sqrt{x^2-1}$
    $endgroup$
    – Paras Khosla
    Jan 14 at 13:10












  • $begingroup$
    Why is it a problem that you obtain an imaginary result? Evaluate the integrand on [-1, 1].
    $endgroup$
    – Mariuslp
    Jan 14 at 13:46
















$begingroup$
@OlivierOloa the expressions in the OP's statement are equivalent: $isqrt{1-x^2}=sqrt{x^2-1}$
$endgroup$
– Paras Khosla
Jan 14 at 13:10






$begingroup$
@OlivierOloa the expressions in the OP's statement are equivalent: $isqrt{1-x^2}=sqrt{x^2-1}$
$endgroup$
– Paras Khosla
Jan 14 at 13:10














$begingroup$
Why is it a problem that you obtain an imaginary result? Evaluate the integrand on [-1, 1].
$endgroup$
– Mariuslp
Jan 14 at 13:46




$begingroup$
Why is it a problem that you obtain an imaginary result? Evaluate the integrand on [-1, 1].
$endgroup$
– Mariuslp
Jan 14 at 13:46










2 Answers
2






active

oldest

votes


















0












$begingroup$

You can handle this integral with the hyperbolic cosine rather than a trigonometric function.



By-parts integration also works:



$$I:=intsqrt{x^2-1}dx=xsqrt{x^2-1}-intfrac{x^2}{sqrt{x^2-1}}dx.$$



Then



$$intfrac{x^2}{sqrt{x^2-1}}dx=intfrac{x^2-1+1}{sqrt{x^2-1}}dx=intsqrt{x^2-1},dx+intfrac{dx}{sqrt{x^2-1}}=I+text{arcosh}(x),$$



and you can draw $I$.






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    The integral makes sense for $|x|ge1$, so generally your $theta$ will be complex and nonreal. So there's no real problem in getting a real function as the antiderivative, because the imaginary part will cancel out.



    On the other hand, you will have problems in determining $costheta$ given $sintheta$, because you have to choose the correct branch.



    If you go on, you will find the usual integral, multiplied by $i$,
    $$
    frac{i}{2}(theta-sinthetacostheta)=
    frac{1}{2}(iarcsin x-ixsqrt{1-x^2})=
    frac{1}{2}(iarcsin x+xsqrt{x^2-1})
    $$

    Note that, for $|x|>1$, $arcsin x$ is not real. You might enjoy determining it.






    share|cite|improve this answer











    $endgroup$









    • 1




      $begingroup$
      Who said that $|x|<1$ ?
      $endgroup$
      – Yves Daoust
      Jan 14 at 14:08










    • $begingroup$
      @YvesDaoust Surely I didn't.
      $endgroup$
      – egreg
      Jan 14 at 15:05











    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%2f3073206%2fevaluating-int-sqrtx2-1-dx%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









    0












    $begingroup$

    You can handle this integral with the hyperbolic cosine rather than a trigonometric function.



    By-parts integration also works:



    $$I:=intsqrt{x^2-1}dx=xsqrt{x^2-1}-intfrac{x^2}{sqrt{x^2-1}}dx.$$



    Then



    $$intfrac{x^2}{sqrt{x^2-1}}dx=intfrac{x^2-1+1}{sqrt{x^2-1}}dx=intsqrt{x^2-1},dx+intfrac{dx}{sqrt{x^2-1}}=I+text{arcosh}(x),$$



    and you can draw $I$.






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      You can handle this integral with the hyperbolic cosine rather than a trigonometric function.



      By-parts integration also works:



      $$I:=intsqrt{x^2-1}dx=xsqrt{x^2-1}-intfrac{x^2}{sqrt{x^2-1}}dx.$$



      Then



      $$intfrac{x^2}{sqrt{x^2-1}}dx=intfrac{x^2-1+1}{sqrt{x^2-1}}dx=intsqrt{x^2-1},dx+intfrac{dx}{sqrt{x^2-1}}=I+text{arcosh}(x),$$



      and you can draw $I$.






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        You can handle this integral with the hyperbolic cosine rather than a trigonometric function.



        By-parts integration also works:



        $$I:=intsqrt{x^2-1}dx=xsqrt{x^2-1}-intfrac{x^2}{sqrt{x^2-1}}dx.$$



        Then



        $$intfrac{x^2}{sqrt{x^2-1}}dx=intfrac{x^2-1+1}{sqrt{x^2-1}}dx=intsqrt{x^2-1},dx+intfrac{dx}{sqrt{x^2-1}}=I+text{arcosh}(x),$$



        and you can draw $I$.






        share|cite|improve this answer









        $endgroup$



        You can handle this integral with the hyperbolic cosine rather than a trigonometric function.



        By-parts integration also works:



        $$I:=intsqrt{x^2-1}dx=xsqrt{x^2-1}-intfrac{x^2}{sqrt{x^2-1}}dx.$$



        Then



        $$intfrac{x^2}{sqrt{x^2-1}}dx=intfrac{x^2-1+1}{sqrt{x^2-1}}dx=intsqrt{x^2-1},dx+intfrac{dx}{sqrt{x^2-1}}=I+text{arcosh}(x),$$



        and you can draw $I$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 14 at 14:05









        Yves DaoustYves Daoust

        128k674226




        128k674226























            0












            $begingroup$

            The integral makes sense for $|x|ge1$, so generally your $theta$ will be complex and nonreal. So there's no real problem in getting a real function as the antiderivative, because the imaginary part will cancel out.



            On the other hand, you will have problems in determining $costheta$ given $sintheta$, because you have to choose the correct branch.



            If you go on, you will find the usual integral, multiplied by $i$,
            $$
            frac{i}{2}(theta-sinthetacostheta)=
            frac{1}{2}(iarcsin x-ixsqrt{1-x^2})=
            frac{1}{2}(iarcsin x+xsqrt{x^2-1})
            $$

            Note that, for $|x|>1$, $arcsin x$ is not real. You might enjoy determining it.






            share|cite|improve this answer











            $endgroup$









            • 1




              $begingroup$
              Who said that $|x|<1$ ?
              $endgroup$
              – Yves Daoust
              Jan 14 at 14:08










            • $begingroup$
              @YvesDaoust Surely I didn't.
              $endgroup$
              – egreg
              Jan 14 at 15:05
















            0












            $begingroup$

            The integral makes sense for $|x|ge1$, so generally your $theta$ will be complex and nonreal. So there's no real problem in getting a real function as the antiderivative, because the imaginary part will cancel out.



            On the other hand, you will have problems in determining $costheta$ given $sintheta$, because you have to choose the correct branch.



            If you go on, you will find the usual integral, multiplied by $i$,
            $$
            frac{i}{2}(theta-sinthetacostheta)=
            frac{1}{2}(iarcsin x-ixsqrt{1-x^2})=
            frac{1}{2}(iarcsin x+xsqrt{x^2-1})
            $$

            Note that, for $|x|>1$, $arcsin x$ is not real. You might enjoy determining it.






            share|cite|improve this answer











            $endgroup$









            • 1




              $begingroup$
              Who said that $|x|<1$ ?
              $endgroup$
              – Yves Daoust
              Jan 14 at 14:08










            • $begingroup$
              @YvesDaoust Surely I didn't.
              $endgroup$
              – egreg
              Jan 14 at 15:05














            0












            0








            0





            $begingroup$

            The integral makes sense for $|x|ge1$, so generally your $theta$ will be complex and nonreal. So there's no real problem in getting a real function as the antiderivative, because the imaginary part will cancel out.



            On the other hand, you will have problems in determining $costheta$ given $sintheta$, because you have to choose the correct branch.



            If you go on, you will find the usual integral, multiplied by $i$,
            $$
            frac{i}{2}(theta-sinthetacostheta)=
            frac{1}{2}(iarcsin x-ixsqrt{1-x^2})=
            frac{1}{2}(iarcsin x+xsqrt{x^2-1})
            $$

            Note that, for $|x|>1$, $arcsin x$ is not real. You might enjoy determining it.






            share|cite|improve this answer











            $endgroup$



            The integral makes sense for $|x|ge1$, so generally your $theta$ will be complex and nonreal. So there's no real problem in getting a real function as the antiderivative, because the imaginary part will cancel out.



            On the other hand, you will have problems in determining $costheta$ given $sintheta$, because you have to choose the correct branch.



            If you go on, you will find the usual integral, multiplied by $i$,
            $$
            frac{i}{2}(theta-sinthetacostheta)=
            frac{1}{2}(iarcsin x-ixsqrt{1-x^2})=
            frac{1}{2}(iarcsin x+xsqrt{x^2-1})
            $$

            Note that, for $|x|>1$, $arcsin x$ is not real. You might enjoy determining it.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Jan 14 at 15:20

























            answered Jan 14 at 13:47









            egregegreg

            182k1485203




            182k1485203








            • 1




              $begingroup$
              Who said that $|x|<1$ ?
              $endgroup$
              – Yves Daoust
              Jan 14 at 14:08










            • $begingroup$
              @YvesDaoust Surely I didn't.
              $endgroup$
              – egreg
              Jan 14 at 15:05














            • 1




              $begingroup$
              Who said that $|x|<1$ ?
              $endgroup$
              – Yves Daoust
              Jan 14 at 14:08










            • $begingroup$
              @YvesDaoust Surely I didn't.
              $endgroup$
              – egreg
              Jan 14 at 15:05








            1




            1




            $begingroup$
            Who said that $|x|<1$ ?
            $endgroup$
            – Yves Daoust
            Jan 14 at 14:08




            $begingroup$
            Who said that $|x|<1$ ?
            $endgroup$
            – Yves Daoust
            Jan 14 at 14:08












            $begingroup$
            @YvesDaoust Surely I didn't.
            $endgroup$
            – egreg
            Jan 14 at 15:05




            $begingroup$
            @YvesDaoust Surely I didn't.
            $endgroup$
            – egreg
            Jan 14 at 15:05


















            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%2f3073206%2fevaluating-int-sqrtx2-1-dx%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

            'app-layout' is not a known element: how to share Component with different Modules

            android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

            WPF add header to Image with URL pettitions [duplicate]