solve: $$\int \frac{\mathrm dx}{x^3+x^2\sqrt{x^2-1}-x}$$ I tried: $$\begin{align}\int \frac{\mathrm dx}{x(x^2-1)+x^2\sqrt{x^2-1}}&=\int \frac{\mathrm dx}{x(\sqrt{x^2-1}\sqrt{x^2-1})+x^2\sqrt{x^2-1}}\\&=\int \frac{\mathrm dx}{x\sqrt{x^2-1}(\sqrt{x^2-1}+x)}\end{align}$$
$x=\sin t$ $$\int \frac{\mathrm dt}{\cos t\sin t-\sin^2t}$$ And I can not continue from here.