Introduction to Probability · Problem 3.1.19

Combinatorics — Grinstead & Snell

Mathematics — Probability · permutations

Problem

Suppose that on planet Zorg a year has nn days, and that the lifeforms there are equally likely to have hatched on any day of the year. We would like to estimate dd, which is the minimum number of lifeforms needed so that the probability of at least two sharing a birthday exceeds 1/21/2. (a) In Example 3.3, it was shown that in a set of dd lifeforms, the probability that no two life forms share a birthday is (n)dnd,\frac{(n)_d}{n^d}, where (n)d=(n)(n−1)⋯(n−d+1)(n)_d = (n)(n-1)\cdots(n-d+1). Thus, we would like to set this equal to 1/21/2 and solve for dd. (b) Using Stirling's Formula, show that (n)dnd∼(1+dn−d)n−d+1/2e−d.\frac{(n)_d}{n^d} \sim \left(1 + \frac{d}{n-d}\right)^{n-d+1/2} e^{-d}. (c) Now take the logarithm of the right-hand expression, and use the fact that for small values of xx, we have log⁡(1+x)∼x−x22.\log(1+x) \sim x - \frac{x^2}{2}. (We are implicitly using the fact that dd is of smaller order of magnitude than nn. We will also use this fact in part (d).) (d) Set the expression found in part (c) equal to −log⁡(2)-\log(2), and solve for dd as a function of nn, thereby showing that d∼2(log⁡2) n.d \sim \sqrt{2(\log 2)\, n}. Hint: If all three summands in the expression found in part (b) are used, one obtains a cubic equation in dd. If the smallest of the three terms is thrown away, one obtains a quadratic equation in dd. (e) Use a computer to calculate the exact values of dd for various values of nn. Compare these values with the approximate values obtained by using the answer to part (d).

Related theory

Browse the problem library