Chapter 2
Chapter 2
PROBABILITY
Deterministic Non-deterministic
Deterministic Phenomena
There exists a mathematical model that allows “perfect” prediction
the phenomena’s outcome.
Many examples exist in Physics, Chemistry (the exact sciences).
Non-deterministic Phenomena
No mathematical model exists that allows “perfect” prediction the
phenomena’s outcome.
NON-DETERMINISTIC PHENOMENA
Random Phenomena
Unable to predict the outcomes, but in a long-run, the outcomes exhibits
statistical regularity
Haphazard Phenomena
Unpredictable outcomes and no statistical regularity in the outcomes
Non-deterministic
Deterministic
Haphazard
Random
RANDOM PHENOMENA
Unable to predict outcome but in the long run can one can determine that
each outcome will occur 1/6 of the time.
Use symmetry. Each side is the same. One side should not occur more
frequently than another side in the long run. If the die is not balanced this
may not be true.
THE SAMPLE SPACE, S
The sample space, S, for a random phenomena is the set of all possible
outcomes.
Example:
Tossing a coin – outcomes S ={Head, Tail}
Final Exam Attempt – outcomes S = {Pass, Fail}
Covid Rapid Test – outcomes S = {Detected, Not Detected} / {Positive, Negative}
AN EVENT - E
The event, E, is any subset of the sample space, S. i.e. any set of outcomes (not
necessarily all outcomes) of the random phenomena
Venn
S diagram
E
Examples
AB
A B
Intersection
Let A and B be two events, then the intersection of A and B is the event
(denoted by AB) defined by:
AB
A B
The event A B occurs if the event A occurs and the event B occurs .
AB
A B
Complement
Let A be any event, then the complement of A (denoted by A ) defined by:
A
A
The event A occurs if the event A does not occur
A
A
SUMMARY
A B =
A B
If two events A and B are are mutually exclusive then:
A B
PROBABILITY OF AN EVENT E
Suppose that the sample space S = {o1, o2, o3, … oN} has a finite number, N, of
outcomes.
Then for any event E
𝑛 𝐸 𝑛 𝐸 no. of outcomes in 𝐸
𝑃𝐸 = = =
𝑛 𝑆 𝑁 total no. of outcomes
P (E ) = Frequency of Event E
Total frequency
𝑓
=
𝑓𝑛
Ages Frequency, f
18 – 25 13
26 – 33 8
34 – 41 4
42 – 49 3
50 – 57 2
f = 30
SUBJECTIVE PROBABILITY
Subjective probability results from intuition, educated guesses, and estimates.
0 P(A) 1.
0 0.5 1
Probability:
Less More
5 to 10 Total
then 5 than 10
Male 11 22 16 49
Female 13 24 14 51
Total 24 46 30 100
46 30 76
= + = = 0.76
100 100 100
ADDITIVE RULES
A B
A B
Saskatoon and Moncton are two of the cities competing for the World university games.
The organizers are narrowing the competition to the final 5 cities.
There is a 20% chance that Saskatoon will be amongst the final 5.
There is a 35% chance that Moncton will be amongst the final 5 and 8% chance that
both Saskatoon and Moncton will be amongst the final 5.
What is the probability that Saskatoon or Moncton will be amongst the final 5.
Solution:
Frequently before observing the outcome of a random experiment you are given
information regarding the outcome
How should this information be used in prediction of the outcome.
Namely, how should probabilities be adjusted to take into account this information
Usually the information is given in the following form: You are told that the
outcome belongs to a given event. (i.e. you are told that a certain event has
occurred)
CONDITIONAL PROBABILITY
Suppose that we are interested in computing the probability of event A and we have
been told event B has occurred.
Then the conditional probability of A given B is defined to be:
P A B
P A B =
P B
EXAMPLE
The Academy Awards is soon to be shown.
For a specific married couple the probability that the husband watches the show is
80%, the probability that his wife watches the show is 65%, while the probability that
they both watch the show is 60%.
If the husband is watching the show, what is the probability that his wife is also
watching the show
From the statement,
Let B = the event that the husband watches the show
P[B]= 0.80
Let A = the event that his wife watches the show
P[A]= 0.65 and P[A ∩ B]= 0.60
P A B 0.60
P A B = = = 0.75
P B 0.80
EXAMPLE
100 college students were surveyed and asked how many hours a week they spent
studying. The results are in the table below. Find the probability that a student
spends more than 10 hours studying given that the student is a male.
Less More
5 to 10 Total
then 5 than 10
Male 11 22 16 49
Female 13 24 14 51
Total 24 46 30 100
The sample space consists of the 49 male students. Of these 49, 16 spend
more than 10 hours a week studying.
16
P (more than 10 hours|male) = 0.327
49
INDEPENDENCE
Two events A and B are called independent if
P A B = P A P B
DIFFERENCE BETWEEN INDEPENDENCE AND MUTUALLY
EXCLUSIVE
Independence - The ratio of the probability of the set A within B is the same as the
ratio of the probability of the set A within the entire sample S.
MULTIPLICATION RULE
If event A and B are independent, then the rule can be simplified to P (A and
B) = P (A) · P (B).
EXAMPLE
A die is rolled and two coins are tossed. Find the probability of rolling a 5,
and flipping two tails.
1 1 1
P (5 and T and T ) = P (5)· P (T )· P (T ) =
6 2 2
1
= 0.042
24
COUNTING PRINCIPLE
The probability counting is depending on the number of operation and number of
ways it can be performed.
For example,
There are two operations with n1 number of ways the first operation can be
performed and n2 number of ways the second operation can be performed once
the first operation has been completed.
Then N = n1 n2 = the number of ways the two operations can be performed
in sequence.
Where N is the probability counting
Diagram n2
n2
n
1
n2
n2
n2
EXAMPLES
n1
n2
n2
PERMUTATION
The probability counting can also be identify using permutation concept → predict the
possible ways to arrange the event
Permutation allows the prediction using the factorial value of the n – event
Solution:
N = 4! = 4(3)(2)(1) = 24
Here are the orderings.
5!
Solution: 5 P3 = = 5 ( 4 )( 3) = 60
( 5 − 3) !
ABC ABD ABE ACD ACE ADE BCD BCE BDE CDE
ACB ADB AEB ADC AEC AED BDC BEC BED CED
BAC BAD BAE CAD CAE DAE CBD CBE DBE DCE
BCA BDA BEA CDA CEA DEA CDB CEB DEB DEC
CAB DAB EAB DAC EAC EAD DBC EBC EBD ECD
CAB DBA EBA DCA ECA EDA DCB ECB EDB EDC
EXAMPLE
We have a product of n = 10 people and we want to choose a three best products
Solution:
Essentially we want to select 3 products from the 10 available products in a specific
order. (Permutations of size 3 from a group of 10).
10! 10!
10 P3 = = = 10 ( 9 )(8) = 720
(10 − 3)! 7!