The joint density function of $X$ and $Y$ is given by $f(x,y)=xe^{-x(y+1)}$ for $x>0,y>0$. find the conditional density of $Y$ given $X$.
I am close to get the answer but with a little problem
$\displaystyle f_{Y|X}(y|x)=\frac{f(x,y)}{f_x(x)} =\frac{xe^{-x(y+1)}}{\int_0^{\infty} xe^{-x(y+1)}dy}
=\frac{e^{-xy}}{\int_0^\infty e^{-xy}dy}$
but when it goes infinite it will approach 0 and the final conditional density wouldn't make any sense.....hope someone can guide me to the right approach....thanks