Let $a$,$b$, $c$ be real numbers such that $a>0$, $c>0$ and $b^2 <4ac$. Use the Residue Theorem to compute the following integral $$\int_{-\infty}^\infty\frac{1}{ax^2+bx+c}dx$$
Super lost with this question! I've gotten to the point of getting the poles with the quadratic equation, but I'm not sure whereas to go from there.
The roots of $az^2+bz+c$ are given by $z=-\frac b{2a}\pm \frac{\sqrt{b^2-4ac}}{2a}=-\frac b{2a}\pm i\frac{\sqrt{4ac-b^2}}{2a}$.
When $a>0$ and $b^2-4ac<0$, the pole of $f(z)=\frac{1}{az^2+bz+c}$ at $z=-\frac b{2a}+i \frac{\sqrt{4ac-b^2}}{2a}$ is in the upper half plane, while the pole at $z=-\frac b{2a}-i \frac{\sqrt{4ac-b^2}}{2a}$ is in the lower half plane.
Hence, from the residue theorem, we have for $a>0$ and $b^2-4ac<0$
$$\int_{-\infty}^\infty \frac{1}{ax^2+bx+c}\,dx=2\pi i \text{Res}\left(\frac{1}{az^2+bz+c}, z=-\frac b{2a}+i\frac{\sqrt{4ac-b^2}}{2a}\right)$$
Can you finish now?