I would like to calculate the integral
$$\int_0^{\infty} \frac{dx}{(x+2)\sqrt{x-1}}$$
Integrating by parts doesn't seem to go anywhere useful, I can't find any trigonometric substitution that would work, and I cannot find this in any standard integral tables. Putting this into Mathematica gives a complex integral,
$$\int_0^{\infty} \frac{1}{x+2} \frac{1}{\sqrt{x-1}} = \frac{\pi - 2i \mathrm{arccsch(\sqrt{2})}}{\sqrt{3}}.$$
Am I missing something trivial?
Note: For real analysis this integral should be evaluated in $(0,\infty)$ as: $$I=\int_{1}^{\infty} \frac{dx}{(2+x)\sqrt{x-1}}$$ Klet $x-1=t^2$, then $$I=\int_{0}^{\infty}\frac {2t dt}{(3+t^2)t}= 2\int_{0}^{\infty} \frac{dt}{3+t^2}=\frac{2}{\sqrt{3}} \tan^{-1}(t/\sqrt{3})= \frac{\pi}{\sqrt{3}}$$
Note This integral is improper two ways (1) one limit is $\infty$, (2) at $x=1$ the integrand diverges. Note that the improper integral $$J=\int_{a}^{\infty} \frac{dx}{(x-a)^p}$$ is finite (converges) if $0<p<1.$ Here in this cae $p=1/2$.