# Probability- boys vs. girls

**URL:** <https://boards.straightdope.com/t/probability-boys-vs-girls/437343>\
**Category:** Factual Questions\
**Created:** [February 12, 2008, 9:41pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343 "2008-02-12T21:41:38Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![timtupp](https://avatars.discourse-cdn.com/v4/letter/t/bc8723/32.png) [@timtupp](https://boards.straightdope.com/u/timtupp)\
**Post date:** [February 12, 2008, 9:41pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/1 "2008-02-12T21:41:38Z")

</div>

There’s a culture where couples must continue to procreate until they have one boy.

What is the boy/girl ratio?

My teacher says the answer is 1:1 because it’s still the same as flipping coins, after each birth the chance of the next baby being born is the same regardless of whether of what sex the previous baby was.

I say there must be more boys because once a couple has a boy, they stop procreating and there are no chances of having a girl. But if the couple has a girl, they continue until they have a boy. So because some couples will have a boy and no girl, there won’t be any couples with a girl and no boy.

So which of us is right?

---

<div class="post-metadata">

**Author:** ![NunOfTheAbove](https://avatars.discourse-cdn.com/v4/letter/n/51bf81/32.png) [@NunOfTheAbove](https://boards.straightdope.com/u/NunOfTheAbove)\
**Post date:** [February 12, 2008, 9:50pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/2 "2008-02-12T21:50:26Z")

</div>

[QUOTE=timtupp]  
There’s a culture where couples must continue to procreate until they have one boy.

What is the boy/girl ratio?

My teacher says the answer is 1:1 because it’s still the same as flipping coins, after each birth the chance of the next baby being born is the same regardless of whether of what sex the previous baby was.

I say there must be more boys because once a couple has a boy, they stop procreating and there are no chances of having a girl. But if the couple has a girl, they continue until they have a boy. So because some couples will have a boy and no girl, there won’t be any couples with a girl and no boy.

So which of us is right?  
[/QUOTE]

She is correct in a large enough population because each birth event is independent of the outcomes of any previous births. If you flip a coin until you get ‘heads’ then repeat this task a couple thousand times, the ratio of heads to tails will still be ~50:50 because each flip has no relation to any of the previous flips.

---

<div class="post-metadata">

**Author:** ![Pasta](https://avatars.discourse-cdn.com/v4/letter/p/ecccb3/32.png) [@Pasta](https://boards.straightdope.com/u/Pasta)\
**Post date:** [February 12, 2008, 9:50pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/3 "2008-02-12T21:50:51Z")

</div>

You’re neglecting the fact that some couples will have multiple girls and no boy (yet no couple will have multiple boys). You could imaging flipping a coin a billion times to build up a list of babies:

GGBGBGBGGGGGBGBGBBGGB…

This has a 1:1 ratio. Now hand them out to couples in order (where “|” separates families)…

GGB|GB|GB|GGGGGB|GB|GB|B|GGB|…

The ratio hasn’t changed.

---

<div class="post-metadata">

**Author:** ![Slacker](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@Slacker](https://boards.straightdope.com/u/Slacker)\
**Post date:** [February 12, 2008, 9:52pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/4 "2008-02-12T21:52:35Z")

</div>

If my math is right your teacher is correct. Assuming that 100 couples give birth to babies and the chances of having one of either gender are equal, presumedly 50 would be boys and 50 would be girls. The fifty couples then have a second child, of which 25 are boys and 25 are girls. If you stopped right there that’s a 1:1 ratio, 75 each. When the 25 couples with two girls try again, it’ll split down the middle again (although obviously one side will have one extra as you can’t split a odd number evenly. And so on and so forth.

Every time whatever subset of couples tries again and successfully has a boy, an equal number will have a girl, so it’ll always remain a 1:1 ratio.

---

<div class="post-metadata">

**Author:** ![Rysto](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@Rysto](https://boards.straightdope.com/u/Rysto)\
**Post date:** [February 12, 2008, 9:54pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/5 "2008-02-12T21:54:24Z")

</div>

The couple must stop having children after their first boy?

Well, the expected number of boys per family is obviously 1. What about the girls? There’s a 50% chance of no girls(B), a 25% chance of 1 girl(GB), a 12.5% chance of 2 girls(GGB), etc.

So E(G) = sum(i=0 to infinity) of 0.5^(i + 1) \* i

A quick application of the ratio test shows that the series converges. I’m not sure what value it converges to, but I can tell you that it will be greater than 1.

So there will actually be more girls than boys.

ETA: Actually, I can’t tell you that it will be greater than 1, because the first term in the series will be 0. Hm, let me try and estimate it. Give me a minute.

---

<div class="post-metadata">

**Author:** ![Aioua](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Aioua](https://boards.straightdope.com/u/Aioua)\
**Post date:** [February 12, 2008, 9:57pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/6 "2008-02-12T21:57:01Z")

</div>

Aha! The trick is realizing that there are constantly new couples having their first baby. If you just had 1000 couples, with no babies, and said “go”, it _would_ skew toward girls. I think.

---

<div class="post-metadata">

**Author:** ![Rysto](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@Rysto](https://boards.straightdope.com/u/Rysto)\
**Post date:** [February 12, 2008, 9:58pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/7 "2008-02-12T21:58:52Z")

</div>

Huh, what do you know, the series converges to 1.

---

<div class="post-metadata">

**Author:** ![chrisk](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@chrisk](https://boards.straightdope.com/u/chrisk)\
**Post date:** [February 12, 2008, 10:01pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/8 "2008-02-12T22:01:43Z")

</div>

[QUOTE=Rysto]  
The couple must stop having children after their first boy?

Well, the expected number of boys per family is obviously 1. What about the girls? There’s a 50% chance of no girls(B), a 25% chance of 1 girl(GB), a 12.5% chance of 2 girls(GGB), etc.

So E(G) = sum(i=0 to infinity) of 0.5^(i + 1) \* i

A quick application of the ratio test shows that the series converges. I’m not sure what value it converges to, but I can tell you that it will be greater than 1.

So there will actually be more girls than boys.  
[/QUOTE]

Actually, I’m pretty sure that it converges to exactly 1.

The only way you get out of having an even boy/girl split in this situation is if you acknowledge the possibility that some parents are naturally more likely to have boys than girls, even if it evens out to 50-50 for the population as a whole. In this case, by encouraging those more likely to have girls to keep cranking them out, you can let this bias show.

ETA: hehehe, guess you did the math too Rysto. 🙂

---

<div class="post-metadata">

**Author:** ![Aioua](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Aioua](https://boards.straightdope.com/u/Aioua)\
**Post date:** [February 12, 2008, 10:06pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/9 "2008-02-12T22:06:41Z")

</div>

Oh wait! More thinking!

Think about how each couple effects the b/g ratio.

Half the couples (of 1000, say) have just one boy. 500 boys.  
Half of the remaining couples have a girl and a boy. 625 boys, 125 girls.  
So, 75% counted, and the boys have a five to one lead.  
Makes it easy to see how it balances out.

ETA: Fixed maths, simulpost!

---

<div class="post-metadata">

**Author:** ![flight](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@flight](https://boards.straightdope.com/u/flight)\
**Post date:** [February 12, 2008, 10:06pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/10 "2008-02-12T22:06:56Z")

</div>

[QUOTE=Aioua]  
Aha! The trick is realizing that there are constantly new couples having their first baby. If you just had 1000 couples, with no babies, and said “go”, it _would_ skew toward girls. I think.  
[/QUOTE]

Nope. Lets say we have 1000 couples and have them get busy, popping out one baby a year until they have a boy, then stopping. Lets also say that we get the exactly 50% male female ratio each year (like we should with a large enough group). Lets look at what the families look like after each year.

Year 1:  
500 B  
500 G  
total: 500 B, 500 G

Year 2:  
500 B  
250 GB  
250 GG  
total: 750 B, 750 G

Year 3:  
500 B  
250 GB  
125 GGB  
125 GGG  
total: 825 B, 825 G

At all times we keep a 50/50 boy girl proportion.

---

<div class="post-metadata">

**Author:** ![Randy\_Seltzer](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@Randy\_Seltzer](https://boards.straightdope.com/u/Randy_Seltzer)\
**Post date:** [February 12, 2008, 10:11pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/11 "2008-02-12T22:11:44Z")

</div>

My perhaps unsophisticated logic says that there will be more girls in this system.

Let’s say you want as few children as possible (let’s assume, for the sake of argument we’re in a fascist country with overpopulation concerns), but cultural norms require that you bear at least one boy (let’s make our country heavily patriarchal/misogynist). Here are your possibilities:  
B  
GB  
GGB  
GGGB  
GGGGB  
GGGGGB  
GGGGGGB  
GGGGGGG(Mao sends you to prison)…

As you can see, there are more girls in this population.

Actually, reading over, this is exactly what **Rysto** is saying.  
ETA: And as it turns out, my logic was unsophisticated.

---

<div class="post-metadata">

**Author:** ![Rysto](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@Rysto](https://boards.straightdope.com/u/Rysto)\
**Post date:** [February 12, 2008, 10:14pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/12 "2008-02-12T22:14:43Z")

</div>

[QUOTE=Randy Seltzer]  
As you can see, there are more girls in this population.

Actually, reading over, this is exactly what **Rysto** is saying.  
[/QUOTE]

What you’re not considering is that the GGGGGGB case is significantly less likely than the B case. Once you bring the probabilities into it, we see that the few families with a lot of girls balance out the many families with few girls exactly.

---

<div class="post-metadata">

**Author:** ![The\_Controvert](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@The\_Controvert](https://boards.straightdope.com/u/The_Controvert)\
**Post date:** [February 12, 2008, 10:14pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/13 "2008-02-12T22:14:52Z")

</div>

[QUOTE=timtupp]  
There’s a culture where couples must continue to procreate until they have one boy.  
… snip…  
So which of us is right?  
[/QUOTE]  
Actually, you might be right, but for different reasons. Does the culture allow infanticide? :eek:

---

<div class="post-metadata">

**Author:** ![threemae](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@threemae](https://boards.straightdope.com/u/threemae)\
**Post date:** [February 12, 2008, 10:15pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/14 "2008-02-12T22:15:27Z")

</div>

[QUOTE=flight]  
Lets look at what the families look like after each year.

…  
At all times we keep a 50/50 boy girl proportion.  
[/QUOTE]

Oh man, this is a good one. At first, I had an immediate and very strong intuitive response that you’re selecting for boys and of course there will be more boys. and then I read up to **Rysto’s** and I was thinking, okay, at the end of this process, the median number of boys in each family will be one and the median number of girls will be higher. But I think that **flight’s** analysis is correct, and I evaluated **Rysto’s** expression and got one, and if nothing else helps, remember that every single birth is still an independent event. The strategies for the families again makes every family have a single boy, but the distribution of girls (from zero to infiniti) still averages out to one as well.

So props to the OP and this thread; I spent at least 30 seconds bewitched with the vehement belief that more boys, then more girls, and then that an equal number of either sex would be born.

---

<div class="post-metadata">

**Author:** ![Aioua](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@Aioua](https://boards.straightdope.com/u/Aioua)\
**Post date:** [February 12, 2008, 10:15pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/15 "2008-02-12T22:15:32Z")

</div>

[QUOTE=Randy Seltzer]  
My perhaps unsophisticated logic says that there will be more girls in this system.

Let’s say you want as few children as possible (let’s assume, for the sake of argument we’re in a fascist country with overpopulation concerns), but cultural norms require that you bear at least one boy (let’s make our country heavily patriarchal/misogynist). Here are your possibilities:  
B  
GB  
GGB  
GGGB  
GGGGB  
GGGGGB  
GGGGGGB  
GGGGGGG(Mao sends you to prison)…

As you can see, there are more girls in this population.

Actually, reading over, this is exactly what **Rysto** is saying.  
[/QUOTE]

But there are no “G” families. The boys get a **huge** head start. The two most likely of your families (“B” and “GB”) give an advandage to the boys side. Each other family get less and less likely, and they only _just_ manage to catch up with the boys.

---

<div class="post-metadata">

**Author:** ![Randy\_Seltzer](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@Randy\_Seltzer](https://boards.straightdope.com/u/Randy_Seltzer)\
**Post date:** [February 12, 2008, 10:18pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/16 "2008-02-12T22:18:47Z")

</div>

Wait! I figured out how it skews!!

Eventually, you get to the 1.56% of families who have GGGGG, and they run out of fertility! You can’t balance by having that final boy.

Real life screws up mathematics once again.

---

<div class="post-metadata">

**Author:** ![Blaster\_Master](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Blaster\_Master](https://boards.straightdope.com/u/Blaster_Master)\
**Post date:** [February 12, 2008, 10:20pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/17 "2008-02-12T22:20:39Z")

</div>

I did a quick simulation and it obviously converges to 1, meaning that, theoretically, there would be the same number of boys and girls. Of course, this runs on several assumptions:

1. The chance of a boy or girl are exactly even for every couple.
2. The probability of multiple male births (eg, male twins) is zero.
3. Every couple will ALWAYS terminate their birthing string with a boy. That is, they will not die or become unfertile prior to having a male child.

Obviously, the first one could throw the ratio in any direction, the second toward boys, and the last toward girls, but since they weren’t mentioned in the problem, they’re probably over complications.  
As someone mentioned upthread, this is fundamentally the same as a completely random string of Gs and Bs, the increasing lengths of G substrings will have a probability of appearing equal to 1/2^n. So, just to reiterate, that point, this problem ultimately reduces to that intuitive problem.

---

<div class="post-metadata">

**Author:** ![Joey\_P](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@Joey\_P](https://boards.straightdope.com/u/Joey_P)\
**Post date:** [February 12, 2008, 10:26pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/18 "2008-02-12T22:26:04Z")

</div>

[QUOTE=timtupp]

I say there must be more boys because once a couple has a boy, they stop procreating and there are no chances of having a girl. But if the couple has a girl, they continue until they have a boy. So because some couples will have a boy and no girl, there won’t be any couples with a girl and no boy.  
[/QUOTE]

Based on your logic, I think there would be more girls. Since a girl means have another baby, and a boy means stop. In an individual family (According to your logic) no matter how many children they have only one will be a boy.

---

<div class="post-metadata">

**Author:** ![Hellestal](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@Hellestal](https://boards.straightdope.com/u/Hellestal)\
**Post date:** [February 12, 2008, 10:28pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/19 "2008-02-12T22:28:29Z")

</div>

[QUOTE=Blaster Master]  
3) Every couple will ALWAYS terminate their birthing string with a boy. That is, they will not die or become unfertile prior to having a male child.  
[/quote]  
This has no effect on the problem.

---

<div class="post-metadata">

**Author:** ![Blaster\_Master](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Blaster\_Master](https://boards.straightdope.com/u/Blaster_Master)\
**Post date:** [February 12, 2008, 10:32pm UTC](https://boards.straightdope.com/t/probability-boys-vs-girls/437343/20 "2008-02-12T22:32:37Z")

</div>

[QUOTE=Aioua]  
But there are no “G” families. The boys get a **huge** head start. The two most likely of your families (“B” and “GB”) give an advandage to the boys side. Each other family get less and less likely, and they only _just_ manage to catch up with the boys.  
[/QUOTE]

This seems intuitively true, but let’s crunch some numbers, you’ll see it quickly converges. Using the assumptions I stated above. The running sum is the sum of the ratios multiplied by their probability.

```auto

Family Probability G/B Sum
B 0.5 0/1 0
GB 0.25 1/1 0.25
GGB 0.125 2/1 0.5
GGGB 0.0625 3/1 0.6875
...
G^20 B 4.77 x 10^7 20/1 0.9999895
...

```

[Next page](https://boards.straightdope.com/t/probability-boys-vs-girls/437343.md?page=2)
