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

IB Maths IA · modelling · AA & AI · SL & HL

IA modelling, step by step

You have your data. Now what? This is the complete workflow for a modelling exploration, with a fully worked example for every model students use — every number shown and checked — and a helper that walks through the same steps with your own data.

The workflow Model my data

The modelling workflow, step by step

  1. Plot the data first

    Draw a labelled scatter graph before any calculation. Look at the shape: straight, curved, one turning point, repeating, levelling off? Look for outliers and ask whether they are errors or real. Say what you see in words.

  2. Choose candidate models from the shape and the context

    Use both. The shape suggests a family (line, quadratic, exponential…); the context says what must be true — an asymptote at room temperature, a ceiling, a period of a year, a line through the origin. Pick two or three candidates and justify each before fitting.

  3. Fit each model

    Show at least one fit in full by hand (points and simultaneous equations, completing the square, the least-squares sums, or a linearisation with logs). Then use technology for the rest and say exactly what it did.

  4. Check the fit

    Tabulate the residuals (data − model) and plot them against x. A good model leaves residuals that look random; a pattern (a curve, a fan) means the model misses something. Report SSR, and R² or r where it applies.

  5. Compare the models

    Put the candidates side by side: SSR or R², the number of parameters, the residual plots, and whether the parameters make sense. The best model is the simplest one that captures the shape and makes sense in context — not automatically the one with the highest R².

  6. Test on points you did not use

    Keep one or two points back (or collect new ones), fit on the rest and predict the held-out points. A model that predicts well on new data is far more convincing than one that fits its own data closely.

  7. State the domain and the limitations

    Give the domain where the model is valid, say what happens outside it, and discuss extrapolation. Name the assumptions (constant conditions, measurement error) and how they limit your conclusions.

  8. Reflect

    What do the parameters mean in the context? Do they agree with theory or other data? How sensitive is the result to your choices (which points, which asymptote, where you split)? What would you do next?

Each step feeds a criterion: choosing and justifying models (C and E), fitting and checking them (E), comparing, testing and discussing limitations (D), and explaining it all clearly (A and B). See Criterion E: use of mathematics and Criterion D: reflection.

Paste your data, get the play-by-play, send it back

  1. Paste your data from Desmos, GeoGebra, Google Sheets or Excel — or type it.
  2. Get the play-by-play: every step of the method with your numbers, residuals, SSR and R², and a criterion tip at each step.
  3. Send it back: copy the regression, the fitted equation or the data into Desmos or GeoGebra, or save it to your account.

Model my data How it works with Desmos

No data yet? The IA data bank has real, cited datasets to practise on, and the weekly modelling challenge sets one question a week. Writing up? The IA modelling planner comments on each paragraph as you draft.

Which model? Start from the shape and the context

