Probability- Brain Teaser- 1 boy and 1 girl

Click For Summary

Homework Help Overview

The discussion revolves around a probability problem involving a family that continues to have children until they have at least one boy and one girl. Participants explore the expected number of children in such a scenario, questioning the nature of the probability distribution involved.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the expected value calculation using sums and probabilities, with some questioning the appropriateness of a geometric distribution. There are attempts to derive the expected number of children through various summation techniques and derivatives of geometric series.

Discussion Status

Several participants are actively engaging with the problem, providing insights and corrections to each other's reasoning. There is a mix of interpretations regarding the calculations, with some participants seeking clarification on specific steps and results. The conversation indicates ongoing exploration without a definitive consensus on the expected value.

Contextual Notes

Some participants express confusion over the calculations and the assumptions made regarding the probability distribution. There are mentions of specific mathematical techniques, such as derivatives of geometric sums, which are being debated in terms of their application to the problem.

Roni1985
Messages
200
Reaction score
0

Homework Statement


I'm not sure if this is the exact wording, but here it is:
Let's assume a family wants at least 1 girl and 1 boy. It stops having kids once it get both.

Ex:
BBBBBG
GB
GGGGGGGGGB
etc.

What is the expect number of kids in the family?

Homework Equations



Is this a geometric random variable?

The Attempt at a Solution



I attempted to find the expected value by using a sum.
I can find the sum of the probabilities and I'm getting 1, but can't seem to find the expected value.
inf
\sum n(\frac{1}{2})^n
n=2
 
Physics news on Phys.org
The probability of stopping after 2 children is 1/2, isn't it? That doesn't fit very well with your (1/2)^n. You could have BG, GB or BB, GG. Both are equally likely. It's not a strictly geometric sum. But it's closely related. It's the derivative of a geometric sum.
 
Dick said:
The probability of stopping after 2 children is 1/2, isn't it? That doesn't fit very well with your (1/2)^n. You could have BG, GB or BB, GG. Both are equally likely. It's not a strictly geometric sum. But it's closely related. It's the derivative of a geometric sum.

Hello,

I found my mistake, this is what I'm getting
inf
\sum n(1/2)^(^n^-^1^)
n=2

Now, I know the sum of the derivative of a geometric sum is
\frac{a}{(1-r)^2}
However, my sum starts from n=2 and by doing the calculations, I think I'm getting 3/2.
Can you please confirm my answer?
inf
\sum r^n= \frac{r^2}{1-r}
n=2

I need to take the derivative of this and I get \frac{2r-r^2}{(1-r)^2}
I plug in 1/2 and multiply the answer by 1/2 that I pulled out of the sum before.
 
Last edited:
still looking for help :)

Thanks.
 
Let's do a sanity check. Your sum is 2*(1/2)+3*(1/4)+4*(1/8)+5*(1/16)+6*(1/32)+... Evaluate that. You've got the series right. Your sum is wrong. Just sum the first two terms. That's already over 3/2. I don't really understand how you got 3/2. Can you explain that again? Where did you pull out a '1/2'? Differentiating r^2/(1-r) is on the right track. How did you get that?
 
Last edited:
Dick said:
Let's do a sanity check. Your sum is 2*(1/2)+3*(1/4)+4*(1/8)+5*(1/16)+6*(1/32)+... Evaluate that. You've got the series right. Your sum is wrong. Just sum the first two terms. That's already over 3/2. I don't really understand how you got 3/2. Can you explain that again? Where did you pull out a '1/2'? Differentiating r^2/(1-r) is on the right track. How did you get that?

I don't seem to get it.
What do you mean my sum is wrong?

I can start from 1.
inf
\sum (n+1)(1/2)^n
n=1

This is also the derivative of a geometric sum.
Now,

inf
\sum \frac{d}{dr}(r)^(^n^+^1^)
n=1

inf
\frac{d}{dr}\sum(r)^(^n^+^1^)
n=1

inf
\frac{d}{dr}*r\sum(r)^n = \frac{d}{dr}(*r*\frac{r}{1-r})=\frac{2r-r^2}{(1-r)^2}
n=1

Now, I can plug in 1/2 and actually now I'm getting 3.

Am I doing something wrong?
 
Oh, just found a TI-89 emulator for Windows, so I calculated the sum and it is 3.
Can you just look at my way. Is everything correct ?
Thanks.
 
Roni1985 said:
Oh, just found a TI-89 emulator for Windows, so I calculated the sum and it is 3.
Can you just look at my way. Is everything correct ?
Thanks.

Now it's fine. I was just wondering how you got 3/2.
 
Dick said:
Now it's fine. I was just wondering how you got 3/2.

Yes, I made a mistake before.
Thanks for your help.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K