Sample Spaces and Events

1 Sample Spaces and Events

Probability is a precise, mathematical discipline, and like any mathematical structure it demands a solid foundation before any calculation can begin. That foundation is the sample space. Before you can assign a number to the likelihood of some outcome — before you can even speak meaningfully about what it means for something to be "likely" — you must first define the complete universe of things that could happen. This topic builds that foundation from the ground up: what a sample space is, how to construct one carefully, what an event is, how events relate to one another, and under what conditions the simplest probability formula is valid.

Everything in classical probability theory flows from these definitions. Skipping over them or treating them casually leads to subtle errors that compound as problems grow more complex. Learners who invest the time to understand sample spaces and events rigorously will find every subsequent topic in probability far easier to navigate.

Defining a Sample Space

A sample space is the set of all possible outcomes of a probability experiment. It is conventionally denoted by the capital letter S or the uppercase Greek letter Ω (omega). The word "all" is non-negotiable: the sample space must be collectively exhaustive, meaning every outcome that could conceivably occur when the experiment is run must appear somewhere in it. If even one possible outcome is left out, the sample space is incomplete and any probability computed from it is potentially wrong.

Equally important is the requirement that the sample space be mutually exclusive: no outcome should appear more than once. Each element of S represents a distinct, non-overlapping possibility. These two conditions together — collectively exhaustive and mutually exclusive — are the defining requirements of a valid sample space.

Consider the experiment of flipping a single fair coin. The sample space is:

S = { H, T }

Here H represents Heads and T represents Tails. Every possible result of flipping the coin appears exactly once. Nothing is missing, and nothing is repeated. This is a valid sample space.

Now consider rolling a standard six-sided die. Every face shows a different integer from 1 to 6, so:

S = { 1, 2, 3, 4, 5, 6 }

Again, every outcome appears once and nothing is omitted. If a student wrote S = { 1, 2, 3, 4, 5 } by accident, the sample space would be wrong — the outcome "6" exists and must be included. Any probability calculated from the incomplete set would be distorted.

Identifying the correct sample space is always the first step before any probability can be calculated. This is not a formality; it is the act of precisely defining what experiment is being performed and what results it can produce.

Types of Sample Spaces

Sample spaces are broadly classified into two types based on the nature of the outcomes they contain.

A finite sample space contains a limited, countable number of outcomes. The coin flip (S = { H, T }) has exactly 2 outcomes. The die roll has exactly 6. Drawing a card from a standard deck has exactly 52. You can list every element individually. Finite sample spaces are the most common starting point in introductory probability, and they lend themselves to direct counting methods.

A continuous sample space contains an uncountably infinite range of outcomes, typically because the experiment involves measurement rather than selection from a discrete set. For example, if you measure the exact amount of rainfall at a weather station over one hour, the outcome could be any non-negative real number — 0.0 mm, 2.37 mm, 14.008 mm, and so on. There are infinitely many possible values and you cannot list them all. The sample space might be described as:

S = { x : x ≥ 0 }   (all non-negative real numbers)

The distinction matters because the tools used to compute probability differ. In finite sample spaces, you count outcomes. In continuous sample spaces, you work with probability density and integration. Recognizing which type of sample space applies to an experiment is therefore the very next judgment a practitioner must make after defining S.

There is also an intermediate case sometimes called a countably infinite sample space — for example, the number of times you flip a coin until you first get Heads. You could flip once, twice, three times, or theoretically any number of times without limit. The outcomes are integers and are countable in principle, but there is no upper bound.

Constructing Sample Spaces Systematically

For experiments with very few outcomes, a simple list is sufficient. But as experiments become more complex — involving multiple steps or multiple simultaneous components — a structured approach is essential to avoid accidentally leaving out outcomes.

Tree Diagrams

A tree diagram is a visual tool that works outward from a starting point, branching at each stage of the experiment to represent every possible result of that stage. Each path from the root to a leaf of the tree represents one complete outcome.

Consider flipping a coin twice. The first flip can result in H or T. For each of those results, the second flip can also result in H or T. The tree looks like this:

Start
  ├── H (first flip)
  │     ├── H (second flip) → outcome: HH
  │     └── T (second flip) → outcome: HT
  └── T (first flip)
        ├── H (second flip) → outcome: TH
        └── T (second flip) → outcome: TT

