For X:
$$
f_X(x) = \int_{-x}^{x} f(x,y) dy = \int_{-x}^{x} 1 dy = [y]_{-x}^{x} = x - (-x) = 2x
$$
So, the marginal pdf for X is:
$$
f_X(x) = \begin{cases} 2x, & 0 < x < 1 \\ 0, & \text{otherwise} \end{cases}
$$
For Y:
$$
f_Y(y) = \int_{|y|}^{1} f(x,y) dx =
Show more…