Chapter 3 QS (PC)
Chapter 3 QS (PC)
Chapter 3 QS (PC)
➢ Sample space, S
When we write down all the possible outcomes of our
experiment, we have defined the sample space of the
experiment. The possible outcomes in S are listed in curly
brackets, { }.
Set notation
Eg 1:
Experiment Sample Space
1) Throwing a coin. {Head, Tail}= {H, T}
2) Tossing two coins. {HH, HT, TH, TT}
3) Rolling a die once. {1, 2, 3, 4, 5, 6}
4) Rolling a pair of dice. {(1,1), (1,2), (1,3), (1,4),
(1,5), (1,6), (2,1), (2,2),
(2,3), (2,4), (2,5), (2,6),
(3,1), (3,2), (3,3), (3,4),
(3,5), (3, 6), (4,1), (4,2),
(4,3), (4,4), (4,5), (4,6),
(5,1), (5,2), (5,3), (5,4),
(5,5), (5,6), (6,1), (6,2),
(6,3), (6,4), (6,5), (6,6)}
1
➢ Events
An event is a set of outcomes which satisfies a given
condition. It is a subset of the sample space. The event is
said to have occurred if the outcome of the experiment
(when it is performed) is contained in the event set.
Eg 2:
Experiment Possible events
1) Rolling a die. Event A = obtaining a 5 = { 5 }
Event B =obtaining an even
number
= { 2, 4, 6}
2)Tossing two coins. Event C = getting at least 1 head
={HH, HT, TH}
Event D = getting exactly 1 head
= {HT, TH}
➢ Venn diagram
A Venn diagram is a simple pictorial representation of the
relationships between events.
➢ Complement of an event
The complement of an event A is the event that A does not
occur. It is denoted by 𝐴̅ or A’ and contains all the
experimental outcomes that are not contained in event A.
Either A or 𝐴̅ is certain to occur when the experiment is
2
carried out as both events together contain all the
outcomes in the sample space.
➢ Union of Events
Let A and B be two events defined in a sample space. The
union of events A and B is the collection of all outcomes
that belong either to A or B and is denoted by A B.
(A or B)
➢ Intersection of Events
Let A and B be two events defined in a sample space. The
intersection of A and B represents the collection of all
outcomes that are common to both A and B and is denoted
by A and B is denoted by A B. (A and B)
3
Probability, P
➢ Probability is a measurement of the likelihood (or chance,
possibility, proportion) of an event will occur in a given
sample space.
➢ In a sample space containing sample points that are equal
𝑛(𝐴)
likely to occur, 𝑃(𝐴) = 𝑛(𝑆)
4
Soln: Let T = Statistics
M = IT
Given P(T) = 0.90, P(M) = 0.95, P(TM) = 0.88
T M
0.02
0.88 0.07
0.03
5
185 37 51+90+24 165
a) P(A) = 350 = 70 b) P(B) = = 350
350
33
=
70
6
Eg 6: Jenny has a set of seven cards numbered 1 to 7. A card is
drawn randomly from the set of cards. Find the
probability that the number drawn is
a) 7 b) not 7
1 1 6
a) P(7) = 7 b) P(not 7) = 1 − =
7 7
P(A) + P(A’) = 1
15
a) P(mathematics book) = 15 = 1
0
b) P(history book) = 15 = 0
7
Eg 8: Probabilities of events C and D are such that
4 1 1
𝑃(𝐶 ) = 9 , 𝑃(𝐷) = 3 , 𝑃(𝐶 ∩ 𝐷 ) = 9, find 𝑃(𝐶 ∪ 𝐷 ).
G G’ Total
F 15 35 50
M 10 20 30
Total 25 55 80
P(MG) = P(M) + P(G) – P(MG)
30 25 10
= 80 + 80 − 80
9
= = 0.5625
16
8
➢ Probability of three events
𝑃 (𝐴 ∪ 𝐵 ∪ 𝐶 )
= 𝑃 (𝐴) + 𝑃(𝐵 ) + 𝑃(𝐶 ) − 𝑃(𝐴 ∩ 𝐵 ) − 𝑃(𝐴 ∩ 𝐶 ) − 𝑃(𝐵 ∩ 𝐶 ) +
𝑃(𝐴 ∩ 𝐵 ∩ 𝐶)
4
G 16
8 8
4
M 12 8 20 W
16+8+12+4 40 1
a) P(W’) = = 80 = 2
80
4+8 12 3
b) P(WM) = = 80 = 20
80
4+8 12 3
c) P(GW) = = 80 = 20
80
9
20 1
d) P(G’WM’) = 80 = 4
➢ 𝐴 ∩ 𝐵 = ∅, 𝑃(𝐴 ∩ 𝐵) = 0
10
3 6
= 14 + 14 − 0
9
= 14 (3m)
11
Independent Events
➢ Two events A and B are independent when the occurrence
or non-occurrence of one event has no effect on the
probability of occurrence of the other event.
and
➢ 𝑃(𝐴 ∩ 𝐵) = 𝑃(𝐴) × 𝑃(𝐵)
5 3 4 5
a) P(GWB) = 12 × 12 × 12 = 144
5 3 4 1
b) P(GWB) = 12 × 11 × 10 =22
13
2⁄ 2
6
= 3⁄ =3
6
Ma Ma’ Total
M 20 22 42
F 10 8 18
Total 30 30 60
𝑃(𝐹∩𝑀𝑎)
P(FMa) = 𝑃(𝑀𝑎)
10⁄ 1
60
= 30⁄ =3
60
14
Eg 19: The following contingency table describes 200
customers of an electrical store according to gender
and age.
Age Gender Total
Male Female
Under 30 60 50 110
30 and over 80 10 90
Total 140 60 200
If a person is selected randomly from the 200
customers, what is the probability that the person is
“under 30” given that he is “male”?
𝑃(𝑢𝑛𝑑𝑒𝑟 30 ∩ 𝑚𝑎𝑙𝑒)
P(under 30male) = 𝑃(𝑚𝑎𝑙𝑒)
60⁄ 3
200
= 140⁄ =7
200
15
Eg 26: The following contingency table describes 200
customers of an electrical store according to age and
gender.
Age Gender Total
Male (M) Female (F)
Under 30 (A) 60 50 110
30 and over (B) 80 10 90
Total 140 60 200
A person is selected from the 200 customers.
a) Find P(M), P(F) and P(A).
b) Find P(MA) and P(FB).
c) Find P(A|M) and P(F|B).
d) Are the events “Age under 30 (A)” and “Male
customer (M)” mutually exclusive? Explain.
e) Are the events “Age under 30 (A)” and “Male
customer (M)” independent? Explain.
Solution:
140 7
a) P(M) = 200 = 10
60 3
P(F) = 200 = 10
110 11
P(A) = 200 = 20 (1m)
16
60 3
b) P(MA) = 200 = 10
10 1
P(FB) = = (2m)
200 20
𝑃(𝐴∩𝑀) 3⁄ 3
10
c) P(AM) = = 7⁄ =7 (3m)
𝑃(𝑀) 10
𝑃(𝐹∩𝐵) 10⁄ 1
200
P(FB) = = 90⁄ =9
𝑃(𝐵) 200
3
d) P(AM) = 10 ≠ 0
P(AM) ≠ P(A)×P(M)
A and M are not independent. (4m)
17
Tree Diagram
➢ Is a graphical aid to help us visualize problems involving
combinations of trials. It can be used whenever the
probability of each stage of the outcomes is dependent on
the previous one or not.
➢ A useful way for portraying conditional and joint
probabilities.
➢ Each outcome is represented by a branch of the tree.
H
H G
T
T
H
T
T
S={HHH,HHT,HTH,HTT,THH,THT,TTH,TTT}
18
Eg 21: A lorry makes just two trips per day and on each trip is
likely to carry a heavy load (H) with probability 0.25.
Assuming the load carried in the second part of the day
is independent of the previous load, what is the
probability that the lorry carries just one heavy load on
a particular day?
Joint Probabilities
19
Eg 22: A passenger arriving at an airport can hire taxi from
companies A, B and C. It is known that 40% of the
passengers hire taxi from company A, 50% from
company B and 10% from company C. For taxi hired
from company A, 10% arrive late. The corresponding
percentages of taxi hired that arrived late for company
B and C are respectively 8% and 20%.
a) Find the probability that the taxi hired
i) will be late,
ii) will be from A and will not late.
b) Given that a call is made for a taxi and that it arrives
late, find the probability that it is from company B.
0.1 late
A
0.9 not late
0.4
0.08 late
0.5
B
0.92 not late
0.1
0.2 late
C
0.8 not late
= 0.4 (3m)
20
Eg 23: A bag contains 6 red discs, 4 green discs and 2 yellow
discs. A disc is drawn and not replaced. A second disc is
drawn.
a) Draw a tree diagram to show the process.
b) Find the probability of drawing two red discs.
c) Find the probability of drawing one green disc and
one yellow disc.
d) Find the probability of drawing two discs of the
same colour.
5
11
R
a) 4
6 11 G
12 R 2
11 6 Y
4 11 R
12 G 3
2 11
G
11 Y
2 6
11 R
12 4
Y 11 G
1
11 Y
6 5 5
b) P(RR) = 12 × 11 = 22
4 2 2 4 4
c) P(1G1Y) = (12 × 11) + (12 × 11) = 33
6 5 4 3 2 1
d) P(same colour) = (12 × 11) + (12 × 11) + (12 × 11)
1
=3
21
Extra Example: Tree diagram
In a secondary school, 25% of students are from Science
stream. Among these students, 54% of them awarded
scholarships to study in NUS. Meanwhile, among the students
who are not from the Science stream, 20% of them are
awarded scholarships to study in NUS.
a) Illustrate the information above by constructing a well-
labelled probability tree diagram with joint probability
calculated.
b) Find the probability that a randomly selected student is
not from Science stream.
c) Find the probability that a randomly selected student is
from Science stream or is not awarded scholarship to
study in NUS.
a) Let S = Science stream
X = awarded scholarships to study in NUS
Joint Probabilities
0.54 X
0.25 × 0.54 =0.135
0.25
S 0.25× 0.46 =0.115
0.46 X’
0.75×0.2 = 0.15
0.2 X
0.75 S’ 0.75×0.8 = 0.6
0.8 X’
1.0
b) P(S’) =0.75
c) P(S X’) = P(S) + P(X’) – P(S X’)
= 0.25 + (0.25×0.46 + 0.75 ×0.8) – 0.115 = 0.85
22