0% found this document useful (0 votes)
37 views

Hw3sol PDF

Uploaded by

Pei Jing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

Hw3sol PDF

Uploaded by

Pei Jing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Homework 3 (Math/Stats 425, Winter 2013)

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.,

P(B < Y < R | {R 6= B} ∩ {R 6= Y } ∩ {B 6= Y }).

(c) Find P(B < Y < R).


Solution:

(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.

P(A) = P( {S = Bb} | {S = BB or S = Bb} ) (5)


1
2
= 1 1 (6)
4 + 2
2
= (7)
3

(b) Let C1 denote the eye genes of the first child from Smith and his wife. Then,

P({C1 = bb}) = P( {C1 = bb} | A )P(A) + P( {C1 = bb} | Ac )P(Ac ) (8)


1 2
= × + 0 (9)
2 3
1
= (10)
3
where Ac means the event that Smith does not have any blue-eyed gene(that is, he has
BB ) given that he has brown eyes.
(c) Let E = {Smith is Bb}, B1 = {1st child is Bb} and B2 = {2nd child is Bb}. Note that
1st child is Bb} is the same as 1st child has brown eyes}, in this context. Applying the

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)

P(B ∩ Ac ) P(B) − P(A)


P(B|Ac ) = c
=
P(A ) 1 − P(A)
5. Independent trials that result in a success with probability p are successively performed until
a total of r successes is obtained. Show that the probability that exactly n trials are required
is  
n−1 r
p (1 − p)n−r .
r−1
Solution:
When ”a total of r successes is obtained” we have r − 1 successes before the last trial. So
there is exactly r − 1 successes between n − 1 first trials and number of different ways is
 
n−1
r−1
so the probability of having exactly r − 1 successes between n − 1 first trials is
 
n − 1 r−1
p (1 − p)n−r .
r−1
Trials are independent, also probability of success in the last trial is p , so the answer will be
 
n−1 r
p (1 − p)n−r .
r−1

You might also like