# Math Help - integration with e^x

1. ## integration with e^x

integrate 1+ e^x/(1-e^x)

2. Originally Posted by twilightstr
integrate 1+ e^x/(1-e^x)
do you mean $\int \left( 1 + \frac {e^x}{1 - e^x} \right) ~dx$ or $\int \frac {1 + e^x}{1 - e^x}~dx$ ?

in either case, consider the substitution $u = 1 - e^x$. (for the second integral, it may be easier to use this substitution if you multiply by $\frac {e^x}{e^x}$ first)

3. Originally Posted by Jhevon
do you mean $\int \left( 1 + \frac {e^x}{1 - e^x} \right) ~dx$ or $\int \frac {1 + e^x}{1 - e^x}~dx$ ?
Either way, make the substitution $u = e^x$.

4. i dont know how to integrate (1+u)/(u-u^2)

5. Watch this
$
u= e^{x}
$

$
\frac{1+e^x} {1-e^x} = \frac{1+u}{1-u}

$

$\int{\frac{1+u}{u(1-u)}du}$

$\int{\frac{1}{u(1-u)}du} +\int{\frac{u}{u(1-u)}du}

$

$\int{\frac{u+1-u}{u(1-u)}du} +\int{\frac{1}{(1-u)}du}$

$
\int{\frac{u}{u(1-u)}du} + \int{\frac{1-u}{u(1-u)}du} +\int{\frac{1}{(1-u)}du}
$

$\int{\frac{1}{(1-u)}du} + \int{\frac{1}{u}du} +\int{\frac{1}{(1-u)}du}$