Question . The joint probability density function of X and Y is given by
$f(x, y) = (1/8)(y^2 − x^2)e^{-y} , -y\leq x\leq y, 0\leq y \leq \infty $
Find the marginal density of x.
So i know that we need to integrate out the Y from the joint PDF,and thus i came up with this integral $f_x(x)=\int_0^\infty (1/8)(y^2 − x^2)e^{-y} dy$. i evaluated this to get $(1/8)(2-x^2)$
However, the solutions provided is different. Is there something wrong with my bounds? Help will be much appreciated.