I am trying to calculate $$I=\int\dfrac{dx}{(x-1)\sqrt{x^2+x+1}}$$
In my textbook, they advise us to put $x-1=\dfrac{1}{t}$, but I don't see how this helps. We will then have $$I=\int\dfrac{d\frac{1}{t}}{\frac{1}{t}\sqrt{(1+\frac{1}{t})^2+1+\frac{1}{t}+1}}=\int\dfrac{d\frac{1}{t}}{\frac{1}{t}\sqrt{(\frac{1}{t}+\frac32)^2+\frac34}}$$
How is this useful? Thanks!
Simplifying gives (assuming $t > 0$, hence $x > 1$) that $$I = -\int \frac{dt}{\sqrt{3 t^2 + 3 t + 1}} = - \frac{1}{\sqrt{3}} \int \frac{du}{\sqrt{1 + u^2}}.$$ (If $t < 0$, we simply pick up an additional $-$ sign.)
Another option is the apply the Euler Substitution of the First Kind, $\sqrt{x^2 + x + 1} = x + s$, to the original integral in $x$, which rationalizes it, after which the affine transformation $s = \sqrt 3 y - 1$ puts it in a standard form. $$I = 2 \int \frac{ds}{s^2 + 2 s - 2} = -\frac2{\sqrt 3} \int \frac{dy}{1 - y^2} .$$ We can then proceed as usual.