Professional Documents
Culture Documents
L8 - Sec 8.3 To 8.7
L8 - Sec 8.3 To 8.7
A bag contains four jelly beans: one red, one pink, one
black, and one white.
a. A jelly bean is withdrawn at random, its color is noted,
and it is put back in the bag. Then a jelly bean is again
randomly withdrawn and its color noted. Describe a
sample space and determine the number of sample
points.
Solution:
Partial Sample Space: S p RW, PB, RB, WW
Sample Points: 4 4 16
b. Determine the number of sample points in the sample
space if two jelly beans are selected in succession
without replacement and the colors are noted.
Solution:
Sample Points: 4 3 12 or 4 P2 12
Events
• Event E is a subset of the sample space for the
experiment.
Example 5 – Sample Space: Roll of Two Dice
A pair of dice is rolled once, and for each die, the number
that turns up is observed. Determine the number of sample
points.
Solution:
Sample Points: 6 · 6 = 36
Example 7 – Complement, Union, Intersection
# E
P E
# S
Example 1 – Coin Tossing
Solution:
# E 1
a. E = {HH}, probability is P E
# S 4
b. F = {at least one head} where F HH, HT, TH
Thus probability is # F 3
P F
# S 4
Example 3 – Full House Poker Hand
Solution:
The number of outcomes in E is 0.02 · 5000 = 100.
# E 100
P E 0.02
# S 5000
Alternatively, probability (defective) is
1
P E 100 0.02
5000
Odds
• The odds in favor of event E occurring are the ratio
P E
P E '
Solution:
PE 0.2 1
1: 4
PE ' 0.8 4
Conditional Probability
• If E and F are events associated with an equiprobable
sample space and F = ∅, then
# E F
P E F
# F
Example 1 – Jelly Beans in a Bag
A bag contains two blue jelly beans (say, B1 and B2) and
two white jelly beans (W1 and W2). If two jelly beans are
randomly taken from the bag, without replacement,
find the probability that the second jelly bean taken is
white, given that the first one is blue.
Solution:
P W B
4 2
6 3
Conditional probability of an event E is given as
P E F
P E F and P F 0
P F
Example 3 – Quality Control
Solution:
Let A and D be the events
We have P(A) = 0.4 and P(D ∩ A) = 0.1, thus
PD A 0.1 1
PD A
P A 0.4 4
General Multiplication Law
P E F P E P F E P F P E F
Example 5 – Advertising
Solution:
The desired probability is
Bag I contains one black and two red jelly beans, and Bag
II contains one pink jelly bean. A bag is selected at
random. Then a jelly bean is randomly taken from it and
placed in the other bag. A jelly bean is then randomly
taken from that bag. Find the probability that this jelly
bean is pink.
Solution:
P E F P E or P F E P F
Example 1 – Showing That Two Events Are Independent
Solution:
# E 2 1
P E
# S 4 2
# E F # HH 1
P E F
# F # F 2
Special Multiplication Law
If E and F are independent events, then
P E F P E P F
Example 3 – Survival Rates
Solution:
Solution:
P B D 0.8 0.85 0.68 0.97
Two fair dice, one red and the other green, are rolled, and
the numbers on the top faces are noted. Test whether P(E
∩ F ) = P(E)P(F ) to determine whether E and F are
independent.
Solution:
Event F has 6 outcomes which is
F 1,6 , 2,5 , 3,4 , 4,3 , 5,2 , 6,1
P E F
3 1
Thus the probability is
36 12
Example 7 – Cards
Solution:
We obtain
P K Q J H P K P Q P J P H
4 4 4 13 1
52 52 52 52 8788
• The conditional probability of Fi given that event E has
occurred is expressed by
P Fi P E Fi
P Fi E
P F1 P E F1 P F2 P E F2 ... P Fn P E Fn
Example 1 – Quality Control
0.20.03
0.20.03 0.35 0.02 0.45 0.01
12
35
b. P S2 D
probability of path through S2 and D
probability of all paths to D
0.35 0.02
0.0175
14
35
P S3 D
probability of path through S3 and D
c. probability of all paths to D
0.45 0.01
0.0175
9
35
Union