AP Calculus AB and BC
Integral of 1/(1+e^x): Answer and Trick
The integral of 1 over 1 plus e to the x is x minus the natural log of 1 plus e to the x, plus C. The trick is to write the numerator as 1 plus e to the x minus e to the x, which splits the fraction into 1 minus a piece whose numerator is the denominator's derivative.
Add and subtract to split it
The second piece now has the denominator's derivative on top, so it integrates to a logarithm and the first is trivial.
The logistic connection
is the logistic function, and this integrand is its reflection. No absolute value is needed because is always positive.
Common mistakes
- Splitting into over . There is no such rule.
- Answering alone, forgetting the leading .
Every answer on this page is machine checked
An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you.
Frequently asked questions
What is the integral of 1/(1+e^x)?
It is .
What is the trick?
Write the numerator as , which splits the fraction into minus a logarithmic piece.