I have been given a joint probability distribution function and asked to find the marginal probability distributions. $$f(x,y)=\begin{cases} λ^2e^{-λy}&0\le x\le y\\ 0&\text{otherwise} \end{cases}$$ how do i compute the marginal distribution of x if I am not given the Y.
I know that to compute the marginal distribution of x i have to integrate over y. But how i do it if it is not given to me?
When we want a marginal distribution over some variable, we have to integrate over it to remove it. Thus we have the formula $$f_X(x)=\int f_{X,Y}(x,y)\,dy$$ In this case, the marginal distribution of $X$ is $$f_X(x)=\int_x^\infty\lambda^2e^{-\lambda y}\,dy=-\lambda[e^{-\lambda y}]_x^\infty=\lambda e^{-\lambda x}$$ (We can start from $x$ because $f(x,y)$ for $x>y$ is zero.) Similarly, the marginal distribution of $Y$ is $$f_Y(y)=\int_0^y\lambda^2e^{-\lambda y}\,dx=\lambda^2ye^{-\lambda y}$$