Originally posted by: Syringer
Agreed on the second point, but what if we reword the first statement to:
If a man has 100 children and says "I'll introduce you to 99 boys"...
The probability of the 100th child being a girl (not taking into consideration his propensity to have boys and assuming that the chance of a boy/girl is 50/50), is NOT going to be astronomically high. It's still 50%.
Lets generalize it further to an arbitrary variable:
If a man has N children and says "I'll introduce you to N-1 boys" then the probability is X that the Nth is a girl.
If a man has N children and says "I'll introduce you to N-1 of them" and those N-1 are boys then the probability is Y that the Nth is a girl.
Solve for X and Y
The variables I'm using are:
N = Total children
B = Total boys
P = Probability of a child being a boy. (Assumed to be 1/2.)
These formulas hold true:
p(N,B) = Probability of having B boys given N children
p(N,B) = choose(N,B)*(P)^(B)*(1-P)^(N-B)
p(N,B) = choose(N,B)*(1/2)^N
sum(i=[0,N]) {p(N,i)} = 1
p(N,N-1) = choose(N,N-1)*(P)^(N-1)*(1-P)^(1)
p(N,N-1) = N*(1-P)*P^(N-1)
p(N,N-1) = N*(1/2)^N
p(N,N) = choose(N,N)*(P)^(N)*(1-P)^(0)
p(N,N) = P^N
p(N,N) = (1/2)^N
The man has N boys with the probability (1/2)^N. In this case there is a boy in the back yard.
The man has N-1 boys with the probability N*(1/2)^N. In this case there is a girl in the back yard.
Solve for X
If the man has N boys, the probability that he introduced you to N-1 boys is choose(N,N-1)/choose(N,N-1) = 100%. He must choose N-1 boys.
If the man has N-1 boys, the probability that he introduced you to N-1 boys is choose(N-1,N-1)/choose(N-1,N-1) = 100%. He must choose N-1 boys.
The total probability is then N*(1/2)^N*100% + (1/2)^N*100% = (N+1)*(1/2)^N
N*(1/2)^N / (N-1)*(1/2)^N = N / (N+1)
(1/2)^N / (N-1)*(1/2)^N = 1 / (N+1)
When N = 3 this gives probabilities of 75% girl and 25% boy.
When N = 99 this gives probabilities of 99% girl and 1% boy.
Solve for Y
If the man has N boys, the probability that he introduced you to N-1 boys is choose(N,N-1)/choose(N,N-1) = 100%.
If the man has N-1 boys, the probability that he introduced you to N-1 boys is choose(N-1,N-1)/choose(N,N-1) = 1/N.
The total probability is then N*(1/2)^N*(1/N) + (1/2)^N*100% = 2*(1/2)^N
N*(1/2)^N*(1/N) / 2*(1/2)^N = 1/2
(1/2)^N / 2*(1/2)^N = 1/2
When N = 3 this gives probabilities of 50% girl and 50% boy.
When N = 99 this gives probabilities of 50% girl and 50% boy.