A couple is planning to have a family. Let us assume that the probability of having a girl is 0.48 and a boy is 0.52,and that the gender of this couple’s children are pairwise independent. They want to have at least one girl and at least one boy. At the same time, they know that raising too many kids is difficult. So here’s what they plan to do: they’ll keep trying to have children until they have at least one girl and at least one boy or until they have four kids. Once one of these two conditions are satisfied, they’ll stop. Our goal is to determine the expected number of children this couple will have.
Let X(s) be equal to the number of children with outcome s; e.g., X(GGB) = 3.
a. What are the possible values of X(s)?
b. For each such value i, list the outcomes in the event (X = i). For example, the outcome GGB is part of the event (X = 3).
c. For each such value i, what is P(X = i)? Keep in mind that P(G) = 0.48, P(B) = 0.52 and the gender of the couple’s children a independent of each other.
d. Finally, what isE[X]? That is, on average, how many kids will such a couple have?
I think I am very close to solving this, for A and B I have the possible outcomes of:
x = 1 -> G , B
x = 2 - > GG , GB , BB , BG
x = 3 - > GGG , GGB , BBB , BBG
x = 4 -> GGGG , GGGB , BBBB , BBBG
I have it like this because its impossible to have something like BBGG because once they would have a boy and a girl they would be done so they could never have 2 of each or more after the first boy and girl appear, or until 4.
For part C, im not sure if I am supposed to do this for each one or not. Here is what I was thinking I would do, e.g (x = 3) -> GGB would be (.48)(.48)(.52) = .12
But what I don't know is if GGG is even a possibility because technically its possible but we wouldn't be done at this point because that doesn't satisfy the condition of 4 children or at least 1 boy and 1 girl, so I don't know if I should find the probability to this or even include it .
Then for part D Im not sure of exactly how I would go about this, I was thinking something like $E[X] = E[X_1] + E[X_2] + E[X_3] + E[X_4] $ , but im not sure quite what to put in to these.