Sub topic 1
Sample Spaces and Events
Prerequisites
Assume you can work with fractions, ratios, and percents. You should also know the multiplication principle for counting outcomes and be able to simplify fractions.
The sample space
A probability problem begins by identifying every possible result. The sample space, written as \(S\), is the complete set of possible outcomes. An outcome is one specific result of the experiment.
For one roll of a fair six-sided die:
\[ S=\{1,2,3,4,5,6\} \]
For two rolls, an outcome must record both results. The outcome \((2,5)\) means that the first roll was 2 and the second roll was 5. There are \(6 \times 6=36\) ordered outcomes.
The order matters because \((2,5)\) and \((5,2)\) describe different results when the dice are rolled separately.
Events as subsets of the sample space
An event is a collection of outcomes that satisfies a condition. An event can contain one outcome, several outcomes, or every outcome in the sample space.
For one die, let:
- \(A\) be the event that the result is even: \(A=\{2,4,6\}\)
- \(B\) be the event that the result is greater than 4: \(B=\{5,6\}\)
The outcomes in \(A\) are called favorable outcomes for event \(A\). When all outcomes are equally likely:
\[ P(A)=\frac{\text{number of favorable outcomes}}{\text{number of total outcomes}} \]
Therefore:
\[ P(A)=\frac{3}{6}=\frac12 \]
and
\[ P(B)=\frac{2}{6}=\frac13 \]
The word “favorable” does not mean good or desirable. It means that the outcome meets the event’s stated condition.
| Experiment | Sample space size | Example event |
|---|---|---|
| One die roll | 6 | Result is prime: \(\{2,3,5\}\) |
| One coin flip | 2 | Result is heads: \(\{H\}\) |
| Two die rolls | 36 | Sum is 7: \(\{(1,6),(2,5),\ldots,(6,1)\}\) |
Counting before calculating
On the GRE, the main difficulty is often constructing the sample space rather than simplifying the final fraction. Ask:
- What is one complete outcome?
- Are the outcomes ordered?
- Are all outcomes equally likely?
- How many outcomes satisfy the event?
For two fair dice, the following code confirms the 36-outcome sample space and counts the outcomes in which the sum is 7.
from itertools import product
space = list(product(range(1, 7), repeat=2))
sum_is_7 = [outcome for outcome in space if sum(outcome) == 7]
print(len(space)) # 36
print(len(sum_is_7)) # 6
print(len(sum_is_7) / len(space)) # 0.16666666666666666A sample space must include outcomes with zero probability only if the experiment allows them in the model. For a standard die, each face is possible. If a question says a die is loaded or outcomes are not equally likely, favorable outcomes divided by total outcomes may no longer be valid without additional probability information.
Exercise
Two fair dice are rolled. What is the probability that the first die shows an even number and the second die shows a number greater than 4?
Show answer
There are 3 choices for the first die and 2 choices for the second, giving 6 favorable ordered outcomes out of 36. The probability is 6/36 = 1/6.