Skip to content

The sample space and events

The sample space and events

The sample space

An experiment in probability is an action whose result is not known in advance: throwing a die, choosing a student at random, a football match. The sample space is the set of all the possible outcomes of the experiment. It is written U\displaystyle U.

  • A die is thrown: U={1,2,3,4,5,6}\displaystyle {U}={\{1,2,3,4,5,6\}}.
  • A coin is tossed twice: four outcomes – heads-heads, heads-tails, tails-heads, tails-tails. The outcome heads-tails – heads on the first toss and tails on the second – is not the outcome tails-heads.
  • A football team plays a match: three outcomes – a win, a draw, a loss.

In this chapter the sample space is always finite: it has a certain number of outcomes.

Simple and compound events

An event is a set of outcomes taken from the sample space. The event happened if the experiment’s outcome is one of its outcomes.

  • A simple event – one outcome: “a 5 comes up”, {5}\displaystyle \{5\}.
  • A compound event – several outcomes. It is described with words like “or”, “greater than”, “at most”, “at least”:
    • “an even number greater than 3 comes up”: {4,6}\displaystyle \{4,6\};
    • “at most 2 comes up” – 2 or less: {1,2}\displaystyle \{1,2\};
    • “at least 5 comes up” – 5 or more: {5,6}\displaystyle \{5,6\}.
  • The certain event – the whole sample space, U\displaystyle U: “a number less than 10 comes up” always happens.
  • The impossible event – the empty set, ∅\displaystyle \emptyset: “a 7 comes up” never happens.
Equally likely outcomes

When all the outcomes in the sample space have the same probability – a fair die, a fair coin, a choice at random – the probability of an event is the share of its outcomes among all the outcomes:

P(A)=kn\displaystyle P(A)=\frac{k}{n}

k\displaystyle k – the number of outcomes in the event A\displaystyle A; n\displaystyle n – the number of outcomes in the sample space.

A fair die is thrown. A\displaystyle A – “an even number greater than 3 comes up”.

P(A)=26=13P(A)=\frac{2}{6}=\frac{1}{3}

It follows that P(U)=nn=1\displaystyle {P(U)}={\frac{n}{n}}={1}, that P(∅)=0n=0\displaystyle {P(\emptyset)}={\frac{0}{n}}={0}, and that the probability of every event is between 0 and 1.

The sample space of two dice

In an experiment of two stages each outcome is a pair. A blue die and a red die are thrown, so the sample space has 6⋅6=36\displaystyle {6\cdot6}={36} equally likely pairs – a square for each pair in the outcome table. Each square holds the sum of the two dice.

B\displaystyle B – “the sum of the two dice is at most 4”. The squares of B\displaystyle B are marked:

B\displaystyle B holds 6 pairs out of 36:

P(B)=636=16P(B)=\frac{6}{36}=\frac{1}{6}
A sample space whose outcomes are not equally likely

The sample space of an experiment can be written in several ways, but the formula P(A)=kn\displaystyle {P(A)}={\frac{k}{n}} holds only when the outcomes are equally likely.

If only the sum of the two dice is written down, the sample space is {2,3,4,…,12}\displaystyle \{2,3,4,\dots,12\} – 11 outcomes. But:

  • the sum 2 has one pair, (1,1): P(2)=136\displaystyle {P(2)}={\frac{1}{36}};
  • the sum 7 has six pairs, from (1,6) to (6,1): P(7)=636\displaystyle {P(7)}={\frac{6}{36}}.

The probability that the sum is 7 is not 111\displaystyle \frac{1}{11}. To work it out, go back to the sample space of the 36 pairs, where all the outcomes are equally likely.

Exercise 1

A jar holds 10 slips of paper, numbered from 1 to 10.
One slip is taken out at random.
A\displaystyle A – “the number on the slip is even or greater than 7”.

a

Write the sample space and the event A\displaystyle A as sets of outcomes.

b

Work out P(A)\displaystyle P(A).

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    Exercise 2

    A blue die and a red die are thrown.
    Mark in the table the outcomes of the event “the sum of the two dice is at least 9”, and work out its probability.

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      Exercise 3

      A blue die and a red die are thrown.
      Each square holds the difference between the larger number and the smaller one.
      Mark the outcomes of the event “the difference between the two dice is at most 1”, and work out its probability.

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        Exercise 4

        A family has three children.
        For each child, being a boy and being a girl are equally likely.

        a

        Write the sample space. Write each outcome in the order of the children from the eldest, for example BGB – a boy, then a girl, then a boy.

        b

        What is the probability that the family has exactly two girls?

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

          c

          Dana says: “The number of girls in the family can be 0, 1, 2 or 3. These are four outcomes, so the probability of exactly two girls is 14\displaystyle \frac{1}{4}.”
          Explain Dana’s mistake.