Compute $\operatorname{cov}(X, \max(X,Y))$ and $\operatorname{cov}(X, \min(X,Y))$ where $X,Y \sim N(0,1)$.
i think the way to calculate it is to get $$\begin{align} \operatorname{cov}(X, \max(X, Y) + \min(X,Y)) & = \operatorname{cov}(X, X+Y) \\ & = \operatorname{cov}(X, \max(X,Y)) + \operatorname{cov}(x, \min(X,Y)) \\ \end{align}$$
and $$\begin{align} \operatorname{cov}(X, \max(X,Y) - \min(X,Y)) & = \operatorname{cov}(X, \operatorname{abs}(X-Y)) \\ & = \operatorname{cov}(X, \max(X,Y)) - \operatorname{cov}(X, \min(X,Y)) \\ \end{align}$$
although this is pretty much as difficult to solve as $\operatorname{cov}(X, \max(X,Y))$ unless there is some particular trick. Anyone can help with this?
Assuming that $X$ and $Y$ are independent random variables, the direct way to solve this problem would be to compute $E[X\max(X,Y)]$ and $E[X\min(X,Y)]$ via integration, breaking the double integral into two double integrals over the regions where the maximum is $y$ and where the maximum is $x$, and then using a change to polar coordinates. We have $$\begin{align*} E[X\max(X,Y)] &= \int_{y=-\infty}^\infty\int_{x=-\infty}^y \frac{xy}{2\pi}e^{-(x^2+y^2)/2}\,\mathrm dx\,\mathrm dy + \int_{y=-\infty}^\infty\int_{x=y}^\infty \frac{x^2}{2\pi}e^{-(x^2+y^2)/2}\,\mathrm dx\,\mathrm dy\\ &= \int_0^\infty\int_{\pi/4}^{5\pi/4} \frac{r^2\cos\theta\sin\theta}{2\pi}e^{-r^2/2}\,r\,\mathrm d\theta\,\mathrm dr + \int_0^\infty\int_{-3\pi/4}^{\pi/4} \frac{r^2\cos^2\theta}{2\pi}e^{-r^2/2}\,r\,\mathrm d\theta\,\mathrm dr \end{align*}$$ and similarly for $E[X\min(X,Y)]$.