Let the joint distribution of $x$ and $y$ has been given as:
$f(x,y)=\frac{e^{\frac{-y^2}{2}}}{y \sqrt{2\pi}}$ where $0\leq|x|\leq y \ <\infty$. It is required to obtain the mean and variance of the random variable $X$.
Although, I have solved these types of problems but in this one I am having trouble beacuse the expression which is coming out while obtaining the marginal density is not in nice and analytic for. Please help me with the problem. Thanks in advance.