Random variables and distribution tables from equally likely outcomes
“
draw up a probability distribution table relating to a given situation involving a discrete random variable , and calculate and .
A random variable is a number whose value is decided by chance. "The number of heads when three coins are thrown", "the total score on two dice" and "the number of throws needed to get a 6" are all random variables: you cannot say in advance what the number will be, but you can say how likely each possible value is.
Two pieces of notation run through the whole topic:
- a capital letter such as names the random variable itself — "the number of heads";
- a lower-case letter such as stands for one particular value it can take — , , and so on. So is read "the probability that the number of heads is 2".
is discrete when its possible values can be listed one by one (usually whole numbers: ), with gaps between them. Heights and times, which can take any value in a range, are continuous and belong to the Normal Distribution topic (syllabus 5.5).
A probability distribution table lists every value can take, with the probability of each:
Every such table obeys two rules:
The symbol (capital Greek sigma, also printed ) means "add up over every value of in the table". So the second rule says the probabilities in the bottom row always add up to exactly 1, because must take one of its listed values. It is the most useful check in the topic: after building any table, add the bottom row.
What "draw up the probability distribution table" earns marks for
Mark schemes give the first mark for a table with the correct list of -values, and the rest for the probabilities, each linked to the right -value. So always list every possible value first (including values such as that are easy to forget), then fill in the probabilities. Fractions do not need to be simplified; decimals must be exact or correct to at least 3 significant figures.
- 1
List the possible values of . Read the rule that defines and write down every number it can produce.
This is the top row of the table, and it earns the first mark on its own.
- 2
Work out how each value can happen. For equally likely outcomes, list them all (a grid is best for two dice or spinners) and count; for unequal probabilities, see §02; for selections without replacement, see §03.
Each value of X is an event, and its probability comes from the outcomes that make up that event.
- 3
Write each probability in the table under its value of .
Keep fractions over the same denominator where you can — it makes the next step easy.
- 4
Check that the bottom row adds to 1.
If it doesn't, an outcome has been missed or counted twice. Fix it before using the table for anything else.
Equally likely outcomes: use a grid
When two fair dice or spinners are used together, every pair of results is equally likely. With a spinner of sides and one of sides there are equally likely pairs, so
The reliable way to count is a grid: one spinner along the top, the other down the side, and in each cell the value of that pair produces. Then count the cells holding each value.
Two spinners, X = the total score
A fair spinner has three sides numbered . A fair spinner has two sides numbered . Both spinners are spun and is the sum of the two scores. Draw up the probability distribution table for .
Show full working
Spinner A down the side, spinner B along the top; each cell holds the total for that pair. Counting equal cells gives the table.
- 1
Count the equally likely pairs. Spinner has equally likely scores and spinner has , so there are equally likely pairs.
The spinners are fair and independent, so every (A, B) pair has the same probability, 1/6.
- 2
Fill in the grid of totals. Row : , . Row : , . Row : , .
Writing the value of X in every cell is what stops a pair being missed.
- 3
List the possible values of . The totals in the grid are .
The smallest total is 1 + 1 and the largest is 3 + 2, and every whole number between appears.
- 4
Count the cells for each value. : cell. : cells. : cells. : cell.
3 and 4 each happen in two different ways, so they are twice as likely as 2 or 5.
- 5
Divide each count by .
Leaving them over 6 keeps the check in the next step simple.
- 6
Check the sum.
The counts must add to the number of cells in the grid, 6.
The same grid works for any rule — sum, product, difference, 'the higher score' — only the number written in each cell changes.
A rule with two cases, on two dice
Two fair 6-sided dice with faces labelled are thrown. The two scores are noted. The random variable is defined as follows.
- If the two scores are equal,
- If the scores are not equal, is the larger score minus the smaller score
Draw up the probability distribution table for .
Show full working
The 36 equally likely pairs, each labelled with X. The diagonal (equal scores) gives X = 0 in 6 cells; the bands on either side then give 10, 8, 6, 4 and 2 cells for X = 1 to 5.
- 1
Count the equally likely pairs. Each die has faces, so there are equally likely ordered pairs.
(2, 5) and (5, 2) are different outcomes — the first die and the second die are different objects — so both appear in the grid.
- 2
Read the rule as one formula. For equal scores , and "larger minus smaller" is also when the scores are equal. So in every cell, , the difference between the two scores ignoring its sign.
Spotting that the two cases join up into one rule makes the grid quick to fill.
- 3
List the possible values of . The difference can be or .
The biggest possible difference is 6 − 1 = 5.
- 4
Count the cells for each value from the grid. : the diagonal, cells. : cells above the diagonal and below, cells. : . : . : . : .
Each band of equal differences runs parallel to the diagonal, one cell shorter on each side every time you move out.
- 5
Divide each count by .
The mark scheme accepts these unsimplified, or as 1/6, 5/18, 2/9, 1/6, 1/9, 1/18.
- 6
Check the sum.
The counts add to 36, the number of cells.
Part (b) of this question goes on to find E(X) and Var(X) from this table — it is worked in §05.
Dice and spinners with repeated numbers
Some questions use a die with faces such as . It is still a fair die with six equally likely faces — the two faces marked are different faces that happen to show the same number. Give the grid one row (or column) per face, not per number, so the grid for two such dice is still . Then , not .
Shortcut: faces showing the same number can be grouped into one block of the grid, as long as the block keeps all its cells. For two dice with faces and , the pair "red 2, blue 3" is a block of of the cells, so it has probability .
Counting and as one outcome, so the grid for two dice has only cells
Use ordered pairs: two dice give equally likely outcomes
The 21 'unordered' outcomes are not equally likely — a double can happen one way, a non-double two ways.
Leaving a value out of the top row because it looks special, e.g.
List every value the rule can produce before filling in probabilities
The first mark is for the correct set of x-values, so a missing value costs marks straight away.
Giving a die with faces only three rows in the grid
One row per face: six rows, each with probability — or one block of two rows per number
Three single rows would treat the die as having three faces with the wrong cell counts; each number must keep the 2 faces it really has.
Your turn
Draw the grid every time, even when you think you can see the counts.
- 19709/52 M/J 2021 Q4(a)3 marks
A fair spinner has sides numbered . Another fair spinner has sides numbered . Each spinner is spun. The number on the side on which a spinner comes to rest is noted. The random variable is the sum of the numbers for the two spinners.
Draw up the probability distribution table for .
Stuck? Show hint
A 3 by 3 grid — give the first spinner one row per side, so the number 2 gets two rows.
Show solution
- 1
Count the pairs. equally likely pairs.
Each spinner has three equally likely sides.
- 2
Row for the side marked 1: , , .
Add the first spinner's number to each of the second spinner's numbers.
- 3
Row for the first side marked 2: , , .
- 4
Row for the second side marked 2: the same totals again, .
Two different sides show 2, so this row appears twice — that is what makes totals involving 2 more likely.
- 5
Count each value. : . : . : . : . : .
The counts add to 9, the number of cells.
- 6
Divide by 9. , , , , .
Check: 1 + 2 + 1 + 3 + 2 = 9, so the probabilities add to 1.
Answer - 1
- 29709/53 O/N 2025 Q4(a)3 marks
A fair red spinner has 4 sides, numbered . A fair blue spinner has 4 sides, numbered . When a spinner is spun, the score is the number on the side on which it lands. The two spinners are spun at the same time.
The random variable denotes the higher of the two scores obtained. If the two scores are equal, then the value of is .
Draw up the probability distribution table for .
Stuck? Show hint
A 4 by 4 grid of 16 cells. Mark the cells where the two scores are equal first — those are all .
Show solution
- 1
Count the pairs. equally likely pairs.
- 2
Equal scores give . The scores can be equal only at , and (red has no 0, blue has no 4): cells.
Check the equal pairs before anything else, because the rule overrides 'the higher score' there.
- 3
Red score 1. Blue gives higher . (Blue 1 is equal. Blue 2 and 3 give higher and .)
Work across each row of the grid in turn.
- 4
Red score 2. Blue give higher ; blue is equal; blue gives .
- 5
Red score 3. Blue give higher ; blue is equal.
- 6
Red score 4. Blue all give higher .
- 7
Count each value. : . : (red 1, blue 0). : red 1 blue 2, and red 2 blue 0 or 1: . : red 1 blue 3, red 2 blue 3, red 3 blue 0, 1, 2: . : .
Check: 3 + 1 + 3 + 5 + 4 = 16.
Answer - 1
- 39709/53 O/N 2024 Q2(a)3 marks
A red fair six-sided dice has faces labelled . A blue fair six-sided dice has faces labelled . Both dice are thrown. The random variable is the product of the scores on the two dice.
Draw up the probability distribution table for .
Stuck? Show hint
Use the block shortcut from the callout: the 36-cell grid splits into blocks, one for each (red number, blue number) pair.
Show solution
- 1
Size of each block. Each red number is on faces and each blue number is on faces, so every (red number, blue number) block holds of the cells.
Grouping equal faces is fine because each block keeps all of its cells.
- 2
List the six blocks and their products. , , , , , .
Two rows of red numbers times three columns of blue numbers gives six blocks.
- 3
Count the cells for each product. appears in two blocks: cells. each appear in one block: cells.
Products that come from different blocks are added together.
- 4
Divide by 36. , , , , .
Check: 6 + 12 + 6 + 6 + 6 = 36.
Answer - 1
- 49709/52 O/N 2024 Q3(a)3 marks
A fair coin and an ordinary fair six-sided dice are thrown at the same time. The random variable is defined as follows.
- If the coin shows a tail, is twice the score on the dice.
- If the coin shows a head, is the score on the dice if the score is even and is otherwise.
Draw up the probability distribution table for .
Stuck? Show hint
There are equally likely (coin, dice) pairs. Make a 2-row grid: one row for tail, one for head.
Show solution
- 1
Count the pairs. equally likely outcomes.
- 2
Tail row (twice the score): .
Each of these six outcomes has probability 1/12.
- 3
Head row (even score kept, odd score gives 0): dice give .
- 4
Count each value across both rows. : . : (tail-1, head-2). : . : . : each.
Check: 3 + 2 + 2 + 2 + 1 + 1 + 1 = 12.
Answer
The rest of this note
Can you do all of these?
List every possible value of X before any probability — the first mark is for the correct set of x-values
Use a grid of ordered pairs for two dice or spinners; give repeated faces their own rows
With biased coins, work out each scenario separately; only multiply by a number of orders when every order has the same probability
Without replacement: count selections with nCr for a handful, or multiply changing fractions for 'until' — never use the geometric formula
Add the bottom row of every table: it must be exactly 1
P(X = x) = kx²: substitute each x (a negative x squared is positive), sum to 1, solve for k, then give numbers
Var(X) = E(X²) − [E(X)]²; square x (not p) in E(X²); keep fractions exact
Two unknown probabilities: one equation from sum to 1, one from E(X) or the given condition
Binomial needs fixed n, two outcomes, constant p and independence; state conditions in context
Translate 'at least / more than / at most / fewer than' into a list of x-values, then take the shorter of the list and its complement
Write the unsimplified binomial terms before the decimals, keep 5–6 s.f. in each term, round only the answer
Smallest n: 1 − (1 − p)ⁿ > target; dividing by a negative log flips the inequality; round up
E(X) = np and Var(X) = np(1 − p); if both n and p are unknown, divide the variance by the mean
Geometric: no counting factor, r − 1 failures, E(X) = 1/p; for ranges ask 'how many trials must all fail?'
r-th success on trial n: choose r − 1 positions from the first n − 1 trials only, then multiply by p for the last trial
Two-stage questions: decide what one trial is, carry the earlier p unrounded