How to integrate a three products












12














I tried to integrate $x e^x sin x$, using integration by parts, and setting $dv/dx = e^x sin x$. Even though I got really close, I kept getting it wrong. Can someone please solve it with working out? Thanks in advance.



***EDIT**** I have found the answer, all thanks to those who contributed :) I don't know if I could of connected the answer here but I just posted it below, thank you all again!










share|cite|improve this question
























  • this aint that straight forward.
    – Lost1
    Jan 13 '14 at 11:07










  • Im not sure if you can read my writing but i think i got pretty close to the answer "wolframalpha", @Lost1. fluorine-silver.blogspot.com.au/2014/01/math-so-damn-close.html
    – Samir Chahine
    Jan 13 '14 at 11:11










  • i dont understand your v and v'. this question is such a pain in the arse if you don't use the hint Nigel posted, but needs complex numbers. I wanted to post a solution using elementary integration and i got stuck...
    – Lost1
    Jan 13 '14 at 11:14










  • Related : math.stackexchange.com/questions/540295/integrate-eax-sinbx
    – lab bhattacharjee
    Jan 13 '14 at 11:15






  • 2




    There is no such thing as a "three product". The function $xmapsto xmathrm e^xsin x$ is a function, dot. You could write it as well $2sqrt xleft(mathrm e^{x/2}right)^2sqrt xsin(x/2)cos(x/2)$ and it would be a six function...
    – Tom-Tom
    Jan 13 '14 at 16:53


















12














I tried to integrate $x e^x sin x$, using integration by parts, and setting $dv/dx = e^x sin x$. Even though I got really close, I kept getting it wrong. Can someone please solve it with working out? Thanks in advance.



***EDIT**** I have found the answer, all thanks to those who contributed :) I don't know if I could of connected the answer here but I just posted it below, thank you all again!










share|cite|improve this question
























  • this aint that straight forward.
    – Lost1
    Jan 13 '14 at 11:07










  • Im not sure if you can read my writing but i think i got pretty close to the answer "wolframalpha", @Lost1. fluorine-silver.blogspot.com.au/2014/01/math-so-damn-close.html
    – Samir Chahine
    Jan 13 '14 at 11:11










  • i dont understand your v and v'. this question is such a pain in the arse if you don't use the hint Nigel posted, but needs complex numbers. I wanted to post a solution using elementary integration and i got stuck...
    – Lost1
    Jan 13 '14 at 11:14










  • Related : math.stackexchange.com/questions/540295/integrate-eax-sinbx
    – lab bhattacharjee
    Jan 13 '14 at 11:15






  • 2




    There is no such thing as a "three product". The function $xmapsto xmathrm e^xsin x$ is a function, dot. You could write it as well $2sqrt xleft(mathrm e^{x/2}right)^2sqrt xsin(x/2)cos(x/2)$ and it would be a six function...
    – Tom-Tom
    Jan 13 '14 at 16:53
















12












12








12


4





I tried to integrate $x e^x sin x$, using integration by parts, and setting $dv/dx = e^x sin x$. Even though I got really close, I kept getting it wrong. Can someone please solve it with working out? Thanks in advance.



***EDIT**** I have found the answer, all thanks to those who contributed :) I don't know if I could of connected the answer here but I just posted it below, thank you all again!










share|cite|improve this question















I tried to integrate $x e^x sin x$, using integration by parts, and setting $dv/dx = e^x sin x$. Even though I got really close, I kept getting it wrong. Can someone please solve it with working out? Thanks in advance.



***EDIT**** I have found the answer, all thanks to those who contributed :) I don't know if I could of connected the answer here but I just posted it below, thank you all again!







integration indefinite-integrals






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 13 '14 at 13:48

























asked Jan 13 '14 at 11:06









Samir Chahine

6911622




6911622












  • this aint that straight forward.
    – Lost1
    Jan 13 '14 at 11:07










  • Im not sure if you can read my writing but i think i got pretty close to the answer "wolframalpha", @Lost1. fluorine-silver.blogspot.com.au/2014/01/math-so-damn-close.html
    – Samir Chahine
    Jan 13 '14 at 11:11










  • i dont understand your v and v'. this question is such a pain in the arse if you don't use the hint Nigel posted, but needs complex numbers. I wanted to post a solution using elementary integration and i got stuck...
    – Lost1
    Jan 13 '14 at 11:14










  • Related : math.stackexchange.com/questions/540295/integrate-eax-sinbx
    – lab bhattacharjee
    Jan 13 '14 at 11:15






  • 2




    There is no such thing as a "three product". The function $xmapsto xmathrm e^xsin x$ is a function, dot. You could write it as well $2sqrt xleft(mathrm e^{x/2}right)^2sqrt xsin(x/2)cos(x/2)$ and it would be a six function...
    – Tom-Tom
    Jan 13 '14 at 16:53




















  • this aint that straight forward.
    – Lost1
    Jan 13 '14 at 11:07










  • Im not sure if you can read my writing but i think i got pretty close to the answer "wolframalpha", @Lost1. fluorine-silver.blogspot.com.au/2014/01/math-so-damn-close.html
    – Samir Chahine
    Jan 13 '14 at 11:11










  • i dont understand your v and v'. this question is such a pain in the arse if you don't use the hint Nigel posted, but needs complex numbers. I wanted to post a solution using elementary integration and i got stuck...
    – Lost1
    Jan 13 '14 at 11:14










  • Related : math.stackexchange.com/questions/540295/integrate-eax-sinbx
    – lab bhattacharjee
    Jan 13 '14 at 11:15






  • 2




    There is no such thing as a "three product". The function $xmapsto xmathrm e^xsin x$ is a function, dot. You could write it as well $2sqrt xleft(mathrm e^{x/2}right)^2sqrt xsin(x/2)cos(x/2)$ and it would be a six function...
    – Tom-Tom
    Jan 13 '14 at 16:53


















this aint that straight forward.
– Lost1
Jan 13 '14 at 11:07




this aint that straight forward.
– Lost1
Jan 13 '14 at 11:07












