IB Maths AI HLFunctions ToolkitPaper 1 & 2f⁻¹, reflection, restriction~9 min read
Inverse Functions
An inverse function f−1 undoes whatever f does: if f(x) = y then f−1(y) = x. Algebraically you swap x and y and rearrange; graphically you reflect in the line y = x. A many-to-one function has no inverse until you restrict its domain.
Algebra steps: swap x and y in y = f(x), then solve for y.
Graph: y = f−1(x) is the reflection of y = f(x) in the line y = x.
Domain ↔ range swap: domain of f = range of f−1, range of f = domain of f−1.
One-to-one required: an inverse exists only if f is one-to-one; restrict the domain of many-to-one functions.
Solve f(x) = b using x = f−1(b).
Caution: f−1(x) is NOT the reciprocal 1/f(x).
Finding an inverse algebraically
Two steps. Step 1: write y = f(x) and swap x and y — you now have x = f(y). Step 2: rearrange to make y the subject. The result y = f−1(x). Always check your work by composing: f(f−1(x)) should simplify back to x. If it doesn’t, you’ve made an algebraic slip.
Reflection in y = x
The graph of y = f−1(x) is the mirror image of y = f(x) across the line y = x. So if f passes through (a, b), then f−1 passes through (b, a). When f intersects the line y = x at a point, f−1 intersects it at the same point — that’s why f(x) = x often gives the simplest way to find where f and f−1 cross. There may also be other crossings not on y = x.
Reflecting (2, 1) on y = f(x) in y = x gives (1, 2) on y = f−1(x). Every point swaps its coordinates.
Inverse function at a glance
swap x & y in y = f(x), then make y the subject
(f ∘ f−1)(x) = x · reflection in y = x · domain ↔ range
Restricting many-to-one functions
A function only has an inverse when it’s one-to-one — no y-value is produced twice. Quadratics fail this (each output comes from two inputs symmetric about the vertex), and so does any trig function (each output repeats every period). To rescue them, restrict the domain to one side of the vertex (for a quadratic) or to a single half-cycle (for a trig function). The biggest sensible restriction for a(x − h)2 + k is x ≥ h or x ≤ h; once restricted, the inverse exists and the ± in ±√… gets resolved by matching the range of the inverse to the (restricted) domain of the original.
Identity check. After finding f−1, evaluate f(f−1(some value)). It must give you that value back. If it doesn’t, recheck the algebra.
🧭 Recipe — finding an inverse
Check one-to-one; restrict the domain if needed (quadratics: choose a side of the vertex; trig: choose one cycle).
Swap x and y in y = f(x).
Make y the subject by rearranging.
Resolve any ± using the rule range of f−1 = domain of f.
State domain and range of f−1 by swapping them with those of f.
Worked examples
WE 1
Inverse of a linear function
Given f(x) = 3x − 7. (a) Find f−1(x). (b) Find f−1(8) and verify.
The function f(x) = (x + 1)2 − 3 has domain x ≥ m. (a) Find the smallest value of m for which f−1 exists. (b) Find f−1(x). (c) State the domain of f−1.
(a) vertex at x = −1need one-to-one ⇒ restrict to x ≥ −1m = −1(b) swap & solvex = (y + 1)² − 3(y + 1)² = x + 3y + 1 = ±√(x + 3)range of f⁻¹ = domain of f = x ≥ −1so y ≥ −1 ⇒ choose +√f⁻¹(x) = −1 + √(x + 3)(c) domain f⁻¹ = range of fmin of f at vertex: −3domain f⁻¹: x ≥ −3
WE 5
Inverse of a rational function
Given f(x) = x − 32x + 1. (a) Find f−1(x). (b) State the value of x for which each function is undefined.
(a) swapx = (y − 3)/(2y + 1)cross-multiplyx(2y + 1) = y − 32xy + x = y − 3collect y on one side2xy − y = −x − 3y(2x − 1) = −(x + 3)f⁻¹(x) = (x + 3)/(1 − 2x)(b) denominator zerof: 2x + 1 = 0 ⇒ x = −½f⁻¹: 1 − 2x = 0 ⇒ x = ½f undef at x = −½; f⁻¹ undef at x = ½
WE 6
Intersection of f and f−1
Given f(x) = √(2x − 1) + 1 for x ≥ ½. The graphs of y = f(x) and y = f−1(x) intersect on the line y = x. Find the coordinates of the intersection (exact form).
Always verify: composing f with your f−1 should give back x.
Swap domain & range: the most common mistake is forgetting these flip when you invert.
For quadratics, the vertex is the natural restriction point — choose x ≥ h or x ≤ h.
The ± sign after taking a square root is resolved by the rule “range of f−1 = domain of f“.
To solve f(x) = b exactly, compute x = f−1(b).
⚠ Common mistakes
Confusing f−1(x) with 1/f(x) — the −1 is a function exponent, not a power.
Forgetting to swapx and y at the start — you end up rearranging f(x) instead of finding its inverse.
Picking the wrong sign from ±√… without thinking about the range of f−1.
Trying to invert a many-to-one function without restricting its domain first.
Keeping extraneous roots introduced by squaring — always check each candidate satisfies the original equation.
Chapter complete — you now have the Functions Toolkit (Composite + Inverse) ready for any AI HL Paper 1 or 2 question. Next chapter on the syllabus: Geometry & Trigonometry.
Need help with AI HL Inverse Functions?
Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.