Updated · By Pete Bromfield, former Head of Maths with IB examining experience

IA idea · Simulation & Monte Carlo methods

One snake queue or a queue at every till? Simulating supermarket checkouts

AI SLAI HLAA SLAA HL Solid Also in: Probability, Statistics

Research question

For the arrival rate and service times you measure at a real shop, does one shared queue feeding several tills give shorter and less variable waits than a separate queue at each till, and by how much?

Make it yours, then agree it with your teacher.

Next step: plan this IA free — the planner opens with this question filled in. For feedback on your own draft, the IA package (€39 once) gives you 5 AI feedback credits and every annotated exemplar in full.

Why it makes a good exploration

Everyone has an opinion about queues; a simulation built on your own timings settles it. You collect the inputs, build the model, and compare both the average wait and its spread.

The mathematics you'll need

  • Modelling arrivals (Poisson counts, exponential gaps) from your own data
  • Service-time distributions fitted to timings
  • Simulation in a spreadsheet or short program, explained step by step
  • Mean and standard deviation of waiting times; comparing distributions
  • HL: confidence intervals for the mean wait

Where the data comes from

Time customer arrivals and service at a shop or canteen for several busy periods (with permission, no personal data).

A possible outline

  1. Collect arrival and service data; fit distributions and check the fit.
  2. Simulate a single till and compare with your observations.
  3. Simulate both queue designs for the same arrivals.
  4. Compare averages, spreads and the longest waits.
  5. Reflect on queue-jumping, choosing the 'wrong' queue and staff breaks.

Pitfalls that cost marks

  • Assuming arrivals are Poisson without checking.
  • Running too few simulations to tell the designs apart.
  • Comparing only averages, not the spread that customers notice.

Showing personal engagement

  • Time the queues yourself at a place you use.
  • Ask the manager why they chose their layout.
  • Test a 'join the shortest queue' rule against random choice.

See Criterion C: personal engagement for what examiners look for.

Which course is it for?

CourseFitMaths to lean on
AA SLGood fitModelling arrivals (Poisson counts, exponential gaps) from your own data; Service-time distributions fitted to timings
AA HLGood fitModelling arrivals (Poisson counts, exponential gaps) from your own data; Service-time distributions fitted to timings
AI SLGood fitModelling arrivals (Poisson counts, exponential gaps) from your own data; Service-time distributions fitted to timings
AI HLGood fitModelling arrivals (Poisson counts, exponential gaps) from your own data; Service-time distributions fitted to timings

Level: Solid. Needs some independent work beyond class examples. See how the IA differs between AA and AI, SL and HL.

How this idea reaches the top bands

Reflection (D)

For this idea, start with the weak points: assuming arrivals are Poisson without checking; and running too few simulations to tell the designs apart. Say how each one affects your answer.

Use of mathematics (E)

SL: modelling arrivals (Poisson counts, exponential gaps) from your own data; service-time distributions fitted to timings; simulation in a spreadsheet or short program, explained step by step; mean and standard deviation of waiting times; comparing distributions, each explained in your own words and carried out correctly.

HL adds: confidence intervals for the mean wait, each explained in your own words and carried out correctly.

How simulation explorations reach the top bands in general: Simulation & Monte Carlo methods IA ideas. Guides: A · B · C · D · E · self-grade sheet.

Taking it further

Add customers who leave if the queue is too long, or find the number of tills needed to keep the average wait under two minutes.

Extending it for HL

This idea already has HL mathematics in it: confidence intervals for the mean wait. Make that the centre of the exploration and use it with full rigour.

Frequently asked questions

Which IB Maths course is this IA idea for?

It works for AI SL, AI HL, AA SL and AA HL. We rate it Solid: it needs some independent work beyond class examples.

What mathematics does this IA use?

Modelling arrivals (Poisson counts, exponential gaps) from your own data, service-time distributions fitted to timings, simulation in a spreadsheet or short program, explained step by step, mean and standard deviation of waiting times; comparing distributions and hL: confidence intervals for the mean wait.

Where can I get data for this IA?

Time customer arrivals and service at a shop or canteen for several busy periods (with permission, no personal data). Checked sources and tools: Desmos graphing calculator.

Turn this idea into your IA

The planner opens with “One snake queue or a queue at every till? Simulating supermarket checkouts” filled in: the question, the maths and the data sources.

Plan this IA free

Your plan is kept in this browser. A free account keeps it with your drafts on any device: Join free · Sign in

Also: free IA self-check · A–E checklist (PDF) · have a draft? AI feedback or a review with Pete (€100)

Writing it up: how to write a Maths IA, step by step · structure and format · mistakes that cost marks · IA modelling, step by step

Similar ideas

All simulation ideas · AI SL ideas · AI HL ideas · AA SL ideas · AA HL ideas · All 239 IA ideas