You can solve this with a substitution.
Let so that .
Now substitute your terminals.
I did this integral:
integral(e^x / (1+e^x)^2, x,0,1)
I approached it by expanding denominator and then simplifying. How comes that gives erroneous error.
Ive got e^x / (1+e^x)^2 = e^x + 1/2x - e^-x
then upon integration, taking limits, ive got