GCSE · Maths · AQA · Spec 8300 · Foundation
Functions — inputs and outputs
Put 7 into a machine and 3 comes out. Could you get back to the 7 from the 3 alone? And what if another machine is plugged into the front?
Put 7 into f(x) = (2x + 1)/5
The number you feed into the machine is the input. 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 takes each input through the same operations, in a fixed order, and gives exactly one output.
- Read the order from the expression: in (2x + 1)/5, multiply by 2, then add 1, then divide the whole numerator by 5.
- Higher: f(x) names the output for input x, so f(7) = 3 means that input 7 gives output 3. It does not mean f × 7.
- Higher: the inverse function f⁻¹ runs the machine backwards. Undo each operation with its opposite, in reverse order, and each output of f goes back to the input that made it.
- Higher: fg(x) = f(g(x)) is a composite function. g, next to x, acts first and its output is the input to f. It is not f(x) × g(x), and gf(x) is usually a different function.
- Higher: to write f⁻¹(x), set y = f(x) and rearrange for x. To write fg(x), put the whole of g(x), in a bracket, in place of x in f.
The big picture
A function takes an input, applies its operations in a fixed order and gives one output, and f(x) names that output. Running the same machine backwards gives the inverse function f⁻¹(x), and joining two machines gives a composite function such as fg(x), where g acts first. Order decides all three.
Key points
Worked example
Problem
f(x) = 4x + 1 and g(x) = x². (a) Find f(−2). (b) Find gf(x). (c) Find f⁻¹(x).
⚠ Watch out
Finding an inverse by swapping each operation for its opposite but keeping the forward order. 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. Backwards is the inverse: 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
Without looking back: h(x) = 2x − 9. Work out h(6). Then write h⁻¹(x), and check that it sends your answer back to 6.
Flashcards
(9)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) 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
- 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 23 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.