O Level Maths 4024 · Area 8 · Probability

Relative and Expected Frequencies

Relative frequency is the probability an experiment actually produces: the number of times an event happened divided by the number of trials. With few trials it jumps about, and with many trials it settles down near the true probability, which is why an estimate from a large sample is worth more than one from a small sample. Multiply a probability by the number of trials and you get the expected frequency, the count you would predict before the experiment is run.

Not started

Syllabus coverage

  • Understand relative frequency as an estimate of probability
  • Calculate expected frequencies
  • Use the results of an experiment, such as spins of a spinner, to estimate the probability of an outcome
  • Use probability to estimate an expected value from a population
  • Probabilities should be given as a fraction, decimal or percentage
  • Understand what is meant by fair, bias and random

Part of the O Level Maths syllabus 4024.

Relative frequency settling down towards the theoretical probability1050100200500100000.250.50.751number of trials in the blockrelative frequency0.1000.1800.1400.1600.1700.166theoretical probabilityEach bar is the relative frequency of the outcome in that block of trials.The early blocks scatter widely; the later bars cluster on the line at 1/6 ≈ 0.167.
Relative frequency plotted against the number of trials, swinging widely at first and settling towards the true probability as the trials accumulate.

Relative frequency: what an experiment tells you

Relative frequency is the fraction of trials in which an event happened. Run the trial, count how many times the event occurred, and divide by the number of trials: relative frequency = number of successes divided by number of trials. If a spinner lands on red 9 times in 40 spins, the relative frequency of red is rac940=0.225.

This is not the same number as the theoretical probability. A fair spinner with four equal sectors has P(extred)=0.25 before you spin it; the experiment gives 0.225, which is close but not equal. The relative frequency is an estimate of the probability, built from what actually happened rather than from what should happen.

The estimate is written as a fraction, a decimal or a percentage, exactly like any other probability, and the same answer in a different form is equally acceptable. Keep the fraction rac940 visible in your working even if you finish with 0.225, because it shows where the number came from.

OutcomeCountRelative frequency
Red9rac940=0.225
Blue13rac1340=0.325
Green11rac1140=0.275
Yellow7rac740=0.175
Total401
The relative frequencies of all the outcomes must add to 1, because every trial produces exactly one outcome. If they do not, a count has been copied wrongly.

Why more trials give a better estimate

A small experiment is dominated by luck. Toss a coin ten times and seven heads is unremarkable; the relative frequency 0.7 says almost nothing about the coin. Toss it a thousand times and the proportion of heads will be very close to 0.5, because the random excess of heads over tails grows much more slowly than the number of tosses.

This settling down is what the syllabus means by relative frequency being an estimate that improves with more trials. Plotted on a graph, the relative frequency starts with wild swings and then flattens into a band around the true probability. The graph rarely sits exactly on the true value, but the size of the swings shrinks as the number of trials grows.

The practical consequence for an exam question is a comparison: an estimate from 20 trials is weak evidence, an estimate from 2000 trials is strong evidence. When a question asks which of two experiments gives the better estimate, the answer is the one with more trials, and the reason is that random variation has less effect on a larger sample.

TrialsTimes point upRelative frequency
20110.55
100620.62
5002950.59
200011780.589
More trials do not make the answer exact, they make it reliable. Even 2000 trials can leave the second decimal place slightly out.

Expected frequency = probability x number of trials

If the probability of an event is p and you run the trial n times, the expected frequency is pimesn. A biased die with P(extsix)=0.3, thrown 250 times, is expected to show a six 0.3imes250=75 times. The calculation is one multiplication, and the number it produces is a count, not a probability.

The same formula answers the other direction of question. If you are told the expected number and the number of trials, divide to recover the probability: 75 sixes in 250 throws gives p=rac75250=0.3. Recognising which of the three quantities is missing is most of the work.

Expected frequencies are averages over many repetitions of the whole experiment. They are not promises about one run: a fair coin tossed 100 times has an expected 50 heads, and getting 54 heads is completely ordinary. Write 'expected' or 'about' in your answer when the question is about a prediction.

ProbabilityTrialsExpected frequency
0.325075
0.04125050
rac16600100
0.72450324
0.151500225
The expected frequency can never be bigger than the number of trials, because a probability is at most 1. An answer larger than n means the probability was used upside down.

Expected values from a population

The same multiplication estimates a count in a whole population when you only have a sample. Find the relative frequency in the sample, then multiply by the size of the population. If 12 apples in a sample of 80 are bruised, the relative frequency is rac1280=0.15, so a crate of 1500 apples should contain about 0.15imes1500=225 bruised apples.

This is the calculation behind every 'estimate how many in the whole batch' question: quality control on a sample of 300 parts, a survey of 250 people, a count of tagged fish. The sample has to be random for the estimate to be fair, which is exactly the sense in which the syllabus uses the word random.

Keep the two numbers apart in your head. The relative frequency describes the sample and is a probability, between 0 and 1. The expected value describes the population and is a count, which can be in the thousands. Writing 0.15 apples, or 225 as a probability, is the classic slip.

  • Sample: 12 bruised out of 80, so the relative frequency is 0.15
  • Population: 0.15imes1500=225 bruised apples in the crate
  • The relative frequency is a probability; the answer is a count
Round a count to a whole number at the end, and only at the end. 224.6 bruised apples means about 225; it does not mean 224.6 of anything.

Which probability should you use?

If the object is stated to be fair, use the theoretical probability: a fair die gives P(extsix)=rac16 however many times you roll it. Counting outcomes is exact, and it does not need an experiment.

If the object may be biased, or the situation cannot be modelled by counting, use the relative frequency from the data. A drawing pin cannot land on any of a known set of equally likely faces, so its probability has to come from tossing it: 140 landings point up in 250 tosses gives 0.56.

When both are available and they disagree, the disagreement is the finding. A die thrown 500 times with 95 sixes has a relative frequency of 0.19 against a theoretical rac16=0.167. The gap suggests the die is biased in favour of a six, though one experiment is evidence rather than proof.

SituationUseWhy
A fair die or coinTheoretical probabilityThe outcomes are equally likely, so counting is exact
A drawing pin or a used dieRelative frequencyThere is no equally likely model to count
A large experiment on a suspect spinnerRelative frequencyThe data is the only evidence about the bias

What the expected number does not promise

The expected frequency is a long-run average, not a schedule. If a fair die is thrown 600 times you expect 100 sixes, but 96 or 107 are both unremarkable, and the count will almost never be exactly 100. Questions that ask you to comment on a result are asking whether the gap is big enough to be interesting, not whether it is zero.

The trials are independent: the die has no memory. After five sixes in a row, the probability of a six on the next throw is still rac16. Believing that a six is now 'due', or that a six is now 'less likely', is the gambler's fallacy, and it costs marks in explanation questions.

Expected values also scale with the number of trials, not with the past. Doubling the number of throws doubles the expected count but leaves the probability unchanged: 1200 throws of the same die give an expected 200 sixes, and still P(extsix)=rac16.

  • 600 throws, P(extsix)=rac16, expected sixes =100
  • 1200 throws, expected sixes =200, and the probability is still rac16
  • After four heads in a row, P(extheads) on the next toss is still rac12
Expected does not mean guaranteed, and it does not mean the next trial. It means the average count if the whole experiment were repeated many times.

Reading an experiment from a table

Experimental results usually arrive in a table, and the first job is to find the total number of trials by adding the frequencies. A spinner tested 200 times with counts 44, 51, 38, 47, 20 across five colours has a total of 200, so the relative frequency of the last colour is rac20200=0.1.

A table can also be used to combine outcomes. The relative frequency of 'red or blue' is the sum of the two counts divided by the total, not the sum of the two relative frequencies worked out separately and then rounded. Adding the counts first keeps the arithmetic exact.

If the question gives relative frequencies instead of counts, the total is 1 by definition, and a missing entry is found by subtraction, exactly like the missing probability on the previous page.

ColourCountRelative frequency
Red440.22
Blue510.255
Green380.19
Yellow470.235
White200.1
Total2001

Bias, and how a relative frequency exposes it

A fair die gives each score rac16=0.167 to three decimal places. Throw it 500 times and the expected count of sixes is 83.3. If 95 sixes appear, the relative frequency is 0.19 and the die is producing sixes noticeably more often than a fair die would.

That is evidence of bias, and it is the reasoning examiners want: compare the experimental relative frequency with the theoretical probability, say which is larger, and say what it suggests. Avoid the stronger claim that the die is certainly biased, because a run of luck can produce 95 sixes from a fair die, just rarely.

The reverse comparison matters too. A relative frequency below the theoretical value suggests bias against that outcome, and a relative frequency almost exactly at the theoretical value supports fairness without proving it. In every case the size of the sample decides how much weight the conclusion carries.

  • Fair die, 500 throws: expected sixes =rac5006=83.3
  • Observed 95 sixes: relative frequency =rac95500=0.19
  • 0.19 is above 0.167, so the die looks biased towards a six
