GCSE · Maths · AQA · Spec 8300 · Foundation
Functions — inputs and outputs
Drop 7 into a machine and 3 drops out. Could you get the 7 back from the 3 alone? And what if someone bolts a second machine onto the front?
Put 7 into f(x) = (2x + 1)/5
This is the input: the number you feed in. Here x = 7.
Every input goes through the same operations, in the same order, and comes out as exactly one output.
AQA Higher tier: you are expected to understand and use f(x) notation, and the fg(x) and f⁻¹(x) notation further down this page. At Foundation tier, the part you need is reading an expression as a machine: input, operations in order, output.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
One machine, three ways: run it forwards, run it backwards, or plug it into another machine.
What you need to know
- A function is a machine: an input goes in, the same operations happen in a fixed order, and exactly one output comes out.
- Read the order off the expression: in (2x + 1)/5 it's × 2, then + 1, then ÷ 5 on the whole top.
- Brackets and fraction bars decide the order, so anything inside a bracket happens before whatever is outside it.
Have a goYour turn: in (x − 4)/3, which operation happens first, and which happens last?
− 4 first, ÷ 3 last.
The fraction bar divides the whole top, so the top has to be finished first. Doing ÷ 3 first would only divide the x.
- Higher: f(x) means 'the output when x goes in', so f(7) = 3 says input 7 gives output 3. It is not f × 7.
Have a goYour mate Jas announces: 'f(4) = 12, so f × 4 = 12, so f = 3. Easy.' What do you tell Jas before the teacher hears?
f isn't a number. f(4) = 12 means put 4 in, get 12 out.
The bracket holds the input, not a multiplication. f is the machine's name, so f(4) = 12 tells you what comes out when 4 goes in.
- Higher: the inverse function f⁻¹ runs the machine backwards, taking each output of f back to the input that made it.
- Higher: build f⁻¹ by undoing each operation with its opposite, in reverse order, so f's last step is undone first.
Have a goA machine does + 3, then × 2. Out pops 16. What went in?
5
Undo the × 2 first: 16 ÷ 2 = 8, then undo the + 3: 8 − 3 = 5. Undoing in the forward order (16 − 3, then ÷ 2) gives 6.5, and 6.5 doesn't go back to 16.
- Higher: only a one-to-one machine, where each output comes from just one input, has an inverse. x² sends 3 and −3 both to 9.
- Higher: fg(x) = f(g(x)) is a composite function. g sits next to x, so g acts first and its output feeds f.
- Higher: fg(x) is not f(x) × g(x), and gf(x) is usually a different function, so the order really matters.
Have a gof(x) = x + 1 and g(x) = 10x. Which is bigger, fg(2) or gf(2)? Decide before you work anything out.
gf(2) = 30 beats fg(2) = 21.
fg(2): g first, 2 × 10 = 20, then + 1 = 21. gf(2): f first, 2 + 1 = 3, then × 10 = 30. Same two machines, swapped order, different answer.
- Higher: for f⁻¹(x), set y = f(x) and rearrange for x. For fg(x), put all of g(x), in a bracket, in place of x in f.
The big picture
A function is a machine: an input goes in, its operations happen in a fixed order, and one output comes out. At Higher, f(x) names that output, a one-to-one machine can be run backwards as its inverse f⁻¹(x), and two machines can be chained into a composite such as fg(x), where g goes first. Order runs the whole show.
Key points
Worked example
Problem
(Higher) f(x) = 4x + 1 and g(x) = x². (a) Find f(−2). (b) Find gf(x). (c) Find f⁻¹(x).
⚠ Watch out
Higher: building an inverse by swapping each operation for its opposite but keeping the forward order. Looks convincing. Isn't. For f(x) = (2x + 1)/5 that gives ÷ 2, then − 1, then × 5, which sends 3 to 2.5 instead of back to 7. Undo the last operation first.
Memory hook
One machine, three ways. Forwards is the function. At Higher, backwards is the inverse (for a one-to-one machine): shoes off before socks, so the last thing done is the first thing undone. Joined is the composite: the machine next to x goes first.
Check yourself
(Higher) No peeking: h(x) = 2x − 9. Work out h(6). Then write h⁻¹(x), and check that it sends your answer back to 6.
Flashcards
(10)What does a function do to each input?
(Higher) What does f(x) mean?
For the expression 3(x − 2), in what order do the operations act on x?
(Higher) What is the inverse function f⁻¹?
(Higher) How do you build the inverse machine from the machine for f?
(Higher) Why doesn't g(x) = x², over all numbers, have an inverse function?
(Higher) What is a composite function?
(Higher) In fg(x), which function acts first?
(Higher) Does f⁻¹(x) mean 1/f(x)?
(Higher) How can you check an inverse you have found?
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
- Expanding single brackets
- Expanding two or more binomials (Higher)
- Factorising — taking out common factors
- Factorising quadratics ax^2+bx+c (Higher)
- Factorising quadratics x^2+bx+c
- Fibonacci, quadratic and geometric sequences
- Generating sequences from term-to-term or position-to-term rules
- Gradients and area under graphs (Higher)
- Identities (Higher)
- Inverse and composite functions (Higher)
- Laws of indices in algebraic expressions
- Linear equations with unknown on both sides
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.