Suppose $X_1,X_2$ are independent and standard normal. I want to compute $E(X_1|X_1+X_2>0)$. How do I do it?
Here is my attempt:
\begin{align} E(X_1|X_1+X_2>0)&=\frac{\int_{-x_2}^{+\infty} x_1 f_{X_1}(x_1)dx_1}{P(X_1+X_2>0)}\\ &=\frac{\int_{-x_2}^{+\infty} x_1 \frac{1}{\sqrt{2\pi}}e^{-\frac{1}{2}x_1^2}dx_1}{0.5}\\ &=\frac{\frac{1}{\sqrt{2\pi}}e^{-\frac{1}{2}x_2^2}}{0.5}\\ &=\frac{2}{\sqrt{2\pi}}e^{-\frac{1}{2}x_2^2} \end{align} But I suppose the answer should not have $x_2$ in it. What am I missing?