Why Doesn't my Integration to Square Root Tan(x) Work?











up vote
-1
down vote

favorite












What is wrong with this solution?
https://www.mathcha.io/editor/egPXHEXSj3CD1ip1



$$I=int sqrt{tan x}dx$$
$u=sqrt{tan x}Rightarrow frac{2u}{u^2+1}du=dx$:
$$I=2intfrac{u^2}{u^2+1}du$$
$$I=2intfrac{u^2+1-1}{u^2+1}du$$
$$I=2bigg(int 1du-intfrac1{u^2+1}dubigg)$$
$$I=2big(u-arctan ubig)+C$$
$$I=2sqrt{tan x}-2arctansqrt{tan x}+C$$



Thanks!



Please do not link other solutions of this integral, I just want to know why the one I did is incorrect, thanks!










share|cite|improve this question




















  • 1




    Figuring out LaTeX is pretty much a requirement for using this site. Plus, you'll gain a great skill if you ever have to write-up math in the future.
    – JonathanZ
    Nov 24 at 1:09






  • 1




    I added the LaTex as an edit. Take a look at it so you can see how it's done.
    – clathratus
    Nov 24 at 1:16















up vote
-1
down vote

favorite












What is wrong with this solution?
https://www.mathcha.io/editor/egPXHEXSj3CD1ip1



$$I=int sqrt{tan x}dx$$
$u=sqrt{tan x}Rightarrow frac{2u}{u^2+1}du=dx$:
$$I=2intfrac{u^2}{u^2+1}du$$
$$I=2intfrac{u^2+1-1}{u^2+1}du$$
$$I=2bigg(int 1du-intfrac1{u^2+1}dubigg)$$
$$I=2big(u-arctan ubig)+C$$
$$I=2sqrt{tan x}-2arctansqrt{tan x}+C$$



Thanks!



Please do not link other solutions of this integral, I just want to know why the one I did is incorrect, thanks!










share|cite|improve this question




















  • 1




    Figuring out LaTeX is pretty much a requirement for using this site. Plus, you'll gain a great skill if you ever have to write-up math in the future.
    – JonathanZ
    Nov 24 at 1:09






  • 1




    I added the LaTex as an edit. Take a look at it so you can see how it's done.
    – clathratus
    Nov 24 at 1:16













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











What is wrong with this solution?
https://www.mathcha.io/editor/egPXHEXSj3CD1ip1



$$I=int sqrt{tan x}dx$$
$u=sqrt{tan x}Rightarrow frac{2u}{u^2+1}du=dx$:
$$I=2intfrac{u^2}{u^2+1}du$$
$$I=2intfrac{u^2+1-1}{u^2+1}du$$
$$I=2bigg(int 1du-intfrac1{u^2+1}dubigg)$$
$$I=2big(u-arctan ubig)+C$$
$$I=2sqrt{tan x}-2arctansqrt{tan x}+C$$



Thanks!



Please do not link other solutions of this integral, I just want to know why the one I did is incorrect, thanks!










share|cite|improve this question















What is wrong with this solution?
https://www.mathcha.io/editor/egPXHEXSj3CD1ip1



$$I=int sqrt{tan x}dx$$
$u=sqrt{tan x}Rightarrow frac{2u}{u^2+1}du=dx$:
$$I=2intfrac{u^2}{u^2+1}du$$
$$I=2intfrac{u^2+1-1}{u^2+1}du$$
$$I=2bigg(int 1du-intfrac1{u^2+1}dubigg)$$
$$I=2big(u-arctan ubig)+C$$
$$I=2sqrt{tan x}-2arctansqrt{tan x}+C$$



Thanks!



Please do not link other solutions of this integral, I just want to know why the one I did is incorrect, thanks!







integration






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 24 at 1:53









clathratus

2,673325




2,673325










asked Nov 24 at 0:50









Zach

12716




12716








  • 1




    Figuring out LaTeX is pretty much a requirement for using this site. Plus, you'll gain a great skill if you ever have to write-up math in the future.
    – JonathanZ
    Nov 24 at 1:09






  • 1




    I added the LaTex as an edit. Take a look at it so you can see how it's done.
    – clathratus
    Nov 24 at 1:16














  • 1




    Figuring out LaTeX is pretty much a requirement for using this site. Plus, you'll gain a great skill if you ever have to write-up math in the future.
    – JonathanZ
    Nov 24 at 1:09






  • 1




    I added the LaTex as an edit. Take a look at it so you can see how it's done.
    – clathratus
    Nov 24 at 1:16








1




1




Figuring out LaTeX is pretty much a requirement for using this site. Plus, you'll gain a great skill if you ever have to write-up math in the future.
– JonathanZ
Nov 24 at 1:09




Figuring out LaTeX is pretty much a requirement for using this site. Plus, you'll gain a great skill if you ever have to write-up math in the future.
– JonathanZ
Nov 24 at 1:09




1




1




I added the LaTex as an edit. Take a look at it so you can see how it's done.
– clathratus
Nov 24 at 1:16




I added the LaTex as an edit. Take a look at it so you can see how it's done.
– clathratus
Nov 24 at 1:16










