Evaluate $\int_0^\infty \frac{\ln x}{x^2+2x+5}dx$.
Divyank Gupta, AIR 21, 2024
To find $\int_0^{\infty} \frac{\ln x\, dx}{x^2+2x+5}$
Consider the contour in the adjacent figure
[an upper semicircular contour in the complex plane: the x-axis from $-R$ to $R$, the y-axis drawn with an arrow, the semicircular arc labelled $\Gamma$]
Then we can write the integral as
where $R^+$ is the residue at poles above x-axis
Now finding $\int_{\Gamma} \frac{\ln z\, dz}{z^2+2z+5}$
We can see that $\lim_{z\to\infty} \frac{z \ln(z)}{(z^2+2z+5)} = 0$
(1) $\oint_\Gamma \frac{\ln z\, dz}{(z^2+2z+5)} = 0$
Now, find $R^+$
Finding poles of $f(z)$ then $z^2+2z+5=0 \Rightarrow z = -1 \pm 2i$
only $-1+2i$ lies above $x$ axis
so
(2) Now taking $R\to\infty$ in the integral we get
so