Composite & inverse functions
A composite function applies one function and then another, like converting euros to dollars and then dollars to yen. An inverse function undoes a function, like converting back. In AI HL you build both from contexts, restrict domains so an inverse exists, and solve problems with the GDC.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Find and interpret composite functions in contextAHL 2.7
- Find the inverse of a function, including by interchanging and AHL 2.7
- Know that and that the graph of is the reflection of in AHL 2.7
- Restrict the domain of a function so that its inverse existsAHL 2.7
- State the domain and range of composite and inverse functionsAHL 2.7
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
A function is a machine: an input goes in, one output comes out. A composite function joins two machines: the output of the first becomes the input of the second. An inverse runs a machine backwards, from output to input. It only works if each output came from exactly one input (the function is one-to-one).
2.1 Composite functions
Apply first, then . In general .
2.2 Inverse functions
To find : write , interchange and , then make the subject. The domain of is the range of , and the range of is the domain of .
The graph of is the reflection of in the line .
2.3 Restricting the domain
A function such as is not one-to-one (both 3 and −3 give 9), so it has no inverse on all of . Restrict the domain to one side of the turning point and it becomes one-to-one.
Define functions on the TI-Nspire so you can compose them: in a Calculator page type define f(x)=2x+3 and define g(x)=x^2, then f(g(−2)). To graph an inverse, enter in a Graphs page and use menu → Actions → Reflection in the line , or graph with menu → Graph Entry/Edit → Relation. To evaluate numerically, solve with nSolve.
3Explore it
Pick a function and move the point along it. Its reflection in y = x is on the inverse. When the function turns back on itself, the reflection fails the vertical line test: restrict the domain.
4Common mistakes & exam tips
Common mistakes
- Applying the functions in the wrong order: in , apply first.
- Writing . The inverse undoes ; it is not the reciprocal.
- Forgetting to restrict the domain, or choosing the wrong sign of a square root.
- Giving the domain of as the domain of instead of the range of .
- In context, mixing up units: the output of the first function must match the input of the second.
Exam tips
- Say in words what a composite function means in context, such as "the fare after minutes".
- Check an inverse by composing: should simplify to .
- Sketch , and together: they should be symmetric.
- "Find " only needs the value: solve instead of finding the whole inverse.
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB Maths AI HL exam, with full markschemes. Your GDC is allowed throughout: use it, but write down what you entered and what it gave you. Give yourself about 1 minute per mark.
One euro can be exchanged for 1.08 US dollars, and one US dollar can be exchanged for 151.2 Japanese yen. A bank charges a fixed fee of 5 euros before changing money. The number of dollars received for euros is , and the number of yen received for dollars is .
- (a)Find and interpret it in context.[3]
- (b)Find the number of euros needed to receive 50 000 yen.[3]
| (a) | |
| (M1) | |
| A1 | |
| the number of yen received for euros | R1 |
| (b) | |
| (M1) | |
| (A1) | |
| €311.19 | A1 |
Let , for .
- (a)Find the range of .[2]
- (b)Find .[3]
- (c)Find .[1]
| (a) | |
| or vertex | (M1) |
| A1 | |
| (b) | |
| M1 | |
| (A1) | |
| A1 | |
| (c) | |
| A1 | |
The number of visitors to a museum on a day with hours of rain is , for . The museum’s takings, in euros, when people visit are .
- (a)Find .[2]
- (b)Find the takings on a day with 4.5 hours of rain.[1]
- (c)Find and interpret in context.[3]
- (d)Find the number of hours of rain for which the museum’s takings are €6000.[2]
| (a) | |
| (M1) | |
| A1 | |
| (b) | |
| €6480 | A1 |
| (c) | |
| A1 | |
| A1 | |
| 900 visitors corresponds to 3.75 hours of rain | R1 |
| (d) | |
| (M1) | |
| hours | A1 |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you are scoring well above, try these real IB Maths AI HL questions on this topic. Your school or teacher will have the papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| May 2021 · TZ2 · Paper 1 | Q2 | Range and inverse of a rational function | ★☆☆ |
| Nov 2021 · Paper 1 | Q3 | Inverse of a function in context (a tin can) | ★★☆ |
| May 2025 · TZ2 · Paper 1 | Q10 | A function on a finite domain, composite and inverse values | ★☆☆ |