Bias is a claim about the object, and a sample is evidence about it. Say 'suggests' unless the question gives you the die's construction.

Key terms you must be able to define

Relative frequency
The number of times an event occurred divided by the number of trials; an estimate of the probability from data.
Experimental probability
Another name for relative frequency, because it comes from running the experiment.
Theoretical probability
The probability worked out from equally likely outcomes, such as rac16 for a fair die, without running an experiment.
Trial
One run of the experiment, such as one spin, one throw or one toss.
Expected frequency
Probability multiplied by the number of trials: the count predicted before the experiment is run.
Expected value
The number of items in a population expected to have a property, found from a sample relative frequency.
Population
The whole group being described, such as every apple in the crate, not just the sample tested.
Sample
The part of the population that was actually examined, used to estimate the whole.
Independent
Trials do not affect each other; a die has no memory of its previous scores.
Biased
An object that favours some outcomes, revealed when the relative frequency differs from the theoretical probability.
Random
Every member of the population has the same chance of being selected, which is what makes a sample fair.

In context

Cambridge sets 4024 in real situations - a recipe, a bank statement, a map, a garden, a graph of a car's journey. These show how the mathematics appears in a question, then you write your own working for the numbers you are given.

Relative frequency of red

A spinner is spun 250 times and lands on red 65 times. The relative frequency is 65250=0.26, so the best estimate of P(red) is 0.26, or 26%. The fraction is worth writing first: it shows the count and the number of trials.

Expected count from a probability

The probability that a seed germinates is 0.72. A gardener sows 450 seeds, so the expected number that germinate is 0.72×450=324. This is a prediction, so 324 is an average, not a guarantee for this particular tray.

Estimating a population count

In a sample of 300 components, 9 are faulty, so the relative frequency is 9300=0.03. A batch of 25 000 components should therefore contain about 0.03×25000=750 faulty ones. The 0.03 is a probability; the 750 is a count.

Testing a die for bias

A die is thrown 500 times and a six appears 95 times. The relative frequency is 95500=0.19. A fair die would give about 5006=83 sixes, so the die is producing more sixes than expected and looks biased towards a six.

From a survey to a town

In a random survey of 250 people, 40 wear glasses, a relative frequency of 40250=0.16. A town of 6000 people should therefore have about 0.16×6000=960 people who wear glasses. The word random is what allows the sample to speak for the town.

Flashcards

Click a card to flip it. Mark honestly — the tracker uses this.

Q1How is relative frequency calculated?
Number of times the event occurred divided by the number of trials.
Q2Why is relative frequency only an estimate of probability?
It comes from a finite experiment, so chance variation moves it away from the true value.
Q3What happens to relative frequency as the number of trials increases?
It settles closer to the true probability, because random variation has less effect on a larger sample.
Q4How do you find the expected frequency?
Multiply the probability by the number of trials: expected frequency =pimesn.
Q5P(extwin)=0.08. What is the expected number of wins in 250 games?
0.08imes250=20.
Q6A fair die is thrown 600 times. How many sixes are expected?
rac16imes600=100.
Q79 faulty items in a sample of 300: what is the relative frequency?
rac9300=0.03.
Q8How do you estimate a count in a population from a sample?
Relative frequency in the sample multiplied by the population size.
Q912 of 80 apples are bruised. How many in a crate of 1500?
0.15imes1500=225.
Q10Does an expected frequency of 100 sixes mean exactly 100?
No. It is a long-run average; any single run will differ from it.
Q11A die has shown four sixes in a row. What is P(extsix) now?
Still rac16. Trials are independent.
Q12How do you test a die for bias from experimental data?
Compare its relative frequency for a score with the theoretical rac16.
Q13A die gives 95 sixes in 500 throws. Is it biased?
The relative frequency 0.19 is above rac16=0.167, so it suggests bias towards a six, but one experiment is not proof.
0 of 13 marked as known

Exam-style questions

8 questions, 19 marks. Write your answer and press Mark my answer — it is marked against the scheme and tells you which points you made and what would gain the next mark. You can still reveal the scheme and mark it yourself instead.

