Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2016/discrete-mathematics-continuous-mathematics-and-probability/8/c/i/solution

Use the measurable partition for , omitting any null cells. For , the random variable is bounded, so the law of total expectation applies without moment assumptions. Conditional on , the sum contains exactly terms. Independence of from the whole sequence preserves their joint law under this conditioning; independence of the then gives
For the empty sum is zero and the empty product is one, in agreement with the formula. Therefore the probability generating function of an independent random sum is

New to topics? Read the docs here!