I'm trying to calculate the integral from one to infinity of the integrand $1/(x*\sqrt{x^2-1})$. On Youtube I've found calculations using integration by substitution, but those calculations don't satisfy me since I prefer to use methods from complex analysis.
My first question is what's going on at the point $x=1$. Is that a pole of the integrand? If so, of what order is it? According to Wolfram Alpha it's a pole of order $1/2$, but that seems strange since I thought that the order of a pole is always an integer. Maybe the concepts of pole and order are not applicable to the given integrand at all since it involves the square root function, which is maybe not meromorphic? What about the concept of residue. Is that applicable to non meromorphic functions? Complex analysis is really a confusing subject.
Furthermore I don't know what contour I should construct. If I draw a vertical line straight up from the point $z=1$ I get a nasty parametrization involving a sum of the form $1 + iy$. So maybe my contour should go partly along the imaginary axis instead, but a problem with that seems to be that the integral doesn't converge between $0$ and $1$, at least not according to Wolfram Alpha.
Can someone clear the confusion and tell me how to proceed?
Maybe the mentioned integral is discussed elsewhere on MSE, but there I can't find answers to my questions about the concepts of pole, order, meromorphic, and residue, so please don't delete what I've written.