Back to Blog

Functions: Domain, Inverses, Composites & Transformations

The IB AI HL toolkit for functions — asymptotes, self-inverse shortcuts and the one equation that covers every transformation.

Graph showing a function, its inverse reflected in y=x, and asymptotes labelled
Subject
Maths AI
Curriculum
IB Diploma Programme
Grade
DP
Topic
Functions
Reading
8 min
Difficulty
Advanced

Quick facts

Difficulty
★★★★☆
Exam weight
~15-20% of AI HL (Topic 2)
Prerequisites
Algebraic manipulation, graphing basics
You'll learn
Domain/range, inverses, composites, asymptotes, transformations
Revision time
45-60 min

Functions is one of the most exam-dense topics in IB Maths AI HL — it rarely appears alone and instead fuses with algebra or drives a full Paper 2 modelling question. At its core you need five skills: reading domain and range correctly (not assuming), proving one-to-one algebraically, finding inverse functions and stating their domain properly, composing functions in the right order, and applying the single transformation equation to any graph. Rational functions add a layer — vertical and horizontal asymptotes control both domain and range, and a neat shortcut tells you instantly when a function is self-inverse. This teaser pulls out the five ideas examiners test most, with the traps students fall into every year. For the full worked examples, proofs and practice set, the complete revision note has you covered.

What you’ll be able to do

Determine domain and range from a function's formula and graph
Prove a function is one-to-one using algebra, not just a graph
Find $f^{-1}(x)$ and correctly state its domain as the range of $f$
Evaluate and find the domain of composite functions $(f\circ g)(x)$
Identify vertical and horizontal asymptotes of a rational function
Recognise the self-inverse condition $a+d=0$
Apply $y=af(b(x-h))+k$ to identify any combination of transformations
Transform key coordinate points without needing $f$'s formula
1

Domain and Range: Read the Graph, Don't Assume

Domain is what makes the formula undefined — check denominators equal to zero, negatives under square roots, or a context restriction like . Range must come from the actual graph, not a guess: a rational function's range typically excludes its horizontal asymptote value. At HL, examiners expect you to justify these with working, especially near asymptotes and endpoints.

Rational function graph with vertical and horizontal asymptotes labelled with domain and range shaded
CheckWhat to look for
DenominatorSet equal to zero, exclude that
Square rootSet the inside
ContextReal-world restriction, e.g.
RangeRead from the graph near asymptotes/endpoints

Exam tip

For 'state the asymptotes' questions worth 2 marks, write full equations like and — bare numbers can cost you a mark.

Common mistake

Assuming domain is all reals without checking denominators or roots first.

Mini summary

Domain = what's undefined; range = what the graph actually produces.

2

One-to-One Functions and Finding $f^{-1}$

A function needs to be one-to-one before an inverse exists without restricting the domain. Prove it algebraically: assume and show this forces — examiners specifically check that the algebra steps (like two terms cancelling) are shown, not skipped. To find : swap and , solve for , and state its domain as the range of — this last step is the one everyone forgets under time pressure.

A function and its inverse reflected across the line y=x

Exam tip

When a question gives points on and asks where , solve the faster equation instead of solving from scratch.

Common mistake

Isolating a restricted expression (like a square root) correctly but forgetting to state its sign restriction before squaring.

Mini summary

Prove one-to-one with algebra; find by swapping variables, and always state its domain.

3

Composite Functions: Order Always Matters

means apply first, then — swapping the order generally gives a different function entirely. The domain of is restricted to -values in the domain of for which also lands inside the domain of . This domain-chaining step is exactly where HL questions like to catch students out.

Diagram showing input passing through function g then function f

Common mistake

Forgetting to check that outputs of actually lie in the domain of before accepting the composite's domain.

Mini summary

Composite order matters: acts first, then ; domain must satisfy both functions.

4

Rational Functions: Asymptotes and the Self-Inverse Shortcut

For , the vertical asymptote is and the horizontal asymptote is — these control both domain and range. A powerful shortcut: this type of function is self-inverse exactly when . Don't assume self-inverse just because the shape looks familiar — always check the condition before claiming .

Rational function graph with asymptotes and a highlighted self-inverse condition

Common mistake

Assuming a rational function is self-inverse purely from its shape without checking .

Mini summary

Asymptotes: , ; self-inverse only when .

5

Transformations: One Equation Covers Everything

Every translation, stretch and reflection you'll be asked about is one instance of . Outside changes (, ) act on as expected — vertical stretch and shift. Inside changes (, ) act on and behave opposite to intuition — always factorise first to correctly identify before describing any horizontal shift or stretch.

Original graph and its transformed image with labelled points showing the effect of a, b, h, k
ParameterEffect
Vertical translation
Vertical stretch factor ; reflection in -axis if
Horizontal translation (from factorised )
Horizontal stretch factor ; reflection in -axis if

Exam tip

Given key points but no formula for , transform coordinates directly using .

Common mistake

Reading as 'shift 6 right, then stretch' using the raw number instead of factorising to first.

Mini summary

Identify from the factorised form, then apply the coordinate mapping rule.

Quick formula sheet

Asymptotes of a rational function directly from its coefficients.Vertical asymptote: set denominator to zero. Horizontal: ratio of leading coefficients.
Quick test for whether a rational function equals its own inverse.'a plus d, add to zero' means the function mirrors itself.
Composite function: apply first, then .Read right to left: g acts first, closest to x.
The domain and range swap between a function and its inverse.Inverse swaps x and y, so domain and range swap too.
General transformation equation covering every translation, stretch and reflection.Outside (a,k) acts on y as expected; inside (b,h) acts on x, opposite to intuition.
Maps a key point on to its image on .Divide x-part by b then add h; multiply y-part by a then add k.

Practice questions

Easy
  1. State the domain of .
  2. Write down the vertical and horizontal asymptotes of .
  3. If , find .
Medium
  1. Prove that is one-to-one for .
  2. Given for and , find and its domain.
  3. Describe fully the transformations that map to .
Challenge
  1. Show that is self-inverse, and verify by finding directly.
  2. For , , find stating its domain, then find where meets .
  3. A curve passes through . Find the image of this point under .

Frequently asked questions

What's the difference between domain and range?+

Domain is the set of valid inputs (found by checking what makes the formula undefined); range is the set of actual outputs, read from the graph rather than assumed.

How do you know if a function has an inverse?+

It must be one-to-one — every output comes from exactly one input. Prove this algebraically by assuming and showing must follow.

When is a rational function self-inverse?+

For , it's self-inverse exactly when . Always check this condition rather than assuming it from the function's shape.

Why does the order matter in $y=af(x)+k$?+

Because multiplies before is added — applying first gives a completely different (and wrong) transformed graph.

How do I find the domain of a composite function?+

Take the domain of , then remove any -values where falls outside the domain of — both conditions must hold together.

Do I need the formula for $g$ to transform its graph?+

No — if you're given key points, use the coordinate mapping to transform them directly, without ever writing out 's equation.

Master Functions with the Full IB Maths AI Revision Notes

Full worked examples for inverses, composites and self-inverse proofs Step-by-step transformation walkthroughs with coordinate mapping Complete formula sheet plus examiner traps and mark-scheme insights Mock exam-style questions to test every skill in this topic
Get the Functions notes on RevisionPrep

Related articles