Given that $X$ is $\text{Uniform}(-1,1)$ continuous, $Y = X^2$, what is the expected value of $X$ given $Y$? I was asked to calculate the MMSE of $X$ given observing $Y$, which is $E[X\mid Y]$. The answer is $0$. But I don't know how to reason it.
How I calculated $E[Y|X]$ is $E[Y|X] = E[Y=X^2|X=x] = X^2$ because in this case, I think conditioning X, X^2 is a constant, so I get the value of E[Y|X] to be X^2. If I did it the same way for E[X|Y] = E[X = + $\sqrt{y}$ or X = - $\sqrt{y} | Y = y]$, I would think this equal to $\sqrt{Y}$ instead of 0 using the same logic that knowing value of Y, $x^2$ is a constant?
Can someone help me out to see what mistake I made? Thank you!
for $y\in (0,1)$,
$p_{X|Y}(x|y)=\displaystyle\frac{f_{X,Y}(x,y)}{f_{X,Y}(\sqrt{y},y)+f_{X,Y}(-\sqrt{y},y)}=\begin{cases}\frac{1}{2} & \text{if } x=\sqrt{y} \\ \frac{1}{2} & \text{if } x=-\sqrt{y}\\ 0 & \text{otherwise} \end{cases}$
and $p_{X|Y}(0|0)=1$.
Therefore, for $y\in (0,1)$, $\mathbb{E}(X|Y=y)=\frac{1}{2}(\sqrt{y})+\frac{1}{2}(-\sqrt{y})=0$ and $\mathbb{E}(X|Y=0)=0$. Consequently, $\mathbb{E}(X|Y)=0$.