☰ IB Maths AI HL · course menu
Topics
IB Maths AI HL · free cheatsheet
Differentiation cheatsheet (IB Maths AI HL)
Every differentiation skill for IB Mathematics Applications & Interpretation HL — the power rule, tangents & normals, stationary points, the second derivative and the AHL rules — built into real optimisation problems like maximum volume and minimum cost. Written by an IB-certified teacher.
What this cheatsheet covers
Differentiation is the engine of the IB Mathematics Applications & Interpretation HL calculus strand. In AI you rarely differentiate for its own sake — you differentiate to answer a modelling question: how fast is a population growing, what cutting size gives the largest volume, what order quantity gives the lowest cost. A GDC is always allowed, so the marks are not in grinding algebra but in choosing the right tool (power rule, chain rule, second-derivative test) and reading the answer back into the context with the right units.
This cheatsheet condenses the whole range — from the power rule and tangents in SL 5.1–5.4 to the second derivative and the AHL rules in AHL 5.6–5.8 — onto one page, and flags the traps that quietly cost method marks.
The derivative: gradient & rate of change
SL 5.1Gradient function:$f'(x)=\dfrac{dy}{dx}$ — the gradient of $y=f(x)$ at each value of $x$Rate of change:$\dfrac{dy}{dx}$ — how fast $y$ changes per unit increase in $x$Kinematics link:$v=\dfrac{ds}{dt}$, $\;a=\dfrac{dv}{dt}=\dfrac{d^{2}s}{dt^{2}}$ — differentiate displacement for velocity, again for acceleration
The derivative $f'(x)$ measures the instantaneous rate of change of $y=f(x)$ — geometrically, the gradient of the curve (the slope of its tangent) at each point. Two notations mean the same thing:
A positive derivative means $y$ is rising, a negative derivative means it is falling, and a zero derivative marks a level (stationary) instant — the single idea behind every method on this sheet.
The power rule & polynomials
SL 5.3Power rule:$\dfrac{d}{dx}\left(ax^{n}\right)=an\,x^{\,n-1}$Constant:$\dfrac{d}{dx}(c)=0$ — a constant has zero gradientSum rule:differentiate a polynomial term by term
Almost every AI derivative starts here. For any power term, multiply by the power and then lower it by one:
For example $\dfrac{d}{dx}\left(5x^{3}-2x^{2}+7\right)=15x^{2}-4x$, and negative or fractional powers obey the same rule: $\dfrac{d}{dx}\left(\dfrac{3}{x}\right)=\dfrac{d}{dx}\left(3x^{-1}\right)=-3x^{-2}=-\dfrac{3}{x^{2}}$.
Numerical derivative on the GDC
SL 5.1Value at a point:$\left.\dfrac{d}{dx}\big(f(x)\big)\right|_{x=p}=f'(p)$ — the calculator's numerical-derivative templateFrom a graph:plot $y=f(x)$, then use the analyse/derivative ($\tfrac{dy}{dx}$) tool at $x=p$
Because AI always allows a calculator, you can evaluate a gradient without differentiating by hand — invaluable for messy models and for checking your working.
Tangents & normals
SL 5.4Tangent gradient:$m=f'(p)$Tangent line:$y-f(p)=m(x-p)$ — its $y$-intercept is the constant $c$ in $y=mx+c$Normal gradient:$-\dfrac{1}{f'(p)}$ — the negative reciprocal (perpendicular to the tangent)Normal line:$y-f(p)=-\dfrac{1}{f'(p)}(x-p)$
At the point where $x=p$, first find the gradient $m=f'(p)$ and the point $(p,f(p))$ — then both lines drop straight out.
Increasing, decreasing & stationary points
SL 5.2Increasing:$f'(x)>0$ — the curve risesDecreasing:$f'(x)<0$ — the curve fallsStationary:$f'(x)=0$ — solve this for the turning points; a quadratic vertex sits at $x=-\dfrac{b}{2a}$
The sign of the derivative describes the shape of the graph, and the places where it vanishes are the turning points a model cares about most.
The second derivative: nature & inflexion
AHL 5.6Maximum:$f'(x)=0$ and $f''(x)<0$ — concave down (a peak)Minimum:$f'(x)=0$ and $f''(x)>0$ — concave up (a trough)Inflexion:$f''(x)=0$ with a change of concavity — solve $f''(x)=0$, then use $f(x)$ for the height
Differentiating twice gives $f''(x)$, which measures how the gradient itself is changing — the fastest way to classify a stationary point.
Derivatives of $e^{x}$, $\ln x$, $\sin x$ & $\cos x$
AHL 5.8
Beyond polynomials, AI HL expects the derivatives of the key modelling functions. Learn these four cold:
| Function $f(x)$ | Derivative $f'(x)$ |
|---|---|
| $e^{x}$ | $e^{x}$ — unchanged |
| $\ln x$ | $\dfrac{1}{x}$ |
| $\sin x$ | $\cos x$ |
| $\cos x$ | $-\sin x$ |
Chain, product & quotient rules
AHL 5.8Chain rule:$\dfrac{dy}{dx}=\dfrac{dy}{du}\cdot\dfrac{du}{dx}$; e.g. $\dfrac{d}{dx}(ax+b)^{n}=n(ax+b)^{n-1}\cdot a$Product rule:$(uv)'=u'v+uv'$Quotient rule:$\left(\dfrac{u}{v}\right)'=\dfrac{u'v-uv'}{v^{2}}$Quotient shortcut:$\dfrac{d}{dx}\!\left(\dfrac{ax+b}{cx+d}\right)=\dfrac{ad-bc}{(cx+d)^{2}}$
These three rules differentiate the combinations AI models are built from. Spot the structure first, then apply the matching rule.
Optimisation in context
AHL 5.71 · Model:write the quantity as a function of one variable, using the constraint to eliminate the other2 · Differentiate:find $\dfrac{dV}{dx}$ (or $\dfrac{dC}{dx}$, $\dfrac{dA}{dx}$)3 · Solve:set the derivative to $0$ and solve for the critical value4 · Justify:confirm a maximum or minimum with the second derivative (or a sign check)5 · Answer:substitute back to report the required area, volume or cost
This is where AI HL differentiation pays off: finding the input that makes a real quantity as large or as small as possible. The method is always the same five steps.
Two AI staples: a wall on one side of a rectangular field means only three sides are fenced, so the constraint is $2x+y=F$ and you maximise the area $A=xy$; a cost of the form $C(x)=ax+\dfrac{b}{x}$ is minimised by solving $C'(x)=a-\dfrac{b}{x^{2}}=0$ (keeping $x>0$).
Exam attack plan
All sections
| Question cue | What to do | Watch for |
|---|---|---|
| "Find the gradient at $x=p$" | Differentiate, then substitute $x=p$ (or use the GDC $\tfrac{dy}{dx}$ tool) | Differentiate first, substitute second |
| "Equation of the tangent" | $m=f'(p)$, point $(p,f(p))$, then $y-y_1=m(x-x_1)$ | You need the point too; $y$-intercept is $c$ |
| "Equation of the normal" | Gradient $-\dfrac{1}{f'(p)}$ through $(p,f(p))$ | Negative reciprocal, not $-f'(p)$ |
| "Increasing or decreasing?" | Test the sign of $f'(x)$ | $f'(x)>0$ rises, $f'(x)<0$ falls |
| "Turning / stationary points" | Solve $f'(x)=0$, then $f''$ for the nature | Sub $x$ into $f$, not $f'$, for $y$ |
| "Maximum / minimum in context" | One variable via the constraint, $f'=0$, justify, substitute back | Give area/volume/cost; reject bad roots |
| "Velocity / acceleration" | Differentiate $s(t)$ once for $v$, twice for $a$ | Keep units; $a=0$ gives the time, then read $v$ |
| "Composite / product / fraction" | Chain / product / quotient rule | Multiply by the inside's derivative; square the denominator |
Worked Example — Maximising a Box Volume (AI HL Optimisation)
Question (AI HL Paper 2 style — 9 marks)
An open-topped box is made from a square sheet of card measuring $24\text{ cm}$ by $24\text{ cm}$. A square of side $x\text{ cm}$ is cut from each corner and the sides are folded up.
(a) Show that the volume is $V(x)=4x^{3}-96x^{2}+576x$.
(b) Find $\dfrac{dV}{dx}$.
(c) Find the value of $x$ that maximises the volume, and justify that it is a maximum.
(d) Hence find the maximum volume.
Solution
- (a) The base is a square of side $24-2x$ and the height is $x$, so $V=x(24-2x)^{2}=x\left(576-96x+4x^{2}\right)=4x^{3}-96x^{2}+576x$. (M1)(A1)
- (b) Differentiating term by term, $\dfrac{dV}{dx}=12x^{2}-192x+576$. (A1)
- (c) Set $\dfrac{dV}{dx}=0$: $\;12x^{2}-192x+576=0\Rightarrow x^{2}-16x+48=0\Rightarrow (x-4)(x-12)=0$, so $x=4$ or $x=12$. (M1)(A1) A valid cut needs $0 < x < 12$ (at $x=12$ the base vanishes), so reject $x=12$ and take $x=4$. (R1) The second derivative is $\dfrac{d^{2}V}{dx^{2}}=24x-192$; at $x=4$ it is $24(4)-192=-96<0$, confirming a maximum. (M1)(A1)
- (d) $V(4)=4(24-8)^{2}=4(16)^{2}=4\times256=1024\text{ cm}^{3}$. (A1)
Examiner's note: in AI you may instead graph $V(x)$ on the GDC and use the maximum feature to read $x=4,\ V=1024$ directly — but the working above earns the method marks, so show the calculus and quote the GDC value as the check. Always give the volume the question asks for (not just $x$), keep the units ($\text{cm}^{3}$), and reject any root that makes a length zero or negative.
Common Student Questions
- Do I still have to differentiate by hand if my GDC can do it?
- What is the difference between a tangent and a normal?
- How do I tell whether a stationary point is a maximum or a minimum?
- When do I use the chain rule versus the product or quotient rule?
- In an optimisation problem, how do I know which solution to keep?
Do I still have to differentiate by hand if my GDC can do it?
What is the difference between a tangent and a normal?
How do I tell whether a stationary point is a maximum or a minimum?
When do I use the chain rule versus the product or quotient rule?
In an optimisation problem, how do I know which solution to keep?
Your next step




