How can I evaluate this integral $$\int\dfrac{e^{2x}-1}{\sqrt{e^{3x}+e^x} } \mathop{dx}=\;\;?$$
My attempt:
I tried using substitution $e^x=\tan\theta$, $e^x\ dx=\sec^2\theta\ d\theta$, $dx=\sec\theta \csc\theta \ d\theta.$ $$\int\dfrac{\tan^2\theta-1}{\sqrt{\tan^3\theta+\tan\theta } }\ \sec\theta \csc\theta\ d\theta $$
$$=\int\dfrac{\tan^2\theta-1}{\sec\theta\sqrt{\tan\theta } }\ \sec\theta \csc\theta d\theta. $$ I used $\tan\theta= \dfrac{1}{\cot\theta}$ $$=\int\dfrac{1-\cot^2\theta}{\cot^{3/2}\theta }\csc\theta d\theta $$ $$=\int(\cot^{-3/2}\theta-\sqrt{\cot\theta} )\csc\theta d\theta. $$ I got stuck here. I can't see whether further substitution will work or not. Will integration by parts work?
Please help me solve this integral. I am learning calculus. Thank in advance.
I used the same steps you did follow but I stopped at $$I=\int \left(1-\cot ^2(\theta )\right) \sec (\theta )\sqrt{\tan (\theta )}\, d\theta$$ Rewrite it as $$I={\displaystyle\int}\dfrac{\cos^2\left(\theta\right)-\sin^2\left(\theta\right)}{\cos^\frac{3}{2}\left(\theta\right)\sin^\frac{3}{2}\left(\theta\right)}\,d\theta$$ Now $$u=\cos\left(\theta\right)\sin\left(\theta\right)\implies du=\cos^2\left(\theta\right)-\sin^2\left(\theta\right)\implies d\theta=\dfrac{du}{\cos^2\left(\theta\right)-\sin^2\left(\theta\right)}$$ $$I=\int\dfrac{du}{u^\frac{3}{2}}u==-\dfrac{2}{\sqrt{u}}+C$$ Back to $\theta$ $$I=\frac 2{\sqrt{\sin(\theta)\cos(\theta)}}=\frac {2\sqrt 2}{\sqrt{\sin(2\theta)}}+C$$