Free Cheatsheet · SL 2.1–2.11 · AHL 2.13–2.16

IB Math AA HL Functions — Complete Cheatsheet

Domain, range, inverses, transformations, asymptotes, modulus, inequalities — every concept and trap for IB Mathematics Analysis & Approaches HL Functions. Hand-built by an IBO-certified Singapore tutor with 15+ years of IB experience.

Topic: Functions & Graphs Syllabus: SL 2.1–2.11, AHL 2.13–2.16 Read time: ~12 minutes Last updated: Apr 2026

Functions is the conceptual spine of IB Mathematics Analysis & Approaches HL. Every chapter that follows — calculus, complex numbers, statistics, sequences — assumes you can confidently sketch graphs, find inverses, classify transformations, and reason about domain and range. The HL extension over SL is large: oblique asymptotes via long division, odd/even classification, restricted-domain inverses, modulus transformations, rational inequalities via sign tables, and the $1/f(x)$ and $f(|x|)$ advanced graph transforms.

The single biggest source of dropped marks is sloppy notation around transformations — students mix up $f(x - a)$ vs $f(x + a)$, or invent the "rule" that $|f(x)| = f(|x|)$. This cheatsheet condenses every formula and trap from SL 2.1–2.11 and AHL 2.13–2.16 into one page you can revise from. For the printable PDF, full notes, the tutorial booklet, and the marked-up solutions, scroll to the bottom.

§1 — Lines & Function Basics SL 2.1–2.2, 2.5

Straight lines

Forms:$y = mx + c$,   $y - y_1 = m(x - x_1)$,   $ax + by + d = 0$
Gradient:$m = \dfrac{y_2 - y_1}{x_2 - x_1}$

Parallel: $m_1 = m_2$.   Perpendicular: $m_1 m_2 = -1$, so $m_\perp = -\dfrac{1}{m}$ (negate AND reciprocate).

Function concepts

Domain: allowed inputs.   Range: outputs.

Vertical Line Test (VLT): a graph defines a function iff every vertical line hits it at most once.

Inverse $f^{-1}$: exists iff $f$ is one-to-one. Domain $f^{-1}$ $=$ Range $f$. Graph: reflect in $y = x$. Compositions: $(f \circ f^{-1})(x) = x$. Method: write $y = f(x)$; swap $x \leftrightarrow y$; rearrange.

Composites & domain

$(f \circ g)(x) = f(g(x))$ — apply $g$ first, then $f$. In general $f \circ g \neq g \circ f$.

Domain of $f \circ g$: $x \in \text{dom}(g)$ with $g(x) \in \text{dom}(f)$.

Key graph checklist

Always find & label: $x$-intercepts ($f(x) = 0$); $y$-intercept ($f(0)$); VA (denominator $= 0$); HA ($x \to \pm \infty$); turning points; domain; range. Sketch = shape + key points labelled. Draw = accurate scale.

§2 — Quadratics & Rational Functions SL 2.6–2.8

Quadratic forms

  • Standard: $ax^2 + bx + c$, $y$-intercept $(0, c)$.
  • Factored: $a(x - p)(x - q)$, roots $p, q$.
  • Vertex: $a(x - h)^2 + k$, vertex $(h, k)$ with $h = -\dfrac{b}{2a}$, $k = c - \dfrac{b^2}{4a}$.

Discriminant & quadratic formula

Formula:$x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}$
Discriminant:$\Delta = b^2 - 4ac$
  • $\Delta > 0$: two distinct real roots (crosses $x$-axis twice).
  • $\Delta = 0$: one repeated root (touches $x$-axis).
  • $\Delta < 0$: no real roots (no $x$-intercept).

Parameter conditions: set $\Delta > 0$, $\Delta = 0$, or $\Delta < 0$ and solve.

Rational $\dfrac{ax + b}{cx + d}$

Vertical asymptote: $x = -d/c$.   Horizontal asymptote: $y = a/c$.

6-step sketch: 1) VA (denominator $= 0$); 2) HA (leading coefficient ratio); 3) $y$-int $f(0) = b/d$; 4) $x$-int (numerator $= 0$); 5) sign table for branches; 6) draw and label.

