1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Integrate ({e^x}logx)

  1. Jan 2, 2009 #1
    [tex]\int e^xlog(x)[/tex]

    I have solved this sum using integration by parts. The answer which i get is

    [tex]e^xlogx - logx - \sum^{\infty}_{i=1}\frac{x^i}{(i)(i!)}[/tex]

    But i also used the series expansion of e^x. Is there any other way of doing this sum?

    I have almost tried out every single way of doing this sum by parts. So better think about substitution or any other possible method other then by parts.
    Last edited: Jan 2, 2009
  2. jcsd
  3. Jan 2, 2009 #2


    User Avatar
    Gold Member

    substitute e^x=u, you get e^xdx=du, dx=du/u, you can fill the blanks by your own.
  4. Jan 2, 2009 #3


    User Avatar
    Science Advisor

    If you know that [itex]\int ln x dx= x ln x - x+ C[/itex], which you can do by integration by parts, then it is easy to take u= ex, dv= ln x and use integration by parts.
  5. Jan 2, 2009 #4
    But on doing so we will get

    [tex] log(log u) du [/tex] to integrate. And i did integrate that but i had to use series expansion of e^x.
  6. Jan 2, 2009 #5
    I am sorry but i am not able to get you.

    Integration of log x is simple. Here what do you mean by dv? Me being in India have a slight of different version of notations. Do you mean that we take log x as the second function? I have tried that but i get

    [tex] xe^xlogx [/tex] to integrate. Which i am unable to do
  7. Jan 2, 2009 #6

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    That's probably what the OP did, with one error.

    How does this help?

    That looks good except for one term. Could you show your derivation?

    This integral does not have a solution in the elementary functions. In other words, the only way to express the integral is to use either series as you have done or to use some special function. If you choose the appropriate values for u and dv, you will get a rather widely used special function in one step.

    Note: I'm not saying you should use that particular special function. Your instructor may well want the series representation.
  8. Jan 2, 2009 #7
    I am not able to get this.


    [tex] x= log\alpha[/tex]

    By parts i get

    [tex] \alpha log(log\alpha) - \int\frac{d\alpha}{log\alpha}[/tex]

    let [tex] log\alpha = \beta[/tex]

    we get

    [tex] \alpha log(log\alpha) - \int\frac{e^{\beta}d\beta}{\beta}[/tex]

    Then i apply series and integrate

    [tex] \alpha log(log\alpha) - \frac{1}{{\beta}^2} - \beta - \frac{{\beta}^2}{(2)(2!)} - \frac{{\beta}^3}{(3)(3!)} .........[/tex]

    Now bringing it back in x
    e^xlogx -logx - \sum^{\infty}_{i=1}\frac{x^i}{(i)(i!)}[/tex]
    Last edited: Jan 2, 2009
  9. Jan 2, 2009 #8

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Wow. That was a hard way to get to this result. Look at what you have done. [itex]\beta[/itex] is just [itex]x[/itex]. You assigned [itex] x= \log\alpha[/itex] and [itex]\log\alpha = \beta[/itex]. By transitivity, [itex]\beta=x[/itex].

    Since you arrived at this result the hard way, here's an easy way: Integrate by parts directly.


    u&=\log x &\quad dv &=e^x dx \\
    du &= \frac {dx}x & \quad v &= e^x \endaligned[/tex]


    [tex]\int e^x\log x dx = e^x\log x - \int \frac{e^x}{x} dx[/tex]

    Too fast! Where does the [itex]1/beta^2[/itex] come from?
  10. Jan 2, 2009 #9
    Ya.I saw it at last while putting back the values in terms of x.

    [tex] \frac{e^{\beta}}{\beta} = \frac{{1} + \beta + \frac{{\beta}^2}{2!} + \frac{{\beta}^3}{3!} + ......}{\beta}[/tex]

    Then i integrated it.
  11. Jan 2, 2009 #10

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    What is the integral of 1/beta? (Hint: It is not 1/beta2).
  12. Jan 2, 2009 #11
    Oh my god. How can this happen. I am so sorry. I am a fool. Its

    [tex] log{\beta} [/tex]

    I am so sorry. I a ashamed of myself. May be its because i am ill at the moment. However illness has nothing to do with it this is just because of my mere lack of concentration
  13. Jan 2, 2009 #12

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Naw. You just made a dumb mistake. We all make dumb mistakes. In general, admit it (eat some crow) and move on. Crow can be a tasty dish at times.

    Now that you have the answer in series form, there is a way to express it without a series using the "exponential integral":

    [tex]\textrm{Ei}(x) \equiv \int_{-\infty}^x \frac {e^t}t dt[/tex]
  14. Jan 2, 2009 #13
    Thanks for the consolation.

    So you mean that the sigma and the log x term can be replaced by the exponential integral, isn't it?
  15. Jan 2, 2009 #14

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Yes, but if you haven't covered special functions yet your instructor probably wants to see the series representation.
  16. Jan 3, 2009 #15
    Thanks a lot D H. You really helped me with the sum
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook