1

As the title says, let us consider a non-negative continuous random variable. Prove the following statement is true \begin{align*} \textbf{E}(X) = \int_{0}^{\infty}\textbf{P}(X>x)\mathrm{d}x \end{align*}

Any help is appreciated. Thanks in advance!

user0102
  • 21,572

2 Answers2

3

$$\int_0^\infty \mathbf{P}(X > x)\, dx = \int_0^\infty \int_x^\infty f_X(y)\, dy\, dx =^* \int_0^\infty \int_0^y f_X(y)\, dx\, dy = \int_0^\infty y f_X(y)\, dy = \mathbf{E}(X)$$

You should convince yourself by sketching the domain of integration that the change of integration limits and order at the starred equals sign is licit.

0

Hint

Let $f_X$ the density function of $X$.

$$\mathbb P\{X>x\}=\int_{x}^\infty f_X(u)\,\mathrm d u.$$

Surb
  • 55,662