Skip to main content

Free IB Maths AI HL lesson: Non-linear regression & residual analysis

A ready-to-teach IB Maths AI HL lesson on Non-linear regression & residual analysis (Unit 2 · Functions): editable slides and teacher notes, free; a printable worksheet in 3 levels with answers for school plans. About 55 minutes.

IB Maths AI HL lesson slides on Non-linear regression & residual analysis: title slide, learning objectives, a worked example and the exit ticket
Preview of the Non-linear regression & residual analysis slides (IB Maths AI HL).

Free with a teacher account. Sign in with Google, Microsoft or email and download the slides and teacher notes.

What's inside

Learning objectives

Key ideas on the slides

By the end of the lesson, students should be able to answer a question like: A dataset of population vs. year is modelled with a cubic regression. Plot the residuals and comment on whether the cubic model is appropriate.

Key vocabulary

Common mistakes this lesson tackles

The worked example

Using the regression model P(t) = 4.88 × 3.01ᵗ from the previous example, estimate the bacteria population at t = 12 hours. State whether this estimate is reliable and justify your answer.

  1. Substitute t = 12 into the exponential model: P(12) = 4.88 × 3.01¹².
  2. Evaluate using the GDC: P(12) ≈ 2 666 285.
  3. State the estimate: The estimated population is 2 670 000 bacteria (to 3 s.f.).
  4. Analyse the reliability based on the original data range (t=1 to t=4).
  5. Conclude: The estimate is not reliable.
  6. Justify: It relies heavily on extrapolation far outside the known data range, and exponential growth models rarely continue indefinitely in reality due to limiting factors like space and resources.

Tip: Estimates made via extrapolation are inherently unreliable. Even if a model has an R² value of 1.00 inside the data range, you must state that extrapolating outside the domain renders the prediction untrustworthy.

Calculator tips

Where this lesson fits

Non-linear regression & residual analysis is in Unit 2 · Functions of the IB Maths AI HL scheme of work.

Lesson plan

0–5 minDo now: students write down what they remember about Combined transformations and Vertical + horizontal stretches
5–8 minShare the learning objective and success criteria
8–20 minTeach: the worked example, step by step; students copy the method
20–25 minYour turn: 1 mini-whiteboard question; check every board before moving on
25–42 minPractise: the worksheet (6 questions in 3 levels, with school plans and the teacher trial) or the topic's practice questions online; move up a level after two right in a row
42–47 minPlenary: 1-question exit ticket; collect it to plan the next lesson

For students: practise this topic

The worksheet's QR code opens the IB Maths AI HL Unit 2: Data Collection and Non-Linear Regression practice questions.

With a school plan

Set Non-linear regression & residual analysis as homework marked by AI, print this lesson's levelled worksheet with answers, and rebuild the lesson for your class with Create lesson. Free for 30 days as a teacher, no card.

Is it free, can I edit the slides, what do students use for homework? See questions teachers ask.

More free IB Maths AI HL lessons