Sample Space
Every question with a fully worked solution.
- Sample Space - Video - Probability, Sample Spaces, and the Complement Rule Watch
Theory
The sample space \(S\) of an experiment is the set of all its possible outcomes. This Year 11 Mathematics Advanced page shows how to list a sample space, count outcomes with arrays and the multiplication principle, write an event as a subset of \(S\), and find probabilities of equally likely outcomes by counting, using the complement rule for "not" and "at least one".
An experiment, such as rolling a die, has a number of possible results called outcomes. The sample space \(S\) is the set of all the outcomes. For one die, \(S=\{1,2,3,4,5,6\}\) and \(|S|=6\).
An event is a subset of the sample space. "Roll an even number" is the event \(A=\{2,4,6\}\subseteq S\). The event occurs when the outcome is one of its elements.
Outcomes are equally likely when each has the same chance: a fair coin, a fair die, or an object chosen "at random". Then the probability of \(A\) is the number of outcomes in \(A\) divided by the number in \(S\). Every probability lies between \(0\) (impossible) and \(1\) (certain).
The complement \(\overline{A}\) is the event "\(A\) does not occur": the outcomes of \(S\) that are not in \(A\). It is also written \(A'\).
When an experiment has two stages, such as a coin then a spinner, or two dice, each outcome is an ordered pair. \((2,5)\) and \((5,2)\) are different outcomes. If the first stage has \(m\) results and the second has \(n\), there are \(m\times n\) outcomes; this is the multiplication principle. Three coins give \(2\times 2\times 2=8\) outcomes.
When objects are put in order and cannot be repeated, there is one fewer choice at each stage. Two different digits chosen from four, one for the tens and one for the units, give \(4\times 3=12\) numbers. Three people in a row of three seats give \(3\times 2\times 1=6\) orders.
For a sample space of equally likely outcomes:
The complement rule:
Probabilities always satisfy:
Multiplication principle for two stages with \(m\) and \(n\) results:
| Standard pack of 52 cards | Count |
|---|---|
| Suits: hearts, diamonds (red); clubs, spades (black) | \(4\) suits of \(13\) |
| Ranks in each suit: A, 2–10, J, Q, K | \(13\) |
| Cards of one rank (e.g. kings) | \(4\) |
| Face (picture) cards: J, Q, K | \(3\times 4=12\) |
| Red cards | \(26\) |
How to find a probability by counting
- Describe the sample space: list it, draw the array for two dice, or multiply the number of results at each stage.
- Check the outcomes are equally likely. Use ordered pairs for two dice or two spins, so \((1,2)\) and \((2,1)\) are counted separately.
- List the outcomes in the event and count them to get \(|A|\).
- Divide and simplify: \(P(A)=\dfrac{|A|}{|S|}\). For "not" or "at least one", find the complement and subtract from \(1\).
- Round only at the end if a decimal is asked for.
Listing outcomes without missing any
- Coins: write the outcomes in a fixed order, such as by number of heads: \(HH\), then \(HT,\ TH\), then \(TT\).
- Arrangements: fix the first position, list every order of the rest, then move to the next first choice.
- Two dice: use the \(6\times 6\) array and shade the cells in the event.
(i) Write \(A\) as a subset of the sample space and find \(P(A)\).
(ii) Find \(P(\overline{A})\).
Give fraction answers in simplest form.
(i) \(S=\{1,2,\ldots,20\}\), so \(|S|=20\). Remember \(1\) is not prime.
| \(A\) | \(=\) | \(\{2,3,5,7,11,13,17,19\}\subseteq S\) |
| \(|A|\) | \(=\) | \(8\) |
| \(P(A)\) | \(=\) | \(\dfrac{|A|}{|S|}\) |
| \(\) | \(=\) | \(\dfrac{8}{20}\) |
| \(\) | \(=\) | \(\mathbf{\dfrac{2}{5}}\) |
(ii) Use the complement rule:
| \(P(\overline{A})\) | \(=\) | \(1-P(A)\) |
| \(\) | \(=\) | \(1-\dfrac{2}{5}\) |
| \(\) | \(=\) | \(\mathbf{\dfrac{3}{5}}\) |
(i) List the sample space and state \(|S|\).
(ii) Find the probability that the sum is \(4\).
(iii) Find the probability of at least one \(3\).
(i) Pair each first result with each second result:
| \(S\) | \(=\) | \(\{(1,1),(1,2),(1,3),\) |
| \(\) | \(\) | \(\phantom{\{}(2,1),(2,2),(2,3),\) |
| \(\) | \(\) | \(\phantom{\{}(3,1),(3,2),(3,3)\}\) |
| \(|S|\) | \(=\) | \(3\times 3=\mathbf{9}\) |
(ii) Sum \(4\): \(\{(1,3),(2,2),(3,1)\}\), which is \(3\) outcomes.
| \(P(\text{sum }4)\) | \(=\) | \(\dfrac{3}{9}\) |
| \(\) | \(=\) | \(\mathbf{\dfrac{1}{3}}\) |
(iii) No \(3\) at all: \(\{(1,1),(1,2),(2,1),(2,2)\}\), which is \(4\) outcomes.
| \(P(\text{at least one }3)\) | \(=\) | \(1-P(\text{no }3)\) |
| \(\) | \(=\) | \(1-\dfrac{4}{9}\) |
| \(\) | \(=\) | \(\mathbf{\dfrac{5}{9}}\) |
(i) Find \(P(D=2)\).
(ii) Find \(P(D\le 1)\).
Give fraction answers in simplest form.
Draw the \(6\times 6\) array of differences: \(|S|=36\).
(i) \(D=2\): \((1,3),(3,1),(2,4),(4,2),\) \((3,5),(5,3),(4,6),(6,4)\), which is \(8\) outcomes.
| \(P(D=2)\) | \(=\) | \(\dfrac{8}{36}\) |
| \(\) | \(=\) | \(\mathbf{\dfrac{2}{9}}\) |
(ii) \(D=0\) on the diagonal: \(6\) outcomes. \(D=1\) next to the diagonal: \(5+5=10\) outcomes.
| \(P(D\le 1)\) | \(=\) | \(\dfrac{6+10}{36}\) |
| \(\) | \(=\) | \(\dfrac{16}{36}\) |
| \(\) | \(=\) | \(\mathbf{\dfrac{4}{9}}\) |
(i) List the sample space.
(ii) Find the probability that the number is greater than \(500\).
(iii) It is known that the number is odd. Find the probability that it is greater than \(500\).
(i) Fix the hundreds digit, then swap the other two:
| \(S\) | \(=\) | \(\{257,275,527,572,725,752\}\) |
| \(|S|\) | \(=\) | \(3\times 2\times 1=6\) |
(ii) Greater than \(500\): hundreds digit \(5\) or \(7\), so \(\{527,572,725,752\}\).
| \(P(\gt 500)\) | \(=\) | \(\dfrac{4}{6}\) |
| \(\) | \(=\) | \(\mathbf{\dfrac{2}{3}}\) |
(iii) Odd numbers end in \(5\) or \(7\). The sample space shrinks to \(\{257,275,527,725\}\): \(4\) outcomes. Of these, \(527\) and \(725\) are greater than \(500\).
| \(P\) | \(=\) | \(\dfrac{2}{4}\) |
| \(\) | \(=\) | \(\mathbf{\dfrac{1}{2}}\) |
Knowing the number is odd changes the probability from \(\dfrac{2}{3}\) to \(\dfrac{1}{2}\).
Common pitfalls
Frequently asked questions
What is a sample space in probability?
The sample space is the set of all possible outcomes of an experiment, usually called S. For one roll of a die, S is 1, 2, 3, 4, 5, 6, so it has 6 outcomes.
How many outcomes are there when two dice are rolled?
36. Each of the 6 outcomes on the first die can be paired with each of the 6 outcomes on the second, giving 6 times 6 = 36 ordered pairs.
How do you find the probability of an event?
When the outcomes are equally likely, count the outcomes in the event and divide by the number of outcomes in the sample space. Then simplify the fraction.
How do you work out the probability of at least one?
Use the complement. Find the probability of none, then subtract it from 1. For four coins, P(at least one head) = 1 - 1/16 = 15/16.
Why are the sums of two dice not equally likely?
Different sums can be made in different numbers of ways. A sum of 2 needs (1,1), but a sum of 7 can be made 6 ways, so 7 is six times as likely as 2.
What is the complement of an event?
The complement of A is the event that A does not happen. It contains every outcome in the sample space not in A, and its probability is 1 minus P(A).