Results 1 to 5 of 5

Math Help - Integrals of e.

  1. #1
    Newbie
    Joined
    Sep 2007
    Posts
    14

    Exclamation Integrals of e.

    I need to find the integral of (1/(1+e^x)) dx.

    ...I don't think I can use u substitution, but well, I'm basically open to suggestions.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor red_dog's Avatar
    Joined
    Jun 2007
    From
    Medgidia, Romania
    Posts
    1,252
    Thanks
    5
    \displaystyle\int\frac{1}{e^x}dx=\int\frac{e^x}{e^  x(1+e^x)}dx
    Use the substitution e^x=u
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Super Member

    Joined
    May 2006
    From
    Lexington, MA (USA)
    Posts
    11,739
    Thanks
    645
    Hello, niyati!

    I \;= \;\int\frac{dx}{1 + e^x}

    This is definitely my favorite integral.
    There are at least seven ways to integrate it.
    Here are a few of them . . .



    \text{(1)  Long Division}

    . . \frac{1}{1+e^x} \;=\;\frac{1+e^x-e^x}{1+e^x} \;=\;\frac{1+e^x}{1+e^x} - \frac{e^x}{1+e^x} \;=\;1 - \frac{e^x}{1+e^x}

    Then: . I \;=\;\int\left(1 - \frac{e^x}{1+e^x}\right)dx \;=\;\boxed{x - \ln(1+e^x) + C}



    \text{(2) }\;\frac{du}{u}

    Multiply top and bottom by e^{-x}

    . . \frac{e^{-x}}{e^{-x}}\cdot\frac{1}{1+e^x} \;=\;\frac{e^{-x}}{e^{-x} + 1} \;=\;-\frac{-e^{-x}}{e^{-x} + 1}

    Therefore: . I \;=\;-\int\frac{-e^{-x}}{e^{-x} + 1}\,dx \;=\;\boxed{-\ln(e^{-x} + 1) + C}



    (3)\;\text{Substitution}

    Let U \,=\,1+e^x\quad\Rightarrow\quad x \,=\,\ln(U-1)\quad\Rightarrow\quad dx \:=\:\frac{dU}{U-1}

    Substitute: . I \;=\;\int\frac{dU}{U(U-1)}

    Partial Fractions: . \int\frac{dU}{U(U-1)} \;=\;\int\left(\frac{1}{U-1} - \frac{1}{U}\right)dU \;=\;\ln|U-1| - \ln|U| + C

    . . . I \;= \;\ln\left|\frac{U-1}{U}\right| + C \;=\;\boxed{\ln\left(\frac{e^x}{1+e^x}\right) + C}



    (4)\;\text{ Trig Substitution} . . . my favorite method

    Let e^x \,=\,\tan^2\theta\quad\Rightarrow\quad e^{\frac{x}{2}}\,=\,\tan\theta\quad\Rightarrow\qua  d \frac{x}{2} \,=\,\ln(\tan\theta)\quad\Rightarrow\quad dx \,=\,2\cdot\frac{\sec^2\theta}{\tan\theta}\,d\thet  a
    . . and: . 1 + e^x \:=\:1+\tan^2\!\theta \:=\:\sec^2\!\theta

    Substitute: . I \;=\;\int\frac{1}{\sec^2\!\theta}\cdot2\cdot\frac{  \sec^2\theta}{\tan\theta}d\theta \;=\;2\int\cot\theta\,d\theta \;=\;2\ln|\sin\theta| + C


    \text{Since }\tan\theta = e^{\frac{x}{2}}\text{, then }\theta\text{ is in a right triangle with: }opp = e^{\frac{x}{2}} \text{ and }adj = 1
    . . Hence: . hyp = \sqrt{1+e^x} .and . \sin\theta \,=\,\frac{e^{\frac{x}{2}}}{\sqrt{1+e^x}}

    Therefore: . I \;=\;\boxed{2\cdot\ln\left(\frac{e^{\frac{x}{2}}}{  \sqrt{1+e^x}}\right) + C}

    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

    Of course, these four answers are equivalent.
    . . You should verify this for yourself.

    But now you are prepared to surprise/impress/terrify your teacher.

    Follow Math Help Forum on Facebook and Google+

  4. #4
    Newbie
    Joined
    Sep 2007
    Posts
    14
    Thank you! (Both red_dog and soroban)

    I hated how I kind of had to use partial fraction decomposition on the substitution method (the only way we learned it...-_-) but I'm just wondering how I am suppose to intuitively know to do that. :P Perhaps practice, and hopefully a very similar problem on my exam.

    Again, thank you both for your help.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Forum Admin topsquark's Avatar
    Joined
    Jan 2006
    From
    Wellsville, NY
    Posts
    9,939
    Thanks
    338
    Awards
    1
    Quote Originally Posted by niyati View Post
    Thank you! (Both red_dog and soroban)

    I hated how I kind of had to use partial fraction decomposition on the substitution method (the only way we learned it...-_-) but I'm just wondering how I am suppose to intuitively know to do that. :P Perhaps practice, and hopefully a very similar problem on my exam.

    Again, thank you both for your help.
    Unfortunately there are a number of integrals out there that, paradoxically, you can only understand how to do once you've seen them done. (Unless you are some kind of integration genius anyway. ) We all have that problem and that's why things like this forum exist.

    -Dan
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Contour Integrals (to Evaluate Real Integrals)
    Posted in the Differential Geometry Forum
    Replies: 2
    Last Post: January 17th 2011, 09:23 PM
  2. Replies: 1
    Last Post: December 6th 2009, 07:43 PM
  3. Integrals : 2
    Posted in the Calculus Forum
    Replies: 4
    Last Post: November 24th 2009, 07:40 AM
  4. Integrals and Indefinite Integrals
    Posted in the Calculus Forum
    Replies: 3
    Last Post: November 9th 2009, 04:52 PM
  5. integrals Help please
    Posted in the Calculus Forum
    Replies: 2
    Last Post: May 8th 2008, 06:16 PM

Search Tags


/mathhelpforum @mathhelpforum