HW1 Sol
HW1 Sol
(a) {QP };
(b) {DN, DP, N N };
(c) φ.
2. (16%)
(b) False. Think about this case: throw a four-sided die; let F = {1, 2, 3}, G =
{2, 3, 4}, E = {1, 4}.
F c = {4}, F c G = {4}, E c = {2, 3}, E c G = {2, 3}.
(c) True. By DeMorgan's law.
(d) True. Since EF ⊂ E G , FG ⊂ G G and
S S S S S S
F ⊂ E F F ⊂ E F
G.
S S S
EG ⊂ E G⊂E F
3. (8%)
4. (5%) Let E be the event that an earthquake will damage the structure next year.
Let H be the event that a hurricane will damage the structure next year. We are
given that P (E) = 0.015, P (H) = 0.025, and P (EH) = 0.0073. Since P (E H) =
S
P (E) + P (H) − P (EH) = 0.015 + 0.025 − 0.0073 = 0.0327, the probability that next
year the structure will be damaged by an earthquake and/or a hurricane is 0.0327.
The probability that it is not damaged by any of the two natural disasters is 0.9673.
P (A ∪ B ∪ C) = P (A ∪ B) + P (C) − P ((A ∪ B) ∩ C)
= P (A) + P (B) − P (AB) + P (C) − P (AC ∪ BC)
= P (A) + P (B) − P (AB) + P (C) − P (AC) − P (BC) + P (ABC)
= P (A) + P (B) + P (C) − P (AB) − P (AC) − P (BC) + P (ABC)
6. (8%) Let T and F be the events that the number selected is divisible by 3 and 5,
respectively.
(a) The desired quantity is the probability of the event T F c :
333 66 267
P (T F c ) = P (T ) − P (T F ) = − =
1000 1000 1000
P (T c F c ) = 1 − P (T ∪ F ) = 1 − P (T ) − P (F ) + P (T F )
333 200 66 533
=1− − + =
1000 1000 1000 1000
7. (8%)
(a) False; in the experiment of choosing a point at random from the interval (0, 1),
let A = (0, 1) − {1/2}. A is not the sample space but P (A) = 1.
8. (5%) For i = 0, 1, 2, . . . , 9, the probability that i appears as the rst digit of the
decimal representation of the selected point is the probability that the point falls
into the interval [ 10i , i+1
10
). Therefore, it equals
i+1
− 10i
10 1
= .
1−0 10
This shows that all numerals are equally likely to appear as the rst digit of the
decimal representation of the selected point.
9. (8%)
∞ ∞
(a) Clearly, 1
( 12 − 2n
1 1 1
) . If x ∈ ( 21 − 2n
1 1 1
) , then, for all n ≥ 1,
T T
2
∈ , 2 + 2n , 2 + 2n
n=1 n=1
1 1 1 1
− <x< + .
2 2n 2 2n
Letting n → ∞, we obtain 1/2 ≤ x ≤ 1/2; thus x = 1/2.
(b) Let An be the event that the point selected at random is in ( 12 − 1 1
,
2n 2
+ 1
2n
;
)
then
A1 ⊇ A2 ⊇ A3 ⊇ · · · ⊇ An ⊇ An+1 ⊇ · · · ,
10. (8%)
11. (5%) For 0 ≤ i ≤ 9, the sum of the rst two digits is i in (i + 1) ways. Therefore,
there are (i + 1)2 numbers in the given set with the sum of the rst two digits equal
to the sum of the last two digits and equal to i. For i = 10, there are 92 numbers in
the given set with the sum of the rst two digits equal to the sum of the last two
digits and equal to 10. For i = 11, the corresponding numbers are 82 and so on.
Therefore, there are altogether
12 + 22 + · · · + 102 + 92 + 82 + · · · + 12 = 670
numbers with the desired property and hence the answer is 670/104 = 0.067.
12. (12%)
Extra Exercises:
2. Let M and F denote the events that the randomly selected student earned an A on
the midterm exam and an A on the nal exam, respectively. Then
P (M F ) = P (M ) + P (F ) − P (M ∪ F ),
4. 30−10
30−0
= 23 .
5. There are 6 types of meat or cheese you can choose, but you should select at least
one. Then we can nd (26 − 1) combination methods.
And there are 3 types of sauces. We can nd 23 combination methods. (You can
select none of sauces.)
There are (26 − 1)23 = 504 possible sandwiches. So the claim is true.