0

Let $f(x, y)$ be the given function. $$f(x, y) = ce^{-(x^2 - xy + 4y^2)/2}$$ Determine the value of $c$ such that $f$ is a pdf.

The problem is finding the value of $c$ such that

$$ \int_{-\infty}^{\infty} \int_{-\infty}^{\infty} ce^{-(x^2 - xy + 4y^2)/2}\,dx\,dy = 1 $$

The usual way of integrating a regular gaussian/normal pdf is by using polar coordinates. However, the values on the exponential above make it harder than usual. I assume there must be some transformation of variables that will make the integral simpler, then you'd need to calculate the jacobian obviously, but I can't see the transformation.

StubbornAtom
  • 17,052
Sigma
  • 1,836
  • 15
  • 35
  • 3
    I think the method of completing the squares is helpful here. – callculus42 Jun 15 '19 at 19:48
  • 1
    Complete the square in the exponent to see the transformation. Plenty of similar questions here: https://math.stackexchange.com/questions/2058201/evaluate-i-int-infty-infty-int-infty-infty-mathrm-e-2x22xy2. – StubbornAtom Jun 15 '19 at 19:51
  • Also https://math.stackexchange.com/questions/384732/find-the-value-of-int-infty-infty-int-infty-inftye-x2xyy2?noredirect=1&lq=1, https://math.stackexchange.com/questions/877711/evaluate-int-infty-infty-int-infty-inftye-frac12x2-xyy?noredirect=1&lq=1. – StubbornAtom Jun 15 '19 at 20:05

2 Answers2

2

It suffices to "mould" your expression onto the multivariate normal distribution formula one can find for example here, with $m=0$ (mean = $0$) and $n=2$ ($n$ = number of variables).

We have, in our case :

$$c \exp(-\dfrac12 (X^T S X))=c \exp(-\dfrac12 (X^T \Sigma^{-1} X))$$

where $X=\binom{x}{y}$ and :

$$S=\begin{pmatrix}1&-\tfrac12\\ -\tfrac12&4\end{pmatrix} \ \implies \ \Sigma=S^{-1}=\tfrac{16}{15}\begin{pmatrix}4&\tfrac12\\ \tfrac12&1\end{pmatrix}$$

($\Sigma$ is the variance matrix extending the concept of unidimensional variance), giving :

$$c=\dfrac{1}{2 \pi \sqrt{\det(\Sigma)}}$$

But in fact, one can completely shortcut the computation of $\Sigma$. Indeed $\Sigma=S^{-1} \ \implies \ \det(\Sigma)=\det(S)^{-1}$, allowing to write plainly :

$$c=\tfrac{1}{2 \pi}\sqrt{\det(S)}=\tfrac{1}{2 \pi}\sqrt{\tfrac{15}{16}}=\tfrac{\sqrt{15}}{8 \pi}$$

Jean Marie
  • 81,803
1
  1. Try the substitution $ x=2(u+v), y=u-v$

  2. Then convert the integral in the $u-v$ plane , with the Jacobian.

  3. Use the symmetry of the integrand i.e you should get an even function of $u$ and $v$, to change the limits to $0$ to $ \infty$ for both $u$ and $v$.

  4. Separate the two integrals and use Gamma Function to evaluate the integral and get $c$

Upstart
  • 2,613