Suppose we have two random variables, $X$ and $Y$, defined over nonnegative reals. Obviously, the following formula holds:
$$\mathrm{Cov}(X,Y)=\mathbb{E}\left[XY\right]-\mathbb{E}\left[X\right]\mathbb{E}\left[Y\right].$$
However intuitional it may be, I am not so sure whether another formula that I stumbled upon holds:
$$\mathrm{Cov}(X,Y|X>0\,\wedge\,Y>0)=\mathbb{E}\left[XY|X>0\,\wedge\,Y>0\right]-\mathbb{E}\left[X|X>0\,\wedge\,Y>0\right]\cdot\mathbb{E}\left[Y|X>0\,\wedge\,Y>0\right].$$
I am not looking for a proof, but I would be thankful for a short note why or why not the above formula holds. Thank you in advance.