Integral $int_{-pi/2}^{pi/2} frac{e^{|sin x|}cos x}{1+e^{tan x}}$












0












$begingroup$


This question was given in an eBook. I was checking out recently and I can't really find the answer to this question. Let me tell you that I am a bit of a novice on this topic of integration right now so I would request you to answer this accordingly.



$$int_{-pi/2}^{pi/2} frac{e^{|sin x|}cos x}{1+e^{tan x}}$$



So I first tried it using $$int_{b}^a f(x)dx=int_{b}^a f(a+b-x)dx$$ after splitting the integration in the limits $0tofrac{pi}{2}$ and $,-frac{pi}{2} to0$ because of the mod. Then I scratched it and tried integration by parts. But it seems everything just goes way outside the league of the question.



Well I hope you are able to solve it and help me. Cheers.










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    This question was given in an eBook. I was checking out recently and I can't really find the answer to this question. Let me tell you that I am a bit of a novice on this topic of integration right now so I would request you to answer this accordingly.



    $$int_{-pi/2}^{pi/2} frac{e^{|sin x|}cos x}{1+e^{tan x}}$$



    So I first tried it using $$int_{b}^a f(x)dx=int_{b}^a f(a+b-x)dx$$ after splitting the integration in the limits $0tofrac{pi}{2}$ and $,-frac{pi}{2} to0$ because of the mod. Then I scratched it and tried integration by parts. But it seems everything just goes way outside the league of the question.



    Well I hope you are able to solve it and help me. Cheers.










    share|cite|improve this question











    $endgroup$















      0












      0








      0


      0



      $begingroup$


      This question was given in an eBook. I was checking out recently and I can't really find the answer to this question. Let me tell you that I am a bit of a novice on this topic of integration right now so I would request you to answer this accordingly.



      $$int_{-pi/2}^{pi/2} frac{e^{|sin x|}cos x}{1+e^{tan x}}$$



      So I first tried it using $$int_{b}^a f(x)dx=int_{b}^a f(a+b-x)dx$$ after splitting the integration in the limits $0tofrac{pi}{2}$ and $,-frac{pi}{2} to0$ because of the mod. Then I scratched it and tried integration by parts. But it seems everything just goes way outside the league of the question.



      Well I hope you are able to solve it and help me. Cheers.










      share|cite|improve this question











      $endgroup$




      This question was given in an eBook. I was checking out recently and I can't really find the answer to this question. Let me tell you that I am a bit of a novice on this topic of integration right now so I would request you to answer this accordingly.



      $$int_{-pi/2}^{pi/2} frac{e^{|sin x|}cos x}{1+e^{tan x}}$$



      So I first tried it using $$int_{b}^a f(x)dx=int_{b}^a f(a+b-x)dx$$ after splitting the integration in the limits $0tofrac{pi}{2}$ and $,-frac{pi}{2} to0$ because of the mod. Then I scratched it and tried integration by parts. But it seems everything just goes way outside the league of the question.



      Well I hope you are able to solve it and help me. Cheers.







      integration definite-integrals absolute-value






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 9 at 18:15









      Zacky

      7,2551961




      7,2551961










      asked Aug 3 '18 at 12:19









      SriSri

      13910




      13910






















          2 Answers
          2






          active

          oldest

          votes


















          3












          $begingroup$

          with $x=-t$ $$I=int_{-pi/2}^{pi/2} frac{e^{|sin t|}cos t}{1+e^{-tan t}}mathrm dt$$ sum this with the initial integral and notice that $e^{|sin x|}cos x$ is an even function, therefore: $$I=2frac12int_{0}^{pi/2} e^{sin x} cos x mathrm dx$$ because $sin x$ is positive for $xin [0,frac{pi}{2}], $now just substitute $sin x= u$ to get: $$I=int_0^1 e^u du=e-1$$






          share|cite|improve this answer









          $endgroup$





















            2












            $begingroup$

            Hint:



            Here $a+b=0$



            $I=displaystyleint_{pi/2}^{-pi/2}dfrac{e^{|sin x|}cos x}{1+e^{tan x}}$



            $=displaystyleint_{pi/2}^{-pi/2}dfrac{e^{|sin(- x)|}cos(-x)}{1+e^{tan(-x)}}=int_{pi/2}^{-pi/2}dfrac{e^{tan x}e^{|sin x|}cos x}{1+e^{tan x}}$



            $$I+I=int_{pi/2}^{-pi/2}e^{|sin x|}cos x dx$$



            Now split from $-pi/2,0$ and $0,pi/2$






            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%2f2871008%2fintegral-int-pi-2-pi-2-frace-sin-x-cos-x1e-tan-x%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









              3












              $begingroup$

              with $x=-t$ $$I=int_{-pi/2}^{pi/2} frac{e^{|sin t|}cos t}{1+e^{-tan t}}mathrm dt$$ sum this with the initial integral and notice that $e^{|sin x|}cos x$ is an even function, therefore: $$I=2frac12int_{0}^{pi/2} e^{sin x} cos x mathrm dx$$ because $sin x$ is positive for $xin [0,frac{pi}{2}], $now just substitute $sin x= u$ to get: $$I=int_0^1 e^u du=e-1$$






              share|cite|improve this answer









              $endgroup$


















                3












                $begingroup$

                with $x=-t$ $$I=int_{-pi/2}^{pi/2} frac{e^{|sin t|}cos t}{1+e^{-tan t}}mathrm dt$$ sum this with the initial integral and notice that $e^{|sin x|}cos x$ is an even function, therefore: $$I=2frac12int_{0}^{pi/2} e^{sin x} cos x mathrm dx$$ because $sin x$ is positive for $xin [0,frac{pi}{2}], $now just substitute $sin x= u$ to get: $$I=int_0^1 e^u du=e-1$$






                share|cite|improve this answer









                $endgroup$
















                  3












                  3








                  3





                  $begingroup$

                  with $x=-t$ $$I=int_{-pi/2}^{pi/2} frac{e^{|sin t|}cos t}{1+e^{-tan t}}mathrm dt$$ sum this with the initial integral and notice that $e^{|sin x|}cos x$ is an even function, therefore: $$I=2frac12int_{0}^{pi/2} e^{sin x} cos x mathrm dx$$ because $sin x$ is positive for $xin [0,frac{pi}{2}], $now just substitute $sin x= u$ to get: $$I=int_0^1 e^u du=e-1$$






                  share|cite|improve this answer









                  $endgroup$



                  with $x=-t$ $$I=int_{-pi/2}^{pi/2} frac{e^{|sin t|}cos t}{1+e^{-tan t}}mathrm dt$$ sum this with the initial integral and notice that $e^{|sin x|}cos x$ is an even function, therefore: $$I=2frac12int_{0}^{pi/2} e^{sin x} cos x mathrm dx$$ because $sin x$ is positive for $xin [0,frac{pi}{2}], $now just substitute $sin x= u$ to get: $$I=int_0^1 e^u du=e-1$$







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Aug 3 '18 at 12:28









                  ZackyZacky

                  7,2551961




                  7,2551961























                      2












                      $begingroup$

                      Hint:



                      Here $a+b=0$



                      $I=displaystyleint_{pi/2}^{-pi/2}dfrac{e^{|sin x|}cos x}{1+e^{tan x}}$



                      $=displaystyleint_{pi/2}^{-pi/2}dfrac{e^{|sin(- x)|}cos(-x)}{1+e^{tan(-x)}}=int_{pi/2}^{-pi/2}dfrac{e^{tan x}e^{|sin x|}cos x}{1+e^{tan x}}$



                      $$I+I=int_{pi/2}^{-pi/2}e^{|sin x|}cos x dx$$



                      Now split from $-pi/2,0$ and $0,pi/2$






                      share|cite|improve this answer









                      $endgroup$


















                        2












                        $begingroup$

                        Hint:



                        Here $a+b=0$



                        $I=displaystyleint_{pi/2}^{-pi/2}dfrac{e^{|sin x|}cos x}{1+e^{tan x}}$



                        $=displaystyleint_{pi/2}^{-pi/2}dfrac{e^{|sin(- x)|}cos(-x)}{1+e^{tan(-x)}}=int_{pi/2}^{-pi/2}dfrac{e^{tan x}e^{|sin x|}cos x}{1+e^{tan x}}$



                        $$I+I=int_{pi/2}^{-pi/2}e^{|sin x|}cos x dx$$



                        Now split from $-pi/2,0$ and $0,pi/2$






                        share|cite|improve this answer









                        $endgroup$
















                          2












                          2








                          2





                          $begingroup$

                          Hint:



                          Here $a+b=0$



                          $I=displaystyleint_{pi/2}^{-pi/2}dfrac{e^{|sin x|}cos x}{1+e^{tan x}}$



                          $=displaystyleint_{pi/2}^{-pi/2}dfrac{e^{|sin(- x)|}cos(-x)}{1+e^{tan(-x)}}=int_{pi/2}^{-pi/2}dfrac{e^{tan x}e^{|sin x|}cos x}{1+e^{tan x}}$



                          $$I+I=int_{pi/2}^{-pi/2}e^{|sin x|}cos x dx$$



                          Now split from $-pi/2,0$ and $0,pi/2$






                          share|cite|improve this answer









                          $endgroup$



                          Hint:



                          Here $a+b=0$



                          $I=displaystyleint_{pi/2}^{-pi/2}dfrac{e^{|sin x|}cos x}{1+e^{tan x}}$



                          $=displaystyleint_{pi/2}^{-pi/2}dfrac{e^{|sin(- x)|}cos(-x)}{1+e^{tan(-x)}}=int_{pi/2}^{-pi/2}dfrac{e^{tan x}e^{|sin x|}cos x}{1+e^{tan x}}$



                          $$I+I=int_{pi/2}^{-pi/2}e^{|sin x|}cos x dx$$



                          Now split from $-pi/2,0$ and $0,pi/2$







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Aug 3 '18 at 12:24









                          lab bhattacharjeelab bhattacharjee

                          226k15157275




                          226k15157275






























                              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%2f2871008%2fintegral-int-pi-2-pi-2-frace-sin-x-cos-x1e-tan-x%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

                              Human spaceflight

                              Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                              張江高科駅