Closed Form E[exp(x'Ax)]

89 Views Asked by At

Is there a (general) closed form available for the following expression?

$$\mathbb{E}\left[e^{x^{T}Ax}\right]$$ Where: $$x=\left\{ x_{1},x_{2},...,x_{N}\right\} \sim\mathcal{N}\left(0,\varSigma_{N}\right)$$ With the following symmetric matrices: $$\varSigma_{N}=\left(\begin{array}{cccc} \sigma_{11} & \sigma_{21} & \ldots & \sigma_{N1}\\ \sigma_{21} & \sigma_{22} & \ldots & \sigma_{N2}\\ \vdots & \vdots & \ddots & \vdots\\ \sigma_{N1} & \sigma_{N2} & \ldots & \sigma_{NN} \end{array}\right)$$ $$A=\left(\begin{array}{cccc} a_{11} & a_{21} & \ldots & a_{N1}\\ a_{21} & a_{22} & \ldots & a_{N2}\\ \vdots & \vdots & \ddots & \vdots\\ a_{N1} & a_{N2} & \ldots & a_{NN} \end{array}\right)$$

1

There are 1 best solutions below

7
On BEST ANSWER

This can be solved using the general solution of the Gaussian integral $$ \int\!d^nx\,\exp\Bigl(-\frac12 x^T A x\Bigr) = \sqrt{\frac{(2\pi)^n}{\det A}}.$$

In your case, you we have that $$\mathbb{E}\left[e^{x^{T}Ax}\right] = \sqrt{\frac{1}{(2\pi)^n \det \Sigma}} \int\!d^nx \exp\Bigl(-\frac{1}{2} x^T \Sigma^{-1} x\Bigr) e^{x^T A x}=\sqrt{\frac{1}{(2\pi)^n \det \Sigma}} \int\!d^nx \exp\Bigl(-\frac{1}{2} x^T (\Sigma^{-1} -2 A) x\Bigr) .$$

The expectation value is convergent, if $\Sigma^{-1} -2 A$ is a positive definite matrix. In this case, we obtain the result $$\mathbb{E}\left[e^{x^{T}Ax}\right] = \sqrt{\frac{1}{\det \Sigma\,\det(\Sigma^{-1}- 2 A)}} = \frac{1}{\sqrt{\det( I- 2 \Sigma A)}}\,.$$