how do I compute
$$\int_0^{\infty} \frac{\sqrt{x}}{x^2+2x+5} dx$$
with complex analysis?
I feel like im calculating the residue wrong and I cant get to the answer correctly. I tried to branch cut the real $0 \rightarrow \infty$ but I feel like im doing it wrong. any help is appriciated.
additional information:
thank you for the input everyone it is very helpful.
i did come down to calculating the integral
$$\int_0^{\infty} \frac{\sqrt{x}}{x^2+2x+5} dx = i\pi [Res(f,z_1=-1+2i)+Res(f,z_2=-1-2i)]$$
Then given answer to this question is $\frac{\pi}{2}\sqrt{\frac{\sqrt{5}-1}{2}}$
I was just simply calculating
$i\pi [Res(f,z=-1+2i)+Res(f,z=-1-2i)] = i\pi \left(\frac{\sqrt{z_1}}{2z_1+2}+\frac{\sqrt{z_2}}{2z_2+2}\right)$
Solving for
$\frac{\pi}{4} \left(\sqrt{-1+2i}-\sqrt{-1-2i}\right)$
I get $\frac{\pi}{2}\sqrt{\frac{-\sqrt{5}-1}{2}}$ and I still dont know what I am doing wrong for that one sign error.