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

IA idea · Numerical methods & error analysis

How many terms do you need? Fast and slow series for π

AA HL Ambitious Also in: Pure maths

Research question

How many terms do the Leibniz series and a Machin-type arctangent formula need to give π to ten decimal places, and can you predict that number from an error bound before you calculate?

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 infinite series for the same number behave very differently. Bounding the error in advance, then checking it, is HL mathematics doing real work.

The mathematics you'll need

  • Maclaurin series for arctan x
  • Alternating-series error bound
  • Machin's formula checked with compound-angle identities
  • Comparing rates of convergence
  • Logarithms to predict the number of terms

Where the data comes from

No data needed; use a spreadsheet with enough precision and say how many digits you trust.

A possible outline

  1. Derive the arctan series.
  2. Use the Leibniz series and its error bound.
  3. Verify a Machin-type formula with tan identities.
  4. Predict and check the number of terms each needs.
  5. Reflect on spreadsheet precision.

Pitfalls that cost marks

  • Quoting Machin's formula without verifying it.
  • Exceeding spreadsheet precision without noticing.
  • History instead of mathematics.

Showing personal engagement

  • Find your own arctan identity for π/4.
  • Predict before you compute.
  • Compare with a method you already know (continued fractions).

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 fitMaclaurin series for arctan x; Alternating-series error bound
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 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: 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: quoting Machin's formula without verifying it; and exceeding spreadsheet precision without noticing. Say how each one affects your answer.

Use of mathematics (E)

HL: maclaurin series for arctan x; alternating-series error bound; machin's formula checked with compound-angle identities; comparing rates of convergence; logarithms to predict the number of terms, 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

Find other identities of Machin type and rank them by speed.

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. We rate it Ambitious: it suits confident students, who should expect to learn some mathematics on their own.

What mathematics does this IA use?

Maclaurin series for arctan x, alternating-series error bound, machin's formula checked with compound-angle identities, comparing rates of convergence and logarithms to predict the number of terms.

Where can I get data for this IA?

No data needed; use a spreadsheet with enough precision and say how many digits you trust. Checked sources and tools: Desmos graphing calculator.

Turn this idea into your IA

The planner opens with “How many terms do you need? Fast and slow series for π” 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 · All 239 IA ideas