Boy Girl Paradox


by Howers
Tags: girl, paradox
Howers
Howers is offline
#1
May5-08, 05:37 AM
P: 444
Here is a very famous problem:

A random two-child family with at least one boy is chosen. What is the probability that it has a girl? An equivalent and perhaps clearer way of stating the problem is "Excluding the case of two girls, what is the probability that two random children are of different gender?"
Phys.Org News Partner Science news on Phys.org
Cougars' diverse diet helped them survive the Pleistocene mass extinction
Cyber risks can cause disruption on scale of 2008 crisis, study says
Mantis shrimp stronger than airplanes
davee123
davee123 is offline
#2
May5-08, 08:37 AM
P: 657
Quote Quote by Howers View Post
Here is a very famous problem:

A random two-child family with at least one boy is chosen. What is the probability that it has a girl? An equivalent and perhaps clearer way of stating the problem is "Excluding the case of two girls, what is the probability that two random children are of different gender?"
2/3

Options:
Older is a boy, younger is a boy - 1/4
Older is a girl, younger is a girl - 1/4
Older is a boy, younger is a girl - 1/4
Older is a girl, younger is a girl - 1/4

So, removing the 4th case from possibility, the odds of having two different gendered children, without knowing which is older is left as 2 of the 3 remaining possibilities. Hence, since each of the possibilities is equally probable, it's 2/3.


DaveE
CompuChip
CompuChip is offline
#3
May5-08, 09:12 AM
Sci Advisor
HW Helper
P: 4,301
Though this might be counter-intuitive (which is why it is a famous problem) I don't see the paradox.

humanino
humanino is offline
#4
May5-08, 11:19 AM
humanino's Avatar
P: 2,828

Boy Girl Paradox


Quote Quote by CompuChip View Post
Though this might be counter-intuitive (which is why it is a famous problem) I don't see the paradox.
I think there is another more-or-less equivalent problem formulated in a more interesting way.

A king of a certain distant country has decided that he wants more men in the population for military purposes. He thus decides of a new law enforcing that a couple is allowed to have only one girl. What is the boy/girl ratio resulting in the population ? (assuming we wait for several generations, after the last person born before the law has deceased, to get a stable asymptotic result for instance).

A family could have say 7 boys, the eighth kid being a girl preventing any further child in the family.
davee123
davee123 is offline
#5
May5-08, 12:01 PM
P: 657
Quote Quote by humanino View Post
A king of a certain distant country has decided that he wants more men in the population for military purposes. He thus decides of a new law enforcing that a couple is allowed to have only one girl. What is the boy/girl ratio resulting in the population ?
Interesting. I think you're looking for 50%.. But that's making some assumptions.

Technically, I think we need more information regarding how many kids the parents typically want. That is, parents may not WANT (or be able to have!) 6 children. So even though they might theoretically get 5 boys and then 1 girl, they may stop after (say) the 3rd son, and lower the ratio because they didn't keep procreating until they got to their natural limit.

DaveE
humanino
humanino is offline
#6
May5-08, 12:04 PM
humanino's Avatar
P: 2,828
Quote Quote by davee123 View Post
But that's making some assumptions.
Good points. So let us assume that they make as many children as necessary for them to reach their first girl. Technically, this is crazy because there is a probability that they have one billion boys and then one girl. But this is a small probability
Jimmy Snyder
Jimmy Snyder is offline
#7
May5-08, 12:13 PM
P: 2,163
Quote Quote by davee123 View Post
Technically, I think we need more information regarding how many kids the parents typically want. That is, parents may not WANT (or be able to have!) 6 children. So even though they might theoretically get 5 boys and then 1 girl, they may stop after (say) the 3rd son, and lower the ratio because they didn't keep procreating until they got to their natural limit.
If parents voluntarily stop having children, it would have no effect on the ratio.
If parents who give birth on Tuesdays are not allowed to have more children, it would have no effect on the ratio.
If you pick parents at random and tell them that them must stop having children, it would have no effect on the ratio.
All of these things just reduce the number of people who are allowed to have more children. None of them has any effect on the ratio.
Borek
Borek is offline
#8
May5-08, 01:00 PM
Admin
Borek's Avatar
P: 22,708
#include <stdlib.h>
#include <stdio.h>

