HW4 Solution
HW4 Solution
HW4 Solution
1
Because there are 30 people who are both Male and not over 30, events A and B
are not disjoint.
(b) Solution: A and B are not independent. If they were, the rows would be pro-
portional.
(c) Solution:
(d) Solution:
(a) Solution: If there are four choices for each question, based on random guessing
the probability of getting the correct answer is P (correct) = 1/4 = 0.25, and
the probability of getting a wrong answer is P (incorrect) = 1 − 0.25 = 0.75. In
addition, notice that the outcome of each question is independent of the outcome
of another question. So, we can assume independence and apply the Multiplication
Rule for the independent case whenever it is applicable.
(b) Solution:
2
(c) Solution: Notice that {getting at least one of the questions wrong} is the
complement event of {getting all of the questions correct}. If we denote the
event of interest as A = {getting at least one of the questions wrong}, then AC =
{all questions are correct}. By the Complement Rule, we have
P (A) = 1 − P (AC ) = 1 − 0.0009766 ≈ 0.999
(d) Solution: If we get the first incorrect answer on the fourth question, then we
must have gotten the first three questions all correct.
P (first incorrect answer on the 4th question)
= P (1st correct, and 2nd correct, and 3rd correct, and 4th incorrect)
= P (correct) · P (correct) · P (correct) · P (incorrect)
= 0.25 × 0.25 × 0.25 × 0.75
≈ 0.01172
(b) Solution:
P (advance ∩ no-shows)
P (advance | no-shows) =
P (no-shows)
P (no-shows | advance)P (advance)
=
P (no-shows)
0.05 × 0.6
=
0.15
= 0.20
3
6. Textbook p.p. 418 #61 (10 points)
Solution: This is an application of the Bayes Rule.
Let’s denote the event that the lie detector shows the person is dishonest as +, and
that the lie detector shows the person is honest as −. The probability of interest is
P (no lie | +).
P (no lie ∩ +)
P (no lie | +) =
P (+)
P (+ | no lie)P (no lie)
=
P (+ | no lie)P (no lie) + P (+ | lie)P (lie)
0.15 × 0.95
=
0.15 × 0.95 + 0.65 × (1 − 0.95)
= 0.814
P (A ∩ B) ≥ 1 − P (Ac ) − P (B c )
1 ≥ P (A ∪ B) = P (A) + P (B) − P (A ∩ B)
= (1 − P (AC )) + (1 − P (B C )) − P (A ∩ B) .
P (A ∩ B) ≥ 1 − P (AC ) − P (B C ) .