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

IA modelling, step by step · Power

Power model, step by step: y = a·xⁿ with a log–log plot

AA SLAA HLAI SLAI HL

When y is proportional to a power of x — area and length, period and length, metabolic rate and mass — plot ln y against ln x. A straight line means a power law: its gradient is the power n and its intercept is ln a.

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

  • The curve passes through (or heads towards) the origin, with no asymptote other than the axes.
  • Multiplying x by a fixed factor multiplies y by a fixed factor.
  • ln y against ln x is close to straight.

The context

  • Physics laws with a power: pendulum period (n = ½), gravity (n = −2), falling distance (n = 2).
  • Scaling in biology and geometry: surface area, volume, mass.
  • Anything where theory suggests y ∝ xⁿ and you want to test n.

Course fit: AI SL (models of the form axⁿ), AI HL (log–log linearisation); AA through the laws of logarithms. Comparing the fitted power with a theoretical one is strong at any level.

The example data

A student times 10 swings of a pendulum for several string lengths and divides by 10 to get the period.

Example data: period and length of pendulum
ix: Length of pendulum (m)y: Period (s)
10.20.9
20.351.18
30.51.43
40.651.61
50.81.8
612
71.22.21
Scatter graph of period against length of pendulum for the example data
Step 1 of any modelling IA: plot the data and describe the shape before fitting anything.

The method: log–log line, then back-substitute

Take natural logs of both variables, fit the least-squares line to (ln x, ln y), and read off n (gradient) and a = e^(intercept). Then refine by least squares in the original units.

Step 1 · Linearise with a log–log plot

If y = axn, taking natural logs gives ln y = n ln x + ln a: a straight line in (ln x, ln y) with gradient n and intercept ln a.

Step 2 · Tabulate the sums

Sums for the least-squares line
iln xln y(ln x)²(ln x)(ln y)(ln y)²
1−1.6094−0.105362.59030.169570.011101
2−1.04980.165511.1021−0.173760.027395
3−0.693150.357670.48045−0.247920.12793
4−0.430780.476230.18557−0.205150.22680
5−0.223140.587790.049793−0.131160.34549
600.6931500.00000.48045
70.182320.792990.0332410.144580.62884
Σ−3.824012.967994.44148−0.4438451.84801

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

Graph of the data with the fitted power (log–log fit)
Log–log line, then back-substitute: the fitted curves over the example data.

In the full worked example

  • The rest of the method: steps 3 to 9 and the residual plot
  • 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.

  • Does a theory predict the power n? How close is your value, given the uncertainty in the data?
  • Is the log–log plot straight across the whole range, or does it bend at one end?

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 power 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 power 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 can I tell a power model from an exponential model?

Plot both linearisations: ln y against ln x (straight for a power model) and ln y against x (straight for an exponential). Whichever is straighter, with residuals showing no pattern, is the better candidate.

Next steps

Related models: Exponential y = a e^(kx) + c and y = a·bˣ · Logarithmic y = a ln x + 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.