$\int_0^\infty \frac{\sqrt{x}}{x^2+2x+5}\mathrm{d}x$ using Feynman’s trick

definite integralsintegration

We are expected to solve an integral similar to
$$
\int_0^\infty \frac{\sqrt{x}}{x^2+2x+5}\mathrm{d}x
$$

using contour integration, but I was wondering whether it would be possible to use the so-called Feynman's trick, i.e. differentiating under the integral sign. I tried using $$F(t) = \int_0^\infty \frac{\sqrt{x}e^{-t\sqrt{x}}}{x^2+2x+5}\mathrm{d}x\quad
\mbox{so that}\quad
F^\prime(t) = \int_0^\infty \frac{-xe^{-t\sqrt{x}}}{x^2+2x+5}\mathrm{d}x$$

Sadly, this does not work. So I'm looking for any starting point to approach this problem. I appreciate any help.

Best Answer

I'm not sure about Feynman's trick, but there is a delightfully simple way to compute this integral using Glasser's Master Theorem. First, substitute $u=x^2$ to obtain $$2\int_0^\infty \frac{u^2}{u^4+2u^2+5}\,du=\int_{-\infty}^\infty \frac{1}{u^2+5u^{-2}+2}\,du$$ Now, notice that $$u^2+5u^{-2}+2=\left(u-\frac{\sqrt{5}}{u}\right)^2+4\phi,$$ where $\phi=\frac{1+\sqrt{5}}{2}$. Glasser's Master Theorem then tells us that $$\int_{-\infty}^\infty \frac{1}{\left(u-\sqrt{5}/u\right)^2+4\phi}\,du=\int_{-\infty}^\infty \frac{1}{u^2+4\phi}\,du.$$ The last integral is just $$\frac{\pi}{2\sqrt{\phi}}=\frac{\pi}{\sqrt{2}}\cdot\frac{1}{\sqrt{1+\sqrt{5}}}$$