Solution

ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/probability-and-computing/2/f/solution

Choose a uniform random permutation of the vertices, giving every one of the orders the same probability. For a fixed vertex , consider together with its graph neighbours. The relative order of these vertices is uniform, so each is equally likely to be first. The membership rule for therefore gives
Let be the indicator random variable of this event. The cardinality is , and linearity of expectation gives
The indicator random variables are generally dependent; only the uniform random permutation and linearity of expectation were needed. An isolated vertex has and is always included, as the formula correctly predicts.

New to topics? Read the docs here!