When determining the bounds of integration to calculate the marginal density of X, why are they |x| to infinity?

2.5k Views Asked by At

I'm having trouble seeing why the bounds of integration used to calculate the marginal density of $X$ aren't $0 < y < \infty$.

Here's the problem:

$f(x,y) = \frac{1}{8}(y^2 + x^2)e^{-y}$ where $-y \leq x \leq y$, $0 < y < \infty$

Find the marginal densities of $X$ and $Y$.

To find $f_Y(y)$, I simply integrated away the "x" component of the joint probability density function:

$f_Y(y) = \frac{1}{8}\int_{-y}^y (y^2 + x^2)e^{-y} \, dx = \frac{1}{6}y^3e^{-y}$

Then to find $f_X(x)$,

$f_X(x) = \frac{1}{8}\int_0^\infty (y^2 + x^2)e^{-y} \, dy = \frac{-(x^2-2)}{8}$

However, the solutions I have say that the marginal density of $X$ above is wrong. Instead, it says that $f_X(x)$ is

$f_X(x) = \frac{1}{8}\int_{|x|}^\infty (y^2 + x^2)e^{-y} \, dy = \frac{1}{4}e^{-|x|}(1+|x|)$

Unfortunately, there is no explanation as to why the lower bound is $|x|$. The only thing that stands out to me are the bounds of $x$: $-y \leq x \leq y$.

Any constructive input is appreciated.

2

There are 2 best solutions below

0
On

If you graph $x = y$ and $x = -y$ ; and only look at $0 < y < \infty$ ; you will only use quadrants I and IV.

Thus $x$ can only be positive.

$0 < y < \infty $ aren't x-bounds.

0
On

The constraints are $-y \leq x \leq y$ and $0 < y < \infty$. That first constraint is equivalent to

$$ |x| \leq y $$

which, when combined with the second constraint, naturally yields

$$ |x| \leq y < \infty $$

Whence the integration limits.