I know that, for a nonnegative random variable $X$, $$ E[X] = \int x dF(x) = \int S(x) dx$$ where $F(x)$ and $S(x)$ are the CDF and survival function of $X$, respectively.
This was derived using integration by parts, which I only know for one dimension. Is there a corresponding result in the two dimensional case?
For nonnegative random variables $X$ and $Y$, is $$ E[XY] = \int \int xy dH(x,y)$$ equivalent to something like $$ E[XY] = \int \int S(x,y) dxdy .$$ where $H(x,y)$ and $S(x,y)$ are the joint CDFs and survival functions of $X$ and $Y$?