IA idea · Simulation & Monte Carlo methods
Why do buses come in bunches? A simulation of a bus route
Research question
On a route where buses leave at regular intervals but dwell longer at stops with more waiting passengers, how quickly do small delays grow into bunches, and which simple rule (holding buses, limiting dwell time) breaks the bunches up best?
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
Bus bunching is a famous feedback effect: a late bus picks up more passengers and gets later still. A simulation lets you watch it happen and test fixes that transport planners actually use.
The mathematics you'll need
- A deterministic model of headways and dwell times
- Random delays added with chosen distributions
- Simulation over many runs; summary statistics of headways
- Positive feedback in a recurrence
- Comparing control rules with clear measures
Where the data comes from
Time buses at a stop you use on several days, or use timetables and observed arrivals; estimate boarding times by watching (no personal data).
- Transport for London open data — Timetables, station entry/exit counts, cycle-hire journeys and air quality for London.
- Desmos graphing calculator — Free graphing and regression (y₁ ~ ax₁ + b) — fit models to your data and show residuals.
Real data for this idea
- Primary source: Transport for London open data: TfL Unified API. Live and timetabled arrivals for any bus stop: record arrival times over a few days to measure the gaps. Licence: Check TfL's open data terms; attribution is required.
Links checked October 2026; we link to the data and never copy it. More free data sets.
A possible outline
- Build a simple recurrence for headways.
- Show the feedback effect with no randomness.
- Add random delays and simulate many days.
- Test holding rules and compare waits.
- Reflect on what your simulation leaves out (traffic lights, overtaking).
Pitfalls that cost marks
- Building a model too complicated to explain.
- Inventing parameters without any observation behind them.
- Measuring success only by average wait, not reliability.
Showing personal engagement
- Time your own bus route.
- Ask a driver or the operator how they try to prevent bunching.
- Design your own rule and test it.
See Criterion C: personal engagement for what examiners look for.
Which course is it for?
| Course | Fit | Maths to lean on |
|---|---|---|
| AA SL | Not a natural fit | The core technique sits in the AI course or at HL; an AA SL student could use it only as clearly explained new mathematics. |
| AA HL | Good fit | A deterministic model of headways and dwell times; Random delays added with chosen distributions |
| AI SL | Fits — ambitious at SL | A deterministic model of headways and dwell times; Random delays added with chosen distributions |
| AI HL | Good fit | A deterministic model of headways and dwell times; Random delays added with chosen distributions |
Level: Ambitious. Suits confident students; expect to learn some mathematics on your own. 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: building a model too complicated to explain; and inventing parameters without any observation behind them. Say how each one affects your answer.
Use of mathematics (E)
SL: a deterministic model of headways and dwell times; random delays added with chosen distributions; simulation over many runs; summary statistics of headways; positive feedback in a recurrence; comparing control rules with clear measures, 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
Find the holding time that minimises the average total journey time, or compare your simulation with a full day of observed arrivals.
Extending it for HL
Add an HL technique the question genuinely needs: what an HL simulation exploration adds.
See a complete IA, marked
How long does a skydiver take to reach terminal velocity? (AA HL) is a complete simulation exploration, marked on every criterion.
Frequently asked questions
Which IB Maths course is this IA idea for?
It works for AI HL, AI SL and AA HL. We rate it Ambitious: it suits confident students, who should expect to learn some mathematics on their own.
What mathematics does this IA use?
A deterministic model of headways and dwell times, random delays added with chosen distributions, simulation over many runs; summary statistics of headways, positive feedback in a recurrence and comparing control rules with clear measures.
Where can I get data for this IA?
Time buses at a stop you use on several days, or use timetables and observed arrivals; estimate boarding times by watching (no personal data). Checked sources and tools: Transport for London open data and Desmos graphing calculator.
Turn this idea into your IA
The planner opens with “Why do buses come in bunches? A simulation of a bus route” filled in: the question, the maths and the data sources.
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
- Estimating π by dropping needles: how fast does the estimate improve?AA HLAA SLAI SLAI HLSolid
- Does the best team win? Knockout cups versus leaguesAI SLAI HLAA SLAA HLSolid
- One snake queue or a queue at every till? Simulating supermarket checkoutsAI SLAI HLAA SLAA HLSolid
- Are arrivals at the school canteen random? A Poisson model of a queueAI HLAI SLSolid
All simulation ideas · AI HL ideas · AI SL ideas · AA HL ideas · All 239 IA ideas