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

Free with a teacher account. Sign in with Google, Microsoft or email and download the slides and teacher notes.
What's inside
- Slides (PowerPoint, editable) · freeabout 12 slides: do now, objectives, key ideas, a worked example step by step, “your turn”, practice QR code, exit ticket
- Teacher notes (PDF) · freelesson plan with timings, common mistakes, homework links
- Worksheet (PDF) · school plans6 questions, 31 marks: Fluency, Reasoning, Exam-style. Included with school plans and the teacher trial.
- Answers (PDF) · school plansthe answer to every worksheet question, from its mark scheme. Included with school plans and the teacher trial.
Learning objectives
- Linearizing Data with Log-Log & Semi-Log Scales
- Linearising y = axᵇ and y = abˣ
Key ideas on the slides
- If y = axⁿ, then log y = log a + nlog x: plot log y against log x for a straight line with gradient n and intercept log a.
- If y = kbˣ, then log y = log k + xlog b: plot log y against x for a straight line with gradient log b and intercept log k.
- From the line: a = 10ⁱⁿᵗᵉʳᶜᵉᵖᵗ (or eⁱⁿᵗᵉʳᶜᵉᵖᵗ with ln), and b = 10ᵍʳᵃᵈⁱᵉⁿᵗ.
- Say which variables are on each axis before reading the gradient and intercept.
By the end of the lesson, students should be able to answer a question like: Plot ln(y) against x to find constants a and b for y=abx.
Key vocabulary
- linearise: Transform data so the relationship becomes a straight line.
- log–log graph: log y plotted against log x.
- semi-log graph: log y plotted against x.
- regression line: The line of best fit that minimises the sum of squared vertical distances.
- interpolation: Predicting within the range of the data.
Common mistakes this lesson tackles
- Modelling: regression on the GDC, r² for non-linear models, context of the variable. Use the GDC's regression for the model named. Compare non-linear fits with R² and quote both values. Define the variable ("t = years after 2010") before substituting, and answer the comparison the question actually asks.
- Reading the intercept as a instead of log a.
- Mixing ln and log₁₀ between the line and the model.
- Using the log–log plot for an exponential model (it needs the semi-log plot).
The worked example
A non-linear relationship between two variables is given by the power model y = axⁿ. By taking the base-10 logarithm of both sides, show algebraically how this relationship can be expressed as a linear equation of the form Y = mX + c.
- Take the logarithm of both sides of the equation: log₁₀ y = log₁₀(axⁿ).
- Apply the product rule for logarithms (log(ab) = log a + log b): log₁₀ y = log₁₀ a + log₁₀ xⁿ.
- Apply the power rule for logarithms (log(xⁿ) = nlog x): log₁₀ y = nlog₁₀ x + log₁₀ a.
- Map this to the linear equation Y = mX + c to finish the proof. Here, Y = log₁₀ y and X = log₁₀ x. The gradient is m = n and the y-intercept is c = log₁₀ a.
Tip: You must explicitly write out the logarithm laws being used to secure the "show that" method marks. Skipping straight from log₁₀(axⁿ) to nlog₁₀ x + log₁₀ a may cost you a reasoning mark.
Calculator tips
- Enter log of the data in new lists and use linear regression; or use power/exponential regression directly.
- LinReg(a+bx) on the GDC; store the equation to evaluate predictions.
Where this lesson fits
Log-transformed regression is in Unit 2 · Functions of the IB Maths AI HL scheme of work.
- The lesson before: Interpreting model roots / vertex in context (scheme-of-work lessons: Quadratic models in context)
- The next lesson: Logistic model P = L/(1+Ae⁻ᵏᵗ) (scheme-of-work lessons: The Logistic Function & Its Parameters (L, k, x₀); Fitting & Interpreting the Carrying Capacity)
Lesson plan
| 0–5 min | Do now: students write down what they remember about Exponential decay models and Exponential growth models |
| 5–8 min | Share the learning objective and success criteria |
| 8–20 min | Teach: the worked example, step by step; students copy the method |
| 20–25 min | Your turn: 1 mini-whiteboard question; check every board before moving on |
| 25–42 min | Practise: 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 min | Plenary: 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: Scaling and Linearising Data practice questions.
With a school plan
Set Log-transformed regression 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.