I need to find
- $E[X^3\mid X+Y] $
- $E[\max(X,Y)\mid \min(X,Y)]$
Knowing that $X$ and Y$$ are independent random variables with uniform distribution on the interval $[0,1]$.
My intuition tells me that the $E[\max(X,Y)\mid \min(X,Y)]= \frac{1+ \min(X,Y)}{2}$. That's because if we write that $\min(X,Y)=a$ then $\max(X,Y)$ has uniform distribution on the interval [a,1], so it's mean will be equal to $\frac{a+1}{2}$. Is there more formal way I can explain it?
Now I have no idea how to proceed with the $E[X^3\mid X+Y]$. I've tried to write down $X+Y=Z$ then I would have
$$\mathbb{E}(X^3\mid Z) = \int_0^\infty x^3 \frac{g_{(X^3, Z)}(x,z)}{g_{Z}(z)}\,dx$$
But I don't know how to find ${g_{(X^3, Z)}(x,z)}$ and I'm not sure that's the right way to approach it. Could you help me with it?