As the title states, the problem at hand is proving the following:
$X\ge 0, r>0\Rightarrow E(X^r)=r\int_0^{\infty}x^{r-1}P(X>x)dx$
Attempt/thoughts on a solution
I am guessing this is an application of Fubini's Theorem, but wouldn't that require writing $P(X>x)$ as an expectation? If so, how is this accomplished?
Thoughts and help are appreciated.