Skip to content

Functions: GCSE Maths revision notes

Higher tier only. A function takes an input and gives an output. f(x) = 3x + 2 means 'multiply by 3, then add 2'. f(4) means substitute x = 4: f(4) = 3 × 4 + 2 = 14.

In short

A function takes an input and gives an output. f(x) = 3x + 2 means 'multiply by 3, then add 2'. f(4) means substitute x = 4: f(4) = 3 × 4 + 2 = 14. To solve f(x) = 20, write 3x + 2 = 20, so x = 6.

For GCSE students in Years 10 and 11, on the AQA, Edexcel, OCR, Eduqas, Edexcel IGCSE and Cambridge IGCSE Maths courses.

Function notation

  • A function takes an input and gives an output. f(x) = 3x + 2 means 'multiply by 3, then add 2'.
  • f(4) means substitute x = 4: f(4) = 3 × 4 + 2 = 14.
  • To solve f(x) = 20, write 3x + 2 = 20, so x = 6.

Composite functions

  • fg(x) means do g first, then f. If f(x) = 3x + 2 and g(x) = x², then fg(x) = 3x² + 2 and gf(x) = (3x + 2)².
  • fg(2) = f(g(2)) = f(4) = 14. Usually fg(x) and gf(x) are different.

Inverse functions

  • The inverse function f⁻¹(x) reverses f. Write y = f(x), make x the subject, then swap back to x.
  • For f(x) = 3x + 2: y = 3x + 2, so x = (y − 2)/3, and f⁻¹(x) = (x − 2)/3.
  • The inverse undoes the function: f(4) = 14 and f⁻¹(14) = 4.

Key terms

Function
A rule that turns each input into exactly one output.
Input
The value that goes into a function.
Output
The value that comes out of a function.
Composite function
Two functions applied one after the other, such as fg(x).
Inverse function
The function that reverses another, written f⁻¹(x).

Quick questions on Functions

f(x) = 3x + 2. What is f(4)?
14: 3 × 4 + 2 = 14.
f(x) = x² − 1. What is f(−3)?
8: (−3)² − 1 = 9 − 1.
f(x) = 3x + 2. Solve f(x) = 20.
x = 6: 3x + 2 = 20, so 3x = 18.
f(x) = 3x + 2 and g(x) = x². What is fg(2)?
14: g(2) = 4, then f(4) = 14.
f(x) = 3x + 2 and g(x) = x². What is gf(x)?
(3x + 2)²: Apply f first, then square the result.
What does fg(x) mean?
Apply g first, then f: The function nearest to x is applied first.
f(x) = 3x + 2. What is f⁻¹(x)?
(x − 2)/3: Subtract 2, then divide by 3.
f(x) = 2x − 5. What is f⁻¹(3)?
4: f⁻¹(x) = (x + 5)/2, and (3 + 5)/2 = 4.
What does an inverse function do?
It reverses the original function: f⁻¹(f(x)) = x.
g(x) = x/2 + 1. What is g(10)?
6: 10 ÷ 2 + 1 = 6.
f(x) = x + 3 and g(x) = 2x. What is fg(x)?
2x + 3: g first gives 2x, then add 3.
f(x) = 5 − x. What is f(5)?
0: 5 − 5 = 0.

Functions: exam-style questions and mark schemes

  1. f(x) = 4x − 1. Work out f(−2). [1 mark]

    Answer: −9

  2. f(x) = 2x + 1 and g(x) = x². Find gf(x), giving your answer in expanded form. [2 marks]

    • (2x + 1)² (1)
    • 4x² + 4x + 1 (1)
  3. f(x) = (x + 4)/3. Find f⁻¹(x). [2 marks]

    • y = (x + 4)/3 rearranged to x = 3y − 4 (1)
    • f⁻¹(x) = 3x − 4 (1)
  4. f(x) = 3x − 2 and g(x) = x². Solve fg(x) = gf(x). [3 marks]

    • fg(x) = 3x² − 2 (1)
    • gf(x) = (3x − 2)² = 9x² − 12x + 4 (1)
    • 6x² − 12x + 6 = 0, so (x − 1)² = 0 and x = 1 (1)
  5. Without a calculator: A function machine multiplies the input by 5, then subtracts 8. (a) Work out the output when the input is 6. [1 mark] (b) Work out the input when the output is 47. [2 marks] [3 marks]

    • (a) 22 (1)
    • (b) (47 + 8) ÷ 5 (1)
    • (b) 11 (1)

How to answer them: exam technique and command words.

Functions: questions and answers

What does an inverse function do?
It reverses the original function. f⁻¹(f(x)) = x.
g(x) = x/2 + 1. What is g(10)?
10 ÷ 2 + 1 = 6.
f(x) = x + 3 and g(x) = 2x. What is fg(x)?
2x + 3. g first gives 2x, then add 3.

Practise Functions: 12 questions

Download these notes as a PDF

Previous topic: Quadratic, cubic and reciprocal graphsNext topic: Iteration

More in Algebra

LycoLearn is still loading…

This can take a little longer on a busy school or home network. If nothing happens, try refreshing the page.

LycoLearn didn’t load properly

Part of it didn’t arrive. Try refreshing the page in a minute, or open LycoLearn in another browser.