I am asked to evaluate the integral $$\int_{R^n}e^{-\sum_{i=1}^na_i^2x_i^2}\,dx$$ given that $a_1,a_2,\cdots,a_n$ are real numbers different from $0$.
I am clueless on how to approach this, since I have never been exposed to these types of integrals. Any help is appreciated!
By Fubini, \begin{align*} I&=\int_{{\bf{R}}^{n}}e^{-a_{1}^{2}x_{1}^{2}}\cdots e^{-a_{n}^{2}x_{n}^{2}}dx_{1}\cdots dx_{n}\\ &=\int_{{\bf{R}}}\cdots\int_{\bf{R}}e^{-a_{1}^{2}x_{1}^{2}}dx_{1}\cdots e^{-a_{n}^{2}x_{n}^{2}}dx_{n}\\ &=\left(\int_{\bf{R}}e^{-a_{1}^{2}x_{1}^{2}}dx_{1}\right)\cdots\left(\int_{{\bf{R}}}e^{-a_{n}^{2}x_{n}^{2}}dx_{n}\right)\\ &=\dfrac{\sqrt{\pi}}{|a_{1}|}\cdots\dfrac{\sqrt{\pi}}{|a_{n}|}. \end{align*}