Hw3sol PDF
Hw3sol PDF
1. Suppose that 5 percent of men and 0.25 percent of women are colorblind. A colorblind person
is chosen at random. What is the probability of this person being male?
Solution:
we want to get P(male|colorblind).
P(male ∩ colorblind)
P(male|colorblind) = (1)
P(colorblind)
P(colorblind|male)P(male)
= (2)
P(colorblind|male)P(male) + P(colorblind|f emale)P(f emale)
0.05 × 0.5
= (3)
0.05 × 0.5 + 0.0025 × 0.5
= 0.95 (4)
2. A red die, a blue die, and a yellow die (all six sided) are rolled. Let R, B, and Y be the
respective numbers showing on the dice.
(a) Find the probability no two dice land on the same number, i.e.,
P({R 6= B} ∩ {R 6= Y } ∩ {B 6= Y }).
(b) Given that no two dice land on the same number, find the conditional probability that
the blue die shows less than the yellow die which shows less than the red die? i.e.,
(a) Let E denote the event that no two of the dice land on the same number. Use the
formula
number of outcomes inE
P(E) =
number of outcomes in S
So we have
6×5×4
P(E) =
6×6×6
(b) Given by E, we have 3! different (like(B < Y < R) or (B < R < Y ),etc) outcomes and
they are equally likely to occur. So
1 1
P(B < Y < R | E) = =
3! 6
(c) Note that {B < Y < R} ⊂ E,
5 1 5
P(B < Y < R) = P(E) × P(B < Y < R | E) = × =
9 6 54
1
3. The color of a person’s eyes is determined by a single pair of genes. If they are both blue-eyed
genes, then the person will have blue eyes; if they are both brown-eyed, or if one is blue-
eyed and the other brown-eyed, then the person will have brown eyes. The brown-eyed gene
is therefore said to be dominant over the blue-eyed gene. A newborn child independently
receives one eye gene from each of its parents, chosen at random from the two eye genes
belonging to each parent. Suppose that Smith and both of his parents have brown eyes, but
Smith’s sister has blue eyes.
(a) What is the probability that Smith possesses a blue-eyed gene?
Now suppose that Smith’s wife has blue eyes.
(b) What is the probability that their first child will have blue eyes?
(c) If their first child has brown eyes, what is the probability that their next child will also
have brown eyes?
Solution:
Let B denote a brown-eyed gene and let b denote a blue-eyed gene. Then BB, Bb, bb will
be the pairs of genes. The person who has BB or Bb will have brown eyes and the person
who has bb will have blue eyes.
Let S be the pair of eye genes of Smith. Since the gene he receives from a parent is equally
likely to be either of the two eye genes that the parent has, And since Smith’s sister has blue
eyes, we can conclude that the genes of Smith’s parents are Bb’s. Therefore, at birth, Smith
was equally likely to receive either a blue gene or a brown gene from each parent.
P( {S = BB} ) = 14 , P( {S = Bb} ) = 12 , prob( {S = bb} ) = 14
(a) Let A denote the event that Smith has one blue-eyed gene(that is, he has Bb) given that
he has brown eyes.
(b) Let C1 denote the eye genes of the first child from Smith and his wife. Then,
2
conditional law of total probability,
P(B2 | B1 ) = P(B2 | B1 , E)P(E | B1 ) + P(B2 | B1 , E c )P(E c | B1 )
= P(B2 | E)P(E | B1 ) + P(B2 | E c )P(E c | B1 ). (11)
Now apply Bayes’ rule to give
P(B1 | E)P(E) 1/2 × 2/3 1
P(E | B1 ) = c c
= = .
P(B1 | E)P(E) + P(B1 | E )P(E ) 1/2 × 2/3 + 1 × 1/3 2
Putting this into (11),
P(B2 | B1 ) = 1/2 × 1/2 + 1 × 1/2 = 3/4.
4. If A ⊂ B, express the following probabilities as simply as possible:
(a) P(A | B); (b) P(A | B c ); (c) P(B | A); (d) P(B | Ac ).
Solution:
Suppose that A ⊂ B.
P(A ∩ B) P(A)
P(A|B) = =
P(B) P(B)
P(A ∩ B c )
P(A|B c ) = =0
P(B c )
P(B ∩ A) P(A)
P(B|A) = = =1
P(A) P(A)