Uniform Probability on Finite Spaces and Conditional Probabilities
Last modified — 23 May 2026
By the end of this lecture, students are anticipated to be able to
We will start with some word problems from last class’ material
Marley borrows 2 books. Suppose that there is a 0.5 probability they like the first book, 0.4 that they like the second book, and 0.3 that they like both.
What is the probability that they will NOT like both books? (i.e. that they will not like either book?)
Jane must take two tests, call them \(T_1\) and \(T_2\). The probability that she passes test \(T_1\) is 0.8, that she passes test \(T_2\) is 0.7, and that of passing both tests is 0.6.
Calculate the probability that:
She passes at least one test.
She passes at most one test.
She fails both tests.
She passes only one test.
Suppose that \(\mathbb{P}\left( A\right) =0.85\) and \(\mathbb{P}\left( B\right) =0.75.\) Show that \[\mathbb{P}\left( A\cap B\right) \geq 0.60.\]
When there are finitely many outcomes, and they are equal likely, calculating probabilities involves counting outcomes in events/sets,
Let \(A\) be a subset (event) of a sample space \(\Omega\).
\[ \mathbb{P}\left( A\right) = \frac{\text{number of elements in }A}{\text{number of elements in }\Omega } \]
We have 6 possible outcomes, all equally likely.
Therefore the probability of rolling a any single number is \(1/6\).
Suppose that we flip three different fair coins. What is the probability of rolling three heads in a row?
When the number of possible events are small, solving problems in this way is straightforward.
However: counting the number possible events can be challenging, particularly as the number of possible events increases
We will introduce permutations and combinations briefly to overcome this issue
If a random experiment has k steps.
\(\quad\quad\quad\vdots\quad\quad\quad\)
Then, \[\mbox{total number of outcomes} \ = \ n_1 \times n_2 \times n_3 \times \cdots \times n_k\]
Note
Implicit assumption: the outcomes of each step do not depend on each other.
Suppose that we flip three different fair coins. Without writing out the sample space, can you calculate the probability of rolling a head, a tail, and then a head?
What is the probability of drawing 5 cards in a row that are all clubs? Assume any card you picked is put back into the deck and shuffled before every draw.
Combination (of size \(m\)): a subset of \(m\) items from a set of size \(n\) (where necessarily \(m\) \(\leq\) \(n\)).
Note: We only care which elements are in the set, not the ordering.
Consider the set \[S=\left\{ a, b, c, d, e\right\}\]
The following are all the possible subsets of \(S\) of size 3:
| \(\{ a, b, c\}\) | \(\left\{ a, d, e\right\}\) |
| \(\{ a, b, d\}\) | \(\left\{ b, c, d\right\}\) |
| \(\{ a, b, e\}\) | \(\left\{ b, c, e\right\}\) |
| \(\{ a, c, d\}\) | \(\left\{ b, d, e\right\}\) |
| \(\{ a, c, e\}\) | \(\left\{ c, d, e\right\}\) |
\[ \Bigl\{ a, b, d \Bigr\} \, = \, \Bigl\{ d, a, b \Bigr\} \, = \, \Bigl\{ b, d, a \Bigr\} \] (and other possible rearrangements).
A useful mathematical property is the factorial.
Factorial (!):
For any non-negative integer \(n\):
\[ n! = n \times(n-1)\times(n-2)\times(n-3)...3\times2\times1 \] and
\[ 0! = 1 \]
The number of combinations of size \(m\) out of a set of size \(n \ge m\) has various notations:
\[\binom{n}{m} = \left._{n} C_{m}\right. = C_m^n = \frac{n!}{m!(n-m)!}\]
Tip
In this course we use \(\binom{n}{m}\).
For example, when \(n=5\) and \(m=3\) we have
| \(\{ 1,2,3\}\) | \(\left\{ 1,4,5\right\}\) |
| \(\{ 1,2,4\}\) | \(\left\{ 2,3,4\right\}\) |
| \(\{ 1,2,5\}\) | \(\left\{ 2,3,5\right\}\) |
| \(\{ 1,3,4\}\) | \(\left\{ 2,4,5\right\}\) |
| \(\{ 1,3,5\}\) | \(\left\{ 3,4,5\right\}\) |
hence, the number of combinations must be
\[\binom{5}{3}= {10}\]
\[\binom{n}{m} = \frac{n!}{m!(n-m)!}\] are also called binomial coefficients.
They have many beautiful interpretations.


Dealer secretly chooses 6 distinct integers between 0 and 49.
Player randomly selects 6 distinct integers between 0 and 49.
The more matches, the bigger the prize.
What is the probability that the player matches \(k\) numbers from the dealer’s selection (for different values of \(k \in \{0, 1, ..., 6 \}\))?
A permutation of a set is an arrangement of its elements in a specific order.
For example, calculating the number of ways:
Suppose \(|\Omega|\) = n and we want to count the number of permutations of length \(k \le n\) obtained from \(\Omega\).
In general, there are \(n \times n - 1 \times ... \times n - k + 1\) permutations of length k from a set of n elements.
How many ways can the letters ABCDEF be rearranged?
In how many different ways can the letters of “pepper” be arranged?
In general, the outcome of a random experiment can be any element of \(\Omega\).
Sometimes, we have “partial information” about which elements can occur.
Roll a die.
If \(A\) is the event of obtaining a “2”, then \(\mathbb{P}(A) = 1/6\).
But if the outcome is known to be even, then intuition suggests that \(\mathbb{P}(A) > 1/6\).
Two events play distinct roles in this example:
The event of interest \(A = \{ 2 \}\)
The conditioning event \[ B= \{\text{outcome is even}\} = \{2, 4, 6\} \]
The conditioning event captures the “partial information”
If we only consider the three possible outcomes in B (even numbers), only one of them is a 2. Therefore, the probability of rolling a 2 if you know the roll was even is indeed 1/3.
The probability of an event A, conditional on event B is written as
\[\mathbb{P}(A \ \vert\ B)\]
We read this as “the probability of \(A\) given \(B\)” or “the probability of \(A\) conditional on \(B\)”
Just as \(\mathbb{P}(\cdot)\) is a function, for any fixed \(B\), \(P \left(\ \cdot \ \ \vert\ B \right)\) is also a function. Its argument is any event \(A \subseteq \Omega\).
Moreover, \(\mathbb{P}\left(\ \cdot \ \ \vert\ B \right)\) satisfies the three Axioms of a Probability (i.e., is a probability).
As \(P(\cdot \ \vert\ B)\) is a probability, for any event \(A\):
\[\mathbb{P}( A^C \ \vert\ B) = 1 - \mathbb{P}(A \ \vert\ B)\]
Your friend flips two coins, looks at it, and tells you that the two faces are the same.
What is the probability that both coins show heads? Use the definition of conditional probability to solve this.
Stat 302 - Winter 2025/26