Enma104 Lessson2 Probability
Enma104 Lessson2 Probability
Introduction
Probability is simply how likely an event is to happen. “The chance of rain today is
50%” is a statement that enumerates our thoughts on the possibility of rain. The
likelihood of an outcome is measured by assigning a number from the interval [0, 1]
or as percentage from 0 to 100%. The higher the number means the event is more
likely to happen than the lower number. A zero (0) probability indicates that the
outcome is impossible to happen while a probability of one (1) indicates that the
outcome will occur inevitably.
This module intends to discuss the concept of probability for discrete sample spaces,
its application, and ways of solving the probabilities of different statistical data.
At the end of this module, it is expected that the students will be able to:
1. Understand and describe sample spaces and events for random experiments
PROBABILITY
For example, the probability of flipping a coin and it being heads is 1⁄2, because
there is 1 way of getting a head and the total number of possible outcomes is 2 (a
head or tail). We write P(heads) = 1⁄2 .
The events A and B (in a to c) and A, B and C (in d and e) are all subsets of the
sample space S.
Figure 2.1 Venn diagrams of sample space with events (adapted from Montgomery
et al., 2003)
For example, if a dice is rolled we have {1, 2, 3, 4, 5, and 6} as sample space. The
event can be {1, 3, and 5} which means set of odd numbers. Similarly, when a coin
is tossed twice the sample space is {HH, HT, TH, and TT}.
All these are the outcomes of the experiment of tossing a coin three times. Hence,
we can say the sample space is the set given by,
Now, suppose the event be the set of outcomes in which there are only two heads.
The outcomes in which we have only two heads are HHT, HTH and THH hence the
event is given by,
𝑆 = 𝐸1 ∪ 𝐸2 ∪ 𝐸3 ∪ . . . . . . .∪ 𝐸𝑛
We can understand this with the help of a simple example. Consider an experiment
of rolling a dice. We have sample space,
𝑆 = {1, 2, 3, 4, 5, 6}
Now if we have Event E1 as getting odd number as outcome and E2 as getting even
number as outcome for this experiment then we can represent E1 and E2 as the
following set,
𝐸1 = {1, 3, 5}
𝐸2 = {2, 4, 6}
So we have,
𝑂𝑟 𝑆 = 𝐸1 ∪ 𝐸2
Hence, we can say union of Events E1 and E2 is S. Null space – is a subset of the
sample space that contains no elements and is denoted by the symbol ∅. It is also
called empty space.
Intersection of events
For example,
We can say that an event is mutually exclusive if they have no elements in common.
This is illustrated in Figure 2.1 (b) where we can see that A ꓵ B =∅.
Union of Events
The union of events A and B is the event containing all the elements that belong to
A or to B or to both and is denoted by the symbol A B. The elements A ∪ B
maybe listed or defined by the rule 𝐴 ∪ 𝐵 = {𝑥 | 𝑥 ∈ 𝐴 𝑜𝑟 𝑥 ∈ 𝐵}.
For example,
Compliment of an Event
The complement of an event A with respect to S is the set of all elements of S that
are not in A and is denoted by A’. The shaded region in
For example,
Probability of an Event
Sample space and events play important roles in probability. Once we have sample
space and event, we can easily find the probability of that event. We have following
formula to find the probability of an event.
Where,
Let us try to understand this with the help of an example. If a die is tossed, the
sample space is {1, 2, 3, 4, 5, 6}. In this set, we have a number of elements equal
to 6. Now, if the event is the set of odd numbers in a dice, then we have {1, 3, and
5} as an event. In this set, we have 3 elements. So, the probability of getting odd
numbers in a single throw of dice is given by
Suppose you have j sets of elements, n1 in the first set, n2 in the second set, ...
and nj in the jth set. Suppose you wish to form a sample of j elements by taking
one element from each of the j sets. The number of possible sets is then defined
by:
𝑛1 ∙ 𝑛2 ∙ . . .∙ 𝑛𝑗
Permutation Rule
Partitions rule
is
Where,
𝑛1 + 𝑛2 + . . . + 𝑛𝑘 = 𝑛
The numerator gives the permutations of the n elements. The terms in the
denominator remove the duplicates due to the same assignments in the k sets
(multinomial coefficients).
Combinations Rule
(𝑛𝐶𝑘) = 𝑛! / 𝑘! (𝑛 − 𝑘)!
Two events are mutually exclusive or disjoint if they cannot occur at the same
time.
The probability that Event A occurs, given that Event B has occurred, is called a
conditional probability. The conditional probability of Event A, given Event B, is
denoted by the symbol P (A|B).
The complement of an event is the event not occurring. The probability that Event
A will not occur is denoted by P (A').
The probability that Events A and B both occur is the probability of the intersection
of A and B. The probability of the intersection of Events A and B is denoted by P
(A ∩ B). If Events A and B are mutually exclusive, P (A ∩ B) = 0.
The probability that Events A or B occur is the probability of the union of A and B.
The probability of the union of Events A and B is denoted by P(A ∪ B).
If the occurrence of Event A changes the probability of Event B, then Events A and
B are dependent. On the other hand, if the occurrence of Event A does not change
the probability of Event B, then Events A and B are independent.
Rule of Addition
Rule of Multiplication
𝑃(𝐴 ∩ 𝐵) = 𝑃(𝐴)𝑃(𝐵)
Dependent - Two outcomes are said to be dependent if knowing that one of the
outcomes has occurred affects the probability that the other occurs.
Rule 2: When two events are dependent, the probability of both occurring is:
𝑃(𝐴 ∩ 𝐵) = 𝑃(𝐴)𝑃(𝐵|𝐴)
Solution:
𝑃 (𝐵|𝐴) =?
If the first part is defective, prior to selecting the second part, the batch contains
849 parts, of which 49 are defective, therefore
𝑃 (𝐵|𝐴) = 49/849
Example 1. A student goes to the library. The probability that she checks out (a) a
work of fiction is 0.40, (b) a work of non-fiction is 0.30, and (c) both fiction and
non-fiction is 0.20. What is the probability that the student checks out a work of
fiction, non-fiction, or both?
Solution:
Rule of Multiplication
𝑃(𝐴 ∩ 𝐵) = 𝑃(𝐴)𝑃(𝐵)
Dependent - Two outcomes are said to be dependent if knowing that one of the
outcomes has occurred affects the probability that the other occurs.
Rule 2: When two events are dependent, the probability of both occurring is:
𝑃(𝐴 ∩ 𝐵) = 𝑃(𝐴)𝑃(𝐵|𝐴)
Example 1. A day’s production of 850 manufactured parts contains 50 parts that do not
meet customer requirements. Two parts are selected randomly without replacement
from the batch. What is the probability that the second part is defective given that the
first part is defective?
Solution:
𝑃 (𝐵|𝐴) =?
If the first part is defective, prior to selecting the second part, the batch contains
849 parts, of which 49 are defective, therefore
𝑃 (𝐵|𝐴) = 49/849
Example 2. An urn contains 6 red marbles and 4 black marbles. Two marbles are drawn
without replacement from the urn. What is the probability that both marbles are black?
Solution:
In the beginning, there are 10 marbles in the urn, 4 of which are black. Therefore,
𝑃(𝐴) = 4/10.
After the first selection, there are 9 marbles in the urn, 3 of which are black.
Therefore, 𝑃 (𝐵|𝐴) = 3/9.
Example 3. Two cards are selected from a pack of cards. What is the probability that
they are both queen?
Solution:
We require P (A ∩ B). Notice that these events are dependent because the probability
that the second card is a queen depends on whether or not the first card is a queen.
𝑃 (𝐴 ∩ 𝐵) = 𝑃 (𝐴) 𝑃 (𝐵|𝐴)
Rule of Subtraction
The probability that event A will occur is equal to 1 minus the probability that event A
will not occur.
𝑃(𝐴) = 1 − 𝑃(𝐴′)
Example 1. The probability of Bill not graduating in college is 0.8. What is the
probability that Bill will not graduate from college?
Solution:
𝑃(𝐴) = 1 − 0.8 = 0. 2
Prepared by:
1. A menu offers a choice of 3 salads, 8 main dishes, and 5 desserts. How many
different meals consisting of one salad, one main dish, and one dessert are
possible?
2. How many 4-digit debit card personal identification numbers (PIN) can be
made?
3. How many ways can the three letters a, b, and c be arranged with no letters
repeating?
4. How many ways can you arrange five people standing in line?
5. Critical Miss, PSU's Tabletop Gaming Club, has 15 members this term. How many
ways can a slate of 3 officers consisting of a president, vice-president, and
treasurer be chosen?
6. Critical Miss, PSU's Tabletop Gaming Club, has 15 members this term. They
need to select 3 members to have keys to the game office. How many ways can
the 3 members be chosen?
7. What is the probability of winning the jackpot in the Pick-4 Lottery? To play
Pick-4, you choose 4 numbers from 0 to 9. This will give you a number between
0000 and 9999. You win the jackpot if you match your 4 numbers in the exact
order they are drawn.
8. What is the probability of winning the Powerball jackpot? As of 2021, the
Powerball lottery consists of drawing five white balls in any order numbered 1
through 69, and one red Powerball numbered 1 through 26.
9. Three events are shown on the Venn diagram in the following figure:
Reproduce the figure and shade the region that corresponds to each of the
following events.
a. A’ b. A ∩ B c. (A ∩ B) ∪ C d. (B ∪ C)’ e. (A ∩ B)’ ∪ C
10. Each of the possible five outcomes of a random experiment is equally likely.
The sample space is {a, b, c, d, e}. Let A denote the event {a, b}, and let B
denote the event {c, d, e}. Determine the following:
a. P(A) b. P(B) c. P(A’) d. P(A ∩ B) e. P(A ∪ B)
11. If A, B, and C are mutually exclusive events with P (A) = 0.2, P(B) = 0.3, and
P(C) = 0.4, determine the following probabilities:
a. P(A ∪ B ∪ C) c. P(A ∩ B) e. P(A’ ∩ B’ ∩ C’)
b. P(A ∩ B ∩ C) d. P[(A ∩ B) ∪ C]