← Back to subjects
0
IB Diploma Mathematics: Applications & Interpretation HL · Functions & Modelling
Mini-Lesson

Functions & Modelling (HL)

This HL mini-lesson deepens modelling: the SL families plus HL extensions — logistic models (limited growth), piecewise and natural log models, richer sinusoidal modelling, and careful use of regression and residuals to compare competing models.

AI HL flavour: you must select, fit and critique models — including when growth is capped (logistic) rather than unlimited (exponential).

Work through each screen, answer the questions as you go (some are wordy, some are calculations) and collect ⭐ stars. Every number on the calculation screens has been re-derived and checked. Press Start when you are ready.

Regression recap

Fitting & judging a linear model

Least-squares regression gives y = a + bx with correlation r and r². Judge fit with r² and the pattern of residuals.

Worked example

Data gives y = 44.9 + 6.9x, r = 0.995, r² = 0.989.

Predict x = 6: y = 44.9 + 6.9×6 = 86.3

A high r² is not enough — check residuals show no curve or pattern, or a non-linear model is better.

Calculate

Your turn — regression prediction

1For the regression line y = 44.9 + 6.9x, predict y when x = 6.
Hint: 44.9 + 6.9 × 6.
Logistic model

Limited growth: the logistic curve

Real populations cannot grow forever. The logistic model levels off at a carrying capacity L:

f(t) = L ⁄ (1 + C e−k t)L = carrying capacity (upper asymptote)
Worked example

L = 1000, C = 9, k = 0.5, t = 4.

f(4) = 1000 ⁄ (1 + 9 e−2) = 1000 ⁄ (1 + 1.218) = 450.85

Calculate

Your turn — logistic value

2For f(t) = 1000 ⁄ (1 + 9 e^(−0.5t)), find f(4) to 2 decimal places.
Hint: exponent = −0.5 × 4 = −2; denominator = 1 + 9 e^(−2).
Quick check

Exponential vs logistic

?A fish population grows quickly then levels off at the lake's carrying capacity. The best model is:
Logarithmic model

Natural log models

A logarithmic model f(x) = a + b ln x rises quickly then flattens — good for diminishing returns.

Worked example

a = 2, b = 5, x = 10.

f(10) = 2 + 5 ln 10 = 2 + 5 × 2.3026 = 13.51

Calculate

Your turn — log model

3For f(x) = 2 + 5 ln x, find f(10) to 2 decimal places.
Hint: ln 10 ≈ 2.3026; f = 2 + 5 × 2.3026.
Exponential model

Constant-percentage growth

f(t) = k·at grows by a fixed percentage each period. A colony of 100 at +8%/yr is P = 100 × 1.08t, giving 216 after 10 years.

f(t) = k · athalf-life / doubling time from a
Calculate

Your turn — exponential model

4A colony follows P = 100 × 1.08^t (t in years). Find P at t = 10, to the nearest whole number.
Hint: 100 × 1.08^10.
Sinusoidal model

Periodic behaviour

f(t) = a sin(b(t − c)) + d models cycles: a = amplitude, period = 2π⁄b, d = midline, c = horizontal shift. Used for tides, daylight and temperature.

Worked example

f(t) = 8 sin(0.5 t) + 15.

At t = π: f(π) = 8 sin(0.5π) + 15 = 8 × 1 + 15 = 23

Calculate

Your turn — sinusoidal value

5For f(t) = 8 sin(0.5t) + 15, find f(π). (sin(π⁄2) = 1.)
Hint: 0.5 × π = π⁄2, and sin(π⁄2) = 1.
Sort it

Match the shape

Tap a described behaviour, then the model type.

🦠 Exponential

🐟 Logistic

🌊 Sinusoidal

Quick check

Amplitude & period

?For f(t) = 8 sin(0.5t) + 15, the amplitude and midline are:
Quick check

Compare models

?Two models fit the same data. The better choice usually has:
Match it

Match the model to its formula

Tap an item on the left, then its match on the right.

Item
Match
Piecewise models

Piecewise-defined models

Some situations change rule at a threshold — e.g. a tax band or a tiered tariff. A piecewise function uses different formulas on different intervals.

Check the pieces agree (or note the jump) at the boundary values.

Quick check

Residuals

?After fitting a model, a plot of residuals shows a clear curved pattern. This suggests:
Recap

The big ideas to take away

Regression: y = a + bx; judge with r², residuals

Exponential: k·a^t — unlimited constant-% growth

Logistic: L ⁄ (1 + Ce^(−kt)) — growth capped at L

Logarithmic: a + b ln x — diminishing returns

Sinusoidal: a sin(b(t−c)) + d — amplitude a, period 2π⁄b

Skill: select, fit and critique the best model in context

You have worked through the whole topic. Press Finish to see your score.

🏆

Mini-lesson complete!

⭐⭐⭐

You have covered HL Functions & Modelling for AI. 🎉

Your stars: 0 / 0

Next: test yourself in the Evaluate stage, then lock it in with Verify.

📣 Smashed it? Share your score

Challenge a mate to beat your stars, or show a parent how you got on.

→ Back to all subjects