I need to evaluate the following integral $$\int_{-\infty}^{\infty}\int_{-\infty}^{\infty} dx dy \exp(-5x^2+8xy-5y^2)$$
I know the normal double integrals but this one seem different, moreover, I'm familiar with $$\int_{-\infty}^{\infty} \exp(-x^2)dx = \sqrt\pi$$ but I cannot figure out the polar substitution for $-5x^2+8xy-5y^2$ expression. I tried substituting $x^2+y^2$ at $-5(x^2+y^2)$ with $r^2$ and $8xy$ with $r^2\sin\theta\cos\theta$. And then I got even more lost.
Can someone please help me figure this question out and is there any general solution for such problems? And also can someone provide me a link to similar problems and their solutions in order for me to understand better. Thank you!
If you make the substitution $x=\frac{a+b}{\sqrt2}$ and $y=\frac{a-b}{\sqrt2}$, then your integral becomes\begin{align}\int_{-\infty}^\infty\int_{-\infty}^\infty e^{-a^2-9b^2}\,\mathrm db\,\mathrm da&=\left(\int_{-\infty}^\infty e^{-a^2}\mathrm da\right)\left(\int_{-\infty}^\infty e^{-9b^2}\mathrm db\right)\\&=\sqrt\pi\frac{\sqrt\pi}3\\&=\frac\pi3.\end{align}