• Practice
  • About 16 min
  • 5 practice questions

Random experiments, sample spaces and types of events

Tell random experiments from deterministic ones, write sample spaces, and classify events as sure, impossible, complementary, mutually exclusive, mutually inclusive, exhaustive or equally likely.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Explain what makes an experiment random and give its sample space.
  • Distinguish finite, countably infinite and uncountably infinite sample spaces.
  • Treat events as subsets of the sample space and count them.
  • Decide whether given events are mutually exclusive, mutually inclusive, exhaustive or equally likely, and write combined events in set notation.

According to the textbook, the mathematical theory of probability began with a gambler's dispute in 1654, which led the French mathematicians Blaise Pascal and Pierre de Fermat to set out its first principles; Laplace's major work of 1812 laid its foundation. Today probability is used everywhere from insurance to the study of gas molecules. It measures how likely an event is, on a scale from 0 to 1. This first lesson builds the language of sets that the whole chapter relies on.

Experiments and sample spaces

An experiment is a process whose result is well defined. It is deterministic if its outcome can be predicted with certainty (heating pure water at sea level to 100 °C makes it boil). It is a random experiment if (i) all its possible outcomes are known in advance, (ii) no single outcome can be predicted in advance, and (iii) it can be repeated under identical conditions. Rolling a die and tossing a fair coin are random experiments.

A simple event (elementary event, or sample point) is a basic outcome that cannot be broken down further. The sample space S is the set of all possible outcomes. For a die, S = {1, 2, 3, 4, 5, 6}; for a coin, S = {H, T}.

Sample spaces of some random experiments
ExperimentSample spacen(S)
Tossing two coins{HH, HT, TH, TT}2² = 4
Tossing three coins{HHH, HHT, HTH, THH, HTT, THT, TTH, TTT}2³ = 8
Tossing a coin and rolling a die{H1, ..., H6, T1, ..., T6}2 × 6 = 12
Rolling two dice{(1, 1), (1, 2), ..., (6, 6)}6² = 36
Tossing n coinsall strings of n letters H or T2ⁿ

Not every sample space is finite. Tossing a coin until the first head gives S = {H, TH, TTH, TTTH, ...}, which is countably infinite: its elements can be listed and matched with the natural numbers. Choosing a real number between 0 and 1, or measuring the life of a bulb in hours, gives an uncountably infinite sample space (an interval of real numbers), which cannot be listed. In this chapter we work only with finite sample spaces.

Events

For a finite sample space, every subset of S is an event, so the events are the elements of the power set P(S). If n(S) = n, there are 2ⁿ events. S itself is the sure (certain) event, and the empty set ∅ is the impossible event. For every event A there is the complementary event Ā (also written A′ or Aᶜ), the event not A, made of the outcomes of S that are not in A.

Types of events

  • Mutually exclusive Cannot occur together: Aᵢ ∩ Aⱼ = ∅ for i ≠ j.
  • Mutually inclusive Can occur together: Aᵢ ∩ Aⱼ ≠ ∅.
  • Exhaustive Together they cover S: A₁ ∪ A₂ ∪ ... ∪ Aₖ = S.
  • Mutually exclusive and exhaustive No overlaps, and nothing left out: a partition of S.
  • Equally likely Each has the same chance of occurring.

Worked example 1: classifying events on a die

Roll a die, S = {1, 2, 3, 4, 5, 6}, and let A = {1, 2, 3}, B = {4, 5}, C = {5, 6}. (i) A ∩ B = ∅, so A and B are mutually exclusive. (ii) B ∩ C = {5} ≠ ∅, so B and C are mutually inclusive. (iii) A ∪ B ∪ C = {1, 2, 3, 4, 5, 6} = S, so A, B, C are exhaustive, but not mutually exclusive because B and C overlap. (iv) A and D = {4, 5, 6} are mutually exclusive and exhaustive; in fact D = Ā. (v) For a fair die the six simple events are equally likely; for a die with three faces painted red, two blue and one green, the events red, blue and green are not equally likely.

Worked example 2: counting events

Let S = {a, b, c}. The events are the 2³ = 8 subsets: ∅, {a}, {b}, {c}, {a, b}, {a, c}, {b, c} and {a, b, c}. Of these, ∅ is impossible, {a, b, c} = S is sure, and {a}, {b}, {c} are the simple events. The complement of {a} is {b, c}.

Events in set language

NotationMeaning in words
A ∪ BA or B or both occurs (at least one of them)
A ∩ B (also written AB)A and B both occur
ĀA does not occur
A ∩ B̄only A occurs (A but not B)
Ā ∩ B̄neither A nor B occurs

Key takeaways: a random experiment has known possible outcomes but an unpredictable result; the sample space lists them all; events are subsets of S, so a finite S with n points has 2ⁿ events. Mutually exclusive means no overlap; exhaustive means the union is S; a pair of complementary events is both.

Check your understanding

  1. 1. How many sample points are there when four coins are tossed?

    1. 8
    2. 16
    3. 4
    4. 32
    Show answer

    Answer: B. Each coin has 2 outcomes, so four coins give 2⁴ = 16 sample points. 8 is the number for three coins.

  2. 2. Which of these is NOT a random experiment?

    1. Rolling a die
    2. Drawing a card from a shuffled pack
    3. Tossing a coin
    4. Adding 2 and 3 on a calculator
    Show answer

    Answer: D. The result of 2 + 3 is always 5 and can be predicted with certainty, so that experiment is deterministic. The other three have known possible outcomes but an unpredictable result.

  3. 3. A die is rolled. Which pair of events is mutually exclusive?

    1. {2, 4, 6} and {1, 3, 5}
    2. {1, 2} and {2, 3}
    3. {1, 2, 3} and {3, 4}
    4. {4, 5, 6} and {5}
    Show answer

    Answer: A. {2, 4, 6} ∩ {1, 3, 5} = ∅, so the even and odd outcomes cannot occur together. Each other pair shares an outcome (2, 3 and 5 respectively).

  4. 4. For a die, which collection of events is exhaustive?

    1. {1, 2}, {3, 4}, {6}
    2. {1, 3, 5}, {2, 4}
    3. {1, 2, 3}, {3, 4, 5}, {5, 6}
    4. {1}, {2}, {3}, {4}, {5}
    Show answer

    Answer: C. {1, 2, 3} ∪ {3, 4, 5} ∪ {5, 6} = {1, 2, 3, 4, 5, 6} = S. The other collections each miss an outcome (5, 6 and 6 respectively).

  5. 5. If a sample space has 4 sample points, how many events can be defined on it?

    1. 4
    2. 8
    3. 16
    4. 24
    Show answer

    Answer: C. Every subset of S is an event, and a set with 4 elements has 2⁴ = 16 subsets, including ∅ and S itself.

Privacy · Terms · Refunds · Delivery