A function sends each input in its domain to exactly one output; the set of outputs is the range. A composite applies first, then . An inverse undoes , exists only when is one-to-one, and its graph is the reflection of in .
Free account: 5 more practice questions on functions: domain, range & inverses with instant feedback, and full worked answers on the free questions. Free, no card. Join free →
Look for what is not allowed: a square root needs a non-negative inside, needs a positive argument, and a denominator cannot be zero. So has domain and range . Find a range from the graph: sketch it over the domain and read off the lowest and highest -values, including any asymptote the graph approaches but never reaches.
Composite functions
: work from the inside out. With and , but , so the order matters. The outputs of must lie in the domain of .
Inverse functions
To find , write , swap and , and make the subject. For , . Check: .
The domain of is the range of . To find a single value such as , you do not need the formula: solve , which gives .
Graphs of inverse functions
Reflect in the line : the point becomes , so intercepts and asymptotes swap axes. A function that fails the horizontal line test has no inverse unless you restrict its domain, for example for .
Key formulas
Composite; inverse Learn it
Graph of : reflect in ; domain of = range of Learn it
The IB formula booklet is provided in every exam paper. In the booklet = printed there, so know where to find it; Learn it = not in the booklet, so learn it by heart. All AA SL formulas →
Functions: Domain, Range & Inverses worked examples
Worked example 1: Finding an inverse function algebraically · easy
The function is defined by . Find an algebraic expression for .
Solution
1. Set.
2. Swap variables: .
3. Rearrange: .
4. Divide by : .
5. State using formal notation: .
5 steps
Examiner tip: Always replace with the formal inverse notation in your final answer to avoid losing the final accuracy mark.
Worked example 2: Composite functions and ranges · medium
Let and . Find a simplified expression for and hence determine its exact range.
Solution
1. Substitute: .
2. Find vertex : .
3. Find vertex : .
4. Deduce range: parabola opens up (leading coeff positive), so vertex is a minimum. Range: .
3. Find vertex : .
4 steps · 1 to fill in
Examiner tip: When finding the range of a composite quadratic, locating the vertex is essential because it represents the global minimum or maximum boundary.
Worked example 3: Inverse of a rational function · hard
Let for . Find and briefly explain the geometric significance.
Solution
1. Swap variables: .
2. Multiply: .
3. Expand: .
4. Group : .
5. Factorise: .
6. Isolate: . Since , the function is self-inverse — its graph is symmetric about .
6 steps
Examiner tip: For rational functions with variables in both numerator and denominator, grouping terms on one side and factorising is the only reliable algebraic path forward.
Functions: Domain, Range & Inverses exam-style questions
3 questions from our AA SL bank, written in the style of IB papers, easiest first. One has its full worked solution open here. Each has a full mark scheme in the practice area.
Question 1 · easy · 3 marks · Paper 1
A one-to-one function is defined such that .
Write down the exact value of .
A new function is defined by . Find the exact value of .
Full worked solution Free, no sign-in
Since , the inverse gives . A1
Substitute : . M1 A1
Every question here has a full worked solution.See them all →
Question 2 · medium · 5 marks · Paper 2
Let .
Sketch the graph of for on a set of axes. Clearly label the -intercept and the horizontal asymptote.
Where students lose marks on functions: domain, range & inverses
Examiner's noteTransformations and inverses: incomplete descriptions and f⁻¹ notation
Where marks are lost: Candidates described only one of two transformations, gave a translation in the wrong direction, mishandled a vertical stretch (multiplying a function by a constant), misapplied log laws before transforming, and did not recognise f⁻¹ notation or that the domain of f⁻¹ is the range of f.
Examiners flagged this in 4 exam series (May 2024, November 2024, May 2025, November 2025). Summarised in our own words from IB subject reports, IB Programme Resource Centre. Read the full note →
Functions: Domain, Range & Inverses on your calculator
A GDC is allowed on Paper 2, not on Paper 1. Keystrokes for the Casio fx-CG50, TI-84 Plus CE and TI-Nspire, with a checked worked example:
It is the input that f sends to a. You can find it without the inverse formula by solving f(x) = a.
Does every function have an inverse?
No. Only one-to-one functions do: each output must come from exactly one input. A function such as x² has an inverse only after you restrict its domain, for example to x ≥ 0.
How many IB Maths AA SL function fundamentals questions are there?
There are 53 exam-style function fundamentals questions in the AA SL question bank (Paper 1: 43 · Paper 2: 10), graded 10 easy, 28 medium, 9 hard, 6 very hard. Every question has a full IB-style mark scheme (M, A and R marks).
Is function fundamentals on Paper 1 or Paper 2?
Both. In the bank, Paper 1: 43 · Paper 2: 10. Paper 1 is non-calculator, so practise the exact-value algebra as well as the GDC methods.