Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2022/discrete-mathematics-continuous-mathematics-and-probability-resit/7/a/iii/solution

Interpret existence of the expectations as finite expected values, equivalently and . First justify the summations rather than assuming that a signed double series can be rearranged. Independence and Tonelli theorem give
Consequently is an integrable random variable, and Fubini theorem permits summing the signed terms in either order:
If extended infinite expectations are allowed instead, the phrase “exist” needs additional care: expressions such as do not define an expectation. The finite-expectation convention avoids that ambiguity.

New to topics? Read the docs here!