☰ IB Maths AI HL · course menu
Topics
IB Maths AI HL · free cheatsheet
Functions cheatsheet (IB Maths AI HL)
Every function skill for IB Mathematics Applications & Interpretation HL — notation, domain & range, composite & inverse functions, and the key AI models (linear, quadratic, exponential & piecewise) read straight off the GDC. Written by an IB-certified teacher.
What this cheatsheet covers
Functions are how IB Mathematics Applications & Interpretation HL turns a real situation into mathematics you can compute with. AI treats a function less as abstract algebra and more as a model: a rule that takes an input — a time, a price, a temperature — and returns exactly one output you can graph, invert, evaluate or optimise. Because a calculator is always allowed, the marks live in choosing the right model and reading its features correctly — the intercepts, the vertex, the asymptote — not in grinding algebra by hand.
This cheatsheet condenses the whole of SL 2.1–2.6 and AHL 2.7 — function notation and domain/range, composite and inverse functions, the key AI models (linear, quadratic, exponential, cubic and piecewise) and how to pull every graph feature off the GDC — onto one page, and flags the traps that quietly cost method marks.
Function notation & evaluating $f(x)$
SL 2.2Function:$f:x\mapsto f(x)$ assigns to each input exactly one outputEvaluate:to find $f(a)$, replace every $x$ in the rule by $a$, then computeCubic model:$f(x)=ax^3+bx^2+cx+d$ — substitute term by term, watching the sign of each
A function is a rule that gives each input exactly one output; evaluating it just means substituting.
Domain & range
SL 2.2Domain:the inputs $x$ the rule permits — exclude anything that divides by $0$ or square-roots a negative, and respect context (e.g. time $t\ge0$)Range:the outputs $f(x)$ produced as $x$ runs over the domainOn $a\le x\le b$:for a linear (monotonic) model the extreme outputs sit at the ends of the interval
The domain is the set of allowed inputs; the range is the set of outputs the rule can actually produce.
Composite functions $(f\circ g)$
AHL 2.7Composite:$(f\circ g)(x)=f\big(g(x)\big)$ — put $x$ into the inner function $g$ first, then its output into $f$Order matters:in general $(f\circ g)(x)\ne(g\circ f)(x)$
Composition chains two functions, feeding the output of one straight into the other.
Inverse functions $f^{-1}$
AHL 2.7Reverses $f$:$f(a)=b\iff f^{-1}(b)=a$, and $f^{-1}\big(f(x)\big)=x$Linear inverse:if $f(x)=mx+c$ then $f^{-1}(x)=\dfrac{x-c}{m}$ — undo the operations in reverse: subtract $c$, then divide by $m$Graphically:$y=f^{-1}(x)$ is the mirror image of $y=f(x)$ in the line $y=x$
The inverse undoes a function, and its graph is the reflection of the original in the line $y=x$.
To find an inverse, set $y=f(x)$, swap $x$ and $y$, then solve for $y$.
Linear models
SL 2.1Linear model:$f(x)=mx+c$ — gradient $m$ is the constant rate of change, intercept $c$ is the value when $x=0$Gradient:$m=\dfrac{y_2-y_1}{x_2-x_1}$ — "rise over run" between any two points on the line
The straight line is the simplest AI model: a constant rate of change on top of a starting value.
Quadratic models: vertex, axis & max/min
SL 2.5Quadratic model:$f(x)=ax^2+bx+c$ — opens up ($a>0$, has a minimum) or down ($a<0$, has a maximum)Axis / vertex:the turning point is at $x=-\dfrac{b}{2a}$; the max/min value is $f\!\left(-\dfrac{b}{2a}\right)$$y$-intercept:$f(0)=c$ — the starting value of the model
A quadratic model is a parabola, and its single turning point is where the maximum or minimum lives.
A projectile height $h(t)=h_0+vt-ut^2$ is this model with $a=-u,\ b=v$: it peaks at $t=\dfrac{v}{2u}$, and $h_0$ is the launch height.
Exponential models: growth, decay & the horizontal asymptote
SL 2.5Exponential model:$f(x)=k\,a^{x}+c$ — growth if $a>1$, decay if $0 < a < 1$; horizontal asymptote $y=c$Doubling / half-life:$P(t)=P_0\,2^{t/d}$ doubles every $d$ time units (use base $\tfrac12$ for a half-life)Newton cooling:$T(t)=T_a+(T_0-T_a)\,b^{t}$ — cools towards room temperature $T_a$, the horizontal asymptote
Exponential models change by a constant ratio each step and, when shifted, level off at a horizontal asymptote.
Piecewise functions
SL 2.5Piecewise model:$f(x)=\begin{cases}\text{rule 1}, & x < k\\ \text{rule 2}, & x\ge k\end{cases}$ — first decide which interval contains $x$, then apply that pieceTiered tariff:charge the first block at the base rate; only the excess above the threshold is charged at the next rate
A piecewise model uses different rules on different intervals — common for tiered tariffs and step charges.
Reading key features off the GDC
SL 2.3 · 2.4
AI rewards pulling features straight off the graph — set a sensible window first, then read.
| Graph feature | How to read it off the GDC |
|---|---|
| $y$-intercept | Evaluate $f(0)$ — where the curve meets the $y$-axis (the model's start value) |
| $x$-intercepts / roots | Graph $y=f(x)$ and use the zero tool; each root solves $f(x)=0$ |
| Maximum / minimum | Use the maximum/minimum tool — read the turning point's $x$ and $y$ |
| Horizontal asymptote | The value the curve levels off to as $x\to\pm\infty$ (the $+c$ in the model) |
| Intersection of two models | Plot both and use the intersect tool, or solve $f(x)=g(x)$ |
Exam attack plan
All sections
| Question cue | What to do | Watch for |
|---|---|---|
| "Find $f(a)$" | Substitute $a$ for every $x$ (or use the GDC table/value) | Don't drop the constant term |
| "State the domain / range" | Domain = allowed inputs; range = outputs (read off the graph) | Context limits ($t\ge0$); match the range to the domain |
| "$(f\circ g)(x)$" or "$f(g(2))$" | Inner function first: apply $g$, then $f$ | $f\circ g\ne g\circ f$; $g$ acts first |
| "Find $f^{-1}$" | Set $y=f(x)$, swap $x\leftrightarrow y$, solve; reflect in $y=x$ | Needs one-to-one; restrict the domain to a branch |
| "Maximum / minimum value" (quadratic) | Vertex $x=-\tfrac{b}{2a}$, then substitute (or GDC max/min) | Report the $y$-value, not just where it occurs |
| "Long-run / levels off / asymptote" | Read the constant $c$ (or $T_a$) in the model | It tends to $c$, not $0$ |
| "How long until…" (exponential) | Match exponents, or take $\log$ on the GDC | "First exceeds" $\Rightarrow$ round up |
| "Tiered charge / different rules" | Find the interval, then apply that piece | Charge only the excess in the higher tier |
Worked Example — AI HL-Style Exponential Cooling
Question (AI HL Paper 2 style — 6 marks)
A mug of coffee cools in a room. Its temperature after $t$ minutes is modelled by $$T(t)=21+74(0.93)^{t},$$ where $T$ is measured in °C.
(a) Write down the initial temperature of the coffee.
(b) Find the temperature after 10 minutes.
(c) State the temperature the coffee approaches in the long run, and explain why.
(d) Find the time, to the nearest tenth of a minute, for the coffee to cool to 40 °C.
Solution
- (a) $T(0)=21+74(0.93)^{0}=21+74=95$ °C. (A1) (the initial value is the constant plus the coefficient, not just $74$.)
- (b) $T(10)=21+74(0.93)^{10}=21+74(0.4840)=56.8$ °C (3 s.f.). (M1)(A1)
- (c) As $t\to\infty$, $(0.93)^{t}\to0$, so $T\to21$ °C. This is the horizontal asymptote — room temperature — and the coffee never cools below it. (A1)
- (d) Solve $21+74(0.93)^{t}=40\Rightarrow 74(0.93)^{t}=19\Rightarrow(0.93)^{t}=\dfrac{19}{74}=0.2568$. (M1) Taking logs (or the GDC solver), $t=\dfrac{\ln 0.2568}{\ln 0.93}=18.7$ minutes (3 s.f.). (A1)
Examiner's note: keep the $+21$ throughout — the long-run temperature is the room's $21$ °C, not $0$, and that constant is exactly the horizontal asymptote. Hold full calculator accuracy for $(0.93)^{10}$ and only round the final answers to 3 s.f., and always attach the correct units (°C, minutes). Adding $R$-style terms or dropping the constant is the classic way to lose the reading marks here.
Common Student Questions
- What is the difference between $f\circ g$ and $g\circ f$?
- How do I find an inverse function, and when does one exist?
- My exponential model "levels off" — how do I find that value?
- For a quadratic, does the question want the vertex's $x$ or its $y$?
- Do I have to solve functions by algebra, or can I just use the GDC?
What is the difference between $f\circ g$ and $g\circ f$?
How do I find an inverse function, and when does one exist?
My exponential model "levels off" — how do I find that value?
For a quadratic, does the question want the vertex's $x$ or its $y$?
Do I have to solve functions by algebra, or can I just use the GDC?
Your next step





