How do I evaluate $$\int \frac{e^{-2x}}{1+e^{-x}} dx$$
I've tried the substitution u = $e^{-x}$, and the furthest I've gotten is $\int \frac{-u}{1+u} du$ and I don't know how to proceed from there.
How do I evaluate $$\int \frac{e^{-2x}}{1+e^{-x}} dx$$
I've tried the substitution u = $e^{-x}$, and the furthest I've gotten is $\int \frac{-u}{1+u} du$ and I don't know how to proceed from there.
You've already done the hard part. Notice now that $$\int \frac{u}{1 + u} du = \int \left(1 - \frac{1}{1 + u}\right) du$$