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

IA idea · Kinematics & physics-style modelling

How high did the lift go? Integrating a phone's accelerometer

AA SLAA HLAI HL Solid Also in: Calculus, Numerical methods

Research question

If you record a lift's acceleration with a phone, how accurately does integrating it twice give the height travelled, and why does the error grow over time?

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

It uses real sensor data and calculus in the most natural way: acceleration to velocity to displacement. The drift in the answer is a genuine and explainable problem.

The mathematics you'll need

  • Acceleration, velocity and displacement related by integration
  • Numerical integration (trapezoidal rule) of sampled data
  • Removing the offset (gravity and sensor bias)
  • Error growth: a constant bias gives a quadratic displacement error
  • Comparing with the measured height between floors

Where the data comes from

Record the lift with phyphox (acceleration without g), measure the floor height with a tape or building plans.

  • phyphox (RWTH Aachen) — Free app that turns your phone's accelerometer, microphone, barometer and gyroscope into data loggers with CSV export.
  • Desmos graphing calculator — Free graphing and regression (y₁ ~ ax₁ + b) — fit models to your data and show residuals.

A possible outline

  1. Record several rides between known floors.
  2. Integrate once and check velocity returns to zero.
  3. Integrate again for height.
  4. Correct for bias and compare.
  5. Reflect on why drift happens and how to reduce it.

Pitfalls that cost marks

  • Not correcting for sensor offset.
  • Using one ride only.
  • Integrating without explaining the method.

Showing personal engagement

  • Use the lift in your own building.
  • Predict the error before correcting.
  • Test on stairs as well.

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

Which course is it for?

CourseFitMaths to lean on
AA SLGood fitAcceleration, velocity and displacement related by integration; Numerical integration (trapezoidal rule) of sampled data
AA HLGood fitAcceleration, velocity and displacement related by integration; Numerical integration (trapezoidal rule) of sampled data
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 HLGood fitAcceleration, velocity and displacement related by integration; Numerical integration (trapezoidal rule) of sampled data

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

Reflection (D)

For this idea, start with the weak points: not correcting for sensor offset; and using one ride only. Say how each one affects your answer.

Use of mathematics (E)

SL: acceleration, velocity and displacement related by integration; numerical integration (trapezoidal rule) of sampled data; removing the offset (gravity and sensor bias); error growth: a constant bias gives a quadratic displacement error; comparing with the measured height between floors, each explained in your own words and carried out correctly.

How kinematics explorations reach the top bands in general: Kinematics & physics-style modelling IA ideas. Guides: A · B · C · D · E · self-grade sheet.

Taking it further

Fit a piecewise model to the acceleration (speed up, cruise, slow down) and integrate it exactly.

Extending it for HL

Add an HL technique the question genuinely needs: what an HL kinematics exploration adds.

Frequently asked questions

Which IB Maths course is this IA idea for?

It works for AA SL, AA HL and AI HL. We rate it Solid: it needs some independent work beyond class examples.

What mathematics does this IA use?

Acceleration, velocity and displacement related by integration, numerical integration (trapezoidal rule) of sampled data, removing the offset (gravity and sensor bias), error growth: a constant bias gives a quadratic displacement error and comparing with the measured height between floors.

Where can I get data for this IA?

Record the lift with phyphox (acceleration without g), measure the floor height with a tape or building plans. Checked sources and tools: phyphox (RWTH Aachen) and Desmos graphing calculator.

Turn this idea into your IA

The planner opens with “How high did the lift go? Integrating a phone's accelerometer” 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 kinematics ideas · AA SL ideas · AA HL ideas · AI HL ideas · All 239 IA ideas