Lesson 5 Probability
Lesson 5 Probability
Lesson 5 Probability
Examples:
Sample Space
A set S that consists of all possible outcomes of a random
experiment is called a sample space, and each outcome is
called a sample point.
Example 1:
✓ Tossing a coin
𝑆 = {𝐻, 𝑇}
Example 2: Example 3:
(1, 1), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6),
(2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6),
(3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6),
S=
(4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6),
(5, 1), (5, 2), (5, 3), (5, 4), (5, 5), (5, 6),
(6, 1), (6, 2), (6, 3), (6, 4), (6, 5), (6, 6)
Event
An event is a subset of the sample space S. It is a set of possible
outcomes.
An event consisting of a single point of S is often called a
simple or elementary event.
From Example 5:
(a) “the sum of the dots is 6”
𝐸1 = {(1, 5), (2, 4), (3, 3), (4, 2), (5, 1)}
(b) “the result of the 1st roll is the same as the 2nd”
𝐸2 = {(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6)}
Example:
Referring to the experiment of tossing a coin twice.
Let A be the event “at least one head occurs” and
let B be the event “the 2nd toss results in a tail”
Sample Space:
S = {HHH, HHT, HTH, HTT, THH, THT, TTH, TTT}
Some events:
A = {at least two heads will occur}
A = {HHH, HHT, HTH, THH}
1. Classical probability
2. Empirical or relative frequency probability
3. Subjective probability
Classical Probability
𝒎
𝑷 𝑬 =
𝒏
S = {1, 2, 3, 4, 5, 6}
10 2 15 3
a) P(black) = = d) P(not black) = =
25 5 25 5
7 18
b) P(red) = e) P(not red) =
25 25
8 17
c) P(blue) = f) P(not blue) =
25 25
Probability Rule #1
The probability of any event E is a number (either a fraction or decimal)
between and including 0 and 1. This is denoted by 0 ≤ 𝑃(𝐸) ≤ 1.
Probability Rule #2
If an event E cannot occur (i.e., the event contains no members in the
sample space), its probability is 0.
Probability Rule #3
If an event E is certain, then the probability of E is 1.
Probability Rule #4
The sum of the probabilities of all the outcomes in the sample space is 1..
Rule for Complementary Events
𝑃 𝐸 ′ = 1 − 𝑃 𝐸 𝑜𝑟 𝑃(𝐸) = 1 − 𝑃 𝐸 ′ 𝑜𝑟 𝑃 𝐸 + 𝑃 𝐸 ′ = 1
𝒇
𝑷 𝑬 =
𝒏
Example:
A researcher asked 25 people if they liked the taste of a new soft
drink. The responses were classified as “yes,” “no,” or “undecided.”
The results were categorized in a frequency distribution, as shown
Example:
Examples:
When a single die is rolled,
(a) getting an odd number and getting an even number
Addition Rule #1
The probability of k mutually exclusive events to occur is the sum
of the probability of individual events. That is,
𝑷 𝑨𝟏 ∪ 𝑨𝟐 ∪ 𝑨𝟑 ∪ ⋯ ∪ 𝑨𝒌 = 𝐏 𝑨𝟏 + 𝐏 𝑨𝟐 + 𝐏 𝑨𝟑 +…+ 𝐏 𝑨𝒌
𝑃 𝐴1 𝑜𝑟𝐴2 𝑜𝑟𝐴3 𝑜𝑟 … 𝑜𝑟𝐴𝑘 = P 𝐴1 + P 𝐴2 + P 𝐴3 +…+ P 𝐴𝑘
Example:
𝑃 𝐴1 ∪ 𝐴2 = 𝑃 𝐴1 + 𝑃 𝐴2
1 1
𝑃(𝐻 𝑜𝑟 𝑇) = + = 𝟏
2 2
Example:
Find the probability of getting “4” or “5” as the sum results in casting a
pair of dice.
(1, 1), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), P(4 𝑜𝑟 5) = P(4 ∪ 5)
(2, 1), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6),
(3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6), = 𝑃 4 + 𝑃(5)
S=
(4, 1), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6), = +
3 4
36 36
(5, 1), (5, 2), (5, 3), (5, 4), (5, 5), (5, 6),
𝟕
(6, 1), (6, 2), (6, 3), (6, 4), (6, 5), (6, 6) P(4 𝑜𝑟 5) =
𝟑𝟔
3
Let "4" be the event of getting a sum of 4: P(4) =
36
4
Let "5" be the event of getting a sum of 5: P(5) =
36
Non-Mutually Exclusive Events:
Non-mutually exclusive events are events that have at least one
common element or point of intersection.
Example:
4♥
In a random experiment 3♥ J♥
wherein we draw a card 2♥ K♦
5♥ 6♥
from a standard deck of A♥
7♥ Q♥
K♥ K♣
cards, we have drawing a
heart as Event A and 8♥ K♠
9♥ 10♥
drawing a king as event B.
Event A Event B
Addition Rule #2
The probability of non mutually exclusive events can be found
using the formula
𝑷 𝑨∪𝑩 =𝐏 𝑨 +𝐏 𝑩 −𝐏 𝑨∩𝑩
𝑃 𝐴𝑜𝑟𝐵 = P 𝐴 + 𝑃 𝐵 − 𝑃 𝐴 ∩ 𝐵
13 P(𝐻 𝑜𝑟 𝐾) = P(𝐻 ∪ 𝐾)
P H =
52
=P 𝐻 +P 𝐾 −P 𝐻∩𝐾
4
P K = 13 4 1
52 = + −
52 52 52
1
P(𝐻 ∩ 𝐾) = 16 𝟒
52 P(𝐻 𝑜𝑟 𝐾) = =
52 𝟏𝟑
Example:
3
P O = P(𝑂 𝑜𝑟𝐺) = P(𝑂 ∪ 𝐺)
6
= P 𝑂 + P(𝐺) − P 𝑂 ∩ 𝐺
3
P G = 3 3 1
6 = + −
6 6 6
1
P(𝑂 ∩ G) = 𝟓
6 P(𝐻 𝑜𝑟 𝐾) =
𝟔
Example:
13
P S = P(𝑆 𝑜𝑟 𝐹) = P(S ∪ 𝐹)
52
= P 𝑆 + P(𝐹) − P 𝑆 ∩ 𝐹
12
P F = 13 12 3
52 = + −
52 52 52
3
P(𝑆 ∩ F) = 22 𝟏𝟏
52 P 𝑆 𝑜𝑟 𝐹 = =
52 𝟐𝟔
Multiplication Rule
The multiplication rules can be used to find the probability of two or
more events that occur in sequence.
Examples:
✓ One can find the probability of getting a head and a 4 if a coin is
tossed and then a die is rolled.
✓ Rolling a die and getting a 6, and then rolling a second and getting a 3
✓ Drawing a card from a deck and getting a queen, replacing it, and
drawing a second card and getting a queen.
✓ Drawing a card from a deck and getting a queen and drawing a
second card and getting a queen without replacing the first card.
Two events A and B are independent events if the fact that A occurs
does not affect the probability of B occurring.
Examples:
✓ One can find the probability of getting a head and a 4 if a coin is
tossed and then a die is rolled.
✓ Rolling a die and getting a 6, and then rolling a second and getting a 3
✓ Drawing a card from a deck and getting a queen, replacing it, and
drawing a second card and getting a queen.
To find the probability of two independent events that occur in
sequence, one must find the probability of each event occurring
separately and then multiply the answers.
Multiplication Rule #1
When two events are independent, the probability of both
occurring is
𝑷 𝑨∩𝑩 =𝐏 𝑨 ⋅𝐏 𝑩
𝑃 𝐴 𝑎𝑛𝑑 𝐵 = P 𝐴 ⋅ 𝑃 𝐵
Example:
Two cards are drawn from a deck of 52 cards. Find the probability
that two queens will be drawn if the first card is returned to the
deck and the deck is reshuffled before the second card is drawn
4
Let 𝑄1 be the event of getting the 𝑞𝑢𝑒𝑒𝑛 on 1st draw: P(𝑄1 ) =
52
4
Let 𝑄2 be the event of getting the 𝑞𝑢𝑒𝑒𝑛 on 2nd draw: P(𝑄2 ) =
52
𝑃 𝑄1 and𝑄2 = P 𝑄1 P 𝑄2
4 4 16 𝟏
𝑃 𝑄1 ∩ 𝑄2 = ∙ = =
52 52 2704 𝟏𝟔𝟗
Example:
1
𝑃 𝐻𝑒𝑎𝑑 = 𝑃 ℎ𝑒𝑎𝑑 𝑎𝑛𝑑 4 = P 𝐻𝑒𝑎𝑑 P 4
2
1 1 𝟏
1 𝑃 𝐻𝑒𝑎𝑑 ∩ 4 = ⋅ =
𝑃(4) = 2 6 𝟏𝟐
6
Example:
2 3 1
𝑃 𝐵 = ; 𝑃 𝐺 = =
9 9 3
2 1
𝑃 𝐵 𝑎𝑛𝑑 𝐺 = ∙
9 3
𝟐
𝑃 𝐵 ∩ 𝐺 =
𝟐𝟕
Example:
A poll found that 46% of employees say they suffer great stress at
least once a week. If three people are selected at random, find the
probability that all three will say that they suffer great stress at least
once a week.
𝑃 𝑆 = 0.46
𝑃 𝑆 𝑎𝑛𝑑 𝑆 𝑎𝑛𝑑 𝑆 = 𝑃 𝑆 ⋅ 𝑃 𝑆 ⋅ 𝑃 𝑆
𝑃 𝑆 ∩ 𝑆 ∩ 𝑆 = (0.46)(0.46)(0.46) = 𝟎. 𝟎𝟗𝟕
Example:
(a) what is the probability the first person is a basketball fan and
the second is as well?
𝑃(𝐴 ∩ 𝐵) = 𝑃(𝐴) · 𝑃(𝐵) = 0.72 0.72 = 𝟎. 𝟓𝟏𝟖𝟒
(b) That the first one is and the second one isn’t?
𝑃(𝐴 ∩ 𝐵) = 𝑃(𝐴) · 𝑃(𝐵) = 0.72 (0.28) = 𝟎. 𝟐𝟎𝟏𝟔
When the outcome or occurrence of the first event affects the
outcome or occurrence of the second event in such a way that the
probability is changed, the events are said to be dependent events.
Examples:
✓ Drawing a card from a deck, not replacing it, and then drawing a
second card
✓ Getting a ball from an box, not replacing it, and then selecting a
second ball.
✓ Having high grades and getting a scholarship.
✓ Parking in a no-parking zone and getting a parking ticket.
To find probabilities when events are dependent, use the
multiplication rule with a modification in notation.
Multiplication Rule #2
When two events are dependent, the probability of both
occurring is
𝑷 𝑨 ∩ 𝑩 = 𝐏 𝑨 ⋅ 𝐏 𝑩|𝑨
𝑃 𝐴 𝑎𝑛𝑑 𝐵 = P 𝐴 ⋅ 𝑃 𝐵|𝐴
Example: Find the probability of getting an ace on the 1st
draw and a king on the 2nd draw
4 𝑃 𝐴 ∩ 𝐾 = 𝑃(𝐴) ⋅ 𝑃(𝐾|𝐴)
𝑃 𝐴 =
52 4 4
4 𝑃 𝐴 𝑎𝑛𝑑 𝐾 = ⋅
𝑃 𝐾|𝐴 = 52 51
51 16 𝟒
𝑃 𝐴 𝑎𝑛𝑑 𝐾 = =
2652 𝟔𝟔𝟑
Example:
𝑃 𝐻 𝑎𝑛𝑑 𝐴 = 𝑃 𝐻 ⋅ 𝑃 𝐴|𝐻
𝑃 𝐻 ∩ 𝐴 = (0.53)(0.27)
𝑃 𝐻 ∩ 𝐴 = 𝟎. 𝟏𝟒𝟑𝟏
Example:
Three cards are drawn from an ordinary deck and not replaced.
Find the probability of these.
13 13 13 2197
𝑃 ♣ 𝑎𝑛𝑑 ♠ 𝑎𝑛𝑑 ♡ = ∙ ⋅ =
52 51 50 132,600
𝟏𝟔𝟗
𝑃 ♣ ∩♠∩♡ =
𝟏𝟎, 𝟐𝟎𝟎
𝑃 𝐴 𝑎𝑛𝑑 𝐵
𝑃 𝐵|𝐴 =
P 𝐴
Example:
A fair die is rolled. Find the probability that the number rolled is a
five, given that it is odd.
1 P(5 ∩ O)
P 5 = P 5|O =
6 𝑃(𝑂)
3 1/6
P O = =
6 3/6
1 𝟏
P(5 ∩ O) = P 5|O =
6 𝟑
Example:
A fair die is rolled. Find the probability that the number rolled is
an odd, given that it is a five.
3 P(5 ∩ O)
P O = P O|5 =
6 𝑃(5)
1 1/6
P 5 = =
6 1/6
1 P O|5 = 𝟏
P(5 ∩ O) =
6
Example:
In a sample of 902 individuals under 40 who were or had previously
been married, each person was classified according to gender and
age at first marriage. The results are summarized in the following
two-way classification table, where the meaning of the labels is:
•M: male
•F: female E W H Total
•E: a teenager when
first married M 43 293 114 450
•W: in one’s twenties
F 82 299 71 452
when first married
•H: in one’s thirties Total 125 592 185 902
when first married
Example:
(a) Find the probability that the individual selected was a teenager
at first marriage.
125
𝑃 𝐸 = = 𝟎. 𝟏𝟑𝟖𝟓𝟗 = 𝟏𝟑. 𝟖𝟓𝟗%
902
Example:
(b) Find the probability that the individual selected was a teenager
at first marriage, given that the person is male
𝑃(𝐸 ∩ 𝑀)
𝑃 𝐸|𝑀 =
𝑃(𝑀)
43/902
=
450/902
43
=
450
𝑃 𝐸|𝑀 = 𝟎. 𝟎𝟗𝟔 = 𝟗. 𝟔%
Example:
Suppose that in an adult population the proportion of people who are both
overweight and suffer hypertension is 0.09; the proportion of people who are
not overweight but suffer hypertension is 0.11; the proportion of people who
are overweight but do not suffer hypertension is 0.02; and the proportion of
people who are neither overweight nor suffer hypertension is 0.78. An adult is
randomly selected from this population.
(a) Find the probability that the person selected suffers hypertension given that
he is overweight.
(b) Find the probability that the selected person suffers hypertension given that
he is not overweight.
(c) Compare the two probabilities just found to give an answer to the question as
to whether overweight people tend to suffer from hypertension.
Suppose that in an adult population the proportion of people who are
both overweight and suffer hypertension is 0.09; the proportion of
people who are not overweight but suffer hypertension is 0.11; the
proportion of people who are overweight but do not suffer
hypertension is 0.02; and the proportion of people who are neither
overweight nor suffer hypertension is 0.78. An adult is randomly
selected from this population.
O O’ Total
H 0.09 0.11 0.20
H’ 0.02 0.78 0.80
Total 0.11 0.89 1.00
(a) Find the probability that the person selected suffers
hypertension given that he is overweight.
𝑃(𝐻 ∩ 𝑂) 0.09
𝑃 𝐻|𝑂 = =
𝑃(𝑂) 0.11
𝟗
𝑃(𝐻|𝑂) = = 𝟎. 𝟖𝟏𝟖𝟐
𝟏𝟏
(b) Find the probability that the selected person suffers
hypertension given that he is not overweight.
Example:
A game is played by drawing four cards from an ordinary deck and
replacing each card after it is drawn. Find the probability of
winning if at least one ace is drawn.
𝑃 𝐸 = 1 − 𝑃(𝐸 ′ )
20,736
𝑃 𝐸 =1−
28,561
7,825
𝑃 𝐸 =1− = 𝟎. 𝟐𝟕
28,561
Therefore, the probability of winning if at least
1 ace is drawn is 27%
Home Work #4: