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/probability/9/b/ii/solution

First , so linearity of expectation gives . The tail integral formula for expectation, followed by the finite binomial theorem expansion, gives
The exchange involves only a finite sum. As a useful check, substitution rewrites the integral as , the harmonic number .

New to topics? Read the docs here!