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

  • Context: Undergrad 
  • Thread starter Thread starter MaximumTaco
  • Start date Start date
  • Tags Tags
    Integrating
Click For Summary
SUMMARY

The integration of the function 1/(1+e^x) can be effectively solved using the substitution u = e^{-x} + 1. This leads to the integral transforming into -ln|u| + C, which simplifies to -ln(e^{-x} + 1) + C. The process involves recognizing that the integral can be split and simplified using partial fractions, ultimately yielding the result x - ln(1 + e^x) + C. This method is confirmed by various contributors, including a PhD student from Texas Tech University.

PREREQUISITES
  • Understanding of basic integration techniques
  • Familiarity with substitution methods in calculus
  • Knowledge of partial fractions decomposition
  • Ability to manipulate logarithmic expressions
NEXT STEPS
  • Study the method of integration by substitution in calculus
  • Learn about partial fractions and their application in integration
  • Explore logarithmic identities and their properties
  • Practice similar integration problems involving exponential functions
USEFUL FOR

Students studying calculus, mathematics educators, and anyone looking to enhance their integration skills, particularly with exponential functions.

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.
 
Physics 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:

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K