The Wayback Machine - https://web.archive.org/web/20250406015755/https://www.geeksforgeeks.org/puzzle-44-girl-or-boy/
Open In App

Puzzle 44 | Girl or Boy

Last Updated : 30 Dec, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Share
Report
News Follow

The Boy or Girl problem is a set of probability questions that have sparked much discussion among mathematicians. However, here’s a puzzle for you that has a clear and unambiguous answer.

Suppose that I have a friend whose name is Ankur. Ankur has his elder brother who got married 10 years before. But Ankur being a silly guy has the habit of forgetting things. This summer he is going to meet his brother after 10 years, and he has planned to purchase some clothes for his brother’s kids as a token of love. Each and every time he faces a problem he comes to me, so this time also, he came to seek help, and I have not left him empty handed. I told him that as far as I can recall, his brother has two offspring’s and one of the boy was born on Tuesday. Now, it’s your turn to help him.  
What is the probability that Ankur’s brother has two boys, with at least one of them born on Tuesday? Assume an equal chance of giving birth to either sex and an equal chance to giving birth on any day?

Problem Summary:

Ankur’s elder brother has two children. We know that:

  1. One of the children is a boy, and that boy was born on a Tuesday.
  2. We are asked to find the probability that Ankur’s elder brother has two boys.

Key Assumptions:

  1. There is an equal probability of having a boy or a girl.
  2. There is an equal probability of being born on any day of the week.

Solution:

Possible Outcomes: Without considering the day of birth, there are four equally likely possibilities for the sexes of Ankur’s brother’s two children:

  • Both are boys (BB).
  • One boy (older) and one girl (BG).
  • One girl (older) and one boy (GB).
  • Both are girls (GG).

However, since we know that at least one of the children is a boy born on a Tuesday, we eliminate the (GG) case because there must be at least one boy. We are now left with three cases:

  • BB (both boys),
  • BG (older boy, younger girl),
  • GB (older girl, younger boy).

Considering Days of the Week: Each child could have been born on any of the seven days of the week. Thus, for each child, there are 7 possible days, which means for two children, there are 7×7=49 possible birth day combinations for each of the three remaining cases (BB, BG, GB).

Condition: At Least One Boy Born on Tuesday:

For the BB case (both children are boys), there are two ways that at least one of them is born on Tuesday:

  • The first boy is born on Tuesday and the second boy is born on any of the 7 days (7 possibilities).
  • The second boy is born on Tuesday and the first boy is born on any of the 7 days (7 possibilities).

However, if both boys are born on Tuesday, we’ve double-counted this scenario. So, we subtract 1 from the total, leaving us with 7+7−1=13 favorable outcomes for the BB case.

For the BG case (one boy, one girl), only the boy could be born on Tuesday, so there are 7 possibilities for the boy (born on Tuesday) and 7 possibilities for the girl (born on any day), giving 7×7=49 possible outcomes. However, since we know that the boy must be born on Tuesday, there are exactly 7 favorable outcomes for the BG case.

For the GB case (one girl, one boy), we only care about the boy being born on Tuesday. As in the BG case, there are exactly 7 favorable outcomes for this case.

Calculating the Total Number of Favorable Outcomes:

The total number of favorable outcomes (cases where there is at least one boy born on Tuesday) is (7+7-1 = 13) 13 from the BB case , 7 from the BG case, and 7 from the GB case. Thus, the total number of favorable outcomes is 13+7+7=27.

Calculating the Desired Probability: The probability that both children are boys, given that at least one of them is a boy born on Tuesday, is the ratio of the number of favorable outcomes for the BB case (13) to the total number of favorable outcomes (27):

Probability = 13/27

puzz

Conclusion:

The probability that Ankur’s elder brother has two boys, given that one of them is a boy born on Tuesday, is 13/27, which is a little less than 1/2. This unexpected result is derived from the subtle interactions between the conditions of the problem, particularly involving the days of the week.


Next Article
Practice Tags :

Similar Reads

three90RightbarBannerImg