Detailed notes on Functions for IB DP Mathematics, covering key concepts, explanations, examples, and exam-focused revision points.
Functions — IB Maths AA HL: domain, range, composition, inverse and self-inverse functions
Function foundations for AA HL. This note covers function notation, domain and range, composition, finding inverses (with restricted domains), and the HL-relevant self-inverse and one-to-one concepts.
Domain and range: state explicitly with set or interval notation.
(f∘g)(x)=f(g(x)).
Inverse: swap and solve; state restricted domain.
Inverse graph reflects in y=x.
(f∘g)−1=g−1∘f−1 — order reverses.
Memorise this
Verbatim phrases, formulae and definitions IB DP mark schemes credit (key for AO1 knowledge marks on Paper 1).
(f∘g)(x)=f(g(x))
f(f−1(x))=x, f−1(f(x))=x
Vertical line test: function. Horizontal: invertible.
(f∘g)−1=g−1∘f−1
How it’s examined
Paper 1: composition, inverses, domain restrictions. Paper 2: applied problems. Paper 3: deeper structural questions. Examiner reports stress the explicit domain statement when defining f−1.
Step-by-step solutions to past-paper-style questions on functions, written exactly the way a tutor would explain them at the board.
1Find domain and range
Getting started• domain, range
▼
Question
Find Df and Rf for f(x)=2−x+1.
Step-by-step solution
Step 1
x+1≥0⇒x≥−1. So Df=[−1,∞).
Step 2
x+1≥0, so 2−x+1≤2. Range (−∞,2].
Answer
Df=[−1,∞), Rf=(−∞,2].
2Find inverse of rational function
Building confidence• inverse
▼
Question
Find f−1(x) for f(x)=x+43x−1.
Step-by-step solution
Step 1
y=x+43x−1. Swap: x=y+43y−1.
Step 2
x(y+4)=3y−1⇒y(x−3)=−1−4x.
Step 3
y=x−3−1−4x=3−x4x+1.
Answer
f−1(x)=3−x4x+1, x=3.
3Restrict domain to make f invertible
Stretch• inverse
▼
Question
f(x)=x2−6x+5. Find the largest domain containing x=0 on which f is invertible, and find f−1.
Step-by-step solution
Step 1
Vertex at x=3. Parabola opens up, so f is decreasing on (−∞,3] and increasing on [3,∞). Since x=0 is in the first piece, restrict to (−∞,3].
Step 2
Vertex form: f(x)=(x−3)2−4.
Step 3
Inverse: y=(x−3)2−4⇒x=(y−3)2−4⇒(y−3)2=x+4.
Step 4
Since y≤3: y−3=−x+4, so y=3−x+4. Domain [−4,∞).
Answer
Restrict to (−∞,3]; f−1(x)=3−x+4, x≥−4.
4Composite with domain restriction
Stretch• composite
▼
Question
f(x)=lnx, g(x)=4−x2. Find (f∘g)(x) and state its domain.
Step-by-step solution
Step 1
(f∘g)(x)=ln(4−x2).
Step 2
Domain requires 4−x2>0, so ∣x∣<2, i.e. −2<x<2.
Answer
ln(4−x2), domain (−2,2).
Key Definitions and Keywords — Functions
Definitions to memorise and the exact keywords mark schemes credit for functions answers — sharpened from recent examiner reports for the 2026 IB DP Maths AA HL sitting.
One-to-one (injective)
Examiner keyword
f(x1)=f(x2)⇒x1=x2. Required for invertibility.
Inverse f−1
Examiner keyword
Function satisfying f(f−1(x))=x for x in range of f, and f−1(f(x))=x for x in domain of f.
Inverse of composite
Examiner keyword
(f∘g)−1=g−1∘f−1 — order reverses.
Common Mistakes and Misconceptions — Functions
The traps other students keep falling into on functions questions — taken from recent IB DP Maths AA HL examiner reports and mark schemes — and how to avoid them.
✕Computing (f∘g)(x) as g(f(x)).
▼
Why it happens
Reading left-to-right.
How to avoid it
Use the bracket: f(g(x)) — inner first.
✕Finding f−1 without stating its domain.
▼
Why it happens
Treating the formula as the whole answer.
How to avoid it
Always state 'so f−1(x)=… for x∈…'.
✕Writing (f∘g)−1=f−1∘g−1.
▼
Why it happens
Default assumption that order is preserved.
How to avoid it
Order REVERSES: (f∘g)−1=g−1∘f−1.
Functions — frequently asked questions
The things students keep getting wrong in this sub-topic, answered.