MA14-02 Maths Watch
Inverse and Composite Functions
Subscribe on YouTubeLike this lesson on YouTube
In this lesson
In this video you'll learn about inverse and composite functions for GCSE Maths, with worked examples and the mistakes examiners report. By the end you'll be able to find the composite of two functions and the inverse of a function using input-output machine language, applying board-specific f(x)/fg(x) notation where it is required.
What it covers
- Combining two function machines end to end to form a composite function (feed one machine's output into the next machine as input)
- Finding the inverse of a function by reversing its machine, extending video 1's method to two-step (and occasionally three-step) machines and naming it 'the inverse function'
- The board-specific requirement to write composites and inverses using f(x)/fg(x)/f^-1(x) notation - required at AQA-8300 Higher and Edexcel-1MA1 Higher, explicitly not required at OCR-J560, unstated at Eduqas-C300 Higher - naming which is which
Key words
About this video
GCSE Maths - Inverse and Composite Functions | Functions and Calculus 2/6 (2026/27 exams)
In this video you'll learn about inverse and composite functions for GCSE Maths, with worked examples and the mistakes examiners report.
By the end you'll be able to find the composite of two functions and the inverse of a function using input-output machine language, applying board-specific f(x)/fg(x) notation where it is required.
For: AQA, Edexcel, Eduqas, OCR GCSE/iGCSE Maths · Higher
Watch first: {{video:G-ALGFUNC-1}}
Specifications: AQA 8300, Edexcel 1MA1, Eduqas C300QS, OCR J560
Video code: MA14-02 - search YouTube for "ScholaFly MA14-02" to come straight back to this video.
Videos in this chapter:
MA14-01 — Function Machines: Inputs, Outputs and Reversing
MA14-02 — Inverse and Composite Functions
MA14-03 — Formal Function Notation: Domain and Range
MA14-04 — Differentiating Powers of x
MA14-05 — Stationary Points: Maxima and Minima
MA14-06 — Applying Calculus to Kinematics Problems
#GCSEMaths #Maths
For more, visit ScholaFly: https://scholafly.com
Read the transcript
f g of x equals twenty-three. f is a machine that adds three, g is a machine that doubles, and you need the x that went in. Those two letters side by side are not a multiplication. They are an order, one machine and then the other, and the order changes the answer. To get back to x, you undo both machines. And to undo them in the right order, you first need to know which one ran first.
This is video two of six in Functions and Differentiation, and it is Higher material. If reversing a single machine feels shaky, the video Function Machines: Inputs, Outputs and Reversing covers that step.
A function is a rule that turns each input into exactly one output. A function machine is that rule drawn as a box, with the input going in one side. A composite function is two of those machines joined end to end. The output of the first machine becomes the input of the second. It is written with the two letters side by side, so f g of five means five goes through both f and g, one after the other. Those two letters can be read in more than one way, and only one reading is right. f adds three and g doubles. Is f g of five eighty, sixteen or thirteen? Thirteen. The five goes into g first, because g is the machine sitting beside the five. g doubles five, and five doubled is ten. That ten goes into f, which adds three, and ten plus three is thirteen. Now, where did eighty go wrong, and where did sixteen go wrong? Eighty multiplied the two outputs, f of five times g of five, which is eight times ten. But f g is not a product, so multiplying is the wrong operation. Sixteen ran f first: five plus three is eight, and eight doubled is sixteen. That is g f of five, a different composite with the letters swapped.
Written out in full, f g of x is f of, open bracket, g of x, close bracket. With that bracket in place, which machine runs first, and why? g runs first, because g of x is inside the bracket. In any calculation the inside of a bracket comes before the outside, so g of x is found and then handed to f. One examiner's report on a Higher paper says this about composites. In weaker responses g h of x and or h g of x were often interpreted as multiplying g of x and h of x together. That is the eighty from the f g of five question, two outputs multiplied. The fix is to write the bracket out before any algebra, because once f g of x reads f of g of x, there is nothing to multiply. Now the same idea with x in place of a number. To find f g of x, start inside the bracket, where g of x is two x. Next, feed two x into f. f adds three to whatever goes in, so f g of x is two x plus three. Put five in as a check: two fives are ten, plus three is thirteen, the same thirteen the machines gave. Swap the letters and you get g f of x, which builds a different function with its own expression. Pause and write g f of x as an expression, then check it against mine. As an expression, g f of x is two x plus six. This time f is inside the bracket, so x goes into f and comes out as x plus three. Then g doubles all of that, and two lots of x plus three is two x plus six. f g of x is two x plus three, and g f of x is two x plus six. The same two machines in a different order make a different function.
An inverse function is the machine that undoes another one. Whatever the first machine did to a number, its inverse brings that number back. The inverse of f is written f to the minus one of x, and said out loud as f inverse of x. The raised minus one is a label for undo, not a power, so it never means one over f of x. Take h of x equals three x minus four. Going forwards, h multiplies by three, then subtracts four. Which of those two steps do you undo first, and why? The last step, because h did it last. Getting dressed works the same way: socks go on before shoes, but shoes come off first. The last step done is the first step undone. You undo each operation, and you undo them in reverse order. Now try it: find h to the minus one of x by undoing both steps. The inverse takes h's output in as its input, and calls it x. The subtract four went last, so undo it first: add four, and x becomes x plus four. Then undo the times three by dividing by three. All of x plus four goes over three. h to the minus one of x is x plus four, all over three. Keep all of x plus four on top of the fraction line, because the four is added before you divide. A correct inverse sends every output back to the input it came from. So test yours on a number you have not tried yet. What is h to the minus one of seventeen? Seven. Seventeen plus four is twenty-one, and twenty-one divided by three is seven. Run seven forwards through h: three sevens are twenty-one, take away four is seventeen, the number we started with. Another examiner's report, on a question about composites and inverses, puts it plainly. For many the notation alone was the stumbling block. In plain words, many students were stopped by reading the symbols, before any of the algebra had begun. The habit that fixes it is one line in words before the algebra: which machine runs first, which runs second, and which one you are undoing.
Now back to the question from the start: f g of x equals twenty-three, where f adds three and g doubles. Which machine do you undo first here, f or g, and why? f, because f ran last on the way in. Shoes come off before socks, so the last machine is the first one undone. Next, undo both machines in that order. What is x? x is ten. First undo f, which means taking three away, and twenty-three take away three is twenty. Undoing g means halving, and half of twenty is ten. So x equals ten. Check it forwards: g doubles ten to twenty, and f adds three to make twenty-three, the number the question gave. Put a finger on the x in f g of x. The letter nearest it, g, is the machine x goes into first, and it is the last one undone on the way back. The same holds inside one function. In three x minus four, the times three touches the x, so it goes in first and comes off last. Your handle for this video: nearest the x goes in first, and comes out last.
Let's check all of that with three quick questions, two of them on functions you haven't met. p takes away one, and q multiplies by five. What is p q of two? Nine. q sits nearest the two, so it goes first: two times five is ten, and ten take away one is nine. Next one. What does f to the minus one of x mean? The inverse of f, the machine that undoes f. The minus one is a label, never one over f of x. Here's a different one. k halves, then adds five. What does its inverse do first? It takes away five, because adding five was the last step in. Then it doubles, so k to the minus one of x is two lots of x minus five. And the twenty-three from the start came back to ten by undoing the order: nearest the x goes in first, and comes out last.
If this one is in the bag, give it a thumbs up, so your own list shows it never needs another watch. If it has not landed yet, save it and rewatch it before the next video, on function notation, because that one builds on this.
Next in the chapter: Formal Function Notation: Domain and Range.
For more, visit scholafly.com, or watch the next video.
Related terms
For: AQA GCSE 8300, Edexcel GCSE 1MA1, Eduqas GCSE C300, OCR GCSE J560
On the specification
| Board | Spec | Statement |
|---|---|---|
| AQA GCSE 8300 | A7 | Where appropriate, interpret simple expressions as functions with inputs and outputs |
| Edexcel GCSE 1MA1 | A7 | Where appropriate, interpret simple expressions as functions with inputs and outputs. |
| Eduqas GCSE C300 | HA7 | Where appropriate, interpret simple expressions as functions with inputs and outputs; interpret the reverse process as the 'inverse function'; interpret the succession of two functions as a 'composite function' |
| OCR GCSE J560 | 6.05a | Interpret, where appropriate, simple expressions as functions with inputs and outputs. |
For teachers
This GCSE Maths lesson teaches inverse and composite functions. By the end, students should be able to find the composite of two functions and the inverse of a function using input-output machine language, applying board-specific f(x)/fg(x) notation where it is required. It works through two worked examples and the mistakes examiners report.