45 exam-style questions plus unlimited generated ones on this topic, at up to four difficulty levels, with full mark schemes. Notes, past-paper booklets and workbooks are open to everyone. Practice needs a free account.
Or take a quick quiz: 9 questions on this subtopic in GCSE Maths Higher (Edexcel), marked as you tap.
Higher only. Using function notation f(x), working out composite functions such as fg(x), and finding inverse functions \(f^{-1}(x)\). Questions are usually 2 to 4 marks and link closely to substitution, rearranging and solving equations.
Key facts
\(f(a)\): replace every x with a
\(fg(x) = f(g(x))\): g first, then f
\(fg(x)\) is usually not the same as \(gf(x)\)
Inverse: write \(y = f(x)\), make x the subject, then write it in terms of x
\(ff^{-1}(x) = x\)
\(f^{-1}(x) \ne \dfrac{1}{f(x)}\)
Notes
Function notation
diagram
\(f(x) = 2x + 5\) means 'the function f doubles x and adds 5'. x is the input and f(x) is the output.
Doing composite functions in the wrong order: fg(x) means g first.
Multiplying the functions: fg(x) is not \(f(x) \times g(x)\)
Leaving an inverse in terms of y, or writing \(f^{-1}(x) = \dfrac{1}{f(x)}\)
Forgetting brackets when substituting an expression: with \(g(x) = x^2 - 2\), \(g(x + 1) = (x + 1)^2 - 2\)
More tips
Memory tricks
Read fg(x) as 'f of g of x': the function next to x acts first.
Check an inverse with a number: work out f(2), then put the answer into \(f^{-1}\); you should get 2.
For simple functions, find the inverse with a function machine: reverse the order and use inverse operations.
Exam technique
Write the middle step (e.g. \(g(4) = 14\)) so the method mark can be seen.
Give an inverse as \(f^{-1}(x) = \ldots\) with x as the variable.
In 'show that' questions, expand and simplify fully and end with the given expression.
What each grade needs
What you need to be able to do, from the first marks up to the top grade.
Grade 6
Evaluate a function for a given inputSubstitute the value for x, e.g. \(f(x) = 3x^2 - 1\) gives \(f(-2) = 11\)
Grade 6
Solve an equation such as f(x) = kSet the function equal to the value and solve, e.g. \(2x + 7 = 15\) gives \(x = 4\)
Grade 7
Find a composite functionfg(x) means apply g first, then f: substitute g(x) into f.
Grade 7
Find an inverse functionWrite \(y = f(x)\), make x the subject, then write \(f^{-1}(x)\) in terms of x.
Grade 8
Solve equations involving composite functionse.g. form and solve an equation from \(gf(x) = 25\)
Grade 9
Find inverses of fractional functionsWhen x appears twice after rearranging, collect the x terms and factorise, e.g. for \(f(x) = \dfrac{3x + 2}{x - 4}\)
Quick recall
Cover the answers and test yourself. The app has these as flashcards that come back just before you'd forget them.
A function machine takes an input \(x\). It first adds 6 and then multiplies the result by 2. The output is \(f(x)\). Write \(f(x)\) as an expression in \(x\).
\(f(x) = 2(x + 6)\)
The machine for \(f^{-1}\) is built from some of these four steps. Write down the letters of the steps it uses, in the order they happen.
A then B
The functions \(g\) and \(h\) are given by \(g(x) = 5x\) and \(h(x) = \frac{x}{3}\). Write down \(g^{-1}(x)\).
\(g^{-1}(x) = \frac{x}{5}\)
The function \(f\) is given by \(f(x) = \sqrt{x}\) for \(x \ge 0\). Find \(f^{-1}(x)\).
\(f^{-1}(x) = x^2\)
In \(\text{fg}(x)\), which function is applied to \(x\) first? Write f or g.
g
The function \(f\) is given by \(f(x) = 5x - 2\). Work out \(f^{-1}(f(7))\).
7
Sample questions
Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.
Question 1Easy1 mark
The function \(f\) is given by \(f(x) = x + 7\).
Which of these is \(f^{-1}(x)\)? Tick (✓) one box.
[1]
\(x - 7\)
\(7 - x\)
\(\frac{1}{x + 7}\)
\(x + 7\)
Show the answer and mark scheme
Answer: \(x - 7\)
B1 for \(x - 7\) ticked
Worked solution: The inverse undoes adding 7, so it subtracts 7.
Question 2Medium3 marks
The function \(f\) is given by \(f(x) = \frac{x - 5}{2}\). Ellie tries to find \(f^{-1}(x)\). Ellie’s working is: \(y = \frac{x - 5}{2}\) \(2y = x - 5\) \(x = 2y - 5\) \(f^{-1}(x) = 2x - 5\)
(a) Write down the line in which Ellie first makes an error.
[1]
(b) Find the correct \(f^{-1}(x)\).
[2]
Show the answer and mark scheme
(a)Answer: \(x = 2y - 5\)
B1 for the line \(x = 2y - 5\) (accept the third line)
Worked solution: From \(2y = x - 5\) the next line should be \(x = 2y + 5\).
(b)Answer: \(f^{-1}(x) = 2x + 5\)
M1 for \(x = 2y + 5\) or \(2x = y - 5\) oe
A1 for \(f^{-1}(x) = 2x + 5\)
Worked solution: \(y = \frac{x - 5}{2}\) gives \(2y = x - 5\), so \(x = 2y + 5\). Swap letters: \(f^{-1}(x) = 2x + 5\).
Question 3Hard5 marks
The function \(f\) is given by \(f(x) = \frac{2x + 1}{x - 3}\) for \(x \ne 3\).
(a) Find \(f^{-1}(x)\).
[4]
(b) State the value of \(x\) that must be excluded from the domain of \(f^{-1}\).
[1]
Show the answer and mark scheme
(a)Answer: \(f^{-1}(x) = \frac{3x + 1}{x - 2}\)
M1 for \(y(x - 3) = 2x + 1\) (clearing the fraction)
M1 for \(xy - 3y = 2x + 1\) and collecting the terms in \(x\) on one side