Self-inverse: $d = -a$. To prove: show $f(f(x)) = x$.

§3 — Exp/Log & Transformations SL 2.9, 2.11

Graph of e to the x and natural log x reflected in the line y equals x, showing they are inverse functions
$y = e^x$ and $y = \ln x$ are inverses — reflections of each other in the line $y = x$.

$e^x$ vs $\ln x$

  • $e^x$: domain $\mathbb{R}$, range $> 0$, HA $y = 0$, $y$-int $(0, 1)$.
  • $\ln x$: domain $x > 0$, range $\mathbb{R}$, VA $x = 0$, $x$-int $(1, 0)$.
  • Inverses of each other; reflect in $y = x$.

Log laws

  • $\ln(xy) = \ln x + \ln y$
  • $\ln(x/y) = \ln x - \ln y$
  • $\ln(x^n) = n \ln x$
  • $\log_a x = \dfrac{\ln x}{\ln a}$ (change of base)
  • $e^{\ln x} = x$,   $\ln(e^x) = x$,   $a^x = e^{x \ln a}$

Hidden quadratic: for $e^{2x} - 5e^x + 4 = 0$, substitute $u = e^x$: $(u - 1)(u - 4) = 0$, so $x = 0$ or $\ln 4$.

Trap$\ln(a + b) \neq \ln a + \ln b$. There is NO sum rule for logs of sums. Do not invent one under exam pressure.

SL transformations

TransformationEffectMap
$y = f(x) + b$Translate up by $b$$(x, y) \to (x, y + b)$
$y = f(x - a)$Translate right by $a$$(x, y) \to (x + a, y)$
$y = p\,f(x)$Vertical stretch $\times p$$(x, y) \to (x, py)$
$y = f(qx)$Horizontal stretch $\times \tfrac{1}{q}$$(x, y) \to (\tfrac{x}{q}, y)$
$y = -f(x)$Reflect in $x$-axis
$y = f(-x)$Reflect in $y$-axis

Order for $p\,f(q(x - a)) + b$: 1) horizontal stretch $\tfrac{1}{q}$; 2) horizontal translate $+a$; 3) vertical stretch $p$; 4) vertical translate $+b$.

Trap$f(x - a)$ shifts right (not left). $f(qx)$ stretches by $\tfrac{1}{q}$, not $q$. These two facts cause more lost marks than any other in IB transformations.

§4 — Oblique Asymptotes & Odd/Even AHL 2.13–2.14

Oblique asymptote

When $\deg(\text{numerator}) = \deg(\text{denominator}) + 1$ there is an oblique (slant) asymptote.

Method — long division:

$$\frac{P(x)}{dx + e} = \text{quotient} + \frac{R}{dx + e}.$$

The oblique asymptote is the quotient (the remainder $\to 0$ as $x \to \infty$).

Example: $\dfrac{x^2 - 14x + 24}{2(x + 3)} = \dfrac{x - 17}{2} + \dfrac{75/2}{x + 3}$. OA: $y = \tfrac{x}{2} - \tfrac{17}{2}$; VA: $x = -3$.

Odd & even functions

Even: $f(-x) = f(x)$; symmetric about the $y$-axis. e.g.\ $x^2$, $\cos x$, $|x|$, $\dfrac{1}{x^2 + 1}$.

Odd: $f(-x) = -f(x)$; $180^\circ$ symmetric about the origin, so $f(0) = 0$ always. e.g.\ $x^3$, $\sin x$, $\tan x$, $\dfrac{1}{x}$.

Proof: compute $f(-x)$, compare with $\pm f(x)$, state the conclusion.

Products: Even $\times$ Even $=$ Even; Odd $\times$ Odd $=$ Even; Even $\times$ Odd $=$ Odd.

Inverse on a restricted domain

  1. Pass the Horizontal Line Test on the restricted domain.
  2. State the restricted domain.
  3. Swap $x \leftrightarrow y$ and rearrange.
  4. Domain of $f^{-1}$ $=$ Range of the restricted $f$.

Self-inverse: $f(f(x)) = x$; graph symmetric in $y = x$. For $\dfrac{ax + b}{cx + d}$, self-inverse iff $d = -a$.

§5 — Inequalities & Modulus AHL 2.15–2.16

Inequalities — sign-table method

  1. Rearrange to $h(x) \geq 0$.
  2. Fully factorise $h(x)$.
  3. Critical values $=$ roots of numerator $+$ undefined points (zeros of denominator).
  4. Determine the sign of $h$ in each interval.
  5. State the solution set with the correct $\leq$ vs $<$.
TrapNEVER multiply both sides by a variable whose sign is unknown — the inequality might flip. Safe alternative: multiply by $(x - a)^2 > 0$ (always positive, never flips).

Rational inequalities: $\dfrac{h}{k} \geq 0$ — exclude points where $k = 0$ from the solution.

GDC (Paper 2): graph both sides; find intersections.

Sign table template

$x$$< r_1$$r_1$$(r_1, r_2)$$r_2$$> r_2$
$(x - r_1)$$-$$0$$+$$+$$+$
$(x - r_2)$$-$$-$$-$$0$$+$
product$+$$0$$-$$0$$+$

Product $\leq 0$: $r_1 \leq x \leq r_2$.

Modulus

$|x| = x$ if $x \geq 0$; $|x| = -x$ if $x < 0$.

Equations: $|f(x)| = k$  $\Rightarrow$  $f(x) = k$ or $f(x) = -k$ (require $k \geq 0$, else no solution).

Inequalities:

  • $|f| < k \;\Leftrightarrow\; -k < f < k$
  • $|f| > k \;\Leftrightarrow\; f > k$ or $f < -k$

Graph $y = |f(x)|$: reflect any negative parts upwards (result $\geq 0$).

Graph $y = f(|x|)$: keep the right half, then reflect right $\to$ left (result is even).

Trap$|f(x)|$ and $f(|x|)$ are different transforms. Don't confuse them.

§6 — Advanced Transforms & Attack Plan AHL 2.16

$y = 1/f(x)$ rules

Zero of $f$$\to$ VA of $1/f$
VA of $f$$\to$ zero of $1/f$
$f = \pm 1$Invariant point
$f$ local max $(a, b)$$1/f$ local min $(a, 1/b)$
$f > 0$$1/f > 0$ (same sign)
$f \to \infty$$1/f \to 0$

$[f(x)]^2$ & $f(ax + b)$

$[f(x)]^2$: always $\geq 0$; zeros stay; negative parts reflect then stretch.

$f(ax + b)$ (AHL only): rewrite as $f\!\left(a\!\left(x + \tfrac{b}{a}\right)\right)$. Horizontal stretch $\times \tfrac{1}{a}$, then horizontal translate $-\tfrac{b}{a}$. Map: $(x, y) \to \left(\dfrac{x - b}{a}, y\right)$.

Attack plan

See…Do…
Find $f^{-1}$Swap; rearrange
Sketch rationalVA, HA, intercepts, branches
Describe transformationIdentify $p, q, a, b$
Discriminant conditionSet $\Delta >/</= 0$; solve
Odd/even proofCompute $f(-x)$
Oblique asymptoteLong division; OA $=$ quotient
$|f(x)| = k$Two cases $\pm k$
Rational inequalitySign table
Self-inverseShow $f(f(x)) = x$
Restricted inverseHLT; state new domain
$e^{2x} + \ldots$Substitute $u = e^x$
$\log$ equationLog laws; check domain
$1/f$ sketchZeros $\leftrightarrow$ VAs; invert TPs
$f(|x|)$ sketchRight half + reflect to left

Top exam traps

  1. $f^{-1}(x) \neq \dfrac{1}{f(x)}$ — inverse $\neq$ reciprocal.
  2. $f(x - a)$ shifts right, not left.
  3. $f(qx)$: stretch $= \tfrac{1}{q}$, not $q$.
  4. Inequality: NEVER multiply by an unknown-sign variable.
  5. Odd function: must have $f(0) = 0$.
  6. $|f(x)|$ is reflect-negative-parts-up, not "lift the whole graph".
  7. $f(|x|) \neq |f(x)|$ — completely different.
  8. Oblique asymptote $=$ quotient, not remainder.
  9. Rational inequality: exclude zeros of the denominator.
  10. Domain of $f^{-1}$ $=$ range of the restricted $f$.
  11. $\ln(a + b) \neq \ln a + \ln b$.
  12. Check $k \geq 0$ before splitting $|f| = k$.

Worked Example — Restricted Inverse & Composition

Question (HL Paper 1 style — 7 marks)

The function $f$ is defined by $f(x) = x^2 - 4x + 7$ for $x \geq 2$.
(a) Show that $f$ has an inverse on this domain. (b) Find $f^{-1}(x)$ and state its domain. (c) Find $(f^{-1} \circ f)(5)$.

Solution

  1. Complete the square: $f(x) = (x - 2)^2 + 3$. The vertex is at $(2, 3)$. (M1)
  2. For $x \geq 2$, $f$ is monotonically increasing (the right arm of the parabola). It passes the Horizontal Line Test, so $f$ has an inverse on $[2, \infty)$. (R1)
  3. Set $y = (x - 2)^2 + 3$ and swap: $x = (y - 2)^2 + 3$, so $(y - 2)^2 = x - 3$. (M1)
  4. Since $y \geq 2$, take the positive root: $y = 2 + \sqrt{x - 3}$. So $f^{-1}(x) = 2 + \sqrt{x - 3}$. (A1)
  5. Domain of $f^{-1}$ $=$ Range of $f$ $= [3, \infty)$, i.e.\ $x \geq 3$. (A1)
  6. For (c): $(f^{-1} \circ f)(5) = 5$ directly, since $f^{-1}$ undoes $f$ on the restricted domain (and $5 \geq 2$). (R1)(A1)

Examiner's note: Two common errors: (a) taking the negative square root and writing $y = 2 - \sqrt{x - 3}$ — that gives the inverse for the LEFT arm $x \leq 2$, not the right arm; (b) stating the domain of $f^{-1}$ as $\mathbb{R}$ instead of $[3, \infty)$. Always quote: "domain of $f^{-1}$ $=$ range of restricted $f$".

Common Student Questions

Does $f(x - a)$ shift the graph left or right by $a$?
Right by $a$. The minus sign inside the bracket is counter-intuitive: the new $x$ value that produces the same $y$ must be $a$ units larger. For $f(x + a)$ the graph shifts left by $a$. This is the single most common transformation error in IB Paper 1 — write the rule on the front of your formula booklet.
Is $f^{-1}(x)$ the same as $\dfrac{1}{f(x)}$?
No — these are completely different. $f^{-1}$ is the inverse function (reflect graph in $y = x$; satisfies $f(f^{-1}(x)) = x$). $\dfrac{1}{f(x)}$ is the reciprocal function (zeros of $f$ become vertical asymptotes of $1/f$; positive parts stay positive). The notation is unfortunate but the IB never confuses them and neither should you.
When can I take an inverse, and what's the trick for restricting the domain?
A function has an inverse iff it passes the Horizontal Line Test (one-to-one). For something like $f(x) = x^2$ which fails the HLT, restrict the domain to $x \geq 0$ (or $x \leq 0$). Then state the new domain explicitly. The domain of $f^{-1}$ equals the range of the restricted $f$. Forgetting to state the restricted domain costs you a method mark.
Why am I always getting rational inequalities wrong?
Because you're multiplying by a variable whose sign is unknown — that flips the inequality unpredictably. Safe technique: rearrange to $h(x) \geq 0$, factorise fully, then use a sign table. Critical values are the roots of the numerator AND the points where the denominator is zero (these are excluded). Reading the sign table off correctly is worth at least 3 marks on Paper 1.
What's the difference between $|f(x)|$ and $f(|x|)$?
They are completely different transformations. $y = |f(x)|$ reflects any negative parts of $f$ upwards — the result is always $\geq 0$. $y = f(|x|)$ keeps the right half ($x \geq 0$) unchanged and reflects it to the left side, so the result is always an even function. Practise sketching the same $f$ under both transformations until the difference is automatic — IB loves this contrast in Paper 1.

Get the printable PDF version

Same cheatsheet, formatted for A4 print — keep it next to your study desk. Free for signed-in users.