$X$ and $Y$ are independent $U(0,1)$ random variables.
I have to find $E[X|X>Y]$.
I found it out by integrating $\int_0^1 \int_y^1 x dxdy$ to get $\frac{1}{3}$ as the answer but this is wrong according to the answer key. What is the mistake that I have made?
You have computed $EXI_{X>Y}$ instead of $(EX|X>Y)$. You should divide your answer by $P(X>Y) =\int_0^{1}\int_y^{1}dxdy$.