Finding Marginal PDFs: Need Help With Integrating Complex Expressions?

  • Context:
  • Thread starter Thread starter nacho-man
  • Start date Start date
  • Tags Tags
    Marginal
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
nacho-man
Messages
166
Reaction score
0
Please see the attached image for my question. I don't understand how to compute the integral, is there some trick?
I do believe that
to find fx(x) I integrate the joint pdf, with respect to x with the bounds set as the range of Y. But this leaves me with a very complex integration
Similarly for fy(y). Is there some trick?

Any help is greatly appreciated.
 

Attachments

  • pdf q.jpg
    pdf q.jpg
    23.7 KB · Views: 127
Last edited by a moderator:
Physics news on Phys.org
nacho said:
Please see the attached image for my question. I don't understand how to compute the integral, is there some trick?
I do believe that
to find fx(x) I integrate the joint pdf, with respect to x with the bounds set as the range of Y. But this leaves me with a very complex integration
Similarly for fy(y). Is there some trick?

Any help is greatly appreciated.
Hi nacho!

To find $f_X(x)$ you need to integrate $f_{X,Y}(x,y)$ with respect to y.

That is:
$$f_X(x) = \int_{-\infty}^{+\infty} f_{X,Y}(x,y) dy$$

The problem is of course that exponent, but you can complete the square, do a substitution, and use the standard integral of a normal distribution.

That is:
$$f_X(x) = \int_{-\infty}^{+\infty} f_{X,Y}(x,y) dy
= \int_{-\infty}^{+\infty} \frac{1}{\pi\sqrt 2} \exp\left(-(y + \frac 1 2 x \sqrt 2)^2 - \frac 1 2 x^2\right) dy$$

Can you substitute $w = y + \frac 1 2 x \sqrt 2$?

And use that $$\int_{-\infty}^{+\infty} \exp\left(-\frac 1 2 u^2\right) du = \sqrt{2\pi}$$?