Let $\Theta$ and $R$ be two independent random variables, where $R$ has density $f_{R}(r)=re^{-\frac{1}{2}r^2}$ for $r>0$ (zero otherwise) and $\Theta$ is uniform on $(-\pi,\pi)$. Let $X=R \cos(\Theta)$ and $Y= R \sin(\Theta)$.
Calculate $E[X|Y=y]$.
I tried getting this by calculating $f(X,Y)$ and using it to get the conditional distribution but I get stuck trying to find the joint distribution. I also tried conditioning on different events using the law of total expectation, but that has not lead to anything fruitful. I also found $Cov(X,Y)=0$ but I don't see how that is helpful.
Notice that $$ \mathsf{E}\left(X \mid Y = y\right) = \mathsf{E}\left(R \cos \Theta \mid R \sin \Theta = y\right) = \mathsf{E}\left( R \cdot \mathsf{E}\left(\cos \Theta \mid \sin \Theta = \frac{y}{R}, R\right) \right) $$ The equation $\sin\Theta = y/R$ has two solutions, $\Theta = \arcsin\left(y/R\right)$ and $\Theta = \pi - \arcsin\left(y/R\right)$ for which $\cos(\Theta) = \pm \sqrt{1-y^2/R^2}$. These two solutions are equally likely, hence $$ \mathsf{E}\left(\cos \Theta \mid \sin \Theta = \frac{y}{R}, R\right) = \frac{1}{2} \sqrt{1-y^2/R^2} - \frac{1}{2} \sqrt{1-y^2/R^2} = 0 $$ The remaining expectation over $R$ is now trivial.
Incidentally, you might find the answer to the following question of mine helpful in establishing that $X$ and $Y$ are independent standard normal random variables, giving $$ \mathsf{E}(X \mid Y = y) = \mathsf{E}(X) = 0 $$