Probability Lect Notes
Probability Lect Notes
Sample
Space
Event
Definition 1.1. (Terminology for an Experiment)
The sample space, S, (or probability space) of an experiment is the set of all
possible outcomes of the experiment.
Consider the experiment of tossing a fair die once. The outcomes are 1, 2, 3, 4, 5
and 6 and the sample space, S, is given by
S = {1, 2, 3, 4, 5, 6}.
E = {2, 4, 6}.
S
A B
S
B
A
A A
Note: A A and A A S.
Example 2.1.
Consider an experiment that involves tossing a fair die and let events A and B be
defined as follows:
A B ,
Example 2.2.
Suppose a card is drawn from the top of a deck of 52 poker cards (with the top faces
facing down), and events A and B are defined as follows:
A: A spade is drawn.
B: A red card is drawn.
Then A and B are mutually exclusive since there is no spade that is red.
number of outcomes in A n( A)
P A
total number of outcomes in the sample space, S n( S )
Example 3.1.
(a) obtaining a prime number in an experiment of throwing a fair die once, and
Solution:
n {2,3,5}
(a) P prime number
n {1, 2,3, 4,5, 6}
3 1
6 2
3 4
(b) P white or blue ball
3 2 4
7
9
Intuitively, the probability that an event occurs is the sum of the relative
frequencies at which all outcomes in the event occur.
Every event A is a subset of the sample space S, hence 0 ≤ n(A) ≤ n(S). Therefore,
0 n( A) n( S )
0 P( A) 1
n( S ) n( S ) n( S )
For two overlapping events A and B, when you add n(A) and n(B) together you will
count the overlap twice. Hence,
n( A B ) n( A) n( B) n( A B) A B
n( A B) n( A) n( B) n( A B)
n( S ) n( S ) n( S ) n( S )
P( A B) P( A) P( B) P( A B)
A B n A B 0 P( A B) 0
Following from the probability rule for combined events, for two mutually
exclusive events A and B,
P( A B) P( A) P( B)
since P( A B) 0.
Solution:
Let H and T denote the events that a head and a tail occurs for each throw
respectively. The outcomes can be represented by a table, as shown below.
1
(a) Since each of the four outcomes are equally likely, P({TT}) =
4
3
(b) P(at least one head occurs) = P({HH, HT, TH}) .
4
Alternatively,
P(at least one head occurs) = 1 – P(two tails occur) [complement event]
1 3
=1 .
4 4
Note: Similarly to the topic of Permutations & Combinations, the presence of the
phrase “at least” should prompt you to consider the complement.
Example 3.3.
Solution:
Let F and A denote the events that the student chosen is female and in a Performing
Arts CCA respectively.
4 3 7
(a) P A
20 20
11
(b) P F
20
2015 – 2016 / H2 Maths / Probability Page 6 of 20
National Junior College Mathematics Department 2016 (Teacher’s Version)
3
(c) P F A
20
(d) P F A P F P A P F A
(applying Probability Law for Combined Events)
11 7 3
20 20 20
3
4
9 4 1
(e) P F A
20 4
Required Probability P F A P F A
(since the events are mutually exclusive)
3 1
20 4
2
5
For Example 3.3, suppose that the teacher is taking the class
Let’s be
intellectually for the first time and has no idea which CCA each of his
curious! students is in. Is he more likely to pick a student in a
Performing Arts CCA if he randomly picks a boy, or if he
randomly picks a girl? Justify your answer clearly.
4
If he picks a boy, the probability that this boy is in a Performing Arts CCA = .
9
3
If he picks a girl, the probability that this girl is in a Performing Arts CCA = .
11
4 3
Since , he will have greater odds of picking a student in a Performing Arts
9 11
CCA if he picks a boy.
For an experiment with a finite uniform space, this is simply the proportion of
outcomes in A that are in B i.e.
n A B
P A| B
n B
Dividing both the numerator and denominator by n(S), the number of elements in
the sample space, we have the following useful formula:
n A B
n S
P A| B
n B
n S
P A B
P A| B
P B
P A B P A| B P B
and similarly
P A B P B| A P A
In a game, the game-master rolls a fair die once. The player, while being
blindfolded, is required to guess correctly if the number shown is “small” (1 or 2),
“medium” (3 or 4), or “large” (5 or 6), in order to win a prize.
The player guesses that the number is “small”. Find the probability that
(b) the player wins the prize, if the game-master had revealed to the player that
the number shown was not a factor of 5, before he made his guess,
(c) the number shown was not a factor of 5, if the player won the prize.
Solution:
For Example 4.1, suppose that you were the player and
Let’s be
intellectually before you made your guess, the game-master revealed to
curious! you that the number shown was not a factor of 5, (as he did
in part (b)), what would you have guessed, “small”,
“medium” or “large”?
In the graduating cohort of a particular junior college, 51% of the students take
Physics. 73% of all the Physics students in this cohort take Economics, while 39%
of all the students in the cohort take Economics but not Physics.
Find the probability that a randomly chosen student from this cohort
Solution:
Let A and B denote the events that a randomly chosen student from this cohort takes
Economics and Physics respectively.
P A B Notes:
(i) P A| B
P B
Since the cohort size
0.39 is not given, we
1 0.51 cannot use the idea
39 of reduced sample
or 0.79592 space, and so we
49
have to apply the
39
or 0.796 (to 3 s.f.) formula
49 P A B
P A| B
P B
(ii) P A B P A| B P B
(by the general multiplication rule for probability)
Leave all probability
0.73 0.51
values as fractions
0.3723 or decimals, not
S percentages.
A B
(iii) P A P A B P A B
0.3723 0.39 Venn diagrams can
0.39 0.3723 0.51 –
0.7623 be useful visual aids
0.3723
if the question
requires you to
(iv) P A B P A P B P A B consider various
combinations of
0.7623 0.51 0.3723 events i.e. unions,
0.9 intersections and
complements.
Alternatively, P A B P B P A B
0.51 0.39
0.9
Two events A and B are said to be independent if the probability that A occurs is
not affected by the occurrence of B i.e.
P A| B P A
Following from the general multiplication rule for probability, if A and B are
independent, then
P A B P A| B P B
P A B P A P B
Example 5.1.
Consider the game in Example 4.1. Let A, B, and C denote the following events.
Solution:
n A B Unlike mutual
(a) P A| B 1 3 5 B
n B exclusivity,
n 1 independence cannot be
2 4 6 visualised on a Venn
n 1,3,5 diagram.
1 A
P A To visualise
3
independence, notice
how the proportion of
Hence A and B are independent.
numbers that are
“small” remains the
Alternatively,
same even when the
sample space has been
n 1 1 “reduced” to only the
P A B
n 1, 2,3, 4,5, 6 6 odd numbers, as shown
in the diagram in part
1 1 1
P A P B P A B (a).
3 2 6
Notes:
P A| B P A P B| A P B
P A P A| B P A| B
In fact, if A and B are independent, then the following pairs of events must be
independent as well:
Aʹ and B
Aʹ and Bʹ
Example 6.1.
Two ordinary fair dice, one red and one blue, are each to be rolled once.
Events A, B and C are defined as follows.
(a) Find P B | C .
(b) Show that A and B are independent.
Solution:
6 1
(b) P B ,
36 6
n B A
P B| A
n A
2 1
P B
12 6
2 1
Alternatively, P A B , and
36 18
12 1 1
P A P B P A B .
36 6 18
Two teams A and B play a football match against each other. The probabilities
that each team scores 0, 1, 2 and 3 goals respectively are shown in the table
below:
Number of goals 0 1 2 3
Probability Team A 0.3 0.3 0.3 0.1
of scoring Team B 0.2 0.4 0.3 0.1
Alternatively, consider different cases without constructing table
Calculate the probability that A wins, assuming that the scoring for each team is
independent of each other.
Solution:
Summarising the probabilities that each team scores 0, 1, 2 and 3 goals each Note:
(simultaneously) in a table, The multiplication rule
for independent events,
Team A P A B P A P B ,
Team B 0 1 2 3 is used to obtain the
0.3 0.3 0.3 0.1 probability in each cell
0 0.2 0.06 0.06 0.06 0.02 since scorings for both
1 0.4 0.12 0.12 0.12 0.04 teams are independent.
2 0.3 0.09 0.09 0.09 0.03 The cells may be
3 0.1 0.03 0.03 0.03 0.01 thought of as outcomes
in a non-uniform
Hence P(A wins) sample space (in this
= 0.06 + 0.06 + 0.02 + 0.12 + 0.04 + 0.03 case).
= 0.33
Example 6.3.
Events A, B and C are such that A and B are independent, and A and C are mutually
exclusive. Given that P A 0.4, P B 0.2, P C 0.3 and P B C 0.1,
calculate
(i) P A B ,
(ii) P C|B ,
(iii) P B| A C .
Calculate the probability that exactly one of the two events B and C will occur.
A C
0.02
B
(i) P A B P A P B P A B
0.4 0.2 0.08 0.52
P C B
(ii) P C|B
P B
0.1
0.5
0.2
P B A C
(iii) P B| A C
P A C
P B A B C
P A C
0.18 9
0.7 35
F E F A
Multiply the
probabilities along
Eʹ the branches to get
Fʹ E F the end results.
[This follows from
the general
(i)(a) P F multiplication rule
0.6 0.05 0.4 0.07
for probability:
0.058 P A B
P B| A P A .]
P E F
(i)(b) P E | F To answer any
P F
question, find the
0.6 0.05 relevant end results.
0.058 If more than one
15 satisfy the
or 0.51724 requirements, add
29 these end results
15 together.
= or 0.517 (to 3 s.f.)
29
1st lens is made from A & is faulty 2nd lens is made from A & is NOT faulty Permutation btw the 2 lens
0.31298
0.313 (to 3 s.f.)
Example 6.5.
Two players A and B play a game by throwing a fair die alternately until one of
them throws a 6 to win. If A begins, find the probability that (i) A wins, (ii) B
wins.
Solution:
win
A
win
lose
B win
lose A
lose
1 5 5 1 5 5 5 5 1 This is an example of a
(i) P A wins
6 6 6 6 6 6 6 6 6 problem involving the
2 4 sum to infinity of a
1 5 5 geometric series.
1 ...
6 6 6
1 1
2
6 1 5
6
6
11
Example 6.6.
Three cards are drawn at random from a pack of 52 cards. Find the probability
that exactly two cards are aces. [Order is not important]
Solution:
no. of ways of drawing 2 aces and 1 other card
P(exactly two cards are aces)
no. of ways of drawing 3 out of 52 cards
4 48
2 1 72
=
52 5525
3
Example 6.7.
A class comprises 21 students consisting of 6 boys and 15 girls. 3 of the boys and
7 of the girls wear glasses. 3 students are chosen at random from the class. Find the
probability that
(i) they all wear glasses;
(ii) exactly two wear glasses;
(iii) they are all girls and at least one wear glasses;
(iv) at least one wear glasses, given that they are all girls;
(v) they all wear glasses, given that at least one wear glasses;
Solution:
10
3
(i) P(all wear glasses)
21
3
120 12
1330 133
10 11
2 1
(ii) P(exactly 2 wear glasses)
21
3
495 99
1330 266
(iv) P(at least one wear glasses | they are all girls)
3
P(all girls and at least one wear glasses) 10 57
P(all are girls) 15 65
3
21
3
Alternatively, P(at least one wear glasses | they are all girls)
no. of ways to choose 3 girls and at least one of them wear glasses)
no. of ways to choose 3 girls
15 8
3 3 57
15 65
3
Example 6.8.
A group of fifteen people consists of one pair of sisters, one set of three brothers
and ten other people. The fifteen people are arranged randomly in a line. Find the
probability that
(v) Find the probability that the sisters are next to each other.
[N2012/II/7]
Solution:
14!2!
(i) P(sisters are next to each other)
15!
2
15
(ii) P(brothers are not all next to one another) Beware of the
1 P(brothers are all next to one another) difference between “not
13!3! all…” (which means not
1
15! together) and “all
34 not…” (which means
separated)
35
(iii) P(sisters are next to each other and the brothers are all next to one another)
12!2!3!
15!
2
455
(iv) P(sisters are next to each other or the brothers are all next to one another)
2 13!3! 2
15 15! 455
43
273
(14 1)!2!
(v) P(sisters are next to each other)
(15 1)!
1
7
2015 – 2016 / H2 Maths / Probability Page 20 of 20