Could you explain to me, with details, how to compute this integral, find its principal value?
$$\int_0^{\infty} \frac{\sqrt{x}}{x^2-1}\mathrm dx$$
$f(z) =\frac{\sqrt{z}}{z^2-1} = \frac{z}{z^{1/2} (z^2-1)}$
It has singularities on the real line, so I need to integrate this function over a curve made of segment $[0, 1- \varepsilon] \cup $ semicircle with endpoints $1- \varepsilon, \ 1+ \varepsilon \cup$ segment $[1+ \varepsilon, R]$ and we link $R$ and $0$ with a big semicircle .
The integral over the big semicircle vanishes.
Integral over the small semicircle, centered in $1$ tends to $i \pi Res_1f$ as its radius tends to $0$.
Could you tell me how to calculate this put this together and find this integral?
Thank you.
The integral as stated does not converge. On the other hand, its Cauchy principal value exists and may be computed using the residue theorem.
Consider the integral
$$\oint_C dz \frac{\sqrt{z}}{z^2-1} $$
where $C$ is a keyhole contour of outer radius $R$ and inner radius $\epsilon$, with semicircular detours of radius $\epsilon$ into the upper half plane at $z=1$. The contour integral is then
$$\int_{\epsilon}^{1-\epsilon} dx \frac{\sqrt{x}}{x^2-1}+ i \epsilon \int_{\pi}^0 d\phi \, e^{i \phi} \frac{\sqrt{1+\epsilon e^{i \phi}}}{\left (1+\epsilon e^{i \phi} \right )^2-1} \\ + \int_{1+\epsilon}^R dx \frac{\sqrt{x}}{x^2-1} + i R \int_0^{2 \pi} d\theta \, e^{i \theta} \frac{\sqrt{R} e^{i \theta/2}}{R^2 e^{i 2 \theta}-1} \\ + \int_{R}^{1+\epsilon} dx \frac{e^{i \pi} \sqrt{x}}{x^2-1} + i \epsilon \int_{2\pi}^{\pi} d\phi \, e^{i \phi} \frac{\sqrt{e^{i 2 \pi}+\epsilon e^{i \phi}}}{\left (1+\epsilon e^{i \phi} \right )^2-1} \\ + \int_{1-\epsilon}^{\epsilon} dx \frac{e^{i \pi} \sqrt{x}}{x^2-1} + i \epsilon\int_{2 \pi}^0 d\phi \frac{\sqrt{\epsilon} e^{i \phi/2}}{\epsilon^2 e^{i 2 \phi}-1}$$
As $R \to \infty$, the magnitude of the fourth integral vanishes as $R^{-1/2}$. As $\epsilon \to 0$, each of the second integral contributes a factor of $-i \pi/2$, the sixth integral contributes a factor of $i \pi/2$ and the eighth integral vanishes as $\epsilon^{3/2}$. Also, the first, third, fifth, and seventh integrals add to the Cauchy principal value of an integral. Thus, the contour integral is equal to
$$2 PV \int_{0}^{\infty} dx \frac{\sqrt{x}}{x^2-1} $$
By the residue theorem, the contour integral is equal to $i 2 \pi$ times the residue of the pole $z=e^{i \pi}$ inside $C$. Thus,
$$PV \int_{0}^{\infty} dx \frac{\sqrt{x}}{x^2-1} = i \pi \frac{e^{i \pi/2}}{2 e^{i \pi}} = \frac{\pi}{2} $$