2 Answers
2






active

oldest

votes

















up vote
4
down vote













$cos^2 x neq frac{1}{1+(sqrt{tan{x}})^2}$. $cos^2 x = frac{1}{1+(sqrt{tan{x}})^4} = frac{1}{1+u^4}$.






share|cite|improve this answer




























    up vote
    0
    down vote













    $$u=sqrt{tan x}implies x= tan ^{-1}left(u^2right)implies dx=frac{2 u}{u^4+1},du$$
    $$I=int sqrt{tan x},dx=2int frac{ u^2}{u^4+1},du=int frac{ u^2}{left(u^2-sqrt{2} u+1right) left(u^2+sqrt{2} u+1right)},du$$ Now, partial fraction decomposition
    $$I=frac 1 {sqrt 2}left(int frac{u}{u^2-sqrt{2} u+1} ,du-int frac{u}{u^2+sqrt{2} u+1},du right)$$ which becomes to be quite easy.






    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%2f3011037%2fwhy-doesnt-my-integration-to-square-root-tanx-work%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
      4
      down vote













      $cos^2 x neq frac{1}{1+(sqrt{tan{x}})^2}$. $cos^2 x = frac{1}{1+(sqrt{tan{x}})^4} = frac{1}{1+u^4}$.






      share|cite|improve this answer

























        up vote
        4
        down vote













        $cos^2 x neq frac{1}{1+(sqrt{tan{x}})^2}$. $cos^2 x = frac{1}{1+(sqrt{tan{x}})^4} = frac{1}{1+u^4}$.






        share|cite|improve this answer























          up vote
          4
          down vote










          up vote
          4
          down vote









          $cos^2 x neq frac{1}{1+(sqrt{tan{x}})^2}$. $cos^2 x = frac{1}{1+(sqrt{tan{x}})^4} = frac{1}{1+u^4}$.






          share|cite|improve this answer












          $cos^2 x neq frac{1}{1+(sqrt{tan{x}})^2}$. $cos^2 x = frac{1}{1+(sqrt{tan{x}})^4} = frac{1}{1+u^4}$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 24 at 0:58









          Eric Towers

          31.6k22265




          31.6k22265






















              up vote
              0
              down vote













              $$u=sqrt{tan x}implies x= tan ^{-1}left(u^2right)implies dx=frac{2 u}{u^4+1},du$$
              $$I=int sqrt{tan x},dx=2int frac{ u^2}{u^4+1},du=int frac{ u^2}{left(u^2-sqrt{2} u+1right) left(u^2+sqrt{2} u+1right)},du$$ Now, partial fraction decomposition
              $$I=frac 1 {sqrt 2}left(int frac{u}{u^2-sqrt{2} u+1} ,du-int frac{u}{u^2+sqrt{2} u+1},du right)$$ which becomes to be quite easy.






              share|cite|improve this answer

























                up vote
                0
                down vote













                $$u=sqrt{tan x}implies x= tan ^{-1}left(u^2right)implies dx=frac{2 u}{u^4+1},du$$
                $$I=int sqrt{tan x},dx=2int frac{ u^2}{u^4+1},du=int frac{ u^2}{left(u^2-sqrt{2} u+1right) left(u^2+sqrt{2} u+1right)},du$$ Now, partial fraction decomposition
                $$I=frac 1 {sqrt 2}left(int frac{u}{u^2-sqrt{2} u+1} ,du-int frac{u}{u^2+sqrt{2} u+1},du right)$$ which becomes to be quite easy.






                share|cite|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  $$u=sqrt{tan x}implies x= tan ^{-1}left(u^2right)implies dx=frac{2 u}{u^4+1},du$$
                  $$I=int sqrt{tan x},dx=2int frac{ u^2}{u^4+1},du=int frac{ u^2}{left(u^2-sqrt{2} u+1right) left(u^2+sqrt{2} u+1right)},du$$ Now, partial fraction decomposition
                  $$I=frac 1 {sqrt 2}left(int frac{u}{u^2-sqrt{2} u+1} ,du-int frac{u}{u^2+sqrt{2} u+1},du right)$$ which becomes to be quite easy.






                  share|cite|improve this answer












                  $$u=sqrt{tan x}implies x= tan ^{-1}left(u^2right)implies dx=frac{2 u}{u^4+1},du$$
                  $$I=int sqrt{tan x},dx=2int frac{ u^2}{u^4+1},du=int frac{ u^2}{left(u^2-sqrt{2} u+1right) left(u^2+sqrt{2} u+1right)},du$$ Now, partial fraction decomposition
                  $$I=frac 1 {sqrt 2}left(int frac{u}{u^2-sqrt{2} u+1} ,du-int frac{u}{u^2+sqrt{2} u+1},du right)$$ which becomes to be quite easy.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Nov 24 at 5:34









                  Claude Leibovici

                  118k1156131




                  118k1156131






























                      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%2f3011037%2fwhy-doesnt-my-integration-to-square-root-tanx-work%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

                      Willebadessen

                      Ida-Boy-Ed-Garten

                      Residenzschloss Arolsen