$\int_{0}^{\infty}\frac{\sqrt{x}}{1+x^2}\,dx$

1.2k Views Asked by At

I want to evaluate the integral $\displaystyle \int_{0}^{\infty}\frac{\sqrt{x}}{1+x^2}\,dx$ using complex analysis methods. I know that I have to use a keyhole contour, but I don't know which function to integrate on the contour. For example if I had to integrate $\displaystyle \int_{0}^{\infty}\frac{\ln x}{1+x^2}\,dx$ then I would have chosen to integrate over a keyhole contour the function $\displaystyle f(z)=\frac{\ln^2 z}{1+z^2}\,dx$.

If i had known that function then the rest is routine, since if we declare the given integral as $I$ and the contour integral as $J$ , then there is a simple relationship of $I, \; J$. It holds that $J=2\pi i I $. Hence we have the result.

However, I did not understand well the keyhole contour. If someone could show me how the other parts disappear I would be glad.

2

There are 2 best solutions below

4
On BEST ANSWER

Integrate $$ f(z) = \frac{\sqrt{z}}{1+z^2} $$ along the keyhole contour. Choose the "natural" branch of $\sqrt{z}$ (the branch cut along the positive real axis), i.e. $\sqrt{z} = re^{it/2}$, where $z = re^{it}$ with $0 < t < 2\pi$. That way the two integrals along the positive real axis won't cancel.

1
On

Sometimes it is possible to remove branch cuts by using some clever (real) substitution.

In this case, by setting $x=y^2$ we have: $$ I = \int_{0}^{+\infty}\frac{\sqrt{x}}{1+x^2}\,dx = \int_{\mathbb{R}}\frac{y^2}{1+y^4}\,dy$$ and the last integral can be computed thorugh the residue theorem by using a semicircle in the upper half-plane as a contour, leading to: $$ I = 2\pi i\sum_{\xi\in\{\exp(\pi i/4),\exp(3\pi i/4)\}}\operatorname{Res}\left(\frac{1}{y^{-2}+y^2},y=\xi\right)=\color{red}{\frac{\pi}{\sqrt{2}}}.$$