- (a)
-
[
if
]
- (b)
- Write the expectation as
replacing
by a sum that adds up
times.
Change the order of summation:
Since
is a right-continuous step function with jumps at the
integers,
for
so
in this case as well
The result holds for all non-negative random variables. A general
derivation:
where
Reverse order of integration:
For fixed
,
if and only if
, so
So
for any
where
.