How can I integrate 1/(1+e^x) by substituting u = e^{-x} + 1?

  • Thread starter Thread starter MaximumTaco
  • Start date Start date
  • Tags Tags
    Integrating
MaximumTaco
Messages
44
Reaction score
0
Integrating 1/(1+e^x):

I am currently substituting 1+e^x = u,

S (u*e^x)^-1 du since du/dx = e^x

S (u*(u-1))^-1 du (S represents the integral symbol)

But i looked up the answer and got Ln (e^x(1+e^x)) +c

i need to understand how this is done, thanks in advance everyone.
 
Mathematics news on Phys.org
After you have integral (u(u-1))^(-1) du= integral 1/(u(u-1)) du

you can use "partial fractions", rewriting

1/(u(u-1))= A/u+ B/(u-1) for proper A and B. Then integrate

integral (A/u)du+ integral B/(u-1) du.
 
Guys this problem is a lot easier than it looks. From a quote from a PHD Student at Texas Tech Univ. Krishna Kaphle "Adding 0 or Multiplying By 1 is Free In Math".

What does this mean for this problem well let's rewrite our expression
1. \int{\frac{1+e^x-e^x}{1+e^x}dx} [lets add 1 to our expression]

2. \int{\frac{[1+e^x]-e^x}{1+e^x}dx} [now focus in on the numerator see what's in brackets matches the denominator]

3. \int{\frac{1+e^x}{1+e^x}dx}-\int{\frac{e^x}{1+e^x}dx} [now let's split the fraction]

4. \int{1dx}-\int{\frac{e^x}{1+e^x}dx} [now just use substiution method for right hand integral. u=1+e^x, du = e^xdx]

5. \int{1dx}-\int{\frac{du}{u}}

6. x-ln|{u}|+C

7. x-ln|{1+e^x}|+C [substitue u back]

If you don't believe this or too lazy to do its derivative use this tool:
http://library.wolfram.com/webMathematica/Education/WalkD.jsp
and enter this expression: x-ln[1+e^x]

kiko
 
If the poster above can bump this thread, so can I. Besides, I think my solution is the nicest one between this thread and the thread referred to in post #2. :)

I make the substitution u = e^{-x} + 1:
<br /> \int \frac{1}{1 + e^x} \,dx<br /> = \int \frac{e^{-x}}{e^{-x} + 1} \,dx<br /> = \int -\frac{1}{u} \,du<br /> = -\ln \lvert u \rvert + C<br /> = -\ln(e^{-x} + 1) + C.<br />

Note that
-\ln(e^{-x} + 1) = x - \ln(1 + e^x) = \ln \left( \frac{e^x}{1 + e^x} \right).edit: Isn't this thread supposed to be locked, being archived?
 
Last edited:
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top