Probability in
Finite Sample Spaces
Learn to compute probabilities by counting favorable outcomes and dividing by the total outcomes in any finite sample space.
What Is a Sample Space?
A sample space \( S \) is the set of all possible outcomes of a random experiment. When \( S \) is finite, we can list every element and count them.
\( |S| = 2 \)
\( |S| = 6 \)
\( |S| = 4 \)
Events and Favorable Outcomes
An event \( E \) is any subset of the sample space \( S \). The outcomes in \( E \) are called favorable outcomes: they are the results that "count" toward the event happening.
Why Finite Probability Matters
Finite probability is the foundation of combinatorics, game theory, cryptography, and statistical inference. If you can count outcomes, you can compute the likelihood of any event.
The Classical Probability Formula
Core Probability Axioms
The Complement Rule
Example: If \( P(\text{rain}) = 0.3 \), then \( P(\text{no rain}) = 1 - 0.3 = \) 0.7.
With vs Without Replacement
| With Replacement | Without Replacement | |
|---|---|---|
| After drawing | Item is returned to \( S \) | Item is removed from \( S \) |
| \( |S| \) changes? | No: stays the same | Yes: decreases by 1 each draw |
| Events independent? | Yes | No: probabilities shift |
| Example | Rolling a die repeatedly | Drawing cards from a deck |
How to Compute a Probability
Example 1: Single Die Roll
Problem: A fair six-sided die is rolled once. What is the probability of rolling a number greater than 4?
Example 2: Sum of Two Dice
Problem: Two fair dice are rolled. What is the probability the sum equals 7?
Example 3: Drawing a Card
Problem: A single card is drawn from a standard 52-card deck. What is the probability of drawing a heart or a king?
Example 4: Without Replacement
Problem: A bag contains 4 blue and 3 red marbles. Two marbles are drawn without replacement. What is the probability both are blue?
The Addition Rule
For any two events \( A \) and \( B \) in a finite sample space:
Common Mistakes to Avoid
Key Formulas Summary
| Rule | Formula | When to Use |
|---|---|---|
| Classical Probability | \( \frac{|E|}{|S|} \) | Equally likely outcomes |
| Complement | \( P(E') = 1 - P(E) \) | Easier to count non-event |
| Addition (General) | \( P(A) + P(B) - P(A \cap B) \) | Union of two events |
| Addition (Exclusive) | \( P(A) + P(B) \) | \( A \cap B = \emptyset \) |
| Multiplication (Independent) | \( P(A) \cdot P(B) \) | With replacement / independent |
Question 1 of 5
A fair coin is flipped 3 times. What is the probability of getting exactly 2 heads?
Question 2 of 5
A bag contains 5 red, 3 green, and 2 blue marbles. One marble is drawn at random. What is \( P(\text{green or blue}) \)?
Question 3 of 5
Two cards are drawn without replacement from a standard 52-card deck. What is the probability both are aces?
Question 4 of 5
A fair die is rolled once. Events \( A = \{2, 4, 6\} \) and \( B = \{1, 2, 3\} \). What is \( P(A \cup B) \)?
Question 5 of 5
The probability it rains on Saturday is \( 0.4 \) and the probability it rains on Sunday is \( 0.3 \). If these events are independent, what is the probability it rains on at least one of the two days?