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

IA idea · Optimisation & linear programming

What speed minimises the total cost of a long drive?

AA SLAI SLAA HLAI HL Solid Also in: Calculus, Finance, Kinematics

Research question

If fuel use per kilometre rises with speed but driver time also costs money, what speed minimises the total cost of a 300 km journey, and how does that speed depend on fuel price and the value of time?

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

Two costs pull in opposite directions, which makes a genuine minimum. Fitting your own fuel-consumption model before optimising adds a modelling step that most textbook versions skip.

The mathematics you'll need

  • Fitting a quadratic (or other) model to fuel consumption against speed
  • Total cost as a function of speed, including a time cost ∝ 1/v
  • Differentiation to find the minimum; second-derivative check
  • Sensitivity of the optimum to fuel price

Where the data comes from

Record fuel consumption at different steady speeds from a family car's trip computer (as a passenger, on safe roads), or find published fuel-economy-by-speed figures from a reputable source and cite them.

A possible outline

  1. Collect or source consumption-against-speed data.
  2. Fit and compare two models.
  3. Build the total cost function and minimise it.
  4. Explore how the optimum changes with fuel price and value of time.
  5. Reflect on speed limits, safety and the data's reliability.

Pitfalls that cost marks

  • Optimising without a real consumption model.
  • Collecting data unsafely; use a trip computer as a passenger only.
  • Ignoring speed limits in the conclusion.

Showing personal engagement

  • Use your own family car.
  • Choose a journey you actually make.
  • Find the fuel price at which the optimum crosses the speed limit.

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

Which course is it for?

CourseFitMaths to lean on
AA SLGood fitFitting a quadratic (or other) model to fuel consumption against speed; Total cost as a function of speed, including a time cost ∝ 1/v
AA HLGood fitFitting a quadratic (or other) model to fuel consumption against speed; Total cost as a function of speed, including a time cost ∝ 1/v
AI SLGood fitFitting a quadratic (or other) model to fuel consumption against speed; Total cost as a function of speed, including a time cost ∝ 1/v
AI HLGood fitFitting a quadratic (or other) model to fuel consumption against speed; Total cost as a function of speed, including a time cost ∝ 1/v

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: optimising without a real consumption model; and collecting data unsafely; use a trip computer as a passenger only. Say how each one affects your answer.

Use of mathematics (E)

SL: fitting a quadratic (or other) model to fuel consumption against speed; total cost as a function of speed, including a time cost ∝ 1/v; differentiation to find the minimum; second-derivative check; sensitivity of the optimum to fuel price, each explained in your own words and carried out correctly.

How optimisation explorations reach the top bands in general: Optimisation & linear programming IA ideas. Guides: A · B · C · D · E · self-grade sheet.

Taking it further

Treat fuel price and value of time as parameters and find the optimum speed as a function of their ratio.

Extending it for HL

Add an HL technique the question genuinely needs: what an HL optimisation exploration adds.

Frequently asked questions

Which IB Maths course is this IA idea for?

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

What mathematics does this IA use?

Fitting a quadratic (or other) model to fuel consumption against speed, total cost as a function of speed, including a time cost ∝ 1/v, differentiation to find the minimum; second-derivative check and sensitivity of the optimum to fuel price.

Where can I get data for this IA?

Record fuel consumption at different steady speeds from a family car's trip computer (as a passenger, on safe roads), or find published fuel-economy-by-speed figures from a reputable source and cite them. Checked sources and tools: Desmos graphing calculator.

Turn this idea into your IA

The planner opens with “What speed minimises the total cost of a long drive?” 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 optimisation ideas · AA SL ideas · AI SL ideas · AA HL ideas · AI HL ideas · All 239 IA ideas