Professional Documents
Culture Documents
Ms Nurazrin Jupri
Ms Nurazrin Jupri
What is probability?
• A probability is the chance that something will
happen.
• Eg:
▫ (a) I am 100% confidence that I will pass the
exam.
▫ (b) About 50% of the staff are not satisfied with
their salary.
▫ (c) The chance for you to win this battle is very
low.
Ms Nurazrin Jupri
Experiment
Outcomes
Example 1
• List the sample space for the following
experiment. An experiment of
▫ Tossing two coins
▫ Tossing three coins
For each of the experiment above, show the
presentation of outcomes in table and tree
diagram
Ms Nurazrin Jupri
By tree diagram
H ……… HH
H T ……… HT
T H ……… TH
T ……… TT
𝑆 = 𝐻𝐻, 𝐻𝑇, 𝑇𝐻, 𝑇𝑇
Ms Nurazrin Jupri
Coin 1 H H H H T T T T
Coin 2 H H T T H H T T
Coin 3 H T H T H T H T
By tree diagram
H ……… HHH
H T ……… HHT
H T H ……… HTH
T ……… HTT
T H H ……… THH
T T ……… THT
H ……… TTH
T ……… TTT
𝑆 = 𝐻𝐻𝐻, 𝐻𝐻𝑇, 𝐻𝑇𝐻, 𝐻𝑇𝑇, 𝑇𝐻𝐻, 𝑇𝐻𝑇, 𝑇𝑇𝐻, 𝑇𝑇𝑇
Ms Nurazrin Jupri
Event
Complement
• The complement of an event A with respect to S
is the subset of all elements of S that are not in
A.
• The complement of A denoted by symbol A’
s
𝑆 = 𝐴 ∪ 𝐴′
Venn diagram
Ms Nurazrin Jupri
Example 2
• Let
𝑆 = 𝐴𝑙𝑔𝑒𝑏𝑟𝑎, 𝐶𝑎𝑙𝑐𝑢𝑙𝑢𝑠, 𝑆𝑡𝑎𝑡𝑖𝑠𝑡𝑖𝑐𝑠, 𝐸𝑞𝑢𝑎𝑡𝑖𝑜𝑛𝑠
and A = 𝐴𝑙𝑔𝑒𝑏𝑟𝑎, 𝐶𝑎𝑙𝑐𝑢𝑙𝑢𝑠 . Find A’
𝐴′ = 𝑆𝑡𝑎𝑡𝑖𝑠𝑡𝑖𝑐𝑠, 𝐸𝑞𝑢𝑎𝑡𝑖𝑜𝑛𝑠
Ms Nurazrin Jupri
Intersection
• The intersection of two events A and B, denoted
by symbol 𝐴 ∩ 𝐵.
• The event containing all elements that are
common to A and B
Ms Nurazrin Jupri
Example 3
• Given 𝑆 = 1, 2,3,4,5,6,7,8,9,10 , A = 2,4,6,8,10
and B = 2,3,5,7 . Find 𝐴 ∩ 𝐵
S
.1
.6 .3
.7
.2
.8 .10
.5
.4 𝐴∩𝐵 = 2
.9
Ms Nurazrin Jupri
Mutually exclusive
• Two events A and B are mutually exclusive,
if 𝐴 ∩ 𝐵 ≠ ∅
• A and B have no elements that are common
• (a) I am female and I am male. – Impossible!
(b) I am 6 years old and I am 25 years old. –
Impossible!
Ms Nurazrin Jupri
Example 4
• Given 𝑆 = 1, 2,3,4,5,6,7,8 , A = 2,4,6 and
B = 1,3,5 . Are A and B mutually exclusive?
.8 S
.6 .3 .1
.2 .7
.5
.4 𝐴∩𝐵 =∅
Ms Nurazrin Jupri
Union
• The union of the two events A and B, denoted by
the symbol 𝐴 ∪ 𝐵
• Is the event containing all the elements belong to
A or B or both.
S
𝐴∪𝐵
Ms Nurazrin Jupri
Example 5
• Given 𝑆 = 1, 2,3,4,5,6,7,8,9,10 , A = 2,4,6,8,10
and B = 2,3,5,7 . Find 𝐴 ∪ 𝐵 and n 𝐴 ∪ 𝐵 .
S
.1
.6 .3 𝐴 ∪ 𝐵 = 2,3,4,5,6,7,8,10
.7
.2
.8 .10
.4
.5 𝑛(𝐴 ∪ 𝐵) = 8
.9
Ms Nurazrin Jupri
Probability of an Event
𝑛(𝐴)
𝑃 𝐴 =
𝑛(𝑆)
Where:
• n(A) = the number of outcomes in event set A
• n(S) = sample space (All possible outcome)
Ms Nurazrin Jupri
Properties of Probability
1. 0 ≤ 𝑃 𝐴 ≤ 1
2. 𝑃 𝑆 = 1
3. 𝑃 ∅ = 0
Ms Nurazrin Jupri
Example 6
• A pair of coins is tossed. Find the probability of
getting
a) Two heads
b) One tail and one head
c) No head
Let H=head, T=tail
𝑆 = 𝐻𝐻, 𝐻𝑇, 𝑇𝐻, 𝑇𝑇 and n 𝑆 = 4
1
a) Let A = 𝐻𝐻 and n 𝐴 = 1, thus 𝑃 𝐴 = 4
2 1
b) Let B = 𝐻𝑇, 𝑇𝐻 and n 𝐵 = 2, thus 𝑃 𝐵 = =2
4
1
c) Let C = 𝑇𝑇 and n 𝐶 = 1, thus 𝑃 𝐶 = 4
Ms Nurazrin Jupri
Example 7
• A mixture of candies contains 6 mints, 4 toffees and 3
chocolates. If a person makes a random selection of one
of these candies, find the probability of getting
a) A mint
b) A toffee or a chocolate
6
a) Since there are 6 mint candies n 𝑀 = 6, thus 𝑃 𝑀 = 13
b) Since there are 7 candies are toffee or chocolate n 𝑇 ∪ 𝐶 = 7, thus
7
𝑃 𝑇 ∪ 𝐶 = 13
Example 8 Ms Nurazrin Jupri
a) P 2 yellow balls = P YY
4 4 4
= 10 × 10 = 25
a) P 2 balls 𝑤𝑖𝑡ℎ 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑡 𝑐𝑜𝑙𝑜𝑟𝑠 = P Y𝐵 ∪ 𝐵𝑌
4 6 6 4 12
= 10 × 10 + × = 25
10 10
a) P at least one yellow ball = P Y𝐵 ∪ 𝐵𝑌 ∪ 𝑌𝑌
4 6 6 4 4 4 16
= 10 × 10 + 10 × 10 + × = 25
10 10
Ms Nurazrin Jupri
Complementary Events
• If A and A’ are complementary events, then
𝑃 𝐴 + 𝑃 𝐴′ = 1
Example 9
• The probability that Pahang will win the badminton
tournament is 5/7. Find the probability that Pahang will
lose?
5 5 2
Given 𝑃 𝑤𝑖𝑛𝑠 = 7 , thus 𝑃 𝑙𝑜𝑠𝑒𝑠 = 1 − 7 = 7
Ms Nurazrin Jupri
Exercise 1
1. What is probability of getting a number 4 with the rolling of
a single die? Hence find the probability of not getting a
number 4.
Form 1 2 3 4 5
No. of students 40 80 70 60 50
Exercise 1 (cont.)
3. The test marks for mathematics in a class are recorded as
shown below:
Probability of Events
Additive Rule
• For two events A and B,
𝑃 𝐴 ∪ 𝐵 = 𝑃 𝐴 + 𝑃 𝐵 − 𝑃(𝐴 ∩ 𝐵)
2
• The probability of Sarah passes Mathematics is , and
3
8
the probability that she passes English is . If the
9
3
probability of passing both subjects is , what is the
4
probability that Sarah will pass at least one of these
subjects?
𝑃 𝑀∪𝐸 =𝑃 𝑀 +𝑃 𝐸 −𝑃 𝑀∩𝐸
2 8 3 29
= 3 + 9 − 4 = 36
Ms Nurazrin Jupri
𝑃 𝐵∪𝐻 =𝑃 𝐵 +𝑃 𝐻 −𝑃 𝑀∩𝐸
1 1 1
=4+4−0=2
Ms Nurazrin Jupri
Exercise 2
1. John and Owen applied for a scholarship and only one student will be
awarded the scholarship. If the probability for John to be awarded the
scholarship is 0.3 and that for Owen is 0.4, what is the probability that,
either John or Owen to win the scholarship?
2. In the senior year of high school graduating class of 100 students, 42
studied Mathematics, 68 studied Psychology, 54 studied History, 22
studied both Mathematics and History, 25 studied both Mathematics and
Psychology, 7 studied History but neither mathematics nor Psychology,
10 studied all three subjects and 8 did not take any of the three.
Draw the Venn diagram
If a student is selected at random, find the probability that a person not taking
Psychology is taking both History and Mathematics.
Ms Nurazrin Jupri
Exercise 2 (cont,)
3. Find the probability of drawing a single card
with either a ‘7’ or a ‘heart’ from a pack of 52
playing cards.
Ms Nurazrin Jupri
Conditional Probability
Example 12
𝑃(𝐴∩𝐷) 0.78
a) 𝑃 𝐴 𝐷 = 𝑃(𝐷)
= 0.83 = 0.94
𝑃(𝐷∩𝐴) 0.78
b) 𝑃 𝐷 𝐴 = 𝑃(𝐴)
= 0.82 = 0.95
Ms Nurazrin Jupri
Probability of Events
Multiplicative Rule
• For dependent events A and B,
𝑃 𝐴 ∩ 𝐵 = 𝑃 𝐴 .𝑃 𝐵 𝐴
Example 13
a) 𝑃 𝑅 ∩ 𝑊 = 𝑃 𝑅 . 𝑃 𝑊 𝑅
7 3 7
= 10 × 9 = 30
a) 𝑃 𝑅 ∩ 𝑊 = 𝑃 𝑅 . 𝑃 𝑊 𝑅
7 3 21
= 10 × 10 = 100
Ms Nurazrin Jupri
Exercise 3
1. A jar contains black and white marbles. Two marbles are chosen
without replacement. The probability of selecting a black marble
and then a white marble is 0.34, and the probability of selecting a
black marble on the first draw is 0.47. What is the probability of
selecting a white marble on the second draw, given that the first
marble drawn was black?
2. Two cards are drawn one after another from a pack of 52 playing
cards. The first card is replaced before drawing the second card.
What is the probability of getting a ‘king’ in the second card?
Ms Nurazrin Jupri
Exercise 3 (cont.)
3. There are 4 red pens and 5 blue pens in a box. Two pens are to
be withdrawn one after another successively. However, the first
pen drawn is replaced. What is the probability of drawing:
a) the first pen is red and the second pen is blue?
b) one red pen and one blue pen?
4. A bag contains 3 red balls and 4 blue balls. One ball is
withdrawn, the color noted and the ball is not replaced. A
second ball is then withdrawn. What is the probability that the
second ball is red?
Ms Nurazrin Jupri