HW 02 Sol
HW 02 Sol
1
then P[C] + 3P[C] + 6P[C] = 1.
6
P[A]wins one game is = 10 or 35
b) If they play exactly three games, what is the probability that each
will win a game?
1
3 6 27
P[each one wins a game] = 3! 10 10 10
= 250
3. (p. 46 prob 8) A hat contains a lot of cards, with 30% white on both
sides, 50% black on one side and white on the other, and 20% black on both
sides. The cards are mixed up and then a single card is drawn at random
and placed on the table. If the top is black, what is the probability that the
other side is white?
P[W W ] = 0.3, P[BW ] = 0.5, and P[BB] = 0.2
P [one side is white and one side is black]
P[one side is white|one side is black] =
P [one side is black]
P [one side is white and one side is black]
=
P [exactly one side is black or both sides are black]
5
=
9
4. (p. 46 prob 12) Give a formula for P[F | Gc ] in terms of P[F ], P[G] and
P[F G].
P[F Gc ] P[F ] − P[F G]
P[F | Gc ] = c
=
P[G ] 1 − P[G]
2
c) Exactly three of the five cards are ♥’s.
5 12 11 10 36 35
P[Exactly three of the five cards are ♥’s] = ( )( )( )( )( ) = 0.008094
2 48 47 46 45 44
r k+2 = q r k+1 + pq r k
r 2 = q r + pq
0 = r 2 − q r − pq
q±δ p
r = , δ ≡ q 2 + 4 pq
2
3
0 = f (0) = 1 + a+ + a−
0 = f (1) = 1 + a+ r+ + a− r−
= 1 + (a+ + a− )(q/2) + (a+ − a− )(δ/2)
= 1 − q/2 + (a+ − a− )δ/2; thus
a+ + a− = −1
a+ − a− = (q − 2)/δ
a+ = (q − 2)/2δ − 1/2
a− = (2 − q)/2δ − 1/2
To solve the problem, set p = 1/12, q = 11/12, and n = 10; the answer
from Eqn. (2) with the indicated values for a± is about 0.05700001.
• Another solution: For each integer 0 ≤ k ≤ n/2, the number of ways
to pick k numbers in the range 1, 2, ..., n with no two consecutive is
the
P same as the way to choose r = k + 1 integers xj ≥ 1 with sum
xj = S = n + 2 − k (why?); it’s easy to show that this is S−1
r−1
in
n+1−k
general, or k
for us. Thus the probability in question is
5 k 10−k
X 11 − k 1 11
1 −
k=0
k 12 12
1110 119 118 117 116 115
=1 − 1 − 10 − 36 − 56 − 35 − 6
1210 1210 1210 1210 1210 1210
= 1 − 0.4189 − 0.3808 − 0.1246 − 0.0176 − 0.0010 − 0.0000156,
or (again) about 0.05700001.
C1
C3
C2
4
The failure probabilities the three components are P[F1 ] = 0.10, P[F2 ] = 0.70,
and P[F3 ] = 0.30, respectively; all components work or fail independently.
What is the probability that the system works?
P[system works] = (0.9)(0.3)(0.7) + (0.1)(0.3)(0.7) + (0.9)(0.7)(0.7) = 0.651
OR
P[system works] = (1 − 0.10 ∗ 0.70)(1 − .3) = 0.93 ∗ 0.7 = 0.65
b) The probability the person selected at random does have the disease
but that the diagnostic does not identify it;
(0.1)(0.02) = 0.002
5
9. Three fair coins are tossed at once— a nickle, a dime, and a quarter.
a) What is the probability that at least one coin shows Heads?
b) What is the probability that at least $0.32 worth of coins show heads?
1 1 1 1
P[at least $0.32 worth of coins show heads?] = 2 =
2 2 2 4
c) Skyler wants to know the probability that all three coins show the
same face (i.e., all Heads or all Tails). She reasons that at least two of the
coins must show the same face (after all, there are only two possibilities),
and there is a 50% chance the third face will match. Is she right? Why?
1 1 1
No, the probability is + =
8 8 4
d) Find the probability that all three faces show Heads, given that at
least one of them does.
(1/8) 1
=
(1 − 1/8) 7
e) Can you find an event E with probability exactly P[E] = 1/3? Why?
No; every event in this space has probability 8j for some integer 0 ≤ j ≤ 8 ;
1
3
is not of that form.
10. Brite Lites has three lightbulb factories, one each in Athens, Brevard,
and Coallawalla. The probabilities of defective lightbulbs at these three
factories are P[A] = 0.07, P[B] = 0.05, P[C] = 0.01. A shipment contains 10
bulbs from facility A, 20 bulbs from B, and 70 bulbs from C.
a) A single light bulb is chosen at random from this shipment. If it is
6
defective, what is the probability it came from factory A?
P[Defective |A]P[A]
P[A| Defective] = =
P[Defective]
P[Defective |A]P[A]
= =
P[Defective |A]P[A] + P[Defective |B]P[B] + P[Defective |C]P[C]
0.07 ∗ 0.10 0.007
= = =
(0.07 ∗ 0.10) + (0.05 ∗ 0.20) + (0.70 ∗ 0.01) 0.007 + 0.01 + 0.007
0.007
= = 0.29167
0.024