I want to determinate the following integral $\int e^{x} \sqrt{e^{x} - 1} dx$
My try and steps were as follow
$$ \int e^{x} \sqrt{e^{x} - 1} dx $$
let $ u = \sqrt{e^{x} - 1} $ and $ v' = e^{x} $
$$ \to e^{x} \sqrt{e^{x} - 1} - \int \frac{e^{x}}{2\sqrt{e^{x}-1}} e^{x} dx$$
let $ u = e^{x} $ and $ v' = \frac{e^{x}}{2\sqrt{e^{x}-1}} $
$$ \to e^{x} \sqrt{e^{x} - 1} - (e^{x} \sqrt{e^{x} - 1} - \int e^{x}\sqrt{e^{x}-1} dx ) \\ = e^{x} \sqrt{e^{x} - 1} - e^{x} \sqrt{e^{x} - 1} + \int e^{x}\sqrt{e^{x}-1} dx \\ = 0 + \int e^{x}\sqrt{e^{x}-1} dx $$
What am I missing or doing wrong? Is it not allowed to change the $u$ & $v'$ when doing the 2nd time partition?
Hint You don't need integration by parts for this problem. Let $u=e^x-1$.