I have been asked to solve this integral with residue theory.
\begin{equation} \int_{-\infty}^{\infty} \frac{1}{(2+2x+2x^2)^2} dx \end{equation}
What I have done is to consider the curve formed by the upper half-circle of radius R. If this is $\gamma$, then $\gamma_1$ is the line in the x-axis from $x=-R$ to $x=R$ ($y=0$) and $\gamma_2$ is the half-circle of radius R. Firstly, I compute the integral over $\gamma$ (a closed curve) using Residue Theory, and I obtain that it is equal to $\pi$/$2$. Then I compute the integrals over $\gamma_1$ and $\gamma_2$, in such a way that the first one is just the integral we want to compute and I would like to estimate the second one to conclude that it goes to zero as R goes yo $\infty$, the problem is thta I don't know how to estimate the integral over $\gamma_2$.
Could anybody help me, please?
\begin{align}\left|\int_{\gamma_2}\frac1{(2x^2+2x+2)^2}\,\mathrm dx\right|&\leqslant\pi R\sup_{|z|=R,\operatorname{Im}z\geqslant 0}\frac1{|2x^2+2x+2|^2}\\&\leqslant\frac{\pi R}{4R^4-8R^3-12R^2-8R-4}\end{align}and$$\lim_{R\to+\infty}\frac{\pi R}{4R^4-8R^3-12R^2-8R-4}=0.$$