WriteAO12 marks
A spinner is spun 400 times and lands on red 92 times. Write the relative frequency of red as a decimal.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A10.23not checked yet
Examiner tip: The relative frequency is the count over the number of trials. 92 over 400 simplifies to 23 over 100, which is 0.23.
WriteAO11 mark
A drawing pin is dropped 250 times and lands point up 140 times. Write an estimate of the probability that it lands point up.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • B1140250=0.56not checked yet
Examiner tip: One mark for the division. A drawing pin has no equally likely faces, so the estimate must come from the trials.
Work outAO23 marks
A sample of 300 components contains 9 that are faulty. Work out an estimate of the number of faulty components in a batch of 25 000.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1750 faulty componentsnot checked yet
Examiner tip: Two steps, two method marks: the relative frequency from the sample, then the multiplication by the population. Dividing 25 000 by 300 first is a different, wrong calculation.
Work outAO12 marks
The probability that a seed germinates is 0.72. A gardener sows 450 seeds. Work out the expected number of seeds that germinate.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A1324 seedsnot checked yet
Examiner tip: Expected number =pimesn. Check the size of the answer: it must be less than 450, the number of seeds sown.
Work outAO12 marks
A die is thrown 500 times and a six appears 95 times. Work out the relative frequency of a six.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A10.19not checked yet
Examiner tip: This is the data for the bias question that often follows. Keep the fraction as well as the decimal.
ExplainAO23 marks
A die is thrown 500 times and a six appears 95 times. A student says this proves the die is biased in favour of a six. Explain whether the student is right.

Mark scheme — tick each point you actually made

  • B1
  • B1
  • B1
Examiner tip: Three steps: compare with the fair expectation, name the direction of the bias, then say how strong the conclusion is. 'Proves' is the word to argue against.
Work outAO24 marks
A bag contains 40 counters, some of which are red. Khaled takes a counter at random, records its colour and puts it back. He repeats this 200 times and records a red counter 70 times. Work out an estimate of the number of red counters in the bag.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • M1
  • A114 red countersnot checked yet
Examiner tip: Replacing each counter keeps the bag unchanged, so the relative frequency estimates the probability for all 40. The count must come out whole: 0.35 of 40 is 14.
Show (that)AO22 marks
The probability that a machine produces a faulty part is 0.04. Show that in a run of 1250 parts the expected number of faulty parts is 50.

Mark scheme — tick each point you actually made

  • B1
  • B1
Examiner tip: The result is given, so the working has to be shown. Write the multiplication, not just the 50.

Exam technique for this topic

  • Write the fraction before the decimal. rac95500 shows the method, and the mark scheme usually awards the first mark for the correct count over the correct total.
  • Check the total yourself when the data arrives in a table; do not assume the frequencies add to the number of trials stated in the question.
  • For a 'how many in the population' question, divide the sample count by the sample size first, then multiply by the population. One chain of working, no rounding until the end.
  • When asked whether a result suggests bias, quote both numbers: the observed relative frequency and the theoretical probability. 'It is higher than rac16' is the sentence that scores.
  • Keep the answer the right kind of number: a probability lies between 0 and 1, an expected frequency is a count that can be much larger than 1.

Why students lose marks here

A student wroteRelative frequency =rac40092 for 92 successes in 400 trials.
Why it loses marksThe fraction is upside down. There are always fewer or equal successes than trials, so the answer must be at most 1.
The answer that scoresrac92400=0.23.
A student wroteA coin lands heads 7 times in 10 tosses, so P(extheads)=0.7.
Why it loses marksTen trials is far too few. The relative frequency of a small sample swings widely and is a poor estimate of the true probability.
The answer that scores0.7 is the relative frequency of that sample, not a good estimate of P(extheads), which is rac12 for a fair coin.
A student wroteA fair die has shown four sixes in a row, so a six is now less likely.
Why it loses marksTrials are independent and the die has no memory. Past results do not change the probability of the next throw.
The answer that scoresP(extsix) on the next throw is still rac16.
A student wroteExpected sixes in 600 throws =rac16imes600=600.
Why it loses marksThe probability was treated as 1 instead of rac16. An expected frequency can never exceed the number of trials.
The answer that scoresrac16imes600=100 sixes.
A student wrote12 bruised apples in a sample of 80, so a crate of 1500 holds 12imes1500=18000 bruised apples.
Why it loses marksThe sample count was multiplied by the population instead of the sample relative frequency. The estimate must start from rac1280.
The answer that scoresrac1280imes1500=0.15imes1500=225.

Where this fits in O Level Maths 4024

This page is one topic of Cambridge O Level Maths 4024. O Level Maths 4024 is the course home: every area and every topic in Cambridge's own order, the papers you sit and what each one tests, and the exam-practice tools. The full topic list, with each topic linked to its revision page, is on the O Level Maths 4024 syllabus page.