Brainteasers and Puzzles

All-Girl World?

Couples bear children until the first girl, then stop, each birth fair and independent. The rule only decides family size, so the population fraction of girls stays 1/2 by the law of large numbers, boys concentrating in long families without ever outnumbering.

solvedmedium1 min

In a society every couple keeps having children until they get a girl, then stops. Each child is a girl with probability one half, independently of the others. Over time, what happens to the fraction of girls in the society?

Reveal solutionHide solution

#Count one family

Each family ends on its first girl, so it has exactly one girl. Before her come some number of boys, each an independent flip that happened to land boy. The chance of exactly kk boys is (12)k+1\left(\tfrac{1}{2}\right)^{k+1}, and the expected number of boys is

E[boys]=∑k=0∞k(12)k+1=1.(1)\E[\text{boys}] = \sum_{k=0}^{\infty} k\left(\tfrac{1}{2}\right)^{k+1} = 1. \tag*{(1)}(1)

A family then has one girl and, on average, one boy.

#The whole society

Summing over many families, the children split evenly, about one girl and one boy each, so the fraction of girls goes to

E[girls]E[children]=11+1=12.(2)\frac{\E[\text{girls}]}{\E[\text{children}]} = \frac{1}{1 + 1} = \frac{1}{2}. \tag*{(2)}(2)
Each family stops at its first girl, so it adds one girl and, on average, one boy. Across 8,000 families the share of girls holds at one half however many boys come first.

#The rule leaves the ratio unchanged

The stopping rule fixes when a family stops, not the outcome of a birth. Each birth is still a fair coin, and no rule that looks only at past births can tilt the next one. Boys pile up in the long families and are absent from the short ones, yet across the society they balance the girls exactly.