Finding marginal density of a joint density function

484 Views Asked by At

I don't like/don't understand the solution to the SOA practice problem #171 so I'm trying to find the marginal density of x in another way without drawing a diamond.

Here is the joint density: $f(x,y)=\begin{cases} {{1\over2}}&0<|x|+|y|<1\\{0}&otherwise\end{cases}$

I thought I could do the following:

$f_x(x)= \int_{-1}^{1-x}{1\over2}dy \,+\,\int_0^{1+x}{1\over2}dy$

Then I tried

$f_x(x)= \int_{0}^{1-x}{1\over2}dy \,+\,\int_{1-x}^{1+x}{1\over2}dy$

but I'm not getting the same density as them with their drawing. If it comes down to it, I can try to learn their method but I would really like to just do it the way I know how. Can anyone tell me where my limits are going wrong?

1

There are 1 best solutions below

2
On BEST ANSWER

For a fixed $0<x<1$, the support region (check this) goes from $y=x-1$ to $y=1-x$

Hence, in that range, $$f_x(x)= \int_{x-1}^{1-x}\frac12 dy= 1 - x$$

The range $-1<x<0$ is similar.