Multivariate Gaussian integral of ratio of quadratic forms

596 Views Asked by At

Given two real symmetric matrices $M,S$ is there a known answer for the Gaussian integral $\int d^Nz\frac{z^TMz}{z^TSz}$ where the integration is over N-dimensional Gaussian variable $z\sim N(\vec{0},I)$?

This can also be written as $E_z[\frac{z^TMz}{z^TSz}]$, so it seems like a very simple expression, but I could not find any result on this.

2

There are 2 best solutions below

0
On BEST ANSWER
0
On

Per @GeoffreyEvans answer the general case of the s-th moment $E_z[(\frac{z^TMz}{z^TSz})^s]$ for $z\sim N(\mu,\Sigma)$ is discussed by [Magnus 1986]. A (complex) closed-form answer is available there, but for $s=1$, $\mu=\vec{0}$ and $\Sigma =I$ which the question targeted it simplifies to

$$\mathbb{E}\left[\frac{z^{T}Mz}{z^{T}Sz}\right]=\int_{0}^{\infty}dt\prod_{j}\frac{1}{\sqrt{1+2t\lambda_{j}}}\sum_{i}\frac{\left[U^TMM^TU\right]_{i}^{2}}{1+2t\lambda_{i}}$$

where $S=U\Lambda U^T$ for orthonormal matrix $U$ and diagonal matrix $\Lambda$ with diagonal elements $\{\lambda_i\}$.