Probability • Topic 1 of 3

Random Experiments, Sample Space and Events

A random experiment is one whose outcome cannot be predicted with certainty in advance, even though every possible result is known beforehand. Two features must hold: the experiment has more than one possible result, and the set of all possible results is known before the trial. Tossing a coin, rolling a die, or drawing a card from a well-shuffled pack are all random experiments — you know the menu of possibilities, but not which one will turn up on a given trial. By contrast, "heating water to $100^{\circ}$C at sea level" is deterministic: the outcome is fixed, so it is not a random experiment.

Each individual result of the experiment is an outcome (or sample point). The set of all possible outcomes is the sample space, written $S$ (some books use $U$ or $\Omega$). For a single die, $S = \{1, 2, 3, 4, 5, 6\}$; for one toss of a coin, $S = \{H, T\}$. The total number of sample points is $n(S)$.

Listing the sample space correctly is the single most important skill in this chapter — a wrong $S$ poisons every probability that follows. A few standard cases:

ExperimentSample space $S$$n(S)$
One coin$\{H, T\}$$2$
Two coins (or one coin twice)$\{HH, HT, TH, TT\}$$4$
Three coins$\{HHH, HHT, HTH, HTT, THH, THT, TTH, TTT\}$$8$
One die$\{1, 2, 3, 4, 5, 6\}$$6$
Two dice$\{(1,1), (1,2), \dots, (6,6)\}$ (ordered pairs)$36$
Drawing one cardthe $52$ cards (or $\{$spade, heart, diamond, club$\}$ for suit)$52$

For multi-stage (sequential) trials — toss a coin, then roll a die; or draw cards one after another — pair each result of the first stage with every result of the next. A tree diagram makes this systematic: each branch is one outcome. For a coin then a die, $S = \{H1, H2, H3, H4, H5, H6, T1, T2, T3, T4, T5, T6\}$, so $n(S) = 2 \times 6 = 12$. The same multiplication principle gives $2^n$ outcomes for $n$ coins and $6^n$ for $n$ dice.

A standard pack of 52 playing cards recurs throughout the chapter, so memorise its structure: four suits — spades $\spadesuit$, hearts $\heartsuit$, diamonds $\diamondsuit$, clubs $\clubsuit$ — of $13$ cards each. Hearts and diamonds are red ($26$ cards); spades and clubs are black ($26$ cards). Each suit runs Ace, $2$–$10$, Jack, Queen, King; the face cards are Jack, Queen, King ($3$ per suit, so $12$ in all).

An event is any subset of the sample space — a collection of outcomes we choose to single out. "Getting an even number on a die" is the event $E = \{2, 4, 6\}$, a subset of $S$. This is the bridge to the chapter on Sets: events are sets, and the sample space is the universal set. We say an event $E$ occurs if the actual outcome of the trial belongs to $E$.

$$E \subseteq S, \qquad S = \text{universal set}, \qquad \varnothing = \text{impossible event}$$

