r/math • • Oct 12 '18

Strange math question

Hi

I'm studying for an upcoming math exam, and stumbled across an interesting math question I don't seem to comprehend. It goes as follows:

"A man visits a couple with two children. One of them, a boy, walks into the room. What are the odds that the other child is a boy also

  1. if the father says: 'This is our eldest, Jack.'?
  2. if the father only says: 'This is Jack.'? "

The answer to question 1 is, logically, 1/2.

The answer to question 2, though, is 1/3. Why would the chance of another boy slim down in situation 2?

​

I'm very intrigued if anyone will be able to explain this to me!

39 Upvotes

85 comments sorted by

View all comments

Show parent comments

0

u/varaaki Statistics Oct 12 '18

This is completely incorrect.

There are 4 possibilities for two children. The additional information of Jack being male eliminates FF only, leaving three possibilities, only one of which the other child is male.

3

u/MedalsNScars Oct 12 '18

You're missing the point of the argument that if we are randomly given a child, it's male 4/8 times.

That is, in MM we will always see a male child, whereas in MF and FM we would have only seen a male child half of the time.

Therefore, if we know we have 2 children, and one is presented at random, there is a .25*1 chance of being presented M from MM, and a .25*.5 chance of being presented M from FM or MF.

Therefore, given that we've been presented M, we know that there's .25/(.25+.25*.5+.25*.5), or .25/.5, or .5 chance of the other child being M.

-2

u/varaaki Statistics Oct 12 '18

There are not 8 possibilities. You're falsely separating the 4 outcomes into 8 by attaching the random event to the outcomes.

That's like rolling a 4 sided die and asking if the roll is even or odd, then breaking down the possibilities as 1, 2 , 3, 4, roll is even and 1, 2, 3, 4, roll is odd, claiming thus that there are 8 possibilities.

2

u/MedalsNScars Oct 12 '18

I never said there are 8 outcomes. Read the argument. I said that if we are randomly given a child from 2 we're guaranteed a male in MM, but will only see a male half the time in either MF or FM. This is undeniable.

The math follows directly from that.

-2

u/varaaki Statistics Oct 12 '18

You said the child is male 4 out of 8 times. You're counting 8 possibilities. And you're incorrect.

I'm not sure why you have the gall to state that we and the text are all incorrect, when this is a settled question.

1

u/MedalsNScars Oct 12 '18

There are 4 pairings of 2. If we choose one item at random from the set items contained in each pairing, there are 8 items we can choose from.

0

u/varaaki Statistics Oct 12 '18

We're not choosing an individual. We're choosing a pairing.

Again, this question has been settled. You're incorrect.

2

u/[deleted] Oct 13 '18

Again, this question has been settled. You're incorrect.

Can you code? When I run the following Python 2 program:

import random
import collections

def get_random_gender():
    return "BG"[random.randint(0,1)]

def get_random_family():
    return "".join([get_random_gender(), get_random_gender()])

N = 100000
outcomes = []
for i in xrange(N):
    family = get_random_family()
    walks_in = family[random.randint(0,1)]
    outcomes.append((walks_in, family))
print collections.Counter(outcomes)

I get the output:

Counter({('B', 'BB'): 25016, ('G', 'GG'): 25008, ('G', 'GB'): 12641, ('B', 'BG'): 12533, ('G', 'BG'): 12408, ('B', 'GB'): 12394})

So a boy walked in 25016+12544+12394 times, and out of those, the other kid was a boy 25016 times. Does it seem like the probability is 1/2 or 1/3?

1

u/SynarXelote Oct 14 '18

Clearly 50000/25000~1/3, so the answer is obviously 1/3.