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
- A function is a machine: a number goes in, a number comes out. If f(x) = 2x, then f(7) = 14.
Have a goA classmate says f(x) = 3x + 2 gives f(4) = 20, "because 3 + 2 = 5, then × 4". Confidently wrong. What is f(4)?
f(4) = 14
Put 4 in for x, so 3x becomes 3 × 4 = 12 first, and only then add 2. Adding the 3 and the 2 first isn't what the rule says.
- A composite function is two functions in succession. The first one's output becomes the second one's input.
- fg(x) means f(g(x)). The function next to the x, g, acts first.
Have a gof(x) = x − 1 and g(x) = 10x. Before you look: what is fg(3)?
fg(3) = 29
g gets the 3 first and makes 30, then f subtracts 1. Doing f first gives 20, which is gf(3), a different function.
- You can't work fg from left to right: f has no input until g makes one. So fg and gf are usually different.
- To write fg(x) as one expression, put the whole of g(x) in place of x in f(x).
- Know a composite's output? Write the composite as one expression, set it equal to the output and solve for the input.
- The inverse function f⁻¹(x) reverses f. It maps each output back to the input that made it.
- Find f⁻¹(x) by changing the subject: write y = f(x), make x the subject, then use x as the input letter.
- f⁻¹(x) is not 1 ÷ f(x). Undo the steps in reverse order, last operation first.
Have a gof doubles a number, then adds 1. Which step does f⁻¹ do first, and what is f⁻¹(9)?
Subtract 1 first, then halve: f⁻¹(9) = 4
The last thing f did is the first thing to undo. Halving first would give 9 ÷ 2 − 1 = 3.5, which f doesn't turn back into 9.
The big picture
A function is a machine: a number goes in, a number comes out. A composite function chains two of them. In fg(x), g acts first and its output becomes f's input, so you can't work it left to right. You can write a composite as one expression, and solve it to find the input behind a known output. The inverse function f⁻¹(x) runs f backwards, 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
- Factorising quadratics x^2+bx+c
- Fibonacci, quadratic and geometric sequences
- Functions — inputs and outputs
- Generating sequences from term-to-term or position-to-term rules
- Gradients and area under graphs (Higher)
- Identities (Higher)
- Laws of indices in algebraic expressions
- Linear equations with unknown on both sides
- nth term of linear sequences
- nth term of quadratic sequences (Higher)
- Other sequences and surd ratios (Higher)
- Plotting straight-line graphs
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 26 October 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.