Updated · By Pete Bromfield, IB examiner

IA idea · Numerical methods & error analysis

Trapezoidal rule or Simpson's rule? Areas under the normal curve

AA SLAA HLAI SL Solid Also in: Calculus, Statistics

Research question

How many strips do the trapezoidal rule and Simpson's rule need to find normal-distribution probabilities to four decimal places, and how does each method's error change when the number of strips doubles?

Adapt it: change the place, the data or the comparison until the question is yours.

Free: the A–E checklist an examiner uses, by email ↓

Why it makes a good exploration

The normal curve has no elementary antiderivative, so numerical integration is genuinely needed. Measuring how the error shrinks reveals the 'order' of each method, which you can then explain.

The mathematics you'll need

  • The trapezoidal rule (SL)
  • Simpson's rule derived from fitting parabolas (new)
  • Error tables and ratios when h halves (expect 1/4 and 1/16)
  • Logarithms to find the order of convergence
  • Normal distribution probabilities

Course labels show where a technique sits; using maths from outside your course is fine if you explain it clearly and say it is new to you.

Where the data comes from

No data needed; use a GDC's normal CDF as the reference value and say so.

Cite every source in a footnote where you use it and in your bibliography. Check the licence of any dataset you download.

A possible outline

  1. Set up the integral for a probability you care about.
  2. Apply both rules for increasing numbers of strips.
  3. Tabulate errors and their ratios.
  4. Explain the ratios (derive Simpson's rule; HL: use a series to justify the error).
  5. Reflect on the reference value and on when each method is worth it.

Pitfalls that cost marks

  • Comparing with a reference value you haven't justified.
  • Too few rows to see the pattern.
  • Deriving nothing: quoting Simpson's rule without showing where it comes from.

Showing personal engagement

  • Choose a probability with meaning to you (a height or an exam score).
  • Predict the strips needed before calculating.
  • Find a function where Simpson's rule is exact and explain why.

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

Which course is it for?

CourseFitMaths to lean on
AA SLGood fitThe trapezoidal rule; Simpson's rule derived from fitting parabolas (new)
AA HLGood fitThe trapezoidal rule; Simpson's rule derived from fitting parabolas (new)
AI SLGood fitThe trapezoidal rule; Simpson's rule derived from fitting parabolas (new)
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

Personal engagement (C)

Choose the function or equation yourself and predict how each method will behave before you run it. Hunting for the cases that break a method is engagement an examiner can see.

Reflection (D)

Reflect on error: how it changes with step size or iterations, why a method converges slowly or not at all, and how you know your 'exact' comparison value is correct. For this idea, start with: comparing with a reference value you haven't justified — say how it affects your answer.

Use of mathematics (E)

SL: The trapezoidal rule or a simple iteration applied correctly, errors tabulated against step size and explained, with any method outside the syllabus explained step by step.

HL: Convergence analysed rather than observed: an error bound derived with calculus or a series, an order of convergence measured and justified, or Euler's method studied against an exact solution.

Criteria A and B (presentation and communication) work the same way for every idea: see the guides to Criterion A and Criterion B.

Taking it further

Use Richardson extrapolation to improve the trapezoidal results and explain why it works.

Extending it for HL

Derive an error bound with a Maclaurin series or calculus, then show your numerical results follow it.

Before you start: the checklist an examiner uses

Every check for Criteria A–E in a 4-page PDF, the mistakes that cost the most marks and a self-assessment grid. We'll email it with a short IA tip every few days, timed to your deadline if you give it. Free — no account, no payment.

Turn this idea into your IA

Similar ideas

All numerical methods ideas · AA SL ideas · AA HL ideas · AI SL ideas · All 239 IA ideas