For a nonnegative integer-valued random variable, its expectation is the probability-weighted sum
All terms are nonnegative, so this is always defined as an extended nonnegative number, possibly .
Because the partition the sample space, the events are disjoint and their union is . Finite additivity and the definition of conditional probability give the law of total probability
The assumption ensures that each conditional probability is defined.
The conditional expectation given an event of positive probability is
Apply the law of total probability to each event :
This is the law of total expectation. Interchanging the sums is justified by nonnegative terms, for example by Tonelli theorem, so it remains valid when the expectation is infinite.

Articles by others on the same topic (0)

There are currently no matching articles.