What is the conditional expectation $E(X^2\mid X+Y=1) $ if $X$ and $Y$ are i.i.d standard normal?

902 Views Asked by At

$X$ and $Y$ are i.i.d and follow standard normal distribution. What is the conditional expectation $E(X^2\mid X+Y=1)$?

Also, I have seen methods of calculating conditional expectation scattered in literatures. Some use a fraction of integral of probability density functions; while others use "hacky" properties of random variables' distributions. What is a good starting point of calculating a conditional expectation?

1

There are 1 best solutions below

3
On

I'm afraid you'll find this "hacky" but...

Consider the transformed variables $S=X+Y$ , $R=X-Y$. It's easy to see that these variables (which correspond to a scaled 45 degrees rotation) are iid, $N(0,2)$.

Now $X=(S+R)/2$. Then we want

$$\begin{align} E[X^2 \mid S] &= E\left[\left(\frac{S+R}{2}\right)^2 \mid S\right]\\ &=\frac{1}{4}\left(E[S^2\mid S] + 2 E[S R \mid S] + E[R^2\mid S] \right)\\ &=\frac{1}{4}\left(S^2 + 2 S E[R ] + E[R^2] \right)\\ &=\frac{1}{4}(S^2+2) \end{align} $$

Or

$$ E[X^2 \mid X+Y=1] = \frac{1}{4}(1^2+2)=\frac{3}{4}$$

Quick sanity check: recall that we must have $E[E[X^2 \mid S]]= E[X^2]=1$. And, indeed $E[\frac{1}{4}(S^2+2)]=\frac{1}{4}(2+2)=1$.