Further models: logistic, logarithmic & piecewise
At HL you meet three more families of models. Logistic models grow quickly at first and then level off at a carrying capacity. Natural logarithmic models keep increasing but ever more slowly. Piecewise models use different rules on different intervals, like tax bands or tariffs. You choose a model, interpret its parameters and use the GDC to answer questions.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Use logistic models , including the carrying capacity AHL 2.9
- Use natural logarithmic models AHL 2.9
- Use and interpret piecewise models, including checking continuityAHL 2.9
- Choose an appropriate model from the shape of data or a descriptionAHL 2.9
- Find parameters and answer questions with the GDC, including logistic regressionAHL 2.9
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
No population grows exponentially forever: food, space or customers run out. A logistic model starts like exponential growth and then levels off at a maximum , the carrying capacity. A logarithmic model never levels off but slows down for ever. A piecewise model changes its rule at fixed points. Matching the shape of the data to the right family is the first step in modelling.
2.1 Logistic models
; as , , so is a horizontal asymptote. The growth is fastest when .
2.2 Natural logarithmic models
() increases without limit when , but each increase in adds less than the one before. It suits learning curves, perceived loudness or the growth of a child’s vocabulary.
2.3 Piecewise models
A piecewise model uses different formulas on different parts of the domain. Read the domain of each piece carefully. A model is continuous if the pieces join up: the two formulas give the same value at the boundary.
2.4 Choosing a model
| Shape of the data | Model |
|---|---|
| Constant ratio between equally spaced values; grows or decays towards an asymptote | exponential or |
| S-shaped: slow, fast, then levels off | logistic |
| Rises quickly then keeps rising more and more slowly, no asymptote | logarithmic |
| Repeats regularly | sinusoidal |
| Different behaviour on different intervals | piecewise |
Solve model equations with nSolve, or graph the model and use menu → Analyze Graph → Intersection. To fit a logistic model to data, enter the data in a Lists & Spreadsheet page and use menu → Statistics → Stat Calculations → Logistic (d=0): it gives , so is the carrying capacity. Piecewise functions can be entered in a Graphs page with the template from the math templates key (the curly bracket).
3Explore it
Compare a logistic model (navy) with the exponential model that has the same start and the same early growth (red, dashed). Change L, C and k: where do the two models separate?
4Common mistakes & exam tips
Common mistakes
- Reading the carrying capacity as instead of .
- Using a piecewise formula outside its own interval.
- Saying a logarithmic model has an asymptote: keeps increasing.
- Forgetting that a logistic model never actually reaches .
- Choosing a model from a few points without looking at the overall shape or the context.
Exam tips
- "In the long term" in a logistic question means find the limit .
- For continuity, set the two pieces equal at the boundary and solve.
- When asked to criticise a model, test it at the extremes: very large or very small values of the variable.
- Write the GDC regression output in full, with the model type, before using it.
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB Maths AI HL exam, with full markschemes. Your GDC is allowed throughout: use it, but write down what you entered and what it gave you. Give yourself about 1 minute per mark.
The population of deer in a forest years after they were introduced is modelled by .
- (a)Find the number of deer introduced.[1]
- (b)Find the population after 10 years.[2]
- (c)Find the time it takes for the population to reach 6000.[2]
- (d)Write down the long-term population.[1]
| (a) | |
| A1 | |
| (b) | |
| (M1) | |
| A1 | |
| (c) | |
| (M1) | |
| years | A1 |
| (d) | |
| A1 | |
The height, cm, of a plant weeks after it is planted is modelled by , for .
- (a)Find the height of the plant after 5 weeks.[2]
- (b)Find the time taken for the plant to reach a height of 40 cm.[2]
- (c)Give one reason why the model may not be valid for large values of .[1]
| (a) | |
| (M1) | |
| cm | A1 |
| (b) | |
| (M1) | |
| weeks | A1 |
| (c) | |
| the model keeps increasing without limit, but a plant stops growing | R1 |
A water company charges a fixed fee of €12 per quarter. In addition, the first 15 m³ of water cost €1.40 per m³, the next 25 m³ cost €2.10 per m³, and any water above 40 m³ costs €3.20 per m³.
- (a)Find the bill for a quarter in which 30 m³ of water are used.[2]
- (b)Write down a piecewise function for the bill, in euros, when m³ are used.[4]
- (c)A household’s bill is €120. Find the amount of water used.[3]
| (a) | |
| (M1) | |
| €64.50 | A1 |
| (b) | |
| , | A1 |
| , | A1A1 |
| , | A1 |
| A1A1 for the middle piece: correct constant 33 and correct rate. Accept equivalent forms. | |
| (c) | |
| , so | R1 |
| (M1) | |
| m³ | A1 |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you are scoring well above, try these real IB Maths AI HL questions on this topic. Your school or teacher will have the papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| Nov 2024 · Paper 1 | Q13 | A logistic model for a beaver population | ★★☆ |
| May 2025 · TZ1 · Paper 2 | Q3 | Comparing population models, including logistic | ★★★ |
| Nov 2025 · Paper 2 | Q4 | A natural log model for distance walked | ★★☆ |
| May 2023 · TZ1 · Paper 1 | Q10 | A piecewise model of a hook | ★★☆ |
| Nov 2025 · Paper 3 | Q2 | Choosing the best model for a wolf population | ★★★ |
