I'm trying to check under which conditions the standard deviation of two random variables is identical when I know some properties about other moments of these random variables. I suppose that their their first moments and their covariance with a third random variable are equal. In more detail, suppose $X $ and $Y$ and $H$ a three random variables. Suppose furthermore \begin{equation} E(Y) = E(X), \end{equation} and \begin{equation} Cov(X,H) = Cov(Y,H), \end{equation} the moments are taken with respect to the same measure $P$. The random variable $H$ is not constructed such that it is Independent of either $X$ or $Y$. Finally, Suppose also that both random variables $X$ and $Y$ are always positive. Then, what conditions are needed so that
\begin{equation} \sigma(X) = \sigma(Y) \end{equation}