I have a problem understanding the following proof:(adsbygoogle = window.adsbygoogle || []).push({});

EX = integral from 0 to infinity of 1 - F(x) dx

Say this integral can be:

EX = integral from 0 to infinity of P(X > x), then

EX = integral from 0 to infinity of integral from x to infinity of f(y)dydx

= integral from 0 to infinity of integral from 0 to y of dxf(y)dy = EX

Can somebody explain me how and why the last integral is included?

Thanks.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# EX proof

**Physics Forums | Science Articles, Homework Help, Discussion**