Because events are sets, the set operations carry direct meanings. The complement $\overline{A}$ (also written $A'$) is the event "$A$ does not happen" and equals $S - A$. The union $A \cup B$ is "$A$ or $B$ (or both)"; the intersection $A \cap B$ is "$A$ and $B$ together"; the difference $A - B = A \cap \overline{B}$ is "$A$ but not $B$".

Type of eventMeaningExample (single die)
Simple (elementary)Exactly one outcome$\{4\}$ — getting a 4
CompoundTwo or more outcomes$\{2, 4, 6\}$ — an even number
Sure (certain)The whole sample space $S$$\{1,2,3,4,5,6\}$ — a number $\le 6$
ImpossibleThe empty set $\varnothing$getting a 7
Mutually exclusive$A \cap B = \varnothing$ (cannot both occur)$\{1,3,5\}$ and $\{2,4,6\}$
ExhaustiveUnion covers all of $S$$\{1,2,3\}$ and $\{3,4,5,6\}$

Two events $A$ and $B$ are mutually exclusive (disjoint) when they share no outcome, so they can never happen on the same trial. A collection of events is exhaustive when their union is the entire sample space, so at least one of them must occur. When events are both mutually exclusive and exhaustive they partition $S$ into non-overlapping pieces that together account for everything — for example $A$ and its complement $\overline{A}$ always partition $S$.

Two relations are worth stating cleanly. Events $A$ and $B$ are mutually exclusive exactly when $A \cap B = \varnothing$; they are exhaustive exactly when $A \cup B = S$. These two ideas are independent of each other: events can be mutually exclusive without being exhaustive (two faces of a die), exhaustive without being mutually exclusive (overlapping sets whose union is $S$), both, or neither.

Deeper Insight — probability is set theory with a measuring tape: The reason the chapter on Sets sits in the same syllabus as this one is no accident. A sample space is just a universal set, an event is just a subset, and "or", "and", "not" translate exactly into union, intersection, and complement. This is why the vocabulary feels familiar: "mutually exclusive" is the everyday name for disjoint sets, and "exhaustive" simply restates that a family of subsets covers the universal set. Once you accept that an event is a set of outcomes, the laws you already know — De Morgan's laws, the distributive laws — transfer wholesale, which is why "neither $A$ nor $B$" equals $\overline{A} \cap \overline{B} = \overline{A \cup B}$. Probability then adds one new ingredient on top of this set machinery: a way to measure how large an event is, relative to the whole sample space. Get the set picture firm first — especially the habit of writing out $S$ in full — and the numerical rules in the next two topics will feel like bookkeeping rather than new ideas.

An event as a subset of the sample space for a die Event E = {2, 4, 6} inside Sample Space S S = {1, 2, 3, 4, 5, 6} 123456 green = event E (even numbers), the rest is its complement Mutually exclusive events versus overlapping events Mutually Exclusive vs Overlapping ABA ∩ B = ∅ (disjoint) ABA ∩ B ≠ ∅ (shared outcomes)
1
Worked Example
Write the sample space when two coins are tossed together, and list the event $E$ = "at least one head".
Solution
  1. Each coin shows H or T, so the outcomes pair up: $S = \{HH, HT, TH, TT\}$, giving $n(S) = 4$.
  2. "At least one head" means one or two heads — drop the all-tails outcome.
  3. $E = \{HH, HT, TH\}$.

Answer: $S = \{HH, HT, TH, TT\}$ and $E = \{HH, HT, TH\}$, with $n(E) = 3$.

2
Worked Example
A die is rolled. Let $A = \{1, 2, 3\}$ and $B = \{3, 4, 5, 6\}$. Are $A$ and $B$ mutually exclusive? Are they exhaustive?
Solution
  1. Intersection: $A \cap B = \{3\}$, which is not empty — so they are not mutually exclusive (the outcome 3 lies in both).
  2. Union: $A \cup B = \{1,2,3,4,5,6\} = S$, so together they cover the whole sample space.

Answer: Not mutually exclusive (they share 3), but they are exhaustive.

3
Worked Example
Two dice are thrown. How many sample points are there, and how many give a sum of $7$?
Solution
  1. Each die independently shows $1$ to $6$, so $n(S) = 6 \times 6 = 36$ ordered pairs.
  2. Pairs summing to $7$: $(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)$.
  3. That is $6$ favourable sample points.

Answer: $n(S) = 36$, and the event "sum $= 7$" has $6$ outcomes.

4
Worked Example
A card is drawn from a standard pack of $52$. Describe the event $\overline{A}$ if $A$ is "the card is a heart", and state $n(\overline{A})$.
Solution
  1. $A$ = "heart" contains the $13$ hearts, so $n(A) = 13$.
  2. The complement $\overline{A}$ = "not a heart" collects every other card.
  3. $n(\overline{A}) = 52 - 13 = 39$ (the spades, clubs and diamonds).

Answer: $\overline{A}$ = "the card is a spade, club or diamond", with $n(\overline{A}) = 39$.

5
Worked Example
A coin is tossed and then a die is rolled. Write the sample space and the event "head with an even number".
Solution
  1. Pair each coin result with each die face: $S = \{H1,H2,H3,H4,H5,H6, T1,T2,T3,T4,T5,T6\}$.
  2. So $n(S) = 2 \times 6 = 12$.
  3. "Head with an even number" needs H paired with $2,4$ or $6$: $\{H2, H4, H6\}$.

Answer: $n(S) = 12$ and the event is $\{H2, H4, H6\}$, with $3$ outcomes.

6
Worked Example
From the die experiment, let $A$ = "a prime number" and $B$ = "an odd number". Find $A \cup B$ and $A \cap B$, and say what each means.
Solution
  1. Primes on a die: $A = \{2, 3, 5\}$. Odd numbers: $B = \{1, 3, 5\}$.
  2. $A \cup B = \{1, 2, 3, 5\}$ — "prime or odd".
  3. $A \cap B = \{3, 5\}$ — "prime and odd".

Answer: $A \cup B = \{1,2,3,5\}$ (prime or odd) and $A \cap B = \{3,5\}$ (prime and odd).

7
Worked Example
A coin is tossed three times. Write the sample space, and the events $A$ = "exactly two heads" and $B$ = "at most one head".
Solution
  1. With $2^3 = 8$ outcomes, $S = \{HHH, HHT, HTH, HTT, THH, THT, TTH, TTT\}$.
  2. "Exactly two heads": pick which toss is the tail — $A = \{HHT, HTH, THH\}$.
  3. "At most one head" means zero or one head — $B = \{HTT, THT, TTH, TTT\}$.

Answer: $n(S) = 8$; $A = \{HHT, HTH, THH\}$ and $B = \{HTT, THT, TTH, TTT\}$.

8
Worked Example
Two dice are thrown. Describe each event in roster form: $A$ = "the two numbers are equal" (a doublet), $B$ = "the sum is $9$".
Solution
  1. Work over the $36$ ordered pairs $(a,b)$.
  2. Doublets: $A = \{(1,1),(2,2),(3,3),(4,4),(5,5),(6,6)\}$, so $n(A) = 6$.
  3. Sum $9$: $B = \{(3,6),(4,5),(5,4),(6,3)\}$, so $n(B) = 4$.

Answer: $A = \{(1,1),(2,2),(3,3),(4,4),(5,5),(6,6)\}$, $B = \{(3,6),(4,5),(5,4),(6,3)\}$.

9
Worked Example
A die is thrown. Let $A = \{1,2,3,4\}$, $B = \{2,4,6\}$ and $C = \{1,3,5\}$. Find $A - B$, $\overline{A}$, and state whether $B$ and $C$ are mutually exclusive and exhaustive.
Solution
  1. $A - B$ keeps what is in $A$ but not $B$: remove $2, 4$ to get $\{1, 3\}$.
  2. $\overline{A} = S - A = \{5, 6\}$.
  3. $B \cap C = \varnothing$ (even and odd faces share nothing) and $B \cup C = \{1,2,3,4,5,6\} = S$.

Answer: $A - B = \{1,3\}$, $\overline{A} = \{5,6\}$; $B$ and $C$ are both mutually exclusive and exhaustive (they partition $S$).

10
Worked Example
Two cards are drawn one after another, without replacement, from the four cards $\{$Ace, King, Queen, Jack$\}$. How many ordered outcomes are in the sample space?
Solution
  1. The first card can be any of the $4$ cards.
  2. The second is drawn from the remaining $3$ (no replacement).
  3. By the multiplication principle, $n(S) = 4 \times 3 = 12$ ordered pairs (e.g. (A,K), (A,Q), …).

Answer: $n(S) = 4 \times 3 = 12$ ordered outcomes.

11
Worked Example
An experiment tosses a coin; if it shows a head the trial stops, otherwise a die is rolled. Write the sample space.
Solution
  1. If the coin is a head, the experiment ends — one outcome: $H$.
  2. If it is a tail, a die follows, giving $T1, T2, T3, T4, T5, T6$.
  3. Collect every branch of the tree.

Answer: $S = \{H, T1, T2, T3, T4, T5, T6\}$, with $n(S) = 7$.

12
Worked Example
A bag contains $1$ red, $1$ green and $1$ blue ball. Two balls are drawn together (at the same time). Write the sample space of unordered pairs.
Solution
  1. Drawing two together means order does not matter, so list unordered pairs.
  2. Choose $2$ of the $3$ colours: $\{R,G\}, \{R,B\}, \{G,B\}$.
  3. That is $\binom{3}{2} = 3$ outcomes.

Answer: $S = \{RG, RB, GB\}$, with $n(S) = 3$.

Key Points

  • A random experiment has known possible outcomes but an unpredictable result; the set of all outcomes is the sample space $S$.
  • List $S$ carefully: $2^n$ outcomes for $n$ coins, $6^n$ for $n$ dice; for multi-stage trials pair each stage's results (use a tree diagram).
  • Know the pack of $52$: four suits of $13$, $26$ red and $26$ black, $12$ face cards (J, Q, K).
  • An event is a subset of $S$; $\varnothing$ is the impossible event and $S$ itself is the sure event; a simple event has one outcome, a compound event has more.
  • Set operations carry meaning: $A \cup B$ = "A or B", $A \cap B$ = "A and B", $\overline{A}$ = "not A", $A - B$ = "A but not B".
  • Events are mutually exclusive when $A \cap B = \varnothing$, and exhaustive when $A \cup B = S$; the two ideas are independent.
  • $A$ and $\overline{A}$ always partition $S$ — they are mutually exclusive and exhaustive.
  • Probability is set theory plus a way to measure how large an event is relative to $S$.
Tap an option to check your answer0 / 4
Q1.The sample space of tossing one coin is:
Explanation: Two equally likely outcomes.
Q2.Tossing two coins has how many outcomes?
Explanation: $2\times2=4$.
Q3.Rolling a die has a sample space of size:
Explanation: Outcomes $1$ to $6$.
Q4.An event is:
Explanation: Events are subsets of $S$.