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

IA idea · Voting, fairness & game theory

Who should pay what for a shared taxi? The Shapley value

AA SLAI SLAA HL Solid Also in: Finance

Research question

When friends share a taxi that drops each of them off in turn, how should the fare be split fairly, and how does the Shapley value compare with splitting equally or by distance?

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

A real everyday argument with a precise mathematical answer. Calculating the Shapley value by averaging over orders is accessible and surprising.

The mathematics you'll need

  • Characteristic function: cost of each group's journey
  • Averaging marginal costs over all orders (permutations)
  • Comparing with equal and proportional splits
  • Properties of fairness checked
  • Generalising to four people

Where the data comes from

Use real fares or a taxi app's estimates for each combination of drop-offs (record dates), or a fare rule from your local taxi tariff.

  • OpenStreetMap — Free map with exact coordinates of schools, hospitals, shops and stations; export or read off coordinates.

Real data for this idea

  1. Primary source: OpenStreetMap. Read off coordinates (right-click, “Show address”) or use Export for a small area. Licence: Open Database Licence: credit “© OpenStreetMap contributors”; data you build from it must be shared alike.

OpenStreetMap is under the Open Database Licence: credit “© OpenStreetMap contributors”. Links checked October 2026; we link to the data and never copy it. More free data sets.

A possible outline

  1. Get the cost of every possible shared journey.
  2. Calculate the Shapley value.
  3. Compare with simpler splits.
  4. Check fairness properties.
  5. Reflect on what 'fair' means to your friends.

Pitfalls that cost marks

  • Missing journeys for some groups.
  • Order counting errors.
  • No discussion of what fairness means.

Showing personal engagement

  • Use a real journey with your friends.
  • Ask friends which split they think is fair first.
  • Find a case where equal splitting is very unfair.

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

Which course is it for?

CourseFitMaths to lean on
AA SLGood fitCharacteristic function: cost of each group's journey; Averaging marginal costs over all orders (permutations)
AA HLGood fitCharacteristic function: cost of each group's journey; Averaging marginal costs over all orders (permutations)
AI SLGood fitCharacteristic function: cost of each group's journey; Averaging marginal costs over all orders (permutations)
AI HLNot a natural fitThe mathematics is mainly from the AA course; an AI HL version would need modelling with technology, statistics or networks at HL level.

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: missing journeys for some groups; and order counting errors. Say how each one affects your answer.

Use of mathematics (E)

SL: characteristic function: cost of each group's journey; averaging marginal costs over all orders (permutations); comparing with equal and proportional splits; properties of fairness checked; generalising to four people, each explained in your own words and carried out correctly.

How voting & game theory explorations reach the top bands in general: Voting, fairness & game theory IA ideas. Guides: A · B · C · D · E · self-grade sheet.

Taking it further

Compare with the nucleolus or another method, or split costs for a shared flat.

Extending it for HL

Add an HL technique the question genuinely needs: what an HL voting & game theory exploration adds.

Frequently asked questions

Which IB Maths course is this IA idea for?

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

What mathematics does this IA use?

Characteristic function: cost of each group's journey, averaging marginal costs over all orders (permutations), comparing with equal and proportional splits, properties of fairness checked and generalising to four people.

Where can I get data for this IA?

Use real fares or a taxi app's estimates for each combination of drop-offs (record dates), or a fare rule from your local taxi tariff. Checked sources and tools: OpenStreetMap.

Turn this idea into your IA

The planner opens with “Who should pay what for a shared taxi? The Shapley value” 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 · annotated exemplars, marked on every criterion

Similar ideas

All voting & game theory ideas · AA SL ideas · AI SL ideas · AA HL ideas · All 239 IA ideas