I have read the Probability and Statistics for Engineering and the Sciences by Jay Devore, and then I got stuck at the example 3.12 (ch3 Discrete Random Variables and Probability Distributions) as following
Starting at a fixed time, we observe the gender of each newborn child at a certain hospital until a boy (B) is born. Let p=P(B), assume that successive births are independent, and define the rv X by x=number of births observed. Then
p(1) = P(X=1) = P(B) = p
p(2) = P(X=2) = P(GB) = P(G)P(B) = (1-p)p
…
I am little curious and can not figure out that how(why) is P(GB) equal to P(G)P(B) ?
The notation could be improved:
$P(B)=p$ is supposed to be the probability any particular child is a boy, and $P(G)=1- p$ is supposed to be the probability any particular child is a girl.
$P(GB)$ is supposed to be the probability that the you see a girl first and then a boy second. It might be better written as $P(G_1,B_2)$, i.e. that the first child is a girl and the second child is a boy.
Using conditional probability, this is $P(G_1,B_2)=P(G_1)P(B_2 \mid G_1)$.
Since "successive births are independent" you have $P(B_2 \mid G_1)=P(B_2)=p$, as well as $P(G_1)=1-p$. Equivalently, use independence to say $P(G_1,B_2)=P(G_1)P(B_2)$.
So $P(G_1,B_2) = (1-p)p$.