Let $X$ be a random variable denoting the number of dots that show up when you roll a fair, six-sided dice. Compute $E(X \mid (X - 3)^2$). Hint: It might help to present it as a table for different values of $(X - 3)^2$.
I thought about doing casework on the value of $(X - 3)^2$ since it equals $0$ each with probability $1/6$ it equals $1$ with probability $1/3$, it equals $4$ with probability $1/3$, and it equals $9$ with probability $1/6$.
If $(X - 3)^2 = 0$, then $E(X) = 3$
If $(X - 3)^2 = 1$, then $E(X) = \frac{2 + 4}{2} = 3$
If $(X - 3)^2 = 4$, then $E(X) = \frac{1 + 5}{2} = 3$
If $(X - 3)^2 = 9$, then $E(X) = 9$.
Is this right? I'm confused because this isn't really a number. I didn't account for the probability of $\{(X - 3)^2 = k\}$ occurring at all.
You are almost there...
and so on...
The latest is wrong, it's 6 not 9
in fact if $(X-3)^2=9$ then $X=6$ with probability 1