STEP 3 · 20 marks

STEP 3 2008 · Q13

Probability & statistics

A box contains nn pieces of string, each of which has two ends. I select two string ends at random and tie them together. This creates either a ring (if the two ends are from the same string) or a longer piece of string. I repeat the process of tying together string ends chosen at random until there are none left.

Find the expected number of rings created at the first step and hence obtain an expression for the expected number of rings created by the end of the process. Find also an expression for the variance of the number of rings created.

Given that ln⁡20≈3\ln 20\approx3 and that 1+12+⋯+1n≈ln⁡n1+\frac12+\cdots+\frac1n\approx\ln n for large nn, determine approximately the expected number of rings created in the case n=40 000n=40\,000.

Read the questions freely. Sign in to check your answer, see the model answer and save your progress.