Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2024/ia/paper-2/12f/ii/solution

Let indicate that is isolated. All its incident edges must be absent, so
Since , linearity of expectation gives

New to topics? Read the docs here!