Im not sure if you can read my writing but i think i got pretty close to the answer "wolframalpha", @Lost1. fluorine-silver.blogspot.com.au/2014/01/math-so-damn-close.html
– Samir Chahine
Jan 13 '14 at 11:11




Im not sure if you can read my writing but i think i got pretty close to the answer "wolframalpha", @Lost1. fluorine-silver.blogspot.com.au/2014/01/math-so-damn-close.html
– Samir Chahine
Jan 13 '14 at 11:11












i dont understand your v and v'. this question is such a pain in the arse if you don't use the hint Nigel posted, but needs complex numbers. I wanted to post a solution using elementary integration and i got stuck...
– Lost1
Jan 13 '14 at 11:14




i dont understand your v and v'. this question is such a pain in the arse if you don't use the hint Nigel posted, but needs complex numbers. I wanted to post a solution using elementary integration and i got stuck...
– Lost1
Jan 13 '14 at 11:14












Related : math.stackexchange.com/questions/540295/integrate-eax-sinbx
– lab bhattacharjee
Jan 13 '14 at 11:15




Related : math.stackexchange.com/questions/540295/integrate-eax-sinbx
– lab bhattacharjee
Jan 13 '14 at 11:15




2




2




There is no such thing as a "three product". The function $xmapsto xmathrm e^xsin x$ is a function, dot. You could write it as well $2sqrt xleft(mathrm e^{x/2}right)^2sqrt xsin(x/2)cos(x/2)$ and it would be a six function...
– Tom-Tom
Jan 13 '14 at 16:53






There is no such thing as a "three product". The function $xmapsto xmathrm e^xsin x$ is a function, dot. You could write it as well $2sqrt xleft(mathrm e^{x/2}right)^2sqrt xsin(x/2)cos(x/2)$ and it would be a six function...
– Tom-Tom
Jan 13 '14 at 16:53












6 Answers
6






active

oldest

votes


















14














If you don't want to try with complex calculus, you might use this:



Let's define $g(x) = e^x sin{x} $, so we have: $J = int x g(x) , dx$.



Then, if you use chain rule, you will have:



$$J = x, int g(x) , dx - iint g(x) , dx^2, $$



where, using again the chain rule:



$$int g(x) , dx = int e^x sin{x} , dx = frac{e^x}{2} (sin{x} - cos{x})$$



Thus:



$$iint g(x) dx^2 = int frac{e^x}{2} (sin{x} - cos{x}) , dx $$



where the first integral has already been computed. Using again the chain rule for the cosine integral, it finally yields:




$$large{
color{blue}{
J = frac{x}{2} e^x (sin{x} - cos{x} ) + frac{e^x}{2} cos{x}
}
}$$




Do not forget the integration constant! Cheers.






share|cite|improve this answer



















  • 3




    yes this is nice +1
    – Lost1
    Jan 13 '14 at 11:26












  • Sorry, I made a mistake on the transcription.
    – Dmoreno
    Jan 13 '14 at 11:32





















8














One general idea with products of three functions is to use the product rule in the form
$$
(u v w)' = u' v w + u v' w + uv w'
$$
and the get partial integration in the form
$$
int u' v w = uvw - int u v' w - int uv w'
$$
and then the solution of your problem is straightforward but tedious.



After two applications of above rule (with $u=e^x$) and some reorganization you find

$$
2 int x e^x sin x , dx = xe^x sin x - x e^x cos x -int e^x sin x , dx + int e^x cos x , dx
$$
and the rest is easy.






