Sample Spaces and Events
Sample Spaces and Events are the foundation of probability. Before we can calculate how likely something is, we need to know all the possible outcomes of an experiment and decide which of those outcomes match the event we care about.
In probability, a random experiment is an action or process with an outcome that cannot be predicted with certainty ahead of time. Examples include tossing a coin, rolling a die, or choosing a card from a deck.
This lesson will show you how to describe a random experiment using a sample space, how to define different kinds of events, and how these ideas help us organize probability questions clearly and correctly.
1. What is a sample space?
A sample space is the set of all possible outcomes of a random experiment. We usually use the letter \(S\) to represent the sample space.
If one fair coin is tossed, the possible outcomes are Head and Tail. So the sample space is
$$S = \{H, T\}$$
If a standard six-sided die is rolled once, the sample space is
$$S = \{1,2,3,4,5,6\}$$
Every valid outcome must appear in the sample space, and nothing impossible should be included. A complete sample space is very important because probabilities are based on it.
2. How to list a sample space
When building a sample space, ask yourself:
- What experiment is happening?
- What are all the possible outcomes?
- How can I represent them clearly?
There are different ways to list sample spaces:
- Listing outcomes directly, such as \(\{1,2,3,4,5,6\}\)
- Using ordered pairs, such as \((1,2)\) for rolling two dice
- Using tables or tree diagrams when there are several stages
For example, if two coins are tossed, the order matters because the first and second toss can be different. The sample space is
$$S = \{HH, HT, TH, TT\}$$
Notice that \(HT\) and \(TH\) are different outcomes because they happen in a different order.
3. What is an event?
An event is any set of outcomes from the sample space. In other words, an event is a collection of outcomes we are interested in.
If a die is rolled and we want the event “an even number,” then the event is
$$E = \{2,4,6\}$$
Because events are made from outcomes in the sample space, every event is a subset of the sample space.
For the die example, since
$$S = \{1,2,3,4,5,6\}$$
the event \(E = \{2,4,6\}\) is part of that sample space.
4. Simple events and compound events
A simple event contains exactly one outcome.
For example, when rolling a die, the event “rolling a 3” is
$$A = \{3\}$$
This is a simple event because it has only one outcome.
A compound event contains more than one outcome.
For example, the event “rolling a number greater than 4” is
$$B = \{5,6\}$$
This is a compound event because it has two outcomes.
So:
- Simple event: one outcome
- Compound event: two or more outcomes
5. Complementary events
The complement of an event is everything in the sample space that is not in the event.
If event \(A\) is “rolling an even number” on a die, then
$$A = \{2,4,6\}$$
The complement of \(A\), written as \(A'\) or sometimes \(A^c\), is
$$A' = \{1,3,5\}$$
This means “not rolling an even number.”
Event \(A\) and its complement together make up the whole sample space, and they do not overlap.
In probability, this leads to the useful rule
$$P(A') = 1 - P(A)$$
This rule is helpful when it is easier to find the probability of an event first and then subtract from 1.
6. The empty event and the certain event
Two special events appear often in probability:
- The empty event, written \(\varnothing\), has no outcomes. It is impossible.
- The certain event is the whole sample space \(S\). It must happen.
For example, if a die is rolled:
- “Rolling a 7” is impossible, so the event is \(\varnothing\).
- “Rolling a number less than 7” is certain, so the event is \(S\).
7. Counting outcomes carefully
Many mistakes in probability happen because the sample space is not written carefully. You must make sure each outcome is:
- Possible
- Counted once
- Clearly distinguished from other outcomes
For example, when rolling two dice, the outcome \((2,5)\) is different from \((5,2)\) because the first die and second die are separate.
The sample space for rolling two dice has \(6 \times 6 = 36\) outcomes.
8. Worked Example 1: One coin toss
Experiment: Toss one coin.
Step 1: Write the sample space.
$$S = \{H, T\}$$
Step 2: Define an event. Let event \(A\) be “getting a head.”
$$A = \{H\}$$
Step 3: Classify the event.
Since \(A\) has only one outcome, it is a simple event.
Step 4: Find the complement.
The complement is “not getting a head,” so
$$A' = \{T\}$$
9. Worked Example 2: One die roll
Experiment: Roll a fair six-sided die.
Step 1: Write the sample space.
$$S = \{1,2,3,4,5,6\}$$
Step 2: Define some events.
- Event \(A\): rolling a prime number
- Event \(B\): rolling a number less than 4
The prime numbers on a die are \(2, 3, 5\), so
$$A = \{2,3,5\}$$
The numbers less than 4 are \(1,2,3\), so
$$B = \{1,2,3\}$$
Step 3: Classify the events.
- \(A\) is a compound event because it has three outcomes.
- \(B\) is also a compound event because it has three outcomes.
Step 4: Find a complement.
The complement of \(B\) is “not less than 4,” so
$$B' = \{4,5,6\}$$
10. Worked Example 3: Two coin tosses
Experiment: Toss two coins.
Step 1: Write the sample space.
$$S = \{HH, HT, TH, TT\}$$
Step 2: Define the event \(C\): getting exactly one head.
Exactly one head happens in outcomes \(HT\) and \(TH\), so
$$C = \{HT, TH\}$$
Step 3: Is this simple or compound?
Because there are two outcomes, \(C\) is a compound event.
Step 4: Find the complement.
The complement means “not exactly one head,” so the remaining outcomes are \(HH\) and \(TT\).
$$C' = \{HH, TT\}$$
11. Worked Example 4: Rolling two dice
Experiment: Roll two fair six-sided dice.
Step 1: Describe the sample space.
Each outcome is an ordered pair \((x,y)\), where \(x\) is the first die and \(y\) is the second die. Since each die has 6 possible outcomes, there are
$$6 \times 6 = 36$$
possible outcomes in the sample space.
We do not always need to list all 36 outcomes, but they range from \((1,1)\) to \((6,6)\).
Step 2: Define event \(D\): the sum is 7.
The pairs that add to 7 are
$$D = \{(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)\}$$
Step 3: Classify the event.
Since \(D\) has 6 outcomes, it is a compound event.
Step 4: Define event \(E\): doubles.
Doubles means both dice show the same number:
$$E = \{(1,1),(2,2),(3,3),(4,4),(5,5),(6,6)\}$$
This is also a compound event.
12. Connecting sample spaces to probability
Once the sample space and event are written correctly, probability becomes much easier.
If all outcomes in the sample space are equally likely, then the probability of an event \(A\) is
$$P(A) = \frac{\text{number of outcomes in } A}{\text{number of outcomes in } S}$$
For example, if a die is rolled and \(A = \{2,4,6\}\), then
$$P(A) = \frac{3}{6} = \frac{1}{2}$$
This works because there are 3 favorable outcomes out of 6 total outcomes.
13. Common mistakes to avoid
- Leaving out outcomes from the sample space
- Including impossible outcomes
- Ignoring order when order matters, such as with two coin tosses or two dice
- Confusing an event with a single outcome
- Forgetting that the complement includes everything not in the event
Always check: Is my sample space complete? Does my event include exactly the outcomes described in the question?
14. Key ideas to remember
- A sample space is the set of all possible outcomes.
- An event is a set of outcomes from the sample space.
- A simple event has one outcome.
- A compound event has more than one outcome.
- The complement of an event is everything in the sample space that is not in the event.
- Correct probability starts with a correct sample space.
Brief Summary
To solve probability problems, first identify the random experiment and write its sample space. Then describe the event as the set of outcomes you want. Once you can distinguish simple, compound, and complementary events, you can organize probability questions clearly and calculate probabilities with confidence.
Put what you read to the test
You've worked through Sample Spaces and Events. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.