• Foundation
  • About 16 min
  • 5 practice questions

Sample spaces and events

Write the sample space of an experiment, count its size n(S), describe events as subsets of the sample space, and find probabilities by counting.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Write a complete sample space S, with no outcome missing or repeated, and find its size n(S).
  • Describe an event as a set of outcomes (a subset of S) and find its probability by counting.
  • Choose a sample space with the right level of detail, including for experiments with two parts.

To count favourable and possible outcomes correctly, we first need a clear list of everything that can happen. That list is the sample space, and getting it right is half the work in most probability problems.

The sample space

The sample space S of an experiment is the set of all its possible outcomes. Each outcome is an element of S, and the number of elements is the sample size, written n(S). Two rules: S must include every possible outcome, and no outcome is listed twice.

Some sample spaces
ExperimentSample space Sn(S)
Toss a coin{H, T}2
Roll a die{1, 2, 3, 4, 5, 6}6
Result of a match for one team{Win, Lose, Draw}3
Toss two coins{HH, HT, TH, TT}4
Choose an integer from −3 to 3{−3, −2, −1, 0, 1, 2, 3}7

Notice that HT (first coin heads, second tails) and TH are different outcomes. Writing {two heads, one of each, two tails} lumps HT and TH together, and those three results are not equally likely.

The level of detail depends on the question. For 'Will it rain tomorrow?' S = {Rain, No rain} is enough. To plan an outing you might need S = {No rain, Drizzle, Light rain, Heavy rain}.

Events

An event is any set of outcomes, that is, a subset of the sample space. Rolling a die, the event 'a number greater than 4' is E = {5, 6}. Tossing two coins, 'at least one head' is E = {HH, HT, TH}. The event with no outcomes, such as 'a 7 on a die', is impossible; the event S itself is certain.

If all outcomes in S are equally likely, P(E) = n(E) ÷ n(S), where n(E) is the number of outcomes in the event E.

Sample space for rolling a die

  • Event: even number
    • {2, 4, 6}
    • P = 3/6 = 1/2
  • Event: prime number
    • {2, 3, 5}
    • P = 3/6 = 1/2
  • Event: more than 4
    • {5, 6}
    • P = 2/6 = 1/3
  • Event: 7
    • { } (no outcomes)
    • P = 0, impossible

Worked example 1: two-part choices

A canteen offers three parathas (aloo, gobi, paneer) and two drinks (lassi, chaas). A student picks one of each at random. List S and find P(paneer paratha).

Working: pair each paratha with each drink. S = {aloo-lassi, aloo-chaas, gobi-lassi, gobi-chaas, paneer-lassi, paneer-chaas}, so n(S) = 3 × 2 = 6. The event 'paneer' = {paneer-lassi, paneer-chaas}, so P = 2/6 = 1/3. When one step has m outcomes and the next has n, the combined experiment has m × n outcomes.

Worked example 2: a die and a coin together

A die is rolled and a coin is tossed. n(S) = 6 × 2 = 12: {1H, 2H, 3H, 4H, 5H, 6H, 1T, 2T, 3T, 4T, 5T, 6T}. The event 'heads and a number more than 4' is {5H, 6H}, so its probability is 2/12 = 1/6.

Worked example 3: three coins

Three coins are tossed. If we only record the number of heads, S = {0, 1, 2, 3}, but these four results are not equally likely. To find probabilities, list the 2 × 2 × 2 = 8 equally likely outcomes: HHH, HHT, HTH, THH, HTT, THT, TTH, TTT. Exactly two heads = {HHT, HTH, THH}, so P(exactly two heads) = 3/8. No heads = {TTT}: P = 1/8.

Key takeaways: the sample space S lists every possible outcome exactly once, and n(S) is its size. An event is a subset of S. With equally likely outcomes, P(E) = n(E) ÷ n(S). For experiments in steps, multiply the numbers of outcomes, and keep orders like HT and TH separate.

Check your understanding

  1. 1. A coin is tossed and a die is rolled together. How many outcomes are in the sample space?

    1. 8
    2. 12
    3. 6
    4. 36
    Show answer

    Answer: B. Each of the 2 coin results can go with each of the 6 die results: 2 × 6 = 12 outcomes.

  2. 2. Two coins are tossed. Which set is the event 'at least one head'?

    1. {HH}
    2. {HT, TH}
    3. {HH, HT, TH, TT}
    4. {HH, HT, TH}
    Show answer

    Answer: D. At least one head means one or two heads: HH, HT and TH. Only TT has no head.

  3. 3. An integer is chosen at random from −4 to 4 (inclusive). What is the probability that it is positive?

    1. 4/9
    2. 1/2
    3. 1/3
    4. 5/9
    Show answer

    Answer: A. S = {−4, −3, −2, −1, 0, 1, 2, 3, 4}, so n(S) = 9. Positive: {1, 2, 3, 4}, 4 outcomes (0 is neither positive nor negative). P = 4/9.

  4. 4. Three coins are tossed and the number of heads is recorded. What is the sample space?

    1. {1, 2, 3}
    2. {0, 1, 2}
    3. {0, 1, 2, 3}
    4. {0, 1, 2, 3, 4}
    Show answer

    Answer: C. There can be no heads, 1, 2 or 3 heads, so S = {0, 1, 2, 3}. {1, 2, 3} and {0, 1, 2} miss possible results, and 4 heads is impossible with three coins.

  5. 5. Three fair coins are tossed. What is the probability of exactly two heads?

    1. 1/3
    2. 3/8
    3. 1/2
    4. 2/3
    Show answer

    Answer: B. There are 2 × 2 × 2 = 8 equally likely outcomes, and exactly two heads happens in HHT, HTH and THH: 3 outcomes. P = 3/8.

Sign in to keep track of the lessons you finish.

Next lesson → Tree diagrams for experiments in steps

Privacy · Terms · Refunds · Delivery