Functions, composite and inverse
A function is a rule that turns an input into an output. Functions can be combined and reversed.
Function notation
f(x) = 3x + 1 means: multiply by 3, then add 1.
f(4) = 3 × 4 + 1 = 13
f(4) = 3 × 4 + 1 = 13
Composite functions
fg(x) means do g first, then f.
f(x) = 3x + 1 and g(x) = x2: fg(2) = f(4) = 13. gf(2) = g(7) = 49.
f(x) = 3x + 1 and g(x) = x2: fg(2) = f(4) = 13. gf(2) = g(7) = 49.
Inverse functions
f-1(x) undoes f. Write y = f(x), swap x and y, and rearrange.
f(x) = 3x + 1 → x = 3y + 1 → y = x − 13
f-1(x) = x − 13
f(x) = 3x + 1 → x = 3y + 1 → y = x − 13
f-1(x) = x − 13
f(x) = 2x − 5. Find f-1(9).
- f-1(x) = x + 52
- f-1(9) = 142 = 7
Answer: 7
f(a) means put a into the rule. fg(x) means g first, then f. For the inverse, swap x and y and rearrange.
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
f(x) = 4x − 1. Find f(8).
Show the answer
Answer: 31
4 × 8 − 1 = 31.
f(x) = x + 2 and g(x) = 5x. Find fg(3).
Show the answer
Answer: 17
g(3) = 15, then f(15) = 17.
Check you have got it
Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
- Pearson Edexcel GCSE Mathematics (1MA1) specification, topic A7
- Pearson Edexcel International GCSE Mathematics (4MA1) specification, topic 3.2
Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.