S1: Chapter 5
Probability
Dr J Frost (jfrost@tiffin.kingston.sch.uk)
Last modified: 11th December 2013
Starter
Draw a sample space (using a table) for throwing two dice and
recording the product of the two values.
What is the probability of the value being greater or equal to 24?
Die 1
×
Die 2
1
2
3
4
5
6
1
1
2
3
4
5
6
2
2
4
6
8
10
12
3
3
6
9
12
15
18
4
4
8
12
16
20
24
5
5
10
15
20
25
30
6
6
12
18
24
30
36
?
๐‘ƒ ๐‘ƒ๐‘Ÿ๐‘œ๐‘‘๐‘ข๐‘๐‘ก ≥ ?
24 =
6
1
=
36 6
Some fundamentals
An experiment is:
A repeatable process that gives rise to a number of
?
outcomes.
A sample space is:
The set of possible outcomes of an experiment.
e.g. The sample space ๐‘† of throwing two coins:
?
๐‘† = ๐ป๐ป, ๐ป๐‘‡,?๐‘‡๐ป, ๐‘‡๐‘‡
Some fundamentals
๐‘ƒ ๐‘’๐‘ฃ๐‘’๐‘›๐‘ก = 0.3
?
An event is a set of (one or more)
outcomes.
๐‘บ
๐‘จ
๐‘† = the whole sample
space
๐‘ฉ
3
4
1
2
6
5
๐ด = even number on
a die thrown
๐ต = prime number on
a die thrown
Some fundamentals
๐‘บ
๐‘จ
๐‘† = the whole
sample space
๐‘ฉ
3
4
1
2
6
5
What does it mean in this
context?
๐ด′
๐ต = prime
number on a die
thrown
What is the resulting set
of outcomes?
Not A.
i.e. Not rolling an even number.
?
๐ด = even number
on a die thrown
{1, 3,?5}
๐ด∪๐ต
A or B. i.e. Rolling an even
or prime number.
?
{2,3,4,5,6}
?
๐ด∩๐ต
A and B. i.e. Rolling a number
which is even and prime.
{2}?
?
Some fundamentals
๐‘บ
๐‘จ
๐‘† = the whole
sample space
๐‘ฉ
3
4
1
2
6
5
What does it mean in this
context?
๐ด = even number
on a die thrown
๐ต = prime
number on a die
thrown
What is the resulting set
of outcomes?
๐ด ∩ ๐ต′
Rolling a number which is
even and not prime.
{4,6}
?
(๐ด ∪ ๐ต)′
Rolling a number which is
not [even or prime].
{1}?
′
Rolling a number which is
not [even and prime].
{1,3,4,5,6}
?
๐ด∩๐ต
?
?
?
What area is indicated?
A
C
B
S
๐ด ∩? ๐ต
What area is indicated?
A
C
B
S
๐ด ∪? ๐ต
What area is indicated?
A
C
B
S
๐ด ∩ ๐ต? ∩ ๐ถ
What area is indicated?
A
C
B
S
๐ด ∩? ๐ถ ′
What area is indicated?
A
C
B
S
๐ด ∩ ๐ต? ∩ ๐ถ ′
What area is indicated?
A
C
B
S
′
?′
๐ด ∩๐ต ∩๐ถ
′
or
alternatively…
๐ด ∪ ๐ต? ∪ ๐ถ
′
What area is indicated?
A
C
B
S
๐ด?′
What area is indicated?
A
C
B
S
๐ด ∩ ๐ต? ∩ ๐ถ
′
Solving problems using Venn Diagrams
A vet surveys 100 of her clients. She finds that
25 own dogs, 15 own dogs and cats, 11 own dogs and tropical fish, 53 own cats, 10 own
cats and tropical fish, 7 own dogs, cats and tropical fish, 40 own tropical fish.
Fill in this Venn Diagram, and hence answer the following questions:
a) ๐‘ƒ ๐‘œ๐‘ค๐‘›๐‘  ๐‘‘๐‘œ๐‘” ๐‘œ๐‘›๐‘™๐‘ฆ
b) ๐‘ƒ ๐‘‘๐‘œ๐‘’๐‘  ๐‘›๐‘œ๐‘ก ๐‘œ๐‘ค๐‘› ๐‘ก๐‘Ÿ๐‘œ๐‘๐‘–๐‘๐‘Ž๐‘™ ๐‘“๐‘–๐‘ โ„Ž
c) ๐‘ƒ(๐‘‘๐‘œ๐‘’๐‘  ๐‘›๐‘œ๐‘ก ๐‘œ๐‘ค๐‘› ๐‘‘๐‘œ๐‘”๐‘ , ๐‘๐‘Ž๐‘ก๐‘ , ๐‘œ๐‘Ÿ ๐‘ก๐‘Ÿ๐‘œ๐‘๐‘–๐‘๐‘Ž๐‘™ ๐‘“๐‘–๐‘ โ„Ž)
๐‘บ
๐‘ช
35
100
11
100
?
8
100
?
๐‘ซ
6
100
?
Dr Frost’s cat
“Pippin”
7
100
4
100
?
?
3
100
?
26
100
?
๐‘ญ
Exercises
Page 84 Exercise 5B
Q6
Recap
If ๐ด and ๐ต are mutually exclusive, this means:
they can not happen?at the same time.
๐ด
๐ต
On a Venn Diagram…
the circles appear
separately.
?
If ๐ด and ๐ต are independent, this means:
one does not affect the other.
Note that these 2 things are ENTIRELY DIFFERENT, they are not ‘opposites’. If ๐ด
and ๐ต are not mutually exclusive, that doesn’t
? necessarily mean they are
independent.
The Venn Diagram is NOT AFFECTED BY INDEPENDENCE.
Recap
If events A and B are mutually exclusive, then:
๐‘ƒ ๐ด ∪ ๐ต = ๐‘ƒ ๐ด +? ๐‘ƒ(๐ต)
๐‘ƒ ๐ด∩๐ต =0
?
If events A and B are independent, then:
๐‘ƒ ๐ด∩๐ต =๐‘ƒ ๐ด ×๐‘ƒ ๐ต
But we’re interested in how we can calculate probabilities when events are not
mutually exclusive, or not independent.
Addition Law
Mutually Exclusive
๐‘จ
๐‘ฉ
Think about the areas…
๐‘ƒ ๐ด ∪ ๐ต = ๐‘ƒ ๐ด + ?๐‘ƒ(๐ต)
Not Mutually Exclusive
๐‘จ
๐‘ƒ ๐ด ∪ ๐ต = ๐‘ƒ ๐ด + ๐‘ƒ ๐ต? − ๐‘ƒ ๐ด ∩ ๐ต
๐‘ฉ
Example
๐ด and ๐ต are two events such that ๐‘ƒ ๐ด = 0.6, ๐‘ƒ ๐ต = 0.7 and ๐‘ƒ ๐ด ∪ ๐ต = 0.9.
Find:
๐‘ƒ ๐ด ∩ ๐ต = 0.4?
๐‘ƒ ๐ด′ = 0.4?
′
๐‘ƒ ๐ด ∪ ๐ต = 0.8
?
๐‘ƒ ๐ด′ ∩ ๐ต = 0.3
?
Bro Tip: You could use a
Venn Diagram here.
Check your understanding
The events ๐ธ and ๐น are such that
๐‘ƒ ๐ธ = 0.28 ๐‘ƒ ๐ธ ∪ ๐น = 0.76
Find
a) ๐‘ƒ ๐ธ ∩ ๐น = 0.17
?
b) ๐‘ƒ ๐น = 0.65
?
c) ๐‘ƒ
๐‘บ
๐ธ′
๐น′
๐‘ฌ
=
๐‘ƒ ๐ธ ′ ∩๐น′
๐‘ƒ ๐น′
0.24
0.35
=?
=
๐‘ƒ ๐ธ ∩ ๐น ′ = 0.11
24
35
๐‘ญ
Click to0.11
reveal0.17
Venn0.48
Diagram
0.24
Bro Tip: Venn Diagrams
can typically be used when
you have intersections
involving ‘not’s.
Exercises
Page 86 Exercise 5C
Q1, 3, 5
Conditional Probability
Think about how we formed a probability tree at GCSE:
P ๐ต|๐ด
?
๐‘ƒ ๐ด
๐ต
๐‘ƒ ๐ด∩๐ต
= ๐‘ƒ ๐ด ×?๐‘ƒ ๐ต ๐ด
๐ด
๐ต′
๐ต
๐ด′
๐ต′
Alternatively:
๐‘ƒ ๐ด∩๐ต
?
๐‘ƒ ๐ต๐ด =
๐‘ƒ ๐ด
Bro Tip: You’re dividing
by the event you’re
conditioning on.
Quickfire Examples
Given that P(A) = 0.5 and ๐‘ƒ ๐ด ∩ ๐ต = 0.3, what is P(B | A)?
๐‘ท ๐‘ฉ ๐‘จ? =
๐‘ท ๐‘จ∩๐‘ฉ
๐ŸŽ. ๐Ÿ‘
=
= ๐ŸŽ. ๐Ÿ”
๐‘ท ๐‘จ
๐ŸŽ. ๐Ÿ“
Given that P(Y) = 0.6 and ๐‘ƒ ๐‘‹ ∩ ๐‘Œ = 0.4, what is ๐‘ƒ ๐‘‹ ′ ๐‘Œ ?
P(X’ | Z) = 1 – P(X | Z)?= 1 – (0.4/0.6) = 0.33
Given that P(A) = 0.5, P(B) = 0.5 and ๐‘ƒ ๐ด ∩ ๐ต = 0.4, what is ๐‘ƒ ๐ต ๐ด′ ?
(Hint: you’ll likely need a Venn Diagram for this!)
๐‘ท ๐‘ฉ ๐‘จ′ = ๐‘ท(๐‘จ′ ∩ ๐‘ฉ)/๐‘ท ๐‘จ′
= 0.1 / 0.5
?
= 0.2
Bro Tip: Note that P(A | B’) + P(A’ | B’) = 1
It is NOT in general true that:
P(A’ | B’) = 1 – P(A | B)
Summary so far
If events ๐‘จ and ๐‘ฉ are independent.
P ๐ด ∩ ๐ต = ๐‘ƒ ๐ด ×? ๐‘ƒ ๐ต
P ๐ด ๐ต = ๐‘ƒ(๐ด) ?
If events ๐‘จ and ๐‘ฉ are mutually exclusive:
?
P ๐ด∩๐ต =0
P ๐ด ∪ ๐ต = ๐‘ƒ ๐ด +? ๐‘ƒ ๐ต
In general:
P ๐ด๐ต =
๐‘ƒ ๐ด∩๐ต
๐‘ƒ ๐ต
?
P ๐ด ∪ ๐ต = ๐‘ ๐ด + ๐‘ ๐ต ?− ๐‘ ๐ด ∩ ๐ต
More difficult Venn Diagrams based on mutual exclusivity
(Page 102) Events ๐ด, ๐ต and ๐ถ are defined in the sample space ๐‘† such that ๐‘ ๐ด = 0.4,
๐‘ ๐ต = 0.2, ๐‘ƒ ๐ด ∩ ๐ถ = 0.04 and ๐‘ƒ ๐ต ∪ ๐ถ = 0.44. The events ๐ด and ๐ต are mutually
exclusive and ๐ต and ๐ถ are independent.
a) Draw a Venn Diagram to illustrate the relationship between the three events and the
sample space. [We’ll work out the probabilities later]
๐‘†
๐ด
๐ถ
๐ต
?
Key Points:
• Recall that only
mutual
exclusivity
affects the
Venn Diagram.
• You will lose a
mark if you
forget the
outer
rectangle.
More difficult Venn Diagrams based on mutual exclusivity
(Page 102) Events ๐ด, ๐ต and ๐ถ are defined in the sample space ๐‘† such that ๐‘ ๐ด = 0.4,
๐‘ ๐ต = 0.2, ๐‘ƒ ๐ด ∩ ๐ถ = 0.04 and ๐‘ƒ ๐ต ∪ ๐ถ = 0.44. The events ๐ด and ๐ต are mutually
exclusive and ๐ต and ๐ถ are independent.
b) Find ๐‘ท(๐‘ฉ|๐‘ช), ๐‘ท(๐‘ช), ๐‘ท ๐‘ฉ ∩ ๐‘ช , ๐‘ท ๐‘จ′ ∩ ๐‘ฉ′ ∩ ๐‘ช′ , ๐‘ท ๐‘ช ∩ ๐‘ฉ′
๐‘†
0.36
?
๐‘ƒ ๐ต ๐ถ = 0.2?
๐ต
๐ถ
๐ด
๐‘ƒ ๐ถ = 0.3
?
0.04
?
Bro Tip: Use the last sentence
about mutual
exclusivity/independence to
immediately write out some extra
information, e.g.
๐‘ƒ ๐ต ∩ ๐ถ = 0.2๐‘ƒ(๐ถ)
0.2
?
0.06
?
๐‘ƒ ๐ด′ ∩ ๐ต′ ∩ ๐ถ ′ = 0.2?
0.14
?
๐‘ƒ ๐ถ ∩ ๐ต′ = 0.24
?
June 2013
Answer to (d):
11
=
20
?
=
3
=
8
?
99
100
?
?
=
1
4
?
Exercises
Provided sheet of past paper questions!
Exercises (on worksheet)
b
P(A u B) = P(A) + P(B) – P(A
? n B) = 0.67
P(A’ | B’) = P(A’ n B’) / P(B’) = 0.33 / 0.55 = 0.6
(We can see that P(A’ n B’) = 1 – P(A u B) ?
by a quick sketch of a Venn Diagram)
c
P(B n C) = P(B)P(C) = 0.09 (we can directly?multiply because they’re independent)
a
0.22
d
0.22
A
0.13
0.09
?
0.23
B
e
0.11
C
S
Using a Venn Diagram, we can see
that:
?B’) + P(A’ n B’ n C’)
P([B u C]’) = P(A n
= 0.22 + 0.22 = 0.44
Exercises (on worksheet)
a
b
c
d
e
B and W, or T and W. Because
the circles don’t overlap/the
events can’t happen at the
same time.
?
P(B n T) = 5/25 = 1/5
P(B)P(T) = 9/25 x 8/25 = 72/625
These are not the same so not
independent.
?
?
P(B n T) = 5/25 ?
P(W) = 7/25
P(T | B) = 5 / 9 (either using the
Venn Diagram directly, or by
using P(T n B) / P(B)
?
Probability Trees
Trees are useful when you have later events conditioned on earlier ones, or in general when
you have lots of conditional probabilities.
Example: You have two bags, the first with 5 red balls and 5 blue balls, and the second with 3
red balls and 6 blue balls. You first pick a ball from the first bag, and place it in the second. You
then pick a ball from the second bag. Complete the tree diagram.
Hence find the probability that:
1st pick
?12
1
2?
2nd pick
4
?
10
๐‘…๐‘’๐‘‘
๐‘…๐‘’๐‘‘
a) You pick a red ball on your second
pick.
๐‘ƒ ๐‘…2 = ๐‘ƒ ๐‘…1 ∩ ๐‘…2 + ๐‘ƒ ๐ต1 ∩ ๐‘…2
1 3
7
= +
=
5 20 20
?
6
?
10
๐ต๐‘™๐‘ข๐‘’
3
?
10
๐‘…๐‘’๐‘‘
๐ต๐‘™๐‘ข๐‘’
7
?
10
๐ต๐‘™๐‘ข๐‘’
b) Given that your second pick was
red, the first pick was also red.
๐‘ƒ ๐‘…1 ∩ ๐‘…2
๐‘ƒ ๐‘…1 ๐‘…2 =
๐‘ƒ ๐‘…2
=
1
5
7
20
=
4
7
?
Probability Trees
Key Point: When you need to find a probability using a tree, consider all possible paths in
which that event is satisfied, and add the probabilities together.
๐ต
๐ถ
๐ถ′
๐ด
๐ถ
๐ต′
๐ถ′
๐ต
๐ด∩๐ต∩๐ถ
๐ด ∩ ๐ต′ ∩ ๐ถ
๐ด′ ∩ ๐ต ∩ ๐ถ
๐ด′ ∩ ๐ต′ ∩ ๐ถ
๐‘ƒ ๐ต ∩ ๐ถ′
= ๐‘ƒ ๐ด ∩ ๐ต ∩ ๐ถ′
+ ๐‘ƒ ๐ด′ ∩ ๐ต ∩ ๐ถ ′
?
?
๐ถ
๐ถ′
๐ด′
๐‘ƒ ๐ถ
=๐‘ƒ
+๐‘ƒ
+๐‘ƒ
+๐‘ƒ
๐ถ
๐ต′
๐ถ′
๐‘ƒ ๐ต
?
= ๐‘ƒ ๐ด ∩ ๐ต + ๐‘ƒ ๐ด′ ∩ ๐ต
(Notice that we can
completely ignore C here)
๐‘ƒ ๐ด′ ∩ ๐ถ
= ๐‘ƒ ๐ด′ ∩ ๐ต ∩ ๐ถ
+ ๐‘ƒ ๐ด′ ∩ ๐ต′ ∩ ๐ถ
?
Check your understanding
Of 120 competitors in a golf tournament, 68 reached the green with their tee shot on
the first hole. Of these, 46 completed the hole in 3 shots or less. In total, 49 players
took more than 3 shots on the first hole.
68
120
46
68
Find the probability that a player
chosen at random:
๐ถ
๐‘…
22
68
๐ถ′
25
Click to reveal Tree Diagram
52
120
52
๐ถ
๐‘…′
27
52
๐ถ′
I’ve used ๐‘… to represent the event “reached the
green with tee shot on first hole” and ๐ถ to mean
“completed shot in 3 shots or less”.
a) Reached the green with his tee
shot and took more than 3 shots
in total.
P R ∩ ๐ถ′ =
68 22
22
×
=
120 68 120
?
b) Missed the green on his tee shot
and took at most 3 shots.
P ๐‘…′ ∩ ๐ถ =
52 27
27
×
=
120 52 120
?
c) Took 3 shots or less in total, given
that he missed the green with his
tee shot.
27
′
๐‘ƒ
๐‘…
∩
๐ถ
120 = 27
๐‘ƒ ๐ถ ๐‘…′ =
=
52
๐‘ƒ ๐‘…′
52
120
?
Exercises (on worksheet)
?23
5
12
?
7
12
?
?13
?12
?12
b
P(H) = (5/12 x 2/3) +
(7/12 x ½) =?41/72
c
P(R|H) = P(R n H) / P(H)
= (5/18) /?(41/72)
= 20/41
d
P(RR or BB) = (5/12)2 +
?
(7/12)2 = 37/72
Classic Conundrum
I have two children. One of them is a boy. What is the probability
the other is a boy?
1
๐ด๐‘›๐‘ ๐‘ค๐‘’๐‘Ÿ = ?
3
METHOD 1
The ‘restricted sample space’ method
BB
BG
GB
GG
There’s four possibilities for the sex of the two
? only 3 match the description.
children, but
In 1 out of the 3 possibilities
METHOD 2
Using conditional probability
๐‘ ๐‘œ๐‘กโ„Ž๐‘’๐‘Ÿ ๐‘–๐‘  ๐‘๐‘œ๐‘ฆ ๐‘œ๐‘›๐‘’ ๐‘–๐‘  ๐‘Ž ๐‘๐‘œ๐‘ฆ =
=
1/4 1
=
3/4 3
๐‘ ๐‘œ๐‘›๐‘’ ๐‘–๐‘  ๐‘Ž ๐‘๐‘œ๐‘ฆ ๐ด๐‘๐ท ๐‘œ๐‘กโ„Ž๐‘’๐‘Ÿ ๐‘–๐‘  ๐‘Ž ๐‘๐‘œ๐‘ฆ
? ๐‘ ๐‘œ๐‘›๐‘’ ๐‘–๐‘  ๐‘Ž ๐‘๐‘œ๐‘ฆ