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

IA modelling, step by step · Reciprocal

Reciprocal model, step by step: y = a/x + b and y = a/(x − h) + k

AA SLAA HLAI SLAI HL

Inverse relationships — time against speed, cost per person against group size — curve towards two asymptotes. Take the vertical asymptote from the context, plot y against 1/(x − h), and the gradient and intercept of that line give a and k.

Example data, invented for this guide. The context is realistic, but the numbers were made up to show the method. Use your own measured or sourced data in your IA.

When to use it

The shape of the data

  • y falls steeply at first, then levels off towards a horizontal line (or rises towards one).
  • x × y (or (x − h)(y − k)) is roughly constant.
  • A plot of y against 1/x is close to straight.

The context

  • Time for a fixed distance or task at different speeds or rates.
  • Cost per person when a fixed cost is shared.
  • Physics: Boyle's law, lens formulas, intensity-type relationships.

Course fit: AA SL and HL (the reciprocal function and rational functions); AI SL (inverse variation, axⁿ with n = −1); AI HL (linearising). Everyone can justify it well because the asymptotes usually have a meaning.

The example data

A cyclist logs the same commute on different days: average speed while moving (from a bike computer) and total door-to-door time, which includes waiting at traffic lights.

Example data: journey time and average moving speed
ix: Average moving speed (km/h)y: Journey time (min)
11266.5
21553.6
31846.4
42041.8
52239.1
62534.5
72832
83030.3
Scatter graph of journey time against average moving speed for the example data
Step 1 of any modelling IA: plot the data and describe the shape before fitting anything.

Example 1: y = a/x + b (journey time and speed)

Time = distance ÷ speed suggests a/x, and time spent stopped at lights adds a constant b. The vertical asymptote is x = 0 (speed zero), so plot y against 1/x.

Step 1 · Asymptotes from the context, then linearise

The vertical asymptote is taken at x = 0. If y = a/(x − h) + k, then plotting y against X = 1/x gives a straight line with gradient a and intercept k (the horizontal asymptote).

Step 2 · Tabulate the sums

Sums for the least-squares line
i1/xy1/x²1/xyy²
10.08333366.50.00694445.54174422.25
20.06666753.60.00444443.57332872.96
30.05555646.40.00308642.57782152.96
40.0541.80.00252.091747.24
50.04545539.10.00206611.77731528.81
60.0434.50.00161.381190.25
70.035714320.00127551.14291024
80.03333330.30.00111111.0100918.09
Σ0.410058344.2000.023028019.092915856.6

n = 8 points. The transformed values are rounded here; keep them unrounded in your calculator or spreadsheet.

Graph of the data with the fitted reciprocal (y = a/x + b)
Y = a/x + b (journey time and speed): the fitted curve over the example data.

In the full worked example

  • The rest of the method: steps 3 to 7 and the residual plot
  • Example 2: y = a/(x − h) + k (a lens, asymptotes from the context)
  • What the model tells you, in context
  • GDC key sequences: TI-84 Plus CE, TI-Nspire CX and Casio fx-CG50
  • Desmos regression syntax
  • How to write it up in your IA
  • Common mistakes
  • Is this good enough for Criterion E? The checklist

Evaluate this model

Questions to answer in your own words, about your own data. They are prompts, not sentences to copy.

  • Do the asymptotes have a meaning in your context?
  • What does the model predict for very small x, and is that possible?

Then work through the general questions on evaluating a model (extrapolation, the parameters, residuals, comparing models, outliers, assumptions and improvements) and the notes on accuracy and rounding. In the free Grapher, fit the model with ~ and open “What this model means” for the same prompts with your own numbers.

IA ideas that use a reciprocal model

Explorations from our idea list whose mathematics includes this model. Each research question is a starting point to make your own.

How this earns marks

A reciprocal model can earn marks under every criterion: the fit and its explanation under Criterion E, your judgement of it (residuals, the domain, what the parameters mean) under Criterion D, and the reasons you chose it under Criterion C. What examiners look for, criterion by criterion and the mistakes that cost marks are on the modelling guide.

Get feedback on your write-up Self-check your draft Model my data

Frequently asked questions

How do I choose h for y = a/(x − h) + k?

From the context whenever possible — the x value where the quantity becomes undefined or infinite (a focal length, a minimum group size, a threshold). If the context gives no value, try several values of h and choose the one with the smallest SSR, and say so.

Next steps

Related models: Power y = a·xⁿ (log–log) · Exponential y = a e^(kx) + c and y = a·bˣ · Choosing and comparing models. Or model your own data, and see what the IA package adds.

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.