share|cite|improve this answer





























    7














    Let me elaborate on Nigel's hint, and btw he meant $e^{ix} = i sin x +cos x$. There is no $pi$.



    then the integral you want is J. define the integral $I = int x cos x e^x text{d}x$.



    Then $I + iJ = int x e^{ix}e^x text{d}x = int xe^{(i+1)x}text{d}x$



    note $i$ is square root of minus one, so it i just a constant, you integrate this by part and seperate out real and imaginary part. The imaginary part is what you want.



    At first I wanted to post this, but I guessed this is not what OP wanted.



    however, without this, this integral is a pain in the backside...






    share|cite|improve this answer























    • @Ruslan lol....
      – Lost1
      Jan 13 '14 at 11:20










    • Guess I have to learn complex numbers, thank you, if you do find out a way to solve this without it please do post it :)
      – Samir Chahine
      Jan 13 '14 at 11:20










    • @SamirChahine there is, i am sure you can crack it if you give it another 3 hours, using integration by parts...
      – Lost1
      Jan 13 '14 at 11:21










    • I will do it, and when I do I will post it, I shall never give up. @Lost1, may I ask how long it would take to learn complex numbers? And do I need to know any other type of math before I dive in
      – Samir Chahine
      Jan 13 '14 at 11:21












    • @SamirChahine take $du/dx = x, v = e^x sin x$ as your first step, and work from there
      – Lost1
      Jan 13 '14 at 11:22



















    5














    Hint, using complex numbers:
    $$ sin(theta) = frac{ e^{itheta} - e^{-i theta} }{2i} $$



    Without complex numbers:
    Let $f = x$, $g' = e^x sin x$.



    First we calculate $g = int g' dx$ by integration by parts:
    $$ begin{array}{c}
    I = int {{e^{ax}}sin (bx)dx} = left[ {begin{array}{*{20}{c}}
    {u = sin (bx)}&{v' = {e^{ax}}}\
    {u' = bcos (bx)}&{v = {e^{ax}}/a}
    end{array}} right]mathop = limits^{{mathop{rm int}} } frac{{{e^{ax}}sin (bx)}}{a} - int {bcos (bx)frac{{{e^{ax}}}}{a}dx} \
    = frac{{{e^{ax}}sin (bx)}}{a} - frac{b}{a}int {cos (bx){e^{ax}}dx} = \
    = left[ {begin{array}{*{20}{c}}
    {f = cos (bx)}&{g' = {e^{ax}}}\
    {f' = - bsin (bx)}&{g = {e^{ax}}/a}
    end{array}} right] = frac{{{e^{ax}}sin (bx)}}{a} - frac{b}{a}left( {frac{{cos (bx){e^{ax}}}}{a} - frac{{ - b}}{a}int {sin (bx){e^{ax}}dx} } right) = \
    = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}int {sin (bx){e^{ax}}dx} = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}I
    end{array}$$

    Thus
    $$ I = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}I$$
    Solving for $I$, we get
    $$ I = frac{{{e^{ax}}left( {asin (bx) - bcos (bx)} right)}}{{{a^2} + {b^2}}} + C $$
    so
    $$ g(x) = frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} . $$



    Thus, to solve the big integral we do again integration by parts with $f=x$:
    $$ int f g' = fg - int f' g = x frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} - int left( frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} right) dx $$
    where the last integral can be calculated as above.






    share|cite|improve this answer























    • Nice double differentiation of $sin$ :)
      – Ruslan
      Jan 13 '14 at 11:23



















    4














    Hint:
    $$sin(theta)= Im (e^{i theta})$$
    Then use integration by parts.






    share|cite|improve this answer



















    • 1




      I have absolutely no idea what that is, a hint for this hint please?
      – Samir Chahine
      Jan 13 '14 at 11:12






    • 1




      Hint for the hint: use Euler formula.
      – Ruslan
      Jan 13 '14 at 11:15










    • You're absolutely right. Thanks and fixed it.
      – Nigel Overmars
      Jan 13 '14 at 11:21



















    3














    $$int e^xsin(x) dx = frac{1}{2}e^x(sin x-cos x) + C
    $$



    $$
    int e^xcos(x) dx = frac{1}{2}e^x(sin x +cos x ) + C
    $$



    $$
    u = x \ u'= 1\\v'=e^xsin(x) \v= frac{1}{2}e^x(sin x -cos x) + C
    \
    I = frac{xe^x}{2}(sin x-cos x )-frac{1}{2} int e^x(sin x-cos x) + C
    \
    text{Let }Z^- = sin x -cos x
    \
    text{and}\
    text{Let }Z^+ = sin x+cos x
    \
    frac {xe^x}{2}(Z^-) - frac{1}{2}left(frac{1}{2}e^x(Z^- - Z^+)right) +C\
    frac {xe^x}{2}(sin x-cos x) - frac{1}{2}left(frac{1}{2}e^x(-2cos x )right)+C\
    frac {xe^x}{2}(sin x-cos x) + frac{1}{2}e^x(cos x) + C\
    int xe^xcos x dx = frac{1}{2}e^x(xsin x-xcos x+cos x) + C
    $$
    Well. I told you guys I would do it, thank you all for your help, turn out I've been stuck on this bastard for 3 days not two, time flies when you're having fun! ;) - I entered most of the steps, you guys should see the gaps if there are any, and i'm sorry my MathJax isn't perfect, this is my first time using it for such a big equation, thank you all again! Next stop, five function ;) (I checked on wolframalpha.com, got the same answer!)






    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',
      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%2f636803%2fhow-to-integrate-a-three-products%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      6 Answers
      6






      active

      oldest

      votes








      6 Answers
      6






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      14














      If you don't want to try with complex calculus, you might use this:



      Let's define $g(x) = e^x sin{x} $, so we have: $J = int x g(x) , dx$.



      Then, if you use chain rule, you will have:



      $$J = x, int g(x) , dx - iint g(x) , dx^2, $$



      where, using again the chain rule:



      $$int g(x) , dx = int e^x sin{x} , dx = frac{e^x}{2} (sin{x} - cos{x})$$



      Thus:



      $$iint g(x) dx^2 = int frac{e^x}{2} (sin{x} - cos{x}) , dx $$



      where the first integral has already been computed. Using again the chain rule for the cosine integral, it finally yields:




      $$large{
      color{blue}{
      J = frac{x}{2} e^x (sin{x} - cos{x} ) + frac{e^x}{2} cos{x}
      }
      }$$




      Do not forget the integration constant! Cheers.






      share|cite|improve this answer



















      • 3




        yes this is nice +1
        – Lost1
        Jan 13 '14 at 11:26












      • Sorry, I made a mistake on the transcription.
        – Dmoreno
        Jan 13 '14 at 11:32


















      14














      If you don't want to try with complex calculus, you might use this:



      Let's define $g(x) = e^x sin{x} $, so we have: $J = int x g(x) , dx$.



      Then, if you use chain rule, you will have:



      $$J = x, int g(x) , dx - iint g(x) , dx^2, $$



      where, using again the chain rule:



      $$int g(x) , dx = int e^x sin{x} , dx = frac{e^x}{2} (sin{x} - cos{x})$$



      Thus:



      $$iint g(x) dx^2 = int frac{e^x}{2} (sin{x} - cos{x}) , dx $$



      where the first integral has already been computed. Using again the chain rule for the cosine integral, it finally yields:




      $$large{
      color{blue}{
      J = frac{x}{2} e^x (sin{x} - cos{x} ) + frac{e^x}{2} cos{x}
      }
      }$$




      Do not forget the integration constant! Cheers.






      share|cite|improve this answer



















      • 3




        yes this is nice +1
        – Lost1
        Jan 13 '14 at 11:26












      • Sorry, I made a mistake on the transcription.
        – Dmoreno
        Jan 13 '14 at 11:32
















      14












      14








      14






      If you don't want to try with complex calculus, you might use this:



      Let's define $g(x) = e^x sin{x} $, so we have: $J = int x g(x) , dx$.



      Then, if you use chain rule, you will have:



      $$J = x, int g(x) , dx - iint g(x) , dx^2, $$



      where, using again the chain rule:



      $$int g(x) , dx = int e^x sin{x} , dx = frac{e^x}{2} (sin{x} - cos{x})$$



      Thus:



      $$iint g(x) dx^2 = int frac{e^x}{2} (sin{x} - cos{x}) , dx $$



      where the first integral has already been computed. Using again the chain rule for the cosine integral, it finally yields:




      $$large{
      color{blue}{
      J = frac{x}{2} e^x (sin{x} - cos{x} ) + frac{e^x}{2} cos{x}
      }
      }$$




      Do not forget the integration constant! Cheers.






      share|cite|improve this answer














      If you don't want to try with complex calculus, you might use this:



      Let's define $g(x) = e^x sin{x} $, so we have: $J = int x g(x) , dx$.



      Then, if you use chain rule, you will have:



      $$J = x, int g(x) , dx - iint g(x) , dx^2, $$



      where, using again the chain rule:



      $$int g(x) , dx = int e^x sin{x} , dx = frac{e^x}{2} (sin{x} - cos{x})$$



      Thus:



      $$iint g(x) dx^2 = int frac{e^x}{2} (sin{x} - cos{x}) , dx $$



      where the first integral has already been computed. Using again the chain rule for the cosine integral, it finally yields:




      $$large{
      color{blue}{
      J = frac{x}{2} e^x (sin{x} - cos{x} ) + frac{e^x}{2} cos{x}
      }
      }$$




      Do not forget the integration constant! Cheers.







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited Jun 5 '17 at 23:10

























      answered Jan 13 '14 at 11:23









      Dmoreno

      6,51631140




      6,51631140








      • 3




        yes this is nice +1
        – Lost1
        Jan 13 '14 at 11:26












      • Sorry, I made a mistake on the transcription.
        – Dmoreno
        Jan 13 '14 at 11:32
















      • 3




        yes this is nice +1
        – Lost1
        Jan 13 '14 at 11:26












      • Sorry, I made a mistake on the transcription.
        – Dmoreno
        Jan 13 '14 at 11:32










      3




      3




      yes this is nice +1
      – Lost1
      Jan 13 '14 at 11:26






      yes this is nice +1
      – Lost1
      Jan 13 '14 at 11:26














      Sorry, I made a mistake on the transcription.
      – Dmoreno
      Jan 13 '14 at 11:32






      Sorry, I made a mistake on the transcription.
      – Dmoreno
      Jan 13 '14 at 11:32













      8














      One general idea with products of three functions is to use the product rule in the form
      $$
      (u v w)' = u' v w + u v' w + uv w'
      $$
      and the get partial integration in the form
      $$
      int u' v w = uvw - int u v' w - int uv w'
      $$
      and then the solution of your problem is straightforward but tedious.



      After two applications of above rule (with $u=e^x$) and some reorganization you find

      $$
      2 int x e^x sin x , dx = xe^x sin x - x e^x cos x -int e^x sin x , dx + int e^x cos x , dx
      $$
      and the rest is easy.






      share|cite|improve this answer


























        8














        One general idea with products of three functions is to use the product rule in the form
        $$
        (u v w)' = u' v w + u v' w + uv w'
        $$
        and the get partial integration in the form
        $$
        int u' v w = uvw - int u v' w - int uv w'
        $$
        and then the solution of your problem is straightforward but tedious.



        After two applications of above rule (with $u=e^x$) and some reorganization you find

        $$
        2 int x e^x sin x , dx = xe^x sin x - x e^x cos x -int e^x sin x , dx + int e^x cos x , dx
        $$
        and the rest is easy.






        share|cite|improve this answer
























          8












          8








          8






          One general idea with products of three functions is to use the product rule in the form
          $$
          (u v w)' = u' v w + u v' w + uv w'
          $$
          and the get partial integration in the form
          $$
          int u' v w = uvw - int u v' w - int uv w'
          $$
          and then the solution of your problem is straightforward but tedious.



          After two applications of above rule (with $u=e^x$) and some reorganization you find

          $$
          2 int x e^x sin x , dx = xe^x sin x - x e^x cos x -int e^x sin x , dx + int e^x cos x , dx
          $$
          and the rest is easy.






          share|cite|improve this answer












          One general idea with products of three functions is to use the product rule in the form
          $$
          (u v w)' = u' v w + u v' w + uv w'
          $$
          and the get partial integration in the form
          $$
          int u' v w = uvw - int u v' w - int uv w'
          $$
          and then the solution of your problem is straightforward but tedious.



          After two applications of above rule (with $u=e^x$) and some reorganization you find

          $$
          2 int x e^x sin x , dx = xe^x sin x - x e^x cos x -int e^x sin x , dx + int e^x cos x , dx
          $$
          and the rest is easy.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 13 '14 at 11:59









          kjetil b halvorsen

          4,72742638




          4,72742638























              7














              Let me elaborate on Nigel's hint, and btw he meant $e^{ix} = i sin x +cos x$. There is no $pi$.



              then the integral you want is J. define the integral $I = int x cos x e^x text{d}x$.



              Then $I + iJ = int x e^{ix}e^x text{d}x = int xe^{(i+1)x}text{d}x$



              note $i$ is square root of minus one, so it i just a constant, you integrate this by part and seperate out real and imaginary part. The imaginary part is what you want.



              At first I wanted to post this, but I guessed this is not what OP wanted.



              however, without this, this integral is a pain in the backside...






              share|cite|improve this answer























              • @Ruslan lol....
                – Lost1
                Jan 13 '14 at 11:20










              • Guess I have to learn complex numbers, thank you, if you do find out a way to solve this without it please do post it :)
                – Samir Chahine
                Jan 13 '14 at 11:20










              • @SamirChahine there is, i am sure you can crack it if you give it another 3 hours, using integration by parts...
                – Lost1
                Jan 13 '14 at 11:21










              • I will do it, and when I do I will post it, I shall never give up. @Lost1, may I ask how long it would take to learn complex numbers? And do I need to know any other type of math before I dive in
                – Samir Chahine
                Jan 13 '14 at 11:21












              • @SamirChahine take $du/dx = x, v = e^x sin x$ as your first step, and work from there
                – Lost1
                Jan 13 '14 at 11:22
















              7














              Let me elaborate on Nigel's hint, and btw he meant $e^{ix} = i sin x +cos x$. There is no $pi$.



              then the integral you want is J. define the integral $I = int x cos x e^x text{d}x$.



              Then $I + iJ = int x e^{ix}e^x text{d}x = int xe^{(i+1)x}text{d}x$



              note $i$ is square root of minus one, so it i just a constant, you integrate this by part and seperate out real and imaginary part. The imaginary part is what you want.



              At first I wanted to post this, but I guessed this is not what OP wanted.



              however, without this, this integral is a pain in the backside...






              share|cite|improve this answer























              • @Ruslan lol....
                – Lost1
                Jan 13 '14 at 11:20










              • Guess I have to learn complex numbers, thank you, if you do find out a way to solve this without it please do post it :)
                – Samir Chahine
                Jan 13 '14 at 11:20










              • @SamirChahine there is, i am sure you can crack it if you give it another 3 hours, using integration by parts...
                – Lost1
                Jan 13 '14 at 11:21










              • I will do it, and when I do I will post it, I shall never give up. @Lost1, may I ask how long it would take to learn complex numbers? And do I need to know any other type of math before I dive in
                – Samir Chahine
                Jan 13 '14 at 11:21












              • @SamirChahine take $du/dx = x, v = e^x sin x$ as your first step, and work from there
                – Lost1
                Jan 13 '14 at 11:22














              7












              7








              7






              Let me elaborate on Nigel's hint, and btw he meant $e^{ix} = i sin x +cos x$. There is no $pi$.



              then the integral you want is J. define the integral $I = int x cos x e^x text{d}x$.



              Then $I + iJ = int x e^{ix}e^x text{d}x = int xe^{(i+1)x}text{d}x$



              note $i$ is square root of minus one, so it i just a constant, you integrate this by part and seperate out real and imaginary part. The imaginary part is what you want.



              At first I wanted to post this, but I guessed this is not what OP wanted.



              however, without this, this integral is a pain in the backside...






              share|cite|improve this answer














              Let me elaborate on Nigel's hint, and btw he meant $e^{ix} = i sin x +cos x$. There is no $pi$.



              then the integral you want is J. define the integral $I = int x cos x e^x text{d}x$.



              Then $I + iJ = int x e^{ix}e^x text{d}x = int xe^{(i+1)x}text{d}x$



              note $i$ is square root of minus one, so it i just a constant, you integrate this by part and seperate out real and imaginary part. The imaginary part is what you want.



              At first I wanted to post this, but I guessed this is not what OP wanted.



              however, without this, this integral is a pain in the backside...







              share|cite|improve this answer














              share|cite|improve this answer



              share|cite|improve this answer








              edited Jan 13 '14 at 11:23

























              answered Jan 13 '14 at 11:18









              Lost1

              5,54933369




              5,54933369












              • @Ruslan lol....
                – Lost1
                Jan 13 '14 at 11:20










              • Guess I have to learn complex numbers, thank you, if you do find out a way to solve this without it please do post it :)
                – Samir Chahine
                Jan 13 '14 at 11:20










              • @SamirChahine there is, i am sure you can crack it if you give it another 3 hours, using integration by parts...
                – Lost1
                Jan 13 '14 at 11:21










              • I will do it, and when I do I will post it, I shall never give up. @Lost1, may I ask how long it would take to learn complex numbers? And do I need to know any other type of math before I dive in
                – Samir Chahine
                Jan 13 '14 at 11:21












              • @SamirChahine take $du/dx = x, v = e^x sin x$ as your first step, and work from there
                – Lost1
                Jan 13 '14 at 11:22


















              • @Ruslan lol....
                – Lost1
                Jan 13 '14 at 11:20










              • Guess I have to learn complex numbers, thank you, if you do find out a way to solve this without it please do post it :)
                – Samir Chahine
                Jan 13 '14 at 11:20










              • @SamirChahine there is, i am sure you can crack it if you give it another 3 hours, using integration by parts...
                – Lost1
                Jan 13 '14 at 11:21










              • I will do it, and when I do I will post it, I shall never give up. @Lost1, may I ask how long it would take to learn complex numbers? And do I need to know any other type of math before I dive in
                – Samir Chahine
                Jan 13 '14 at 11:21












              • @SamirChahine take $du/dx = x, v = e^x sin x$ as your first step, and work from there
                – Lost1
                Jan 13 '14 at 11:22
















              @Ruslan lol....
              – Lost1
              Jan 13 '14 at 11:20




              @Ruslan lol....
              – Lost1
              Jan 13 '14 at 11:20












              Guess I have to learn complex numbers, thank you, if you do find out a way to solve this without it please do post it :)
              – Samir Chahine
              Jan 13 '14 at 11:20




              Guess I have to learn complex numbers, thank you, if you do find out a way to solve this without it please do post it :)
              – Samir Chahine
              Jan 13 '14 at 11:20












              @SamirChahine there is, i am sure you can crack it if you give it another 3 hours, using integration by parts...
              – Lost1
              Jan 13 '14 at 11:21




              @SamirChahine there is, i am sure you can crack it if you give it another 3 hours, using integration by parts...
              – Lost1
              Jan 13 '14 at 11:21












              I will do it, and when I do I will post it, I shall never give up. @Lost1, may I ask how long it would take to learn complex numbers? And do I need to know any other type of math before I dive in
              – Samir Chahine
              Jan 13 '14 at 11:21






              I will do it, and when I do I will post it, I shall never give up. @Lost1, may I ask how long it would take to learn complex numbers? And do I need to know any other type of math before I dive in
              – Samir Chahine
              Jan 13 '14 at 11:21














              @SamirChahine take $du/dx = x, v = e^x sin x$ as your first step, and work from there
              – Lost1
              Jan 13 '14 at 11:22




              @SamirChahine take $du/dx = x, v = e^x sin x$ as your first step, and work from there
              – Lost1
              Jan 13 '14 at 11:22











              5














              Hint, using complex numbers:
              $$ sin(theta) = frac{ e^{itheta} - e^{-i theta} }{2i} $$



              Without complex numbers:
              Let $f = x$, $g' = e^x sin x$.



              First we calculate $g = int g' dx$ by integration by parts:
              $$ begin{array}{c}
              I = int {{e^{ax}}sin (bx)dx} = left[ {begin{array}{*{20}{c}}
              {u = sin (bx)}&{v' = {e^{ax}}}\
              {u' = bcos (bx)}&{v = {e^{ax}}/a}
              end{array}} right]mathop = limits^{{mathop{rm int}} } frac{{{e^{ax}}sin (bx)}}{a} - int {bcos (bx)frac{{{e^{ax}}}}{a}dx} \
              = frac{{{e^{ax}}sin (bx)}}{a} - frac{b}{a}int {cos (bx){e^{ax}}dx} = \
              = left[ {begin{array}{*{20}{c}}
              {f = cos (bx)}&{g' = {e^{ax}}}\
              {f' = - bsin (bx)}&{g = {e^{ax}}/a}
              end{array}} right] = frac{{{e^{ax}}sin (bx)}}{a} - frac{b}{a}left( {frac{{cos (bx){e^{ax}}}}{a} - frac{{ - b}}{a}int {sin (bx){e^{ax}}dx} } right) = \
              = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}int {sin (bx){e^{ax}}dx} = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}I
              end{array}$$

              Thus
              $$ I = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}I$$
              Solving for $I$, we get
              $$ I = frac{{{e^{ax}}left( {asin (bx) - bcos (bx)} right)}}{{{a^2} + {b^2}}} + C $$
              so
              $$ g(x) = frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} . $$



              Thus, to solve the big integral we do again integration by parts with $f=x$:
              $$ int f g' = fg - int f' g = x frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} - int left( frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} right) dx $$
              where the last integral can be calculated as above.






              share|cite|improve this answer























              • Nice double differentiation of $sin$ :)
                – Ruslan
                Jan 13 '14 at 11:23
















              5














              Hint, using complex numbers:
              $$ sin(theta) = frac{ e^{itheta} - e^{-i theta} }{2i} $$



              Without complex numbers:
              Let $f = x$, $g' = e^x sin x$.



              First we calculate $g = int g' dx$ by integration by parts:
              $$ begin{array}{c}
              I = int {{e^{ax}}sin (bx)dx} = left[ {begin{array}{*{20}{c}}
              {u = sin (bx)}&{v' = {e^{ax}}}\
              {u' = bcos (bx)}&{v = {e^{ax}}/a}
              end{array}} right]mathop = limits^{{mathop{rm int}} } frac{{{e^{ax}}sin (bx)}}{a} - int {bcos (bx)frac{{{e^{ax}}}}{a}dx} \
              = frac{{{e^{ax}}sin (bx)}}{a} - frac{b}{a}int {cos (bx){e^{ax}}dx} = \
              = left[ {begin{array}{*{20}{c}}
              {f = cos (bx)}&{g' = {e^{ax}}}\
              {f' = - bsin (bx)}&{g = {e^{ax}}/a}
              end{array}} right] = frac{{{e^{ax}}sin (bx)}}{a} - frac{b}{a}left( {frac{{cos (bx){e^{ax}}}}{a} - frac{{ - b}}{a}int {sin (bx){e^{ax}}dx} } right) = \
              = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}int {sin (bx){e^{ax}}dx} = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}I
              end{array}$$

              Thus
              $$ I = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}I$$
              Solving for $I$, we get
              $$ I = frac{{{e^{ax}}left( {asin (bx) - bcos (bx)} right)}}{{{a^2} + {b^2}}} + C $$
              so
              $$ g(x) = frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} . $$



              Thus, to solve the big integral we do again integration by parts with $f=x$:
              $$ int f g' = fg - int f' g = x frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} - int left( frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} right) dx $$
              where the last integral can be calculated as above.






              share|cite|improve this answer























              • Nice double differentiation of $sin$ :)
                – Ruslan
                Jan 13 '14 at 11:23














              5












              5








              5






              Hint, using complex numbers:
              $$ sin(theta) = frac{ e^{itheta} - e^{-i theta} }{2i} $$



              Without complex numbers:
              Let $f = x$, $g' = e^x sin x$.



              First we calculate $g = int g' dx$ by integration by parts:
              $$ begin{array}{c}
              I = int {{e^{ax}}sin (bx)dx} = left[ {begin{array}{*{20}{c}}
              {u = sin (bx)}&{v' = {e^{ax}}}\
              {u' = bcos (bx)}&{v = {e^{ax}}/a}
              end{array}} right]mathop = limits^{{mathop{rm int}} } frac{{{e^{ax}}sin (bx)}}{a} - int {bcos (bx)frac{{{e^{ax}}}}{a}dx} \
              = frac{{{e^{ax}}sin (bx)}}{a} - frac{b}{a}int {cos (bx){e^{ax}}dx} = \
              = left[ {begin{array}{*{20}{c}}
              {f = cos (bx)}&{g' = {e^{ax}}}\
              {f' = - bsin (bx)}&{g = {e^{ax}}/a}
              end{array}} right] = frac{{{e^{ax}}sin (bx)}}{a} - frac{b}{a}left( {frac{{cos (bx){e^{ax}}}}{a} - frac{{ - b}}{a}int {sin (bx){e^{ax}}dx} } right) = \
              = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}int {sin (bx){e^{ax}}dx} = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}I
              end{array}$$

              Thus
              $$ I = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}I$$
              Solving for $I$, we get
              $$ I = frac{{{e^{ax}}left( {asin (bx) - bcos (bx)} right)}}{{{a^2} + {b^2}}} + C $$
              so
              $$ g(x) = frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} . $$



              Thus, to solve the big integral we do again integration by parts with $f=x$:
              $$ int f g' = fg - int f' g = x frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} - int left( frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} right) dx $$
              where the last integral can be calculated as above.






              share|cite|improve this answer














              Hint, using complex numbers:
              $$ sin(theta) = frac{ e^{itheta} - e^{-i theta} }{2i} $$



              Without complex numbers:
              Let $f = x$, $g' = e^x sin x$.



              First we calculate $g = int g' dx$ by integration by parts:
              $$ begin{array}{c}
              I = int {{e^{ax}}sin (bx)dx} = left[ {begin{array}{*{20}{c}}
              {u = sin (bx)}&{v' = {e^{ax}}}\
              {u' = bcos (bx)}&{v = {e^{ax}}/a}
              end{array}} right]mathop = limits^{{mathop{rm int}} } frac{{{e^{ax}}sin (bx)}}{a} - int {bcos (bx)frac{{{e^{ax}}}}{a}dx} \
              = frac{{{e^{ax}}sin (bx)}}{a} - frac{b}{a}int {cos (bx){e^{ax}}dx} = \
              = left[ {begin{array}{*{20}{c}}
              {f = cos (bx)}&{g' = {e^{ax}}}\
              {f' = - bsin (bx)}&{g = {e^{ax}}/a}
              end{array}} right] = frac{{{e^{ax}}sin (bx)}}{a} - frac{b}{a}left( {frac{{cos (bx){e^{ax}}}}{a} - frac{{ - b}}{a}int {sin (bx){e^{ax}}dx} } right) = \
              = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}int {sin (bx){e^{ax}}dx} = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}I
              end{array}$$

              Thus
              $$ I = frac{{{e^{ax}}sin (bx)}}{a} - frac{{bcos (bx){e^{ax}}}}{{{a^2}}} - frac{{{b^2}}}{{{a^2}}}I$$
              Solving for $I$, we get
              $$ I = frac{{{e^{ax}}left( {asin (bx) - bcos (bx)} right)}}{{{a^2} + {b^2}}} + C $$
              so
              $$ g(x) = frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} . $$



              Thus, to solve the big integral we do again integration by parts with $f=x$:
              $$ int f g' = fg - int f' g = x frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} - int left( frac{{{e^{x}}left( {sin (x) -cos (x)} right)}}{{2}} right) dx $$
              where the last integral can be calculated as above.







              share|cite|improve this answer














              share|cite|improve this answer



              share|cite|improve this answer








              edited Dec 6 at 15:51









              onepound

              299216




              299216










              answered Jan 13 '14 at 11:21









              LinAlgMan

              1,710818




              1,710818












              • Nice double differentiation of $sin$ :)
                – Ruslan
                Jan 13 '14 at 11:23


















              • Nice double differentiation of $sin$ :)
                – Ruslan
                Jan 13 '14 at 11:23
















              Nice double differentiation of $sin$ :)
              – Ruslan
              Jan 13 '14 at 11:23




              Nice double differentiation of $sin$ :)
              – Ruslan
              Jan 13 '14 at 11:23











              4














              Hint:
              $$sin(theta)= Im (e^{i theta})$$
              Then use integration by parts.






              share|cite|improve this answer



















              • 1




                I have absolutely no idea what that is, a hint for this hint please?
                – Samir Chahine
                Jan 13 '14 at 11:12






              • 1




                Hint for the hint: use Euler formula.
                – Ruslan
                Jan 13 '14 at 11:15










              • You're absolutely right. Thanks and fixed it.
                – Nigel Overmars
                Jan 13 '14 at 11:21
















              4














              Hint:
              $$sin(theta)= Im (e^{i theta})$$
              Then use integration by parts.






              share|cite|improve this answer



















              • 1




                I have absolutely no idea what that is, a hint for this hint please?
                – Samir Chahine
                Jan 13 '14 at 11:12






              • 1




                Hint for the hint: use Euler formula.
                – Ruslan
                Jan 13 '14 at 11:15










              • You're absolutely right. Thanks and fixed it.
                – Nigel Overmars
                Jan 13 '14 at 11:21














              4












              4








              4






              Hint:
              $$sin(theta)= Im (e^{i theta})$$
              Then use integration by parts.






              share|cite|improve this answer














              Hint:
              $$sin(theta)= Im (e^{i theta})$$
              Then use integration by parts.







              share|cite|improve this answer














              share|cite|improve this answer



              share|cite|improve this answer








              edited Jan 13 '14 at 11:21

























              answered Jan 13 '14 at 11:09









              Nigel Overmars

              2,59711225




              2,59711225








              • 1




                I have absolutely no idea what that is, a hint for this hint please?
                – Samir Chahine
                Jan 13 '14 at 11:12






              • 1




                Hint for the hint: use Euler formula.
                – Ruslan
                Jan 13 '14 at 11:15










              • You're absolutely right. Thanks and fixed it.
                – Nigel Overmars
                Jan 13 '14 at 11:21














              • 1




                I have absolutely no idea what that is, a hint for this hint please?
                – Samir Chahine
                Jan 13 '14 at 11:12






              • 1




                Hint for the hint: use Euler formula.
                – Ruslan
                Jan 13 '14 at 11:15










              • You're absolutely right. Thanks and fixed it.
                – Nigel Overmars
                Jan 13 '14 at 11:21








              1




              1




              I have absolutely no idea what that is, a hint for this hint please?
              – Samir Chahine
              Jan 13 '14 at 11:12




              I have absolutely no idea what that is, a hint for this hint please?
              – Samir Chahine
              Jan 13 '14 at 11:12




              1




              1




              Hint for the hint: use Euler formula.
              – Ruslan
              Jan 13 '14 at 11:15




              Hint for the hint: use Euler formula.
              – Ruslan
              Jan 13 '14 at 11:15












              You're absolutely right. Thanks and fixed it.
              – Nigel Overmars
              Jan 13 '14 at 11:21




              You're absolutely right. Thanks and fixed it.
              – Nigel Overmars
              Jan 13 '14 at 11:21











              3














              $$int e^xsin(x) dx = frac{1}{2}e^x(sin x-cos x) + C
              $$



              $$
              int e^xcos(x) dx = frac{1}{2}e^x(sin x +cos x ) + C
              $$



              $$
              u = x \ u'= 1\\v'=e^xsin(x) \v= frac{1}{2}e^x(sin x -cos x) + C
              \
              I = frac{xe^x}{2}(sin x-cos x )-frac{1}{2} int e^x(sin x-cos x) + C
              \
              text{Let }Z^- = sin x -cos x
              \
              text{and}\
              text{Let }Z^+ = sin x+cos x
              \
              frac {xe^x}{2}(Z^-) - frac{1}{2}left(frac{1}{2}e^x(Z^- - Z^+)right) +C\
              frac {xe^x}{2}(sin x-cos x) - frac{1}{2}left(frac{1}{2}e^x(-2cos x )right)+C\
              frac {xe^x}{2}(sin x-cos x) + frac{1}{2}e^x(cos x) + C\
              int xe^xcos x dx = frac{1}{2}e^x(xsin x-xcos x+cos x) + C
              $$
              Well. I told you guys I would do it, thank you all for your help, turn out I've been stuck on this bastard for 3 days not two, time flies when you're having fun! ;) - I entered most of the steps, you guys should see the gaps if there are any, and i'm sorry my MathJax isn't perfect, this is my first time using it for such a big equation, thank you all again! Next stop, five function ;) (I checked on wolframalpha.com, got the same answer!)






              share|cite|improve this answer




























                3














                $$int e^xsin(x) dx = frac{1}{2}e^x(sin x-cos x) + C
                $$



                $$
                int e^xcos(x) dx = frac{1}{2}e^x(sin x +cos x ) + C
                $$



                $$
                u = x \ u'= 1\\v'=e^xsin(x) \v= frac{1}{2}e^x(sin x -cos x) + C
                \
                I = frac{xe^x}{2}(sin x-cos x )-frac{1}{2} int e^x(sin x-cos x) + C
                \
                text{Let }Z^- = sin x -cos x
                \
                text{and}\
                text{Let }Z^+ = sin x+cos x
                \
                frac {xe^x}{2}(Z^-) - frac{1}{2}left(frac{1}{2}e^x(Z^- - Z^+)right) +C\
                frac {xe^x}{2}(sin x-cos x) - frac{1}{2}left(frac{1}{2}e^x(-2cos x )right)+C\
                frac {xe^x}{2}(sin x-cos x) + frac{1}{2}e^x(cos x) + C\
                int xe^xcos x dx = frac{1}{2}e^x(xsin x-xcos x+cos x) + C
                $$
                Well. I told you guys I would do it, thank you all for your help, turn out I've been stuck on this bastard for 3 days not two, time flies when you're having fun! ;) - I entered most of the steps, you guys should see the gaps if there are any, and i'm sorry my MathJax isn't perfect, this is my first time using it for such a big equation, thank you all again! Next stop, five function ;) (I checked on wolframalpha.com, got the same answer!)






                share|cite|improve this answer


























                  3












                  3








                  3






                  $$int e^xsin(x) dx = frac{1}{2}e^x(sin x-cos x) + C
                  $$



                  $$
                  int e^xcos(x) dx = frac{1}{2}e^x(sin x +cos x ) + C
                  $$



                  $$
                  u = x \ u'= 1\\v'=e^xsin(x) \v= frac{1}{2}e^x(sin x -cos x) + C
                  \
                  I = frac{xe^x}{2}(sin x-cos x )-frac{1}{2} int e^x(sin x-cos x) + C
                  \
                  text{Let }Z^- = sin x -cos x
                  \
                  text{and}\
                  text{Let }Z^+ = sin x+cos x
                  \
                  frac {xe^x}{2}(Z^-) - frac{1}{2}left(frac{1}{2}e^x(Z^- - Z^+)right) +C\
                  frac {xe^x}{2}(sin x-cos x) - frac{1}{2}left(frac{1}{2}e^x(-2cos x )right)+C\
                  frac {xe^x}{2}(sin x-cos x) + frac{1}{2}e^x(cos x) + C\
                  int xe^xcos x dx = frac{1}{2}e^x(xsin x-xcos x+cos x) + C
                  $$
                  Well. I told you guys I would do it, thank you all for your help, turn out I've been stuck on this bastard for 3 days not two, time flies when you're having fun! ;) - I entered most of the steps, you guys should see the gaps if there are any, and i'm sorry my MathJax isn't perfect, this is my first time using it for such a big equation, thank you all again! Next stop, five function ;) (I checked on wolframalpha.com, got the same answer!)






                  share|cite|improve this answer














                  $$int e^xsin(x) dx = frac{1}{2}e^x(sin x-cos x) + C
                  $$



                  $$
                  int e^xcos(x) dx = frac{1}{2}e^x(sin x +cos x ) + C
                  $$



                  $$
                  u = x \ u'= 1\\v'=e^xsin(x) \v= frac{1}{2}e^x(sin x -cos x) + C
                  \
                  I = frac{xe^x}{2}(sin x-cos x )-frac{1}{2} int e^x(sin x-cos x) + C
                  \
                  text{Let }Z^- = sin x -cos x
                  \
                  text{and}\
                  text{Let }Z^+ = sin x+cos x
                  \
                  frac {xe^x}{2}(Z^-) - frac{1}{2}left(frac{1}{2}e^x(Z^- - Z^+)right) +C\
                  frac {xe^x}{2}(sin x-cos x) - frac{1}{2}left(frac{1}{2}e^x(-2cos x )right)+C\
                  frac {xe^x}{2}(sin x-cos x) + frac{1}{2}e^x(cos x) + C\
                  int xe^xcos x dx = frac{1}{2}e^x(xsin x-xcos x+cos x) + C
                  $$
                  Well. I told you guys I would do it, thank you all for your help, turn out I've been stuck on this bastard for 3 days not two, time flies when you're having fun! ;) - I entered most of the steps, you guys should see the gaps if there are any, and i'm sorry my MathJax isn't perfect, this is my first time using it for such a big equation, thank you all again! Next stop, five function ;) (I checked on wolframalpha.com, got the same answer!)







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Jan 13 '14 at 21:11









                  JMCF125

                  1,4351129




                  1,4351129










                  answered Jan 13 '14 at 13:21









                  Samir Chahine

                  6911622




                  6911622






























                      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%2f636803%2fhow-to-integrate-a-three-products%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

                      Bressuire

                      Cabo Verde

                      Gyllenstierna