Professional Documents
Culture Documents
Problem 1.
(i) A factory runs three shifts. In a given day, 1% of the items produced by the first shift are
defective, 2% of the second shift’s items are defective, and 5% of the third shift’s items are
defective. If the shifts all have the same productivity, what percentage of the items produced
in a day are defective? If an item is defective, what is the probability that it was produced by
the third shift?
(ii) If B is an event, with P (B) > 0, show that the set function Q(A) = P (A|B) satisfies the
axioms for a probability measure. Thus, for example,
(iii) Show that if A and B are independent, then A and B c as well as Ac and B c are independent.
(iv) Show that ∅ is independent of A for any A.
(viii) Show that if A, B and C are mutually independent, then A ∩ B and C are independent and
A ∪ B and C are independent.
(ix) A system has n independent units, each of which fails with probability p. The system fails
only if k or more of the units fail. What is the probability that the system fails?
(x) A player throws darts at a target. On each trial, independently of the other trials, he hits
the bull’s-eye with probability .05. How many times should he throw so that his probability of
hitting the bull’s-eye at least once is .5?
1
(xi) This problem introduces some aspects of a simple genetic model. Assume that genes in an
organism occur in pairs and that each member of the pair can be either of the types a or A.
The possible genotypes of an organism are then AA, Aa, and aa(Aa and aA are equivalent).
When two organisms mate, each independently contributes one of its two genes; either one of
the pair is transmitted with probability .5.
a. Suppose that the genotypes of the parents are AA and Aa. Find the possible genotypes of
their offspring and the corresponding probabilities.
b. Suppose that the probabilities of the genotypes AA, Aa and aa are p, 2q and r, respectively,
in the first generation. Find the probabilities in the second and third generations, and show
that these are the same. This result is called the Hardy-Weinberg Law.
Solution (i)
1
a. Shifts have the same productivity =⇒ of output from each of 3 shifts.
3
%(daily output defective) = P (defective|shift 1)P (shift 1) + P (defective|shift 2)P (shift 2)
+P (defective|shift 3)P (shift 3)
1
= · (0.01 + 0.02 + 0.05)
3
8
= .
300
b.
P (defective|shift 3)P (shift 3)
P (shift 3|defective) =
P (defective)
1
0.05 ·
= 3 = 5.
1 8
0.08 ·
3
2
(iii) A B ⇒ A B c and Ac B c Proof:
|=
|=
|=
P (A ∩ B c ) = P (A − B) = P (A − (A ∩ B))
= P (A) − P (A ∩ B) (byA ∩ B ⊂ A)
= P (A) − P (A)P (B) (by independence)
= P (A) [1 − P (B)]
= P (A)P (B c ).
P [(A ∩ B) ∩ C] = P (A ∩ B ∩ C)
= P (A)P (B)P (C)
= P (A ∩ B)P (C).
P [(A ∪ B) ∩ C] = P [(A ∩ C) ∪ (B ∩ C)]
= P (A ∩ C) + P (B ∩ C) − P (A ∩ B ∩ C)
= P (C)[P (A) + P (B) − P (A ∩ B)]
= P (C)P (A ∪ B).
(ix)
n
X
P (failure) = P (exactlyj units fail)
j=k
n
X n j
= p (1 − p)n−j
j
j=k
3
(xi)
b. To find second generation probabilities given first generation probabilities p, 2q, r, for AA, Aa, aa.
Can write table of conditional probabilities given parents’ genotype for second generation:
Conditional P2 (AA) AA Aa aa
1
AA 1 0
2
1 1
Aa 0
2 4
aa 0 0 0
Conditional P2 (Aa) AA Aa aa
1
AA 0 1
2
1 1 1
Aa
2 2 2
1
aa 1 0
4
4
Conditional P2 (aa) AA Aa aa
AA 0 0 0
1 1
Aa 0
4 2
1
aa 0 1
2
Similarly,
For the third generation, we see the same conditional probabilities as before but with genotype
frequencies P2 (AA), P2 (Aa), P2 (aa) computed above.
5
Problem 2. [Powerball]
In the PowerBall lottery game, 5 white, numbered balls are drawn uniformly at random, without
replacement, from a set of 59 white balls numbered 1 to 59, and 1 red, numbered ball is drawn
uniformly at random from 39 red balls numbered 1 to 39. To play the game you buy a $1 ticket with
5 distinct numbers from 1 to 59 (to match the white balls) and 1 special number (the “powerball”)
from 1 to 39 (to match the red ball). If you match exactly 3 of the white balls plus the red ball, you
win fifth prize, worth $100. If you match exactly 4 of the white balls and not the red ball, you win
fourth prize, also worth $100.
Solution
1. To win 5th prize, you must match exactly 3 of 5 white balls plus the powerball. Let E5 be
the event you win the 5th prize on a single ticket.
5 59 − 5 1
3 2 1 14310 1
P (E5 ) = = ≈ .
59 39 195, 249, 054 13644
5 1
2. To win the 4th prize, you must match exactly 4 of white balls but not the powerball. Let E4
be the event you win the 4th prize on a single ticket.
5 59 − 5 39 − 1
4 1 1 10260 1
P (E4 ) = = ≈ .
59 39 195, 249, 054 19030
5 1
3. Let E51 be the event you win the 5th prize on ticket {1, 2, 3, 4, 5}{6}, and E52 be the event you
win the 5th prize on ticket {51, 52, 53, 54, 55}{6}.
Winning 5th on both tickets require matching exactly 3 numbers on each ticket and is the
event E51 ∩ E52 = ∅, so P (E51 ∩ E52 ) = 0.
Since E51 ∩ E52 = ∅, we have P (E51 ∪ E52 ) = P (E51 ) + P (E52 ) = 2P (E5 ).
P (5th on at least one ticket) = P [E51 ∩ (E52 )c ] + P [(E51 )c ∩ E52 ] + P (E51 ∩ E52 )
= P (E51 ) + P (E52 ) = 2P (E5 )
= P (5th on exactly one ticket).
6
♣
(iv) What is the probability that a head was flipped on the first flip given that a tail was flipped on
the second flip?
Answer (i)-(iv) for each of the following scenarios (1)-(3). Write {I, II, III} to denote the set of
Coin I, Coin II and Coin III.
1. Choose a coin uniformly from {I, II, III}, flip it, record the outcome, replace the coin and
repeat once.
2. Choose a coin uniformly from {I, II, III}, flip it, record the outcome, do not replace the coin;
for the second flip, choose a coin uniformly among the remaining (unchosen coins), flip it,
record the outcome.
3. Choose a coin uniformly from {I, II, III} and flip it twice, recording the outcome.
(v) Explain why scenarios 1 and 3 differ. Be as concise and precise as possible.
Solution
7
Let’s look at (i)-(iv) for each of the 3 scenarios (1)-(3) separately.
8
(iv)
(3) (i) No, flips are not independent. They are conditionally independent given the choice of
coin.
(ii)
1 2 4
P ({H, T }| coin I) = ·
2· =
3 3 9
1 1 1
P ({H, T }| coin II) = 2 · · =
2 2 2
3 1 6
P ({H, T }| coin III) = 2 · · =
4 4 16
1 4 1 6 95
P ({H, T }) = ·( + + )= .
3 9 2 16 216
19
(iii) P (H on 2nd) = PH = ;
36
(iv) Given the outcome of the second flip, we have a different conditional probability that
the coin that we are flipping is coin I, II, or III. For example, if you tell me the 2nd
2
flip is a tail, I’m more inclined to think you are flipping coin I (with probability of
3
1
tail) than coin III (with probability of tail).
4
P (T on 2nd|I)P ( coin I)
P ( coin I|T on 2nd) =
P (T on 2nd)
2 1
·
= 3 3
19
1−
36
8
= .
17
9
P (T on 2nd|II)P ( coin II)
P ( coin II|T on 2nd) =
P (T on 2nd)
1 1
·
= 2 3
19
1−
36
6
= .
17
10