GCSE · Maths · AQA · Spec 8300 · Higher
Inverse and composite functions (Higher)
Put 3 through 'add 5', then 'double': you get 16. Swap the machines and you get 11. Function notation tells you which order you mean, and how to go backwards.
Follow one number through the machines
Start with x = 3 and work out fg(3). Written as f(g(3)), g sits on the inside, next to the 3, so g gets the number first.
g(x) = x + 5 and f(x) = 2x. Scrub to push 3 through fg, then bring it home.
Write the chain as one expression
Problem
f(x) = 2x and g(x) = x + 5. Write fg(x) as a single expression, then check it against the machine chain.
Maths · Algebra
Work backwards from an output
You know what came out of the composite. Solve to find what went in.
Start from the composite written as one expression.
Step 1 of 5
Start from the composite written as one expression.
Find an inverse by changing the subject
Call f's output y. Read the machines: f(x) = 3x + 2 multiplies by 3, then adds 2.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Chain two function machines together, then run the chain backwards.
What you need to know
- f(x) is the output when x goes into f. If f(x) = 2x, then f(7) = 14.
- fg(x) means f(g(x)): g acts first, and its output is f's input.
- To write fg(x) as one expression, substitute the whole of g(x) for x in f(x).
- If you know a composite's output, form an equation and solve it to find the input.
- f⁻¹(x) is the inverse of f: it maps each output back to its input. Find it by making x the subject of y = f(x).
The big picture
A function turns an input into an output. A composite function applies two functions in succession: in fg(x), g acts first and its output becomes f's input, so it can't be worked from left to right. You can write a composite as one expression, and solve it to find the input that gives a known output. The inverse function f⁻¹(x) reverses f, taking each output back to its input, and you find it by changing the subject.
Key points
Worked example
Problem
f(x) = 3x + 1 and g(x) = x². (a) Find gf(x). (b) Solve gf(x) = 49.
⚠ Watch out
Working fg(x) from left to right. f is written first, but it can't act until it has an input, and its input is g(x). So g goes first. Doing f first gives gf(x), which is usually a different function.
Memory hook
Socks on, then shoes. Shoes off before socks. A composite puts the inside function on first (in fg(x), that's g), and an inverse takes things off in reverse: undo the last step first.
Check yourself
f(x) = x − 7 and g(x) = 3x. Find fg(5), then find f⁻¹(x). (Answers: g(5) = 15, so fg(5) = f(15) = 8. f subtracts 7, so f⁻¹(x) = x + 7.)
Flashcards
(12)What is a function?
What does f(5) mean?
What is a composite function?
In fg(x), which function acts first, and why?
Are fg(x) and gf(x) the same?
How do you write fg(x) as a single expression?
You're told fg(x) = k. How do you find x?
What is an inverse function?
Does f⁻¹(x) mean 1 ÷ f(x)?
How do you find f⁻¹(x) algebraically?
When undoing a function, which operation do you undo first?
How can you check an inverse is right?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore AQA GCSE Maths topics
- 3D shapes — properties of faces, surfaces, edges, vertices
- Alternate and corresponding angles on parallel lines
- Angle properties at a point and on a line
- Angle sum in a triangle and polygons
- Approximate solutions of equations from a graph
- Approximate solutions of quadratics from a graph
- Arc lengths, angles and sector areas
- Area and volume formulae — triangles, parallelograms, trapezia, prisms, cylinders
- Box plots, quartiles, inter-quartile range (Higher)
- Calculate with roots and integer indices
- Circle definitions and properties
- Combinations of transformations and invariance (Higher)
How this lesson was checked. This AQA GCSE Maths (specification 8300)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 28 September 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.