Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Stumped by a tricky integral

  1. Mar 12, 2006 #1

    uart

    User Avatar
    Science Advisor

    The following integral came up in as part of solving a linear 1st order ODE and it's stumped me.

    [tex]\int \frac{ x \log ( e^x + 1)}{e^x+1}[/tex]

    Does anyone know of a good approach to tackle this one?
     
  2. jcsd
  3. Mar 12, 2006 #2
    Maybe a u substituion and integration by parts would work.
    Let u = ex + 1
     
  4. Mar 13, 2006 #3
    I agree. e^x, x and log() don't belong together.
    However integrating by parts will only lead to longer and more tedious work involving many more substitutions and multiple integration by parts.
    But it seems to be the only way.Multiplying num and den by e^x might help.
     
  5. Mar 13, 2006 #4

    dextercioby

    User Avatar
    Science Advisor
    Homework Helper

    There's no formula on this one found in Mathematica's library. Most likely there's no combination of known special functions which would provide you with an antiderivative.

    Daniel.
     
  6. Mar 13, 2006 #5

    uart

    User Avatar
    Science Advisor

    Yes that's exactly what I previously thought Daniel. But it does have an anit-derivative, I'm just don't know how it was deduced.


    The anti-derivative is

    y = [tex] (\frac{x^2}{2} + 2) \frac{ \log( e^x + 1)} {e^x + 1}} [/tex]
     
  7. Mar 13, 2006 #6
    Well, it works if "log" is "ln" anyway.

    -Dan
     
  8. Mar 13, 2006 #7

    VietDao29

    User Avatar
    Homework Helper

    Uhmm, just wonder, but have you tried to differentiate that monster to see if it returns:
    [tex]\frac{x \ln(e ^ x + 1)}{e ^ x + 1}[/tex]?
    I guess not... :rolleyes:
     
  9. Mar 13, 2006 #8

    uart

    User Avatar
    Science Advisor

    Hang on a minute, the above doesn't seem to be correct. Let me post the full problem.

    The problem was to solve the following DE (where y' denotes dy/dx),

    [tex] y^{\prime} + \left( \frac{e^x} {e^x + 1} \right) y = \frac{x}{e^x + 1} [/tex]

    With the initial condition of [tex]y(0) = 1[/tex]
     
    Last edited: Mar 13, 2006
  10. Mar 13, 2006 #9

    uart

    User Avatar
    Science Advisor

    DOH! My appologies to everyone, I made a huge stuff up on this problem which lead me to the wrong integral. It's actually much easier than I thought, I'll post more details in one moment when I work it out.
     
    Last edited: Mar 13, 2006
  11. Mar 13, 2006 #10

    uart

    User Avatar
    Science Advisor

    OK here's the full story. I was helping my niece with her maths (2nd year uni) and this was a problem she was stuck on. She had worked out the "integrating factor" for this question as [tex]u = \log(e^x + 1)[/tex] (which is wrong), but I checked her working (twice) and thought it was correct. Sorry my stuff up. It was a case of the old "you're checking someones work and follow their same mistakes" thing. As soon as I looked at the problem on my own just now I immediately saw the error.

    The integrating factor was actually just [tex]u = (e^x+1)[/tex], which leads to a trivial integral instead of the monster I previously posted.
     
    Last edited: Mar 13, 2006
  12. Mar 13, 2006 #11

    uart

    User Avatar
    Science Advisor

    The final integral needed to solve the above DE is,

    [tex] u y = \int \frac{u x}{e^x + 1} [/tex]

    When I put [tex]u = \log(e^x + 1)[/tex] I got the horrible integral that I originally posted.

    Of course with [tex]u = (e^x + 1)[/tex], as it should have been, you get the truely simple integral of,
    [tex]\int \, x dx[/tex]

    DOH I feel stupid now. :eek:
     
    Last edited: Mar 13, 2006
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Stumped by a tricky integral
  1. Stumped on this one (Replies: 6)

  2. Tricky integral (Replies: 1)

  3. Quiz Algo stumping me (Replies: 1)

Loading...