typedef int BOOL;

int main(int argc, char* argv[])
{
  int iTotal = 0, iBoys = 0;

  while (1)
  {
    BOOL bBoy;
    do
    {
      bBoy = rand() % 2;
      if (bBoy) iBoys++;
      iTotal++;
    } while (bBoy);
    printf("%lf\n",double(iBoys)/iTotal);
  }

  return 0;
}
0.5 it is

Borek
chemisttree
chemisttree is offline
#9
May5-08, 01:13 PM
Sci Advisor
HW Helper
PF Gold
chemisttree's Avatar
P: 3,725
Quote Quote by Howers View Post
Here is a very famous problem:

A random two-child family with at least one boy is chosen. What is the probability that it has a girl? An equivalent and perhaps clearer way of stating the problem is "Excluding the case of two girls, what is the probability that two random children are of different gender?"
That would depend on whether the parents have read Dr. Shettles book, "How to Choose the Sex of Your Baby." Success rates vary but it sounds like it is at least a testable theory.

http://www.fertilityfriend.com/Faqs/...es-Method.html

and here.
http://www.physicsforums.com/showthr...light=Shettles
CompuChip
CompuChip is offline
#10
May5-08, 01:21 PM
Sci Advisor
HW Helper
P: 4,301
Now let me post my argument (I don't know if it's correct):
The chance of a family having exactly n boys when the chance for a boy or a girl is 1/2 every time (as in, binomially distributed): [tex]\left( p_\mathrm{boy} \right)^n \cdot p_\mathrm{girl}[/tex].
So expectation value of the number of boys in the family, assuming every family will have 0, 1, 2, ... boys until they eventually get a girl:
[tex]E = \sum_{n = 0}^\infty n \left( \frac{1}{2} \right)^{n + 1} = 1[/tex]
So we expect every family to have 1 boy, before they get a girl. That means that 1/2 of all families, and therefore of the population, will be male.
humanino
humanino is offline
#11
May5-08, 04:10 PM
humanino's Avatar
P: 2,828
Quote Quote by jimmysnyder View Post
If parents voluntarily stop having children, it would have no effect on the ratio.
If parents who give birth on Tuesdays are not allowed to have more children, it would have no effect on the ratio.
If you pick parents at random and tell them that them must stop having children, it would have no effect on the ratio.
All of these things just reduce the number of people who are allowed to have more children. None of them has any effect on the ratio.
The easiness with which you answer problems sometimes suggests me that they must really appear trivial to you. In that case, I must say I am not fully satisfied with your answer, which seems to miss the point, although the final conclusion is correct.

There are several ways to answer more or less rigorously as always. A pedestrian way would be the following. The possible family configurations are obviously
(1) G
(2) BG
(3) BBG
(4) BBBG
...
(N) BBBBB...G (N boys)

It is not obviously trivial from this that the ratio 1:2 is conserved. It seems, and that is the initial goal of the king by issuing the law, that there will be more boys. It is of course very easy to count them and find out that it does not work.

