# How to put a bivariate normal distribution under standard form

If I have the following gaussian integral:

$$\int_{-\infty}^{a}\int_{-\infty}^{b}\exp\left[-\alpha x^2+\beta x-\theta y^2+\gamma y+2\lambda xy\right] dxdy$$ ,where X and Y are standard normal R.V.

Well I can put it under the form:

$$\exp\left(\frac{\beta^2}{4\alpha} +\frac{\lambda^2}{4\theta}\right)\int_{-\infty}^{a}\int_{-\infty}^{b}\exp\left[-(\sqrt\alpha x-\frac{\beta}{2\sqrt\alpha})^2 -(\sqrt\theta y-\frac{\gamma}{2\sqrt\theta})^2+2\lambda xy\right] dxdy$$

But from then... I don't know how to reach a bivariate normal distribution form... and my head starts to hurt.

More precisely, when doing the change of variable. In my second eqn, say I def $\hat{x}:=(\sqrt\alpha x-\frac{\beta}{2\sqrt\alpha})$ and $\hat{y}:=(\sqrt\theta y-\frac{\gamma}{2\sqrt\theta})$, then after shifting limits and adjusting the differentials, I'm left with: $$C\int_{-\infty}^{a*}\int_{-\infty}^{b*}\exp\left[-\hat{x}^2-\hat{y}^2+2\lambda(\hat{x}+...)(\hat{y}+...)\right] d\hat{x}d\hat{y}$$

And now I have some additional x and y double factors that I don't know what to do with...

It looks like this actually http://en.wikipedia.org/wiki/Gaussian_integral#n-dimensional_with_linear_term (n-dimensional with linear term), and I have no problem finding matrix $A$ and vector $B$ that fit my expression but they just go straight to the solution for integration over $R^2$ and give no link to a bivariate...

I still take any hint. Thanks

-

1
Already in dimension 1 there is no general expression except if one defines a new function as the solution... – Did Feb 23 at 6:31

1
Some formatting tips: Equations with integrals and displayed fractions look better and are easier to read as displayed equations, which you get by enclosing them in double dollar signs instead of single dollar signs. You can get appropriately sized delimiters (e.g. parentheses) by preceding them with `\left` and `\right`, respectively. Names like exp are interpreted as a juxtaposition of variable names and hence italicized; to get the appropriate font and spacing for them use `\exp`, or `\operatorname{name}` in cases where there's no predefined command. – joriki Feb 23 at 8:00
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 5, "mathjax_display_tex": 3, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9124037027359009, "perplexity_flag": "middle"}