HL AI · Functions

Modelling with functions — piecewise, exponential, logistic (IB Math AI HL)

Updated October 2026

Quick answer: Choose the function family from the shape and the context: linear for a constant rate, exponential for growth or decay by a constant factor, logistic for growth that levels off at a limit, sinusoidal for repeating patterns and piecewise when the rule changes at a boundary. Then fit the parameters with regression or given values, and check the model makes sense in context.

The core HL AI skill: pick the right function family from the shape of the data. Piecewise for stepwise changes, logistic for capped growth, exponential for unbounded.

Practise Modelling with functions — piecewise, exponential, logistic with AI marking

Open the full HL AI engine — every question in this unit is worked through with instant AI-graded feedback on your handwritten workings.

Practise HL AI Functions →

Key ideas

Worked example

A population of fish in a lake is modelled by P(t) = 1000 ÷ (1 + 9e−0.4t), where t is in years. Find the initial population and the long-term population, and the time when the population reaches 500.

  1. Initial: P(0) = 1000 ÷ (1 + 9) = 100 fish.
  2. Long term: as t → ∞, e−0.4t → 0, so P → 1000. This is the carrying capacity.
  3. P = 500: 1 + 9e−0.4t = 2, so e−0.4t = 1/9.
  4. −0.4t = ln(1/9), so t = ln 9 ÷ 0.4 ≈ 5.49 years.
  5. 500 is half the carrying capacity, so this is also when the population grows fastest.

Answer: Initially 100 fish; long term 1000 fish; 500 fish after about 5.49 years.

Exam-style HL AI questions on this topic

Do it on your GDC

A GDC is allowed on every AI paper. Keystrokes for the TI-84 Plus CE, TI-Nspire CX II and Casio fx-CG50, with a checked worked example:

See it on a graph

Maths IA ideas that use modelling with functions

Revise Modelling with functions for the exam

Stretch yourself: original algebra problems at Senior level (ages 16 to 18), with hints and full solutions: Problem S24 · Problem S88 · Problem S23 · Problem S87. All 22 →

More on this topic

FAQ

What is the difference between an exponential and a logistic model?

An exponential model grows by the same factor each time period and has no limit. A logistic model starts in almost the same way but slows down and levels off at a carrying capacity, so it suits populations and sales that have a natural limit.

Where can I practise modelling with functions questions?

On the Advanced Modelling questions page: 37 exam-style HL AI questions with full mark schemes, plus free step-by-step worked examples.

Can I use my calculator for modelling with functions?

Yes: a GDC is allowed on every HL AI paper, so practise the calculator method as well as the working. The Graphs: intersections, zeros, max and min guide gives the keystrokes for the TI-84 Plus CE, TI-Nspire CX II and Casio fx-CG50.

What else is free here

Save your progress as you reviseA free account remembers the questions you have done on every topic and brings you back to this page.

Join free

Already have an account? Sign in