Solutions P1
Solutions P1
There are a lot of exercises today. Do not feel that you have to answer every single one.
P1.1 A pair of six-sided dice are rolled and their sum is recorded.
(a) What is the sample space in this experiment?
(b) If both dice are fair then what is the most likely sum?
(c) If both dice are fair and the first die rolls a 1 then what is the probability that the second die rolls a 1?
Solution: If we add two numbers between 1 and 6 together, then the total of those two numbers varies
between 2 and 12. Therefore, the sample space is
P1.2 The heights of a football team are recorded, and their average is taken. What is the sample space of this
experiment?
Solution: The sample space for this experiment is the set of all possible averages we could get from
measuring people’s heights. This should therefore include all possible heights a person could be. This is
kind of open to interpretation – you might have to ask yourself what is the shortest/tallest a human could
possibly be? To be safe, you could always say your sample space is the set of non-negative numbers.
Ω = [0, ∞)
P1.3 The following game is played: A six sided dice is rolled, and a coin is flipped. If the coin shows heads, then
your final score is found by doubling the number shown on the dice. If the coin shows tails, then your final
score is found by halving the number shown on the dice. What is the sample space for the possible scores
you can achieve?
Solution: Every outcome is either half of a number between 1 and 6, or double a number between 1
and 6. Therefore, the sample space is
Solution: In each part of this question we’re looking at a pair of d20 rolls. Note that we can represent
the sample space as a Cartesian Product
from which we can tell that there are 20 × 20 = 400 possible outcomes (|Ω| = 400). This will be useful
going forward.
(a) This is the easier part. To get a 20 with disadvantage we need to roll 20 on both dice, so this
event can be represented by the set D = {(20, 20)}. This has only one outcome (|D| = 1), so the
corresponding probability is
|D| 1
P (D) = =
|Ω| 400
.
(b) This is the harder part. To get a 20 with advantage we need to roll a 20 on die 1, or die 2. We can
represent this event as the following set
A = {(20, 1), (20, 2), ..., (20, 19), (20, 20), (19, 20), (18, 20), ..., (2, 20), (1, 20)}, (1)
This set has 20 + 19 = 39 elements (|A| = 39). Therefore the probability of this event is
|A| 39
P (A) = =
|Ω| 400
P1.5 A pair of fair four-sided dice are rolled. What is the probability that
(a) the largest number shown on either of them is a 1?
Solution: Labelling the dice A and B, we can represent the possible outcomes from recording the largest
number shown on either of them with this table.
B 1 2 3 4
A
1 1 2 3 4
2 2 2 3 4
3 3 3 3 4
4 4 4 4 4
All outcomes are equally likely. Therefore, for each x ∈ {1, 2, 3, 4}, the probability that the largest
Page 2
number shown on either of them is x is the number of times x appears in the table, divided by the total
number of entries in the table (which is 16). So we have
P1.6 You purchase three stocks at the start of the day. At the end day each stock has an equal chance of going
up by £10, or down by £20, (completely independently of what the other stocks do). What is probability
that your combined stocks are worth less, at the end of the day, than what you paid for them?
Hint: Think about you how might represent the different combinations of stocks going up or down, and thus
what the resulting change in value is.
Solution: We could represent each possible outcome of stocks going up or down by a sequence of three
U’s and D’s, where, for example if the first stock goes up and the other two stocks go down, we would
write UDD. The possible outcomes are then
The total change of value of the stocks at the end of the day corresponding to each outcome is then
represented by the table.
Each of our outcomes are equally likely, so the probability that our stocks are worth less at the end of
the day is the number of negative outcomes divided by the total number of possible outcomes.
4 1
=
8 2
Solution:
Page 3
(b) One possibility might be:
“The lion saw the huge elephant.”
P1.8 You are interested in the weather over a working week: Monday, Tuesday, Wednesday, Thursday, Friday.
Each day, it is equally likely that it will be rainy or be sunny. You are given that there 32 different possible
rain and sun combinations across the working week. What is probability that it will rain on:
(a) Monday and Tuesday only;
(b) Monday and Tuesday;
Solution: We could represent each possible outcome for the weather over a working week by a sequence
of five R’s and S’s, where, for example if it was rainy on Monday and Tuesday but sunny on Wednesday,
Thursday and Friday, then we would write RRSSS. We are told in the question that there are 32 possible
sequences we could write like this, and we can see that each is equally likely (as sun and rain are equally
likely as each other).
(a) There is only one outcome where it rains on Monday and Tuesday only: RRSSS. So the probability
that it will rain on Monday and Tuesday only is 1/32.
(b) There are eight possible outcomes where it rains on Monday and Tuesday:
(c) We need a way to count the number of outcomes where it rains on exactly two days. Here’s one
way of doing this:
• There are 4 two-rainy-day outcomes for which the first rainy day is Monday: RRSSS, RSRSS,
RSSRS, RSSSR.
• There are 3 two-rainy-day outcomes for which the first rainy day is Tuesday: SRRSS, SRSRS,
SRSSR
• There are 2 two-rainy-day outcomes for which the first rainy day is Wednesday: SSRRS,
SSRSR
• There are 1 two-rainy-day outcomes for which the first rainy day is Thursday: SSSRR
• There are 0 two-rainy-day outcomes for which the first rainy day is Friday (if the first rainy
day is Friday, then there can only be one rainy day).
So the total number of outcomes that have rain on exactly two days is 4 + 3 + 2 + 1 + 0 = 10,
meaning the probability it rains on exactly two days is
10 5
=
32 16
Page 4
P1.9 Alice and Bob have cards with numbers on. Alice has three cards: 1, 3, and 4. Bob has four cards: 1, 2, 3,
and 5. They each pick one of their cards at random.
(a) What is the probability they both pick a 3?
(b) What is the probability they both pick odd numbers?
(c) What is the probability that the total of their two cards is at least 8?
(d) What is the probability that Bob’s card is higher than Alice’s card.
Solution: We can represent each of the possible outcomes as a pair of numbers (x, y), where x is the
number on Alice’s card and y is the number on Bob’s card, with each outcome being equally likely.
These outcomes are shown in the table below.
B 1 2 3 5
A
1 (1,1) (1,2) (1,3) (1,5)
3 (3,1) (3,2) (3,3) (3,5)
4 (4,1) (4,2) (4,3) (4,5)
(a) There is only one outcome where they both pick a 3: (3,3). So the probability they both pick a 3
is 1/12.
(b) There are six outcomes where they both pick odd numbers:
(c) There are only two outcomes where the total of the cards is at least 8: (3,5) and (4,5). Therefore,
the probability is
2 1
=
12 6
(d) There are five outcomes where Bob’s card is higher than Alice’s card: (1,2), (1,3), (1,5), (3,5), (4,5).
Therefore, the probability is 5/12.
Page 5
P1.10∗ Three coloured six-sided dice have different numbers on their faces. The numbers on the faces of each die
are as follows:
• Red die: 3, 3, 3, 3, 3, 6.
• Blue die: 2, 2, 2, 5, 5, 5.
• Yellow die: 1, 4, 4, 4, 4, 4.
You use these dice to play a game with a friend. Each player picks a die. The two dice are then rolled
together and whoever gets the highest value wins.
(a) i. What is the probability the red die beats the blue die?
ii. What is the probability the blue die beats the yellow die?
iii. What is the probability the yellow die beats the red die?
(b) When playing this game, is it better to choose your die first, or let your friend pick before you?
Solution: We shall represent each of the dice with letters according to their colours: R, B, and Y. The
table below shows the outcomes when each dice is rolled against each other, with the winner for each
outcome indicated, and all outcomes equally likely.
B 2 2 2 5 5 5
R
3 R R R B B B
3 R R R B B B
3 R R R B B B
3 R R R B B B
3 R R R B B B
6 R R R R R R
Y 1 4 4 4 4 4
B
2 B Y Y Y Y Y
2 B Y Y Y Y Y
2 B Y Y Y Y Y
5 B B B B B B
5 B B B B B B
5 B B B B B B
R 3 3 3 3 3 6
Y
1 R R R R R R
4 Y Y Y Y Y R
4 Y Y Y Y Y R
4 Y Y Y Y Y R
4 Y Y Y Y Y R
4 Y Y Y Y Y R
(a) i. From the first table, we can deduce that the probability the red die beats the blue die is
21 7
=
36 12
ii. From the second table, we can deduce that the probability the blue die beats the yellow die is
21 7
=
36 12
Page 6
iii. From the third table, we can deduce that the probability the yellow die beats the red die is
25
36
(b) It’s better to let your friend pick first – no matter what die they pick, you can pick one of the others
so that your chance of winning is more than 50%.
This exercise describes non-transitive dice, which you can read more about here: https://singingban
ana.com/dice/article.htm
P1.11 Suppose we have a sample space Ω = {1, 2, Red, 5.5, π, 7, 8, 9}. Let A = {2, 5.5, π}, B = {Red, π} and
C = {1, 15, 2}.
(a) Which of the sets A, B and C are events for Ω?
Solution:
B = Ω \ B = {1, 2, 5.5, 7, 8, 9}
Page 7
P1.12 Suppose we flip three coins, using the sample space
Solution:
P1.13 Suppose Ω = {1, 2, 3, 4, 5, 6, 7} and let A = {2, 3}. Find an event B such that Ac ∩ B = {1, 5, 6, 7}.
Solution: To help us get to what we’re aiming for, let’s first write down what Ac is.
AC = Ω \ A = {1, 4, 5, 6, 7}
• B is an event, i.e. B ⊆ Ω
• {1, 4, 5, 6, 7} ∩ B = {1, 5, 6, 7}
P1.14 Consider the following sample space with events A and B. On a Venn diagram:
(a) Indicate the region (A ∪ B)c .
Page 8
Solution:
(a) To indicate the region (A ∪ B)c , we should shade all regions of the Venn diaram that are not in the
region A ∪ B (in words, “not in (A or B)”).
(b) To indicate the region Ac ∩ B c , we should shade any region of the Venn diagram that is not inside
A, and not inside B.
(c) We notice that the two diagrams are the same! This tells us
(A ∪ B)c = Ac ∩ B c
P1.15 At a library, books can be either paperback or hardback, and either fiction or non-fiction. Out of a total of
50 000 books: 30 000 books are fiction books, 15 000 books are hardbacks. In addition, 25 000 of the fiction
books are paperbacks. As I always do, I select a book from the library at random for me to read. What is
the probability that the book I read is a non-fictional hardback? Hint: Depending on how you formulate
this problem, it may be helpful to use De Morgan’s Law (see Question P1.14).
Solution: Let A be the event that the book selected is fiction book, and let B be an event that the
book is a hardback. From the information in the question, we have
30 000 3
P (A) = =
50 000 5
15 000 3
P (B) = =
50 000 10
25 000 1
P (A ∩ B c ) = =
50 000 2
We are interested in the event that the randomly selected book is a non-fictional hardback – so this is
the event Ac ∩ B. By the inclusion-exclusion principle, we have
P (Ac ∪ B) = P (Ac ) + P (B) − P (Ac ∩ B) .
Page 9
Rearranging this gives
P (Ac ∩ B) = P (Ac ) + P (B) − P (Ac ∪ B) . (2)
c
We know that P (A ) = 1 − P (A) and, by applying De Morgan’s Law, we have that
Therefore, we can substitute these facts into (2) and use our known probabilities to find P (Ac ∩ B).
3 3 1 1
P (Ac ∩ B) = 1 − P (A) + P (B) − (1 − P (A ∩ B c ) = 1 − + − (1 − ) =
5 10 2 5
Note that this question can also be solved by using the known probabilities to find the region indicated
in the Venn diagram below – following that method might be more intuitive than the calculations given
above.
Page 10