Reading off all the leaf nodes gives the complete sample space:

S = { HH, HT, TH, TT }

The tree makes it visually obvious that there are exactly 4 outcomes and ensures none are missed. This is especially valuable when the stages of the experiment have different numbers of branches, or when the branches at a later stage depend on what happened at an earlier stage.

Organized Tables and Grids

When two independent experiments are run simultaneously, a two-dimensional grid or table elegantly displays all combinations. Suppose you roll two distinguishable dice — one red and one blue — each with faces 1 through 6. The red die's outcomes label the rows and the blue die's outcomes label the columns. Each cell of the table contains one combined outcome:

Red \ Blue 1 2 3 4 5 6
1 (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
2 (2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
3 (3,1) (3,2) (3,3) (3,4) (3,5) (3,6)
4 (4,1) (4,2) (4,3) (4,4) (4,5) (4,6)
5 (5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
6 (6,1) (6,2) (6,3) (6,4) (6,5) (6,6)

The table shows all 36 outcomes at a glance. This is far more reliable than trying to list them mentally and hoping nothing is skipped. The table also makes it easy to identify subsets of outcomes — for instance, all cells where the two numbers sum to 7 can be spotted immediately: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1).

The general principle behind both tools is the Fundamental Counting Principle: if one experiment has m outcomes and a second independent experiment has n outcomes, then together they have m × n combined outcomes. Two coin flips: 2 × 2 = 4. Two dice: 6 × 6 = 36. This principle extends to any number of stages.

Systematic construction is not merely convenient — it is necessary. An accidentally omitted outcome means the sample space is incomplete, every probability computed from it is wrong, and conclusions drawn from those probabilities are unreliable.

Defining an Event

Once the sample space is established, we can define events. An event is any subset of the sample space — a collection of zero or more outcomes from S that share some characteristic of interest.

This definition has an immediate and important implication: an event can only contain outcomes that already belong to S. If an outcome is not in the sample space, it cannot be in any event. Events describe things that could happen within this experiment; outcomes outside S are by definition impossible in this experiment.

Events come in two basic varieties:

There are also two special events. The impossible event, denoted (the empty set), contains no outcomes at all and has probability 0 — it can never occur. The certain event is S itself; it contains every outcome and has probability 1 — it always occurs (since some outcome must result from the experiment).

In practice, events are first described in plain language — "the sum of two dice is at least 10" — and then translated into set notation by listing the qualifying outcomes from S. For the two-dice experiment above:

Event A = "sum is at least 10"
A = { (4,6), (5,5), (5,6), (6,4), (6,5), (6,6) }

This translation step — from words to set — is what makes probability calculations possible, because we can now count elements precisely.

Relationships Between Events

Events can be combined or compared using set operations. These operations have direct counterparts in everyday language and in the probability rules built upon them.

Union (A ∪ B)

The union of events A and B, written A ∪ B, is the event containing all outcomes that belong to A, to B, or to both. In plain language, A ∪ B occurs whenever A occurs or B occurs (or both). This corresponds to the logical "or."

Using the two-dice sample space, define:

A ∪ B = { (1,1), (2,2), (3,3), (4,4), (5,5), (6,6),
           (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) }

Since no outcome belongs to both A and B in this case, the union simply combines all 12 elements.

Intersection (A ∩ B)

The intersection of events A and B, written A ∩ B, contains only the outcomes that belong to both A and B simultaneously. In plain language, A ∩ B occurs when A and B both occur on the same trial. This corresponds to the logical "and."

Using the same A and B above, A ∩ B = ∅ because no outcome is simultaneously a double and sums to 7 (a double would sum to 2, 4, 6, 8, 10, or 12). When two events share no outcomes, they are called mutually exclusive (or disjoint).

Now define a new event:

A ∩ C = { (2,2), (3,3), (4,4) }

Here the intersection is non-empty because C is actually a subset of A.

Complement (A′ or Aᶜ)

The complement of event A, written A′ or Aᶜ, contains all outcomes in S that do not belong to A. It represents "everything except A." Together, A and A′ always cover the entire sample space without overlap:

A ∪ A′ = S    (the union is the whole sample space)
A ∩ A′ = ∅    (they share no outcomes)

This gives rise to one of the most useful shortcuts in probability:

P(A′) = 1 − P(A)

If you know the probability of A, you immediately know the probability of its complement. For example, if the probability that it rains tomorrow is 0.35, then the probability that it does not rain is 1 − 0.35 = 0.65.

A Venn diagram — a rectangle (representing S) containing overlapping circles (representing events) — is the standard visual aid for picturing these relationships. The union fills both circles; the intersection fills only the overlap; the complement fills everything in the rectangle outside the circle for A.

Understanding union, intersection, and complement is essential before studying the Addition Rule (which involves unions) and the Multiplication Rule (which involves intersections and conditional probability), as those rules are direct consequences of these set relationships.

Equally Likely Outcomes and Their Importance

The simplest and most widely taught probability formula is the classical probability formula:

P(Event) = (Number of outcomes favorable to the event) ÷ (Total number of outcomes in S)

For example, the probability of rolling an even number on a fair six-sided die:

Favorable outcomes: { 2, 4, 6 } → 3 outcomes
Total outcomes in S: { 1, 2, 3, 4, 5, 6 } → 6 outcomes

P(even) = 3 / 6 = 0.5

This formula is elegant and easy to apply — but it comes with a critical condition: it is only valid when every outcome in the sample space is equally likely to occur.

A fair die satisfies this condition. Each of the six faces has exactly a 1-in-6 chance of landing face up. A fair coin satisfies it too. But many real-world situations do not. Suppose a thumbtack is tossed and can land either point-up or point-down. There are two outcomes, but they are not equally likely — the physical shape of the thumbtack makes one outcome more probable than the other. Writing P(point-up) = 1/2 using the classical formula would be incorrect.

Similarly, suppose a weather report says the probability of rain tomorrow is 0.70. The two outcomes "rain" and "no rain" are not equally likely, so the classical formula does not apply. Probability here must come from historical data or a model, not from counting outcomes.

The process of verifying the equally-likely assumption can be summarized as follows:

Experiment Outcomes Equally Likely? Classical Formula Valid?
Flip a fair coin H, T Yes — symmetric design Yes
Roll a fair die 1, 2, 3, 4, 5, 6 Yes — symmetric design Yes
Toss a thumbtack Point-up, Point-down No — asymmetric shape No
Draw a card from a shuffled deck 52 distinct cards Yes — random shuffle Yes
Tomorrow's weather (rain/no rain) Rain, No Rain No — depends on conditions No
Randomly select a student from a class Each student in the class Yes — if selection is truly random Yes

The assumption of equally likely outcomes is so common in textbook problems that students sometimes apply the classical formula automatically without checking. Developing the habit of pausing to verify this assumption is one of the most important critical-thinking skills in introductory probability. When the assumption does not hold, the appropriate approach is to use empirical (relative frequency) probability — based on observed data — or theoretical models that account for the actual probabilities of each outcome.

To bring all the ideas in this topic together, consider one complete worked example. A bag contains 3 red marbles and 2 blue marbles. One marble is drawn at random. Define the sample space and key events, then compute relevant probabilities.

Step 1 — Define the sample space. To distinguish the marbles, label them R1, R2, R3, B1, B2. Then:

S = { R1, R2, R3, B1, B2 }

Step 2 — Verify equal likelihood. The draw is random, so each marble is equally likely. The classical formula applies.

Step 3 — Define events.

A = "drawing a red marble" = { R1, R2, R3 }
B = "drawing a blue marble" = { B1, B2 }

Step 4 — Compute probabilities.

P(A) = 3/5 = 0.6
P(B) = 2/5 = 0.4

Step 5 — Check relationships.

A ∪ B = S     → P(A ∪ B) = 1         (one of the two must occur)
A ∩ B = ∅     → P(A ∩ B) = 0         (cannot draw red and blue simultaneously)
A′ = B        → P(A′) = 1 − 0.6 = 0.4  ✓ (matches P(B))

Every concept from this topic — the sample space, event types, set operations, the equally-likely check, and the classical formula — converges in this one small example. These are the building blocks upon which every more advanced probability topic is constructed.

NotesThe two-dice grid table renders all 36 outcomes and supports event identification visually. The assumption-check table contrasts valid and invalid uses of the classical formula concretely. The complete marble worked example at the end ties together every subtopic in sequence and is especially useful for learners consolidating understanding before moving to probability rules.