Beruflich Dokumente
Kultur Dokumente
Probability
6
Copyright 2019, Pearson Education, Ltd. 6
Example
Roll a die 1, 2, 3, 4, 5, 6
7
Copyright 2019, Pearson Education, Ltd. 7
Probability Experiments
Probability experiment
• An action, or trial, through which specific results (counts,
measurements, or responses) are obtained.
Outcome
• The result of a single trial in a probability experiment.
Sample Space
• The set of all possible outcomes of a probability
experiment.
Event
• Consists of one or more outcomes and is a subset of the
sample space.
. Copyright 2019, Pearson Education, Ltd. 8
Example: Identifying the Sample
Space of a Probability Experiment
12
Copyright 2019, Pearson Education, Ltd. 12
Sample Space,S= {H1,H2,H3,H4,H5,H6,T1,T2,T3,T4,T5,T6 }
Total sample size, n(S)=12
Event A, A= {H3},n(A)=1
Event B, B= {H2,H4,H6},n(B)=3
Simple Events
Probability Event A, P(A)=n(A)/n(S)=1/12
P(B)=n(B)/n(S)=3/12=0.25
Simple event
• An event that consists of a single
outcome.
e.g. “Tossing heads and rolling a 3”
A = {H3}
Solution:
Event B has three outcomes: rolling a 4, a 5, or a 6.
Because the event has more than one outcome, it is not
simple.
Number of outcomes in A k
P(A)
Total number of outcomes n
P(A)=n(A)/n(S)
n(S)-Total number of outcomes / total sample space
16
Copyright 2019, Pearson Education, Ltd. 16
Example: Finding Classical
Probabilities
You roll a six-sided die. Find the probability of each
event.
1. Event A: rolling a 3
2. Event B: rolling a 7
3. Event C: rolling a number less than 5
Solution:
Sample space: {1, 2, 3, 4, 5, 6}
So, the probability that a user is not 23 to 35 years old is
P(age is not 23 to 35) = 1 = 0.68
24
Copyright 2019, Pearson Education, Ltd. 24
Example
• Tree diagram for the experiment of tossing a coin
twice.
Outcomes
H – head
T – tail 2nd toss
1st toss H HH
H
T HT
H TH
T
T TT
25
Copyright 2019, Pearson Education, Ltd. 25
Example
• Find the sample space for the gender of three children
in a family. (boy or girl?)
3rd child Outcomes
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
H1 H2 H3 H4 H5 H6 H7 H8 T1 T2 T3 T4 T5 T6 T7 T8
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
H1 H2 H3 H4 H5 H6 H7 H8 T1 T2 T3 T4 T5 T6 T7 T8
2. Event B = {H1, H2, H3, H4, H5, H6, H7, H8, T4, T5, T6, T7, T8}
P(tossing a head or spinning 13
= 0.813
a number greater than 3) 16
. Copyright 2019, Pearson Education, Ltd. 29
Exercise
1. A gumball machine contains gumballs of five different colors: 36 red, 44
white, 15 blue, 20 green, and 5 orange. The machine dispenser randomly
selects one gumball. What is the probability that the gumball selected is:
green? 0.167
not green? 0.833
not orange? 0.958
orange? 0.042
not a colour in the flag of Malaysia? 0.208
red, white, or blue? 0.792
2. A pair of dice are rolled. What is the probability of
not rolling doubles? 0.833
0.083
rolling 10 or less?
30
Copyright 2019, Pearson Education, Ltd. 30
Venn diagram
• The Venn diagram can be used to illustrate the
relationship amongst the events within the sample
space.
• The shaded area shows
A A
B A
A B
33
Copyright 2019, Pearson Education, Ltd. 33
Football
Example 11 8
5 Hockey
7
34
Copyright 2019, Pearson Education, Ltd. 34