1
$\begingroup$

Referencing the 2nd line of the below image

enter image description here


$$\int^\infty_{-\infty} ... \int^\infty_{-\infty} \exp\{ -\frac{1}{2(1-\rho^2)} \} (x-\color{red}{y}\rho) \; dx \; dy$$

What I don't understand is why can I have a $y$ term inside when I am integrating with respect to $x$? It seems to be treated as a constant? After doing that inner integral I still need to integrate with respect to $y$ ... so why can I treat that $y$ as a constant?

$\endgroup$
  • $\begingroup$ You might want to (re)familiarize yourself with how multiple integration works, see here and particularly here ... Short answer: When integrating with respect to x, y is considered a constant. $\endgroup$ – Tyler Oct 15 '13 at 3:15
  • $\begingroup$ @Tyler, can I say the reason why the rest of the terms ($y^2-y^2\rho^2$ compared to $y\rho$) are taken out is they so happen to be in a "convenient form" then? ie. keeping $y\rho$ inside, helps simplify things $\endgroup$ – Jiew Meng Oct 15 '13 at 5:42
1
$\begingroup$

This is too big for a comment. Here is what's happening. The integral "skips" a step which is a not too obvious factorisation.

$$(x^2 + y^2 - 2xy \rho) = (x^2 - 2xy \rho \color{darkgreen}{ +y^2 \rho ^2} \color{blue}{- y^2 \rho ^2} + y^2) = (x - y \rho)^2(y^2 - y^2 \rho ^2)$$

The green terms go into the left factor, and the blue terms go into the right side.

So, using that, we know that

$$ \exp{(\frac{-1}{2(1- \rho ^2)}(x^2 + y^2 - 2xy \rho))} = \exp{(\frac{-1}{2(1- \rho ^2)}(x - y \rho)^2(y^2 - y^2 \rho ^2))}$$ $$ = \exp(\frac{-1}{2(1- \rho ^2)}(y^2 - y^2 \rho ^2)) \exp (\frac{-1}{2(1- \rho ^2)}(x - y \rho)^2)$$ where the first equality comes from our fancy factoring trick, and the last equality is because of a property of exponents.

Now, we can factor the first $\exp$ out of the $\mathrm dx$ integral like it is a constant since it only contains $y$ terms. Keeping $yp$ in the last $\exp$ function isn't really a matter of convenience, it was the whole purpose of the first factoring trick. Now the $\mathrm dx$ integral integrates to $\sqrt{2\pi}\sqrt{1 - \rho ^2}$ which (presumably) has been shown previously.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.