Probability Chapter 4
Probability Chapter 4
Contents
1 Introduction 4
2.1 Experiment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.3 Outcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.5 Event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3 Probability of an Event 6
1
A-Level Statistics Probability Lecture Note
8 Conditional Probability 11
10 Probability Trees 12
11 Odds 13
11.1 Meaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2
A-Level Statistics Probability Lecture Note
13 Exercises 14
14 Answers to Exercises 16
15 Bayes’ Rule 19
15.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
15.9 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
15.10Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3
A-Level Statistics Probability Lecture Note
1. Probability
Probability is the branch of statistics and mathematics that deals with chance and un-
certainty. It helps us measure how likely an event is to occur. In real life, probability is
used in weather forecasting, insurance, medicine, games, finance, and decision-making.
Experiment
An experiment is any process or action that leads to one or more possible outcomes.
Examples:
• Tossing a coin
• Rolling a die
Random Experiment
A random experiment is an experiment for which the exact outcome cannot be predicted
with certainty in advance, even though all possible outcomes are known.
Examples:
Outcome
Sample Space
The sample space is the set of all possible outcomes of a random experiment. It is usually
denoted by S.
4
A-Level Statistics Probability Lecture Note
Event
An event is a set of outcomes from the sample space. It is usually denoted by capital
letters such as A, B, or E.
A = {2, 4, 6}
Simple Event
Example:
A = {3}
Compound Event
Example:
B = {2, 4, 6}
Certain Event
P (S) = 1
Impossible Event
P (∅) = 0
5
A-Level Statistics Probability Lecture Note
Events are equally likely if each outcome has the same chance of occurring.
Two events are mutually exclusive if they cannot occur at the same time.
Example: When one die is rolled, getting an odd number and getting an even number
are mutually exclusive.
Independent Events
Two events are independent if the occurrence of one does not affect the occurrence of the
other.
If all outcomes are equally likely, then the probability of an event A is:
• 0 ≤ P (A) ≤ 1
• P (S) = 1
• P (∅) = 0
(a) a 4
6
A-Level Statistics Probability Lecture Note
Solution
Sample space:
S = {1, 2, 3, 4, 5, 6}
1
P (A) =
6
(b) Event B = {2, 4, 6}
3 1
P (B) = =
6 2
(c) Event C = {5, 6}
2 1
P (C) = =
6 3
1
P (H) =
2
Experimental Probability
Worked Example 2
A coin is tossed 50 times and head occurs 28 times. Find the experimental probability
of getting a head.
7
A-Level Statistics Probability Lecture Note
Solution
28 14
P (H) = = = 0.56
50 25
The complement of an event A, written as Ac , is the event that A does not occur.
P (Ac ) = 1 − P (A)
Worked Example 3
Solution
Let A = {5}
1
P (A) =
6
Therefore,
1 5
P (Ac ) = 1 − =
6 6
P (A ∪ B) = P (A) + P (B)
Worked Example 4
Solution
Let:
A = {2}, B = {5}
8
A-Level Statistics Probability Lecture Note
1 1 2 1
P (A ∪ B) = P (A) + P (B) = + = =
6 6 6 3
P (A ∪ B) = P (A) + P (B) − P (A ∩ B)
Worked Example 5
Solution
22 18 10
P (E) = , P (G) = , P (E ∩ G) =
40 40 40
P (E ∪ G) = P (E) + P (G) − P (E ∩ G)
22 18 10 30 3
= + − = =
40 40 40 40 4
P (A ∩ B) = P (A) × P (B)
Worked Example 6
A coin is tossed and a die is rolled. Find the probability of getting a head and a 4.
9
A-Level Statistics Probability Lecture Note
Solution
1 1
P (H) = , P (4) =
2 6
1 1 1
P (H ∩ 4) = × =
2 6 12
P (A ∩ B) = P (A) × P (B|A)
where P (B|A) means the probability of B given that A has already occurred.
Worked Example 7
A bag contains 5 red balls and 3 blue balls. Two balls are drawn one after the other
without replacement. Find the probability that both are red.
Solution
4
P (R2 |R1 ) =
7
Therefore,
5 4 20 5
P (R1 ∩ R2 ) = × = =
8 7 56 14
P (A ∩ B)
P (A|B) = , P (B) ̸= 0
P (B)
10
A-Level Statistics Probability Lecture Note
Worked Example 8
In a class, 30 students play football, 20 play basketball, and 12 play both games. Find
the probability that a student plays football given that the student plays basketball.
Solution
P (F ∩ B)
P (F |B) =
P (B)
12 3
= =
20 5
Venn diagrams are used to show relationships between sets and events.
Worked Example 9
In a group of 50 students:
• 28 study Mathematics
• 20 study Physics
Find:
(c) the number who study at least one of the two subjects
Solution
11
A-Level Statistics Probability Lecture Note
(d) Neither:
50 − 40 = 10
Tree diagrams are useful for showing successive events, especially where outcomes occur
in stages.
Worked Example 10
A bag contains 2 white balls and 3 black balls. Two balls are drawn without replacement.
Find the probability of drawing:
Solution
(a)
2 1
P (W1 ) = , P (W2 |W1 ) =
5 4
2 1 1
P (W1 ∩ W2 ) = × =
5 4 10
(b)
2 3
P (W1 ) = , P (B2 |W1 ) =
5 4
2 3 3
P (W1 ∩ B2 ) = × =
5 4 10
12
A-Level Statistics Probability Lecture Note
1.10 Odds
1.11 Meaning
Odds in favour of an event compare the number of favourable outcomes to the number
of unfavourable outcomes.
P (A)
Odds in favour of A =
P (Ac )
Worked Example 11
A box contains 7 good bulbs and 3 defective bulbs. Find the odds in favour of selecting
a good bulb.
Solution
Concept Formula
favourable outcomes
Probability of an event P (A) =
total outcomes
Complement rule P (Ac ) = 1 − P (A)
Addition rule (mutually ex- P (A ∪ B) = P (A) + P (B)
clusive)
Addition rule (general) P (A ∪ B) = P (A) + P (B) − P (A ∩ B)
Multiplication rule (inde- P (A ∩ B) = P (A) × P (B)
pendent)
P (A ∩ B)
Conditional probability P (A|B) =
P (B)
Dependent multiplication P (A ∩ B) = P (A) × P (B|A)
rule
13
A-Level Statistics Probability Lecture Note
Exercises
Exercise 1
Exercise 2
Exercise 3
A bag contains 4 red balls, 5 green balls, and 3 blue balls. One ball is chosen at random.
Find the probability that it is:
(a) red
Exercise 4
In a school of 60 students, 35 offer Biology, 25 offer Chemistry, and 10 offer both subjects.
Find:
(a) the probability that a student chosen at random offers Biology or Chemistry
14
A-Level Statistics Probability Lecture Note
Exercise 5
Exercise 6
A bag contains 6 white balls and 4 black balls. Two balls are drawn without replacement.
Find the probability that:
Exercise 7
In a survey of 80 students, 45 like football, 30 like basketball, and 15 like both. Find:
Exercise 8
A box contains 9 working batteries and 1 faulty battery. Find the odds:
Exercise 9
A class contains 24 boys and 16 girls. A student is selected at random. Find the proba-
bility that the student is:
15
A-Level Statistics Probability Lecture Note
(a) a boy
(b) a girl
Exercise 10
2. Answers to Exercises
Exercise 1
(a) S = {H, T }
(b) {H}
1
(c)
2
Exercise 2
3 1
(a) =
6 2
3 1
(b) Prime numbers are 2, 3, 5, so =
6 2
2 1
(c) Numbers less than 3 are 1, 2, so =
6 3
Exercise 3
Total balls:
4 + 5 + 3 = 12
4 1
(a) =
12 3
9 3
(b) =
12 4
16
A-Level Statistics Probability Lecture Note
5+3 8 2
(c) = =
12 12 3
Exercise 4
n(B ∪ C) = 35 + 25 − 10 = 50
50 5
(a) =
60 6
(b) 60 − 50 = 10
Exercise 5
(a)
1 3 3 1
× = =
2 6 12 4
(b)
1 2 2 1
× = =
2 6 12 6
Exercise 6
(a)
6 5 30 1
× = =
10 9 90 3
(b)
4 6 24 4
× = =
10 9 90 15
Exercise 7
(a) 45 − 15 = 30
(b) 30 − 15 = 15
(c) 45 + 30 − 15 = 60
(d) 80 − 60 = 20
Exercise 8
17
A-Level Statistics Probability Lecture Note
Exercise 9
Total students:
24 + 16 = 40
24 3
(a) =
40 5
16 2
(b) =
40 5
24 3
(c) =
40 5
Exercise 10
(a)
1 1 1
× =
6 6 36
(b) Probability of at least one 6:
3. Bayes’ Rule
3.1 Introduction
Bayes’ Rule is a fundamental concept in probability theory used to determine the prob-
ability of an event based on prior knowledge of related conditions. It is especially useful
when information becomes available and an existing probability needs to be updated. In
many practical situations, Bayes’ Rule helps to reverse conditional probabilities.
• What is the probability that a student came from a particular class, given that the
student passed an examination?
• What is the probability that a machine produced a defective item, given that the
selected item is defective?
18
A-Level Statistics Probability Lecture Note
• What is the probability that a person has a disease, given that the test result is
positive?
Thus, Bayes’ Rule is a method of revising probabilities in the light of new evidence.
P (A ∩ B)
P (A|B) = , P (B) > 0.
P (B)
P (A ∩ B)
P (B|A) = , P (A) > 0.
P (A)
P (A ∩ B) = P (A|B)P (B)
and also
P (A ∩ B) = P (B|A)P (A).
Hence,
P (B|A)P (A)
P (A|B) = .
P (B)
19
A-Level Statistics Probability Lecture Note
P (B|A)P (A)
P (A|B) = ,
P (B)
where:
A1 ∪ A2 ∪ · · · ∪ An = S.
P (B|Ak )P (Ak )
P (Ak |B) = Pn .
i=1 P (B|Ai )P (Ai )
This form is very useful when an event B may arise from several possible sources.
To solve problems involving Bayes’ Rule, the following steps are usually followed:
20
A-Level Statistics Probability Lecture Note
One student is selected at random from the whole school. If the selected student is a girl,
find the probability that she came from Class A.
Solution Let
A = event that the student is from Class A,
Then
30 3 20 2
P (A) = = , P (Ac ) = = .
50 5 50 5
Also,
18 3
P (G|A) = = ,
30 5
8 2
P (G|Ac ) = = .
20 5
By Bayes’ Rule,
P (G|A)P (A)
P (A|G) = .
P (G|A)P (A) + P (G|Ac )P (Ac )
Substituting,
3 3
P (A|G) = 3
3
5 5
2
2
.
5 5
+ 5 5
9/25 9/25 9
P (A|G) = = = .
9/25 + 4/25 13/25 13
Therefore,
9
P (A|G) = .
13
21
A-Level Statistics Probability Lecture Note
A factory has three machines M1 , M2 , and M3 producing 20%, 30%, and 50% of the total
items respectively. The percentages of defective items from the machines are:
• M1 : 4%
• M2 : 3%
• M3 : 2%
If an item is selected at random and found to be defective, find the probability that it
was produced by M2 .
Given,
P (M1 ) = 0.20, P (M2 ) = 0.30, P (M3 ) = 0.50,
We need to find
P (M2 |D).
Thus,
P (D) = (0.04)(0.20) + (0.03)(0.30) + (0.02)(0.50).
P (D|M2 )P (M2 )
P (M2 |D) = .
P (D)
(0.03)(0.30) 0.009 1
P (M2 |D) = = = .
0.027 0.027 3
Therefore,
22
A-Level Statistics Probability Lecture Note
1
P (M2 |D) = .
3
A disease affects 2% of a population. A test for the disease gives a positive result with
probability 0.95 if a person has the disease, and with probability 0.08 if a person does not
have the disease. If a person tests positive, find the probability that the person actually
has the disease.
Solution Let
D = event that the person has the disease,
Given,
P (D) = 0.02, P (Dc ) = 0.98,
P (P |D)P (D)
P (D|P ) = .
P (P |D)P (D) + P (P |Dc )P (Dc )
Substituting,
(0.95)(0.02)
P (D|P ) = .
(0.95)(0.02) + (0.08)(0.98)
0.019 0.019
P (D|P ) = = ≈ 0.1951.
0.019 + 0.0784 0.0974
Therefore,
P (D|P ) ≈ 0.1951 .
This means that even after a positive test result, the probability that the person actually
has the disease is about 19.51%.
23
A-Level Statistics Probability Lecture Note
An urn is chosen at random and one ball is drawn. If the ball drawn is white, find the
probability that it came from Urn II.
Solution Let
U1 = event that Urn I is selected,
1
P (U1 ) = P (U2 ) = .
2
Also,
4 2
P (W |U1 ) = = ,
10 5
7
P (W |U2 ) = .
10
We require
P (U2 |W ).
By Bayes’ Rule,
P (W |U2 )P (U2 )
P (U2 |W ) = .
P (W |U1 )P (U1 ) + P (W |U2 )P (U2 )
Substituting,
7 1
P (U2 |W ) = 2
1
10 2
7 1
.
5 2
+ 10 2
7/20 7/20 7
P (U2 |W ) = = = .
4/20 + 7/20 11/20 11
24
A-Level Statistics Probability Lecture Note
Therefore,
7
P (U2 |W ) = .
11
Bayes’ Rule provides a systematic way of updating probabilities once new information is
obtained. It shows that the probability of a cause after observing evidence depends on:
This principle is widely applied in medicine, education, finance, engineering, and machine
learning.
• assuming that a high test accuracy automatically means a high posterior probability.
3.9 Summary
P (B|A)P (A)
P (A|B) = .
P (B)
25
A-Level Statistics Probability Lecture Note
P (B|Ak )P (Ak )
P (Ak |B) = Pn .
i=1 P (B|Ai )P (Ai )
3.10 Exercises
1. A box contains two types of bulbs. Type A bulbs constitute 60% of the bulbs and
have a defect rate of 4%. Type B bulbs constitute 40% of the bulbs and have a
defect rate of 7%. If a bulb selected at random is defective, find the probability
that it is a Type B bulb.
3. Two bags are available. Bag I contains 5 white balls and 3 black balls, while Bag
II contains 4 white balls and 6 black balls. One bag is selected at random and one
ball is drawn. If the ball drawn is white, find the probability that it came from Bag
I.
4. A school has two sections. Section A has 40 students, of whom 24 are boys. Section
B has 30 students, of whom 12 are boys. If a student chosen at random is a boy,
find the probability that he is from Section A.
26