GCSE Maths · Topic guide

Inverse and Composite Functions

A composite function combines two functions by substituting the output of one into another, written as fg(x), meaning do g first, then f. An inverse function, written f^-1(x), reverses the effect of f, undoing it to get back to the input; both are tested at GCSE Higher, often alongside algebraic fractions.

Grade 7-9 (Higher)AlgebraEdexcelAQAOCR

Before you start

Make sure you're comfortable with these topics first:

Method

  1. For a composite function fg(x), work out g(x) first, then substitute that whole expression into f(x) in place of x.
  2. Read composite function notation carefully: fg(x) means g acts first, not f.
  3. To find an inverse function f^-1(x), write y = f(x), then rearrange the equation to make x the subject.
  4. Once rearranged, replace y with x (and x with f^-1(x)) to write the final inverse function.
  5. Check your inverse is correct by substituting a number into f, then into f^-1, and confirming you get back to the original number.
  6. For functions written as fractions, clear the fraction by multiplying both sides by the denominator before rearranging.

Worked example

f(x) = 3x - 4 and g(x) = x + 5. Find fg(x) and f^-1(x).

  1. For fg(x), substitute g(x) = x + 5 into f in place of x: f(x + 5) = 3(x + 5) - 4.
  2. Expand and simplify: fg(x) = 3x + 15 - 4 = 3x + 11.
  3. For f^-1(x), write y = 3x - 4 and rearrange to make x the subject: y + 4 = 3x, so x = (y + 4)/3.
  4. Replace y with x to write the inverse function: f^-1(x) = (x + 4)/3.
  5. State the final answers: fg(x) = 3x + 11 and f^-1(x) = (x + 4)/3.

Practice questions

Try each question, then tap to reveal the answer.

Exam-style questions

Written in the style of a GCSE Maths exam paper, with a full mark scheme.

Q1[2 marks]

f(x) = 5x + 4 and g(x) = 2x - 1. Work out fg(3).

Q2[4 marks]

f(x) = (x - 7)/2. (a) Find f^-1(x). (b) Work out f^-1(9).

Q3[6 marks]

f(x) = x^2 - 1 and g(x) = 2x + 3. (a) Find gf(x). (b) Find fg(x). (c) Work out gf(3) - fg(3).

See real past-paper questions on inverse and composite functions, organised by topic with official mark schemes

Free printable worksheet

Want more practice on paper? Download the inverse and composite functions worksheet pack - 9 pages of exam-style questions with a full mark scheme. No sign-up, no email wall - just the PDF, free for personal and classroom use.

Build a full practice pack.

This topic is one of hundreds in the library - pick the ones a student needs and generate a printable PDF in minutes.