Given the joint-probability $$f_{XY}=x*e^{-x*(y+1)}1_{[0,\infty)}(x)1_{[0,\infty)}(y)$$
I am asked to compute the conditional expectation E[Y|X]. However, as the density of $f_Y$ is just $f_Y=\int f_{XY} dx$ and $$f_Y=\frac{1}{(y+1)^2}.$$ One can easily check, that $E[Y]$ is infinite and not integrable. As the formula $E[Y|X]=\int Y\frac{f_{XY}}{f_X}dy$ requires $Y$ to be integrable, in other words $E[Y]$ is bounded, how can I justify the use of the formula I mentioned.
Your formular still holds for non-negative, not necessarily integrable random variables.
To see this have a look at the proof of it… it's shown in three steps (usually)
1.) for simple random variables
2.) for non-negative ones
3.) for integrable ones
You use 1.) to proove 2.) and 2.) to proove third. But for 2.) you don't need integrability of Y…