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

IA idea · Numerical methods & error analysis

How small must the step be? Euler's method against an exact solution

AA HLAI HL Solid Also in: Differential equations

Research question

For a differential equation you can solve exactly (cooling, or a population model), how does the error in Euler's method depend on the step size, and how much better is the improved Euler (Heun) method?

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

Euler's method is in both HL courses, but the question of how accurate it is usually isn't asked. Comparing with an exact solution makes the error measurable and the pattern provable.

The mathematics you'll need

  • Euler's method
  • Exact solution by separation of variables
  • Global error against h: expect error ∝ h
  • Improved Euler (new) and error ∝ h²
  • Log-log plots to find the order

Where the data comes from

Optionally record your own cooling data to set realistic parameters; otherwise no data needed.

A possible outline

  1. Set up and solve the DE exactly.
  2. Apply Euler's method with several step sizes.
  3. Tabulate and plot the error against h.
  4. Implement improved Euler and compare.
  5. Reflect on cost against accuracy.

Pitfalls that cost marks

  • Measuring the error at only one time.
  • Not explaining why the error is proportional to h.
  • Rounding hiding small errors.

Showing personal engagement

  • Use parameters from your own cooling cup.
  • Predict the step needed for 0.1 °C accuracy.
  • Find a DE where Euler's method behaves badly.

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

Which course is it for?

CourseFitMaths to lean on
AA SLNot a natural fitThe core technique sits in the AI course or at HL; an AA SL student could use it only as clearly explained new mathematics.
AA HLGood fitEuler's method; Exact solution by separation of variables
AI SLNot a natural fitThe mathematics is mainly AA or HL (calculus or proof beyond AI SL); an AI SL version would need a data-driven, technology-based approach.
AI HLGood fitEuler's method; Exact solution by separation of variables

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: measuring the error at only one time; and not explaining why the error is proportional to h. Say how each one affects your answer.

Use of mathematics (E)

HL: euler's method; exact solution by separation of variables; global error against h: expect error ∝ h; improved Euler (new) and error ∝ h²; log-log plots to find the order, each explained in your own words and carried out correctly.

How numerical methods explorations reach the top bands in general: Numerical methods & error analysis IA ideas. Guides: A · B · C · D · E · self-grade sheet.

Taking it further

Apply both methods to a DE with no exact solution and use the error pattern to estimate the true answer.

Extending it for HL

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

Frequently asked questions

Which IB Maths course is this IA idea for?

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

What mathematics does this IA use?

Euler's method, exact solution by separation of variables, global error against h: expect error ∝ h, improved Euler (new) and error ∝ h² and log-log plots to find the order.

Where can I get data for this IA?

Optionally record your own cooling data to set realistic parameters; otherwise no data needed. Checked sources and tools: Desmos graphing calculator.

Turn this idea into your IA

The planner opens with “How small must the step be? Euler's method against an exact solution” 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 numerical methods ideas · AA HL ideas · AI HL ideas · All 239 IA ideas