The probability for line (N) to occur is (1/2)^N, so the probability weighted total number of individual in this table is
[tex]T=\sum_{n=1}^{\infty}\frac{n}{2^{n}}[/tex]
while the weighted total number of boys is
[tex]B=\sum_{n=2}^{\infty}\frac{n-1}{2^{n}}=\frac{1}{2}\sum_{n=1}^{\infty}\frac{n}{2^{n}}[/tex]
from which we find the desired result, that the ratio will indeed be 1:2.
Howers
Howers is offline
#12
May5-08, 06:20 PM
P: 444
Quote Quote by CompuChip View Post
Though this might be counter-intuitive (which is why it is a famous problem) I don't see the paradox.
Because the answer is cleary 1/2, but probability dictates 2/3. Which is it?
Jimmy Snyder
Jimmy Snyder is offline
#13
May6-08, 03:36 AM
P: 2,163
Look at it this way. In the first year, every couple has a child. Half the kids are boys, half are girls. Now don't let the parents of girls have any more children. Of those parents that cannot have more children half (0) have boys and half (0) have girls. Of those parents that are allowed to have children half have boys and half have girls. Keep on doing this. Every year, the same number of boys are being born as girls. The only thing that was accomplished is that fewer and fewer people are allowed to have children. How this increases the number of boys is a mystery known only to the king.
Jimmy Snyder
Jimmy Snyder is offline
#14
May6-08, 03:41 AM
P: 2,163
Quote Quote by Howers View Post
Because the answer is cleary 1/2, but probability dictates 2/3. Which is it?
I think this answer belongs in a different thread. In this problem, as in the other one, probability gives the correct answer. Math, it works *itches.
Defennder
Defennder is offline
#15
May6-08, 04:01 AM
HW Helper
P: 2,618
Quote Quote by jimmysnyder View Post
Look at it this way. In the first year, every couple has a child. Half the kids are boys, half are girls. Now don't let the parents of girls have any more children. Of those parents that cannot have more children half (0) have boys and half (0) have girls. Of those parents that are allowed to have children half have boys and half have girls. Keep on doing this. Every year, the same number of boys are being born as girls. The only thing that was accomplished is that fewer and fewer people are allowed to have children. How this increases the number of boys is a mystery known only to the king.
That's a great way to look at it.
Howers
Howers is offline
#16
May6-08, 06:13 AM
P: 444
Quote Quote by jimmysnyder View Post
Look at it this way. In the first year, every couple has a child. Half the kids are boys, half are girls. Now don't let the parents of girls have any more children. Of those parents that cannot have more children half (0) have boys and half (0) have girls. Of those parents that are allowed to have children half have boys and half have girls. Keep on doing this. Every year, the same number of boys are being born as girls. The only thing that was accomplished is that fewer and fewer people are allowed to have children. How this increases the number of boys is a mystery known only to the king.
This is not the same. Here you are preventing GG while allowing BB. If I called you and said of my two kids one is a girl, are you telling me that you'd need to flip 3 coins to decide what the other one was?

Math works. But are we applying it correctly?
Jimmy Snyder
Jimmy Snyder is offline
#17
May6-08, 07:19 AM
P: 2,163
Quote Quote by Howers View Post
This is not the same. Here you are preventing GG while allowing BB. If I called you and said of my two kids one is a girl, are you telling me that you'd need to flip 3 coins to decide what the other one was?

Math works. But are we applying it correctly?
Sorry, I was answering a different question. I agree, that among families with two children, not both girls, and one of them a boy, 2/3 have a girl. Indeed, the 'one of them a boy' part is meant to confuse you. If they are not both girls, then one of them is a boy. The question I was answering was whether you could get more boys by allowing only certain people to have babies.
Defennder
Defennder is offline
#18
May14-08, 12:40 AM
HW Helper
P: 2,618
You know, I was thinking about the puzzle of the king's decree that no family can have more than 1 girl and found it quite puzzling that when you look at each family you'll notice that they either have the same number of boys and girls, or more boys than girls, but never more girls than boys. This strongly suggests that if we add up all the families together and if within each discrete family unit, there are never more girls than boys but may well have , shouldn't we expect the ratio to be tilted in favour of males? But of course this isn't the case, as we can see from the above.


Register to reply

Related Discussions
It's a Girl! General Discussion 23
Resolving the Barber Paradox and the Russell's Paradox General Discussion 18
How to you tell a girl... General Discussion 41
What is the resolution of the The Bug-Rivet Paradox paradox in special relativity? Special & General Relativity 4