Solution to Homework 2
2-1. a. P(A∪B) = P(A) + P(B) P(AB) = 0.5 + 0.4 0.25 = 0.65;
b. P(A∩𝐵) = P( A∪B ) = 1 P(A∪B) = 1 0.65 = 0.35;
c. P( A B) = P(A B) = P(A) P(AB) = 0.5 0.25 = 0.25.
2-2. Let A be the event consume coffee ; A be the event consume carbonated soda, then we get
P(A) = 0.55, P(B) = 0.45 and P(A∪B) = 0.7.
a. P(AB) = P(A) + P(B) P(A∪B) = 0.55 + 0.45 0.7 = 0.3;
b. P(A∪B ) = 1 P(A∪B) = 1 0.7 = 0.3.
8 7 6 5
2-3. n(S) = C4,8 = = 70,
4 3 2 1
54
n(A) = C3,5 C1,3 = 3 = 30,
2 1
n(A) 3
the probability of A is P(A) = =
n(S) 7
2-4. (1) P(A) = 0.15 + 0.1 + 0.1 + 0.1 = 0.45;
P(B) = 0.1 + 0.15 = 0.25;
P(AB) = 0.1.
P(AB) 0.1
(2) P( A | B ) = = = 0.4
P(B) 0.25
P(AC ) P(A) P(AC) 0.45 0.15 3
P( A | C ) = = = = = 0.429 .
P(C) 1 P(C) 1 0.3 7
2-5. Let Ai be the event that the i type is not O, i = 1, 2, 3. And we can get
P(A1) = 4/5, P(A2|A1) = 3/4, P(A3|A1A2) = 2/3.
the desired probability is
P(A1A2A3) = P(A1) P(A2|A1) P(A3 |A1A2) = 4/5 3/4 2/3 = 2/5.