Model (worked example)Shape clueContext clueCourses
Straight line y = mx + cThe points lie close to a straight line with no bend.A constant rate: cost per item, energy per litre, distance at steady speed.AA SL, AA HL, AI SL, AI HL
Quadratic: three points, completing the square, regressionOne turning point (a single peak or trough) and roughly symmetrical sides.Projectiles and anything thrown or sprayed (constant acceleration).AA SL, AA HL, AI SL, AI HL
Sinusoidal y = a sin(b(x − c)) + dThe data rise and fall repeatedly, with peaks the same height and troughs the same depth.Anything driven by the Earth's rotation or orbit: daylight, temperature, tides.AA SL, AA HL, AI SL, AI HL
Logarithmic y = a ln x + bSteep at first, then flattening out, but with no sign of a ceiling.Learning and practice: speed or score against time spent.AA SL, AA HL, AI HL
Reciprocal y = a/x + b and a/(x − h) + ky falls steeply at first, then levels off towards a horizontal line (or rises towards one).Time for a fixed distance or task at different speeds or rates.AA SL, AA HL, AI SL, AI HL
Exponential y = a e^(kx) + c and y = a·bˣEqual steps in x multiply y (or y − c) by roughly the same factor.Cooling or warming towards a surrounding temperature (Newton's law of cooling).AA SL, AA HL, AI SL, AI HL
Power y = a·xⁿ (log–log)The curve passes through (or heads towards) the origin, with no asymptote other than the axes.Physics laws with a power: pendulum period (n = ½), gravity (n = −2), falling distance (n = 2).AA SL, AA HL, AI SL, AI HL
Logistic y = L/(1 + C e^(−kx))An S-shape: slow start, steep middle, then levelling off.Growth with a limit: plant height, a population with limited food, adoption of a product.AI HL
Cubic and polynomials (and overfitting)A cubic: one rise and one fall with an asymmetric shape, or a point of inflection.Volume-type relationships (a box, a container) where x³ appears naturally.AA SL, AA HL, AI SL, AI HL
Piecewise modelsA sudden change of gradient (a kink) or a change of shape part-way through.A physical change of state (heating then boiling, melting).AA SL, AA HL, AI SL, AI HL

Not sure between two? That is normal: fit both and compare them properly.

Worked examples, every step shown

Each page takes one small, clearly labelled example data set and fits the model by hand and with technology — every sum, every substitution, the residual table, R² and a graph — plus the key sequences for the TI-84 Plus CE, TI-Nspire and Casio fx-CG50, the Desmos syntax, how to write it up and a Criterion E checklist.

Model my data: the same steps with your numbers

Paste your x and y values, pick a model, and the helper shows the whole play-by-play with your numbers — parameters, working, residual table, R², SSR and a graph — and compares several models, including a test on held-out points. It runs in your browser: nothing is uploaded unless you sign in and press Save to keep your data and models in your account.

⚠ Use it to learn and to check, not to copy. Do the working yourself, justify every choice in your own words, and acknowledge the tool if your school's policy asks you to. Never paste its output into your IA as your own work — that is academic misconduct under the IB's Academic Integrity Policy and can cost you marks, a 0 for the IA, or your Diploma. It's built this way on purpose — a step-by-step working-out tool, not a ghostwriter — so it's safe to use openly and cite, unlike turning to a generic AI chatbot that will happily write the paragraph for you.

Open the helper

How much maths to show at SL and HL

  • At SL, fitting with a GDC or Desmos is expected; what earns Criterion E marks is showing one fit by hand, explaining what the technology did, and using the results correctly.
  • At HL, examiners look for more sophistication and rigour: derive what you use (least squares by calculus, linearisation with the laws of logarithms), refine iteratively and explain it, test on unused data, or build the model from a differential equation.
  • At both levels, the comparison, the interpretation of the parameters, the domain and the limitations are Criterion D reflection — often where modelling IAs lose most marks.

Our summary of the current criteria (exams up to 2028), not the IB's wording. How the IA differs between AA and AI, SL and HL.

Accuracy, rounding and uncertainty

How precise can your results be, and how do rounding and measurement error change them? Apply these to your own data; the reasoning and the wording in your IA must be your own.

Keep full precision, round at the end

  • Use the fitted parameters at full precision for every later calculation (predictions, residuals, SSR, R²) and round only the final answers you quote.
  • Rounding a parameter early and then using the rounded value changes the model: its predictions, residuals, SSR and R² all change, sometimes a lot (an exponent or a power is very sensitive).
  • When you quote a rounded value, write ≈ rather than =, and use the same precision throughout.

Significant figures and decimal places

  • Significant figures (s.f.) count from the first non-zero digit; decimal places (d.p.) count the digits after the decimal point. 0.04520 has 4 s.f. and 5 d.p.
  • A result calculated from measurements can't be more precise than the measurements: a common rule is to quote it to about the same number of significant figures as the least precise data, or one more.
  • Eight or nine figures copied from a calculator suggest a precision your data do not have. Say which precision you chose and why.

Measurement uncertainty and data precision

  • Every measurement has an uncertainty. For a scale or a ruler it is often taken as half the smallest division; for a stopwatch, reaction time is usually far larger than the display's resolution.
  • State how each variable was measured, its uncertainty and which variable is the least precise.
  • Repeating and averaging reduces random error, but not systematic error (a scale that isn't zeroed, a ruler read from the wrong end).
  • Compare the residuals with the uncertainty: residuals about the size of the uncertainty are as small as the data allow; much larger residuals mean the model, or the data, misses something.

Reading coordinates off a photo

  • The scale comes from something of known size in the photo, so any error in that length changes every coordinate you read.
  • Perspective: unless the camera points straight at the object from far enough away, nearer parts look larger and the curve is distorted. Lenses also bend straight lines near the edges of a picture.
  • A line in a photo has thickness: decide whether you read its inner edge, outer edge or centre, and do the same every time.
  • Each point you read is uncertain by at least the width of the line: estimate that in the units of your axes and say how it could affect the parameters.

Percentage and relative error

  • Percentage error = |model value − measured value| ÷ |measured value| × 100%. It compares an error with the size of the quantity, so an error of 2 matters more when the value is 10 than when it is 1000.
  • Use it to judge predictions, especially for a value you measured but did not use in the fit.
  • Percentage error is not useful when the measured value is zero or close to zero.

How rounding and errors affect R² and the residuals

  • Least squares makes SSR as small as possible, so rounding the parameters can only increase SSR and lower R² on the same data (unless the fit was made on transformed values, such as log mode).
  • Random error in the measured values adds scatter to the residuals and lowers R², even for the right model: a modest R² with patternless residuals may be the best the data allow.
  • Ordinary least squares treats the x values as exact. If x is uncertain too, say so and consider how that affects the fit.

Accuracy and the criteria

  • Criterion B (mathematical communication): appropriate notation and precision, ≈ for rounded values, variables defined with units.
  • Criterion D (reflection): discuss the accuracy of the data and how errors and rounding affect your results and conclusions.
  • Criterion E (use of mathematics): the mathematics should be correct and at an appropriate level of accuracy throughout, with no premature rounding.

The criterion lines are our summary of the current criteria, not the IB's wording. In the free Grapher, “What this model means” under a fit works out the effect of rounding and the percentage errors for your own data, and warns you if rounded parameters are typed back into a model.

Evaluating your model: questions to answer

Questions to answer in your own words, about your own data. They are prompts, not sentences to copy. Answering them well is Criterion D (Reflection).

Strengths and limitations in context

  • What does the model capture about your situation, and where does it struggle? Point to particular values or residuals.
  • Which limitation matters most for the question you set out to answer?

Extrapolation

  • Over what range was the model fitted, and how far beyond it would you trust a prediction? Why that far?
  • What does the model give at the edges of a sensible domain (zero, very large values)? Is that possible in reality?

Do the parameters make physical sense?

  • What does each parameter mean, and are its sign, size and units plausible?
  • Can you check a parameter against an independent value: a known constant, a theory or another measurement?

Residual behaviour

  • Is there a pattern in the residual plot (a curve, a trend, a funnel)? What in the situation could cause it?
  • Are the residuals about the size of your measurement uncertainty, or much larger?

Comparing models

  • Which other models did you try, and why is your choice better for this context, not only by R²?
  • Does each extra parameter earn its place (a clearly smaller SSR and better residuals), or is the simpler model enough? Simpler is better when the fit is similar (parsimony).
  • Which model best predicts points you did not use to fit it?

Sample size and outliers

  • Are there enough points, spread across the whole range, to pin down the shape?
  • Is any point far from the rest or from the model? Is there a reason to keep it, check it or leave it out, and does leaving it out change your conclusion?

Assumptions

  • What does the model assume (conditions held constant, no other variable changing)? Were those assumptions true while the data were collected?
  • Least squares assumes the x values are exact and the errors in y are random. Is that reasonable for your measurements?

Improvements

  • What more or better data would help most: more points, a wider range, repeats, a more precise instrument?
  • Would a different model, or a piecewise model with a reason for the split, describe the situation better?
  • What would you change about your method if you did it again?

Real-world meaning

  • What does the model let you say or predict about the real situation, and how sure can you be?
  • Who could use the result, and what would they need to be careful about?

Each worked example ends with questions for its own model, and testing on points you did not use shows how to check predictions.

Get feedback on your write-up

How this earns marks

Every step of a model maps onto the assessment criteria. What examiners look for, criterion by criterion:

  • A Criterion A (Presentation): Put the data, the graph, the model, the checks and the comparison in the order you discuss them; caption every graph and table; move long tables to an appendix.
  • B Criterion B (Mathematical communication): Define every variable with units and domain, write models in proper notation (x², not x^2; ≈ for rounded values), and label every graph's axes with units.
  • C Criterion C (Personal engagement): Choose the model from your own context and say why before fitting it; make and explain your own decisions (which points, which asymptote, which period).
  • D Criterion D (Reflection): Interpret the parameters in context, read the residual plot, compare models, test predictions on data you did not use, and state the domain and limitations.
  • E Criterion E (Use of mathematics): Fit correctly and show one fit in full; explain what technology did; use residuals, SSR and R² with understanding (R² can mislead for non-linear and transformed fits). At HL, more sophistication and rigour — for example deriving least squares or refining a model with calculus.

The criterion names are the current IB criteria (exams up to 2028); the advice is our summary, not the IB's wording. The most common mark-losing mistakes in modelling IAs, by criterion: see the list.

Get feedback on your write-up Self-check your draft

Mark-losing mistakes in modelling IAs, by criterion

Criterion A (Presentation)

  • Graphs and tables far from the text that discusses them, or with no captions.
  • Every model's full calculation repeated instead of one worked example and a table.

Criterion B (Mathematical communication)

  • Calculator notation (x^2, 2E-3, *) and GDC screenshots instead of proper notation.
  • Undefined variables, no units, and no domain for the model.
  • Unlabelled axes, or rounded values written with = instead of ≈.

Criterion C (Personal engagement)

  • A model picked because the software offered it, with no reason from the context.
  • No decisions of your own: default settings accepted without comment.

Criterion D (Reflection)

  • Choosing the model with the highest R² and stopping there.
  • Extrapolating far beyond the data without saying how far you trust it.
  • Listing limitations that don't affect your conclusion instead of those that do.

Criterion E (Use of mathematics)

  • GDC output pasted without explaining the method or what it minimised.
  • R² used uncritically for non-linear or transformed fits, or compared across models with different numbers of parameters.
  • No residuals or validation: the model is never tested.

Works with Desmos, GeoGebra and spreadsheets

Already have your data in Desmos, GeoGebra, Google Sheets or Excel? Paste it straight into Model my data for the step-by-step method with your numbers, then send the model back.

  1. Step 1: select the x and y cells of a table in your graphing calculator and copy them
  2. Step 2: paste into the model-my-data helper, which reports how many points it found
  3. Step 3: copy the regression and the data back and paste them into an empty expression line

Copy the table cells (or the lists x_1=[…] and y_1=[…]) → paste into the helper → copy the data, the Desmos regression, a GeoGebra command or a CSV back. Nothing is uploaded: it goes through your clipboard. Desmos is a trademark of Desmos Studio PBC and GeoGebra a trademark of GeoGebra GmbH; IB Math Revision is not affiliated with or endorsed by either.

Technology

Desmos, GeoGebra and spreadsheets all fit these models; the worked pages give the exact syntax. For graphs, tables and how to describe technology so it earns marks, see using Desmos, GeoGebra and Excel in your IA. For a complete modelling exploration marked criterion by criterion, see the annotated exemplars. Testing a question with data rather than fitting a curve? See IA statistics, step by step.

Frequently asked questions

What does “modelling” mean in a Maths IA?

Choosing a mathematical function to describe real data, finding its parameters, testing how well it fits and predicts, and interpreting it in the context. The quality of the justification and the reflection matters as much as the fit.

How many models should I compare in my IA?

Usually two or three well-chosen candidates, each justified by the data's shape and the context. Comparing many models without reasons reads as trial and error.

Can I use a GDC or Desmos to fit my model?

Yes — technology is expected. Show one fit by hand so the examiner can see you understand the method, then say clearly which tool did the rest and what it minimised.

Is R² enough to choose a model?

No. R² rises as you add parameters and is not directly comparable between models fitted in transformed units. Use residual plots, SSR on the original data, the number of parameters, the context, and a test on points not used for fitting.

Can I use the model-my-data helper for my IA?

Use it to learn and check the method, then do the working yourself and explain every choice in your own words. If you use it, acknowledge it as your school's policy requires, and never paste its output into your IA.

Free: the IA checklist, criterion by criterion

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 to you, and for three weeks your weekly email carries one IA tip, timed to your deadline if you give it. Free — no account, no payment.