The survival function of an r.v. with CDF is the function given by
Let be a nonnegative r.v. Its expectation can be found by integrating its survival function:
In the figure below, the area above a certain CDF and below the line is shaded. We can calculate the area of the shaded region by two ways
- , where
- More about can be found in the universality of the uniform distribution