MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Blog
  4. /
  5. Common Composite Functions Mistakes at GCSE

Common Composite Functions Mistakes at GCSE

Common mistakes with composite functions in GCSE Maths explained through worked examples, correction steps and focused exam-style practice.

MathsGenie Team
•Last updated: 5 Nov 2026
Share
Add as a preferred source on Google

A composite-functions question can look harmless: two short rules, familiar algebra and perhaps only a few marks. Then the order gets reversed, a bracket disappears, or a student tries to multiply the functions together.

These common mistakes with composite functions in GCSE Maths usually come from notation rather than difficult calculations. The central rule is simple: for fg(x)fg(x)fg(x), apply ggg first and then apply fff. Once you learn to show that order clearly, the algebra becomes far more manageable.

This guide follows a student correcting the errors that tend to cost marks. Each mistake includes why it happens, the correct method and an exam-style question to try.

The composite functions checklist

Before working through a question, use this short routine:

  • Read fg(x)fg(x)fg(x) from right to left: apply ggg first, then fff.
  • Write the inner result before doing anything else.
  • Substitute the whole inner expression into the outer function.
  • Use brackets whenever an expression replaces xxx.
  • Expand, simplify and check only after the substitution is complete.
  • If a number is given, decide whether direct substitution or finding the general expression will be clearer.

You can review the complete method on the Maths Genie inverse and composite functions lesson, which includes lesson material, exam-style questions and worked solutions.

Mistake: applying the functions in the wrong order

Suppose

f(x)=2x+3andg(x)=x2.f(x)=2x+3 \qquad \text{and} \qquad g(x)=x^2.f(x)=2x+3andg(x)=x2.

A student asked to find fg(x)fg(x)fg(x) might begin with f(x)f(x)f(x) because its letter appears first. That produces g(f(x))g(f(x))g(f(x)), which is actually gf(x)gf(x)gf(x).

The notation describes nesting:

fg(x)=f(g(x)).fg(x)=f(g(x)).fg(x)=f(g(x)).

The function beside the input acts first. Here, apply ggg, then feed its output into fff:

g(x)=x2,g(x)=x^2,g(x)=x2, f(g(x))=f(x2)=2x2+3.f(g(x))=f(x^2)=2x^2+3.f(g(x))=f(x2)=2x2+3.

Therefore,

fg(x)=2x2+3.fg(x)=2x^2+3.fg(x)=2x2+3.

To see why order matters, calculate the reverse composition:

gf(x)=g(2x+3)=(2x+3)2.gf(x)=g(2x+3)=(2x+3)^2.gf(x)=g(2x+3)=(2x+3)2.

In general, fg(x)fg(x)fg(x) and gf(x)gf(x)gf(x) are not equal. The order is part of the question, not a presentational detail.

Memory prompt: start with the function closest to xxx.

Mistake: multiplying the functions

The notation fg(x)fg(x)fg(x) can resemble multiplication. A student may incorrectly write

fg(x)=f(x)g(x).fg(x)=f(x)g(x).fg(x)=f(x)g(x).

But juxtaposed function names indicate composition in this GCSE context. They do not tell you to multiply the two formulas.

Let

f(x)=x−4andg(x)=3x+1.f(x)=x-4 \qquad \text{and} \qquad g(x)=3x+1.f(x)=x−4andg(x)=3x+1.

To find fg(x)fg(x)fg(x), first identify the inner output:

g(x)=3x+1.g(x)=3x+1.g(x)=3x+1.

Now use this entire expression as the input of fff. Since fff subtracts 444 from its input,

f(g(x))=(3x+1)−4=3x−3.f(g(x))=(3x+1)-4=3x-3.f(g(x))=(3x+1)−4=3x−3.

So

fg(x)=3x−3.fg(x)=3x-3.fg(x)=3x−3.

Multiplying would give (x−4)(3x+1)(x-4)(3x+1)(x−4)(3x+1), which answers a different question. When uncertain, rewrite the notation as f(g(x))f(g(x))f(g(x)). The nested brackets make the intended operation visible.

Mistake: substituting only part of the expression

Now suppose

f(x)=5−2xandg(x)=x2+3x.f(x)=5-2x \qquad \text{and} \qquad g(x)=x^2+3x.f(x)=5−2xandg(x)=x2+3x.

To find fg(x)fg(x)fg(x), every occurrence of xxx in the outer rule must be replaced by the whole expression x2+3xx^2+3xx2+3x:

fg(x)=f(g(x))=5−2(x2+3x).fg(x)=f(g(x))=5-2(x^2+3x).fg(x)=f(g(x))=5−2(x2+3x).

Only then should you expand:

fg(x)=5−2x2−6x.fg(x)=5-2x^2-6x.fg(x)=5−2x2−6x.

A common incorrect line is

5−2x2+3x.5-2x^2+3x.5−2x2+3x.

Here, the multiplication by −2-2−2 has reached only the first term. The bracket protects the complete input until the substitution has been handled.

This is an important habit beyond composite functions. Whenever an expression replaces a variable, place it in brackets first.

A student sends function inputs through an inner and outer office queueA student sends function inputs through an inner and outer office queue

You now have the working routine; use the lesson and Question Bank on the Maths Genie composite functions topic page to practise applying it without having to assemble questions yourself.

Mistake: expanding a squared bracket incorrectly

Composite functions often expose an algebra mistake rather than a functions mistake.

Let

f(x)=x2+1andg(x)=x−3.f(x)=x^2+1 \qquad \text{and} \qquad g(x)=x-3.f(x)=x2+1andg(x)=x−3.

For fg(x)fg(x)fg(x), substitute the whole of g(x)g(x)g(x) into the squared input of fff:

fg(x)=f(x−3)=(x−3)2+1.fg(x)=f(x-3)=(x-3)^2+1.fg(x)=f(x−3)=(x−3)2+1.

The square applies to the entire bracket. It does not mean squaring each term separately:

(x−3)2=(x−3)(x−3).(x-3)^2=(x-3)(x-3).(x−3)2=(x−3)(x−3).

Expanding gives

(x−3)2=x2−6x+9.(x-3)^2=x^2-6x+9.(x−3)2=x2−6x+9.

Therefore,

fg(x)=x2−6x+10.fg(x)=x^2-6x+10.fg(x)=x2−6x+10.

The lost middle term is one of the most frequent composite functions mistakes. If the outer function contains a square, keep the substituted expression in brackets and expand it as a product.

Mistake: mishandling negative inputs

A question may ask for a value such as fg(−2)fg(-2)fg(−2). Negative inputs need visible brackets.

Suppose

f(x)=3x−1andg(x)=x2+2.f(x)=3x-1 \qquad \text{and} \qquad g(x)=x^2+2.f(x)=3x−1andg(x)=x2+2.

Work from the inside:

g(−2)=(−2)2+2=4+2=6.g(-2)=(-2)^2+2=4+2=6.g(−2)=(−2)2+2=4+2=6.

Then apply fff:

f(6)=3(6)−1=17.f(6)=3(6)-1=17.f(6)=3(6)−1=17.

Hence,

fg(−2)=17.fg(-2)=17.fg(−2)=17.

Writing −22-2^2−22 without brackets can lead to the wrong interpretation. When the input is negative, use (−2)2(-2)^2(−2)2 so that the number being squared is unmistakable.

Mistake: finding a formula when only a value is needed

Finding the general expression for fg(x)fg(x)fg(x) is valid, but it is not always the quickest route.

Let

f(x)=4x+5andg(x)=x−7.f(x)=4x+5 \qquad \text{and} \qquad g(x)=x-7.f(x)=4x+5andg(x)=x−7.

To calculate fg(10)fg(10)fg(10), process the number through the two functions:

g(10)=10−7=3,g(10)=10-7=3,g(10)=10−7=3, f(3)=4(3)+5=17.f(3)=4(3)+5=17.f(3)=4(3)+5=17.

Therefore,

fg(10)=17.fg(10)=17.fg(10)=17.

This direct route reduces the amount of algebra. However, if the question asks you to find fg(x)fg(x)fg(x), or uses the composition repeatedly, form the general expression. The best method depends on what the question actually requests.

A reliable method for exam questions

When nerves make notation feel slippery, use an input-output chain:

x⟶g(x)⟶f(g(x)).x \longrightarrow g(x) \longrightarrow f(g(x)).x⟶g(x)⟶f(g(x)).

For example, if

f(x)=2x2andg(x)=x+4,f(x)=2x^2 \qquad \text{and} \qquad g(x)=x+4,f(x)=2x2andg(x)=x+4,

then

x⟶x+4⟶2(x+4)2.x \longrightarrow x+4 \longrightarrow 2(x+4)^2.x⟶x+4⟶2(x+4)2.

Thus,

fg(x)=2(x+4)2.fg(x)=2(x+4)^2.fg(x)=2(x+4)2.

If an expanded expression is required,

fg(x)=2(x2+8x+16)=2x2+16x+32.fg(x)=2(x^2+8x+16)=2x^2+16x+32.fg(x)=2(x2+8x+16)=2x2+16x+32.

The chain separates the functions before the algebra begins. It also gives the examiner a clear record of your method, which matters when a final arithmetic slip occurs.

Exam-style practice

Try these without looking back at the worked examples. Show the inner function first and use brackets around every substituted expression.

Question A

Given

f(x)=3x+2andg(x)=x−5,f(x)=3x+2 \qquad \text{and} \qquad g(x)=x-5,f(x)=3x+2andg(x)=x−5,

find fg(x)fg(x)fg(x).

Question B

Given

f(x)=x2−4andg(x)=2x+1,f(x)=x^2-4 \qquad \text{and} \qquad g(x)=2x+1,f(x)=x2−4andg(x)=2x+1,

find fg(x)fg(x)fg(x) and simplify your answer.

Question C

Given

f(x)=5x−3andg(x)=x2+1,f(x)=5x-3 \qquad \text{and} \qquad g(x)=x^2+1,f(x)=5x−3andg(x)=x2+1,

find gf(−2)gf(-2)gf(−2).

Answers

For Question A,

fg(x)=f(x−5)=3(x−5)+2=3x−13.fg(x)=f(x-5)=3(x-5)+2=3x-13.fg(x)=f(x−5)=3(x−5)+2=3x−13.

For Question B,

fg(x)=f(2x+1)=(2x+1)2−4=4x2+4x−3.fg(x)=f(2x+1)=(2x+1)^2-4=4x^2+4x-3.fg(x)=f(2x+1)=(2x+1)2−4=4x2+4x−3.

For Question C, apply fff first because gf(−2)=g(f(−2))gf(-2)=g(f(-2))gf(−2)=g(f(−2)):

f(−2)=5(−2)−3=−13,f(-2)=5(-2)-3=-13,f(−2)=5(−2)−3=−13, g(−13)=(−13)2+1=170.g(-13)=(-13)^2+1=170.g(−13)=(−13)2+1=170.

Therefore,

gf(−2)=170.gf(-2)=170.gf(−2)=170.

Turn the correction into a habit

Knowing that composite functions work from right to left is only the first step. The gap is applying that rule accurately when brackets, squares and negative values appear under exam pressure.

Maths Genie brings the explanation and focused practice together, so you can correct each of these composite functions mistakes and then check whether the method has stuck. Start the composite functions Lesson and Question Bank and practise writing the inner function first.

  • The composite functions checklist
  • Mistake: applying the functions in the wrong order
  • Mistake: multiplying the functions
  • Mistake: substituting only part of the expression
  • Mistake: expanding a squared bracket incorrectly
  • Mistake: mishandling negative inputs
  • Mistake: finding a formula when only a value is needed
  • A reliable method for exam questions
  • Exam-style practice
  • Turn the correction into a habit

Frequently Asked Questions

How helpful was this article?
Add as a preferred source on Google

More from the blog

5 Nov 2026

Method of Differences: A-Level Further Maths

Method of differences A-Level Further Maths explained with telescoping series, step-by-step worked examples, common mistakes and exam practice.

5 Nov 2026

Hyperbolic Functions A-Level Further Maths Guide

Hyperbolic functions A-Level Further Maths explained with definitions, identities, worked examples, common errors and exam-style practice questions.

5 Nov 2026

Maclaurin Series A-Level Further Maths Guide

Maclaurin series A-Level Further Maths explained with clear methods, worked examples, exam-style practice, common mistakes and practical revision advice.

5 Nov 2026

Hyperbolic Functions Exam Questions: Further Maths

Hyperbolic functions exam questions A-Level Further Maths, with three worked solutions, method marks, common errors and focused practice tips.

1m+ Students Can't Be Wrong

What GCSE and A-level students say after revising with MathsGenie.

Harvey B. avatar

Harvey B.

Student

“This is such an amazing platform, it offers everything needed to improve your grade in a time efficient manor. Personally I love the videos as I am able to find areas that I am weak at in the practice papers.”
Tameem R. avatar

Tameem R.

Student

“Genuinely took me from a grade 4 in maths to achieving a grade 8 in my GCSE's in less than a few months. Best mathematics revision website for those who are aiming to get those high grades.”
Anyim P. avatar

Anyim P.

Student

“Genuinely I think every maths student should have this site. It takes you through the entire AS and A level Maths course, alongside exam questions with step by step solutions.”
Muhammad A. avatar

Muhammad A.

Student

“predicted papers are very useful and i believe there's not a better website for GCSE maths in the UK”
Rayan K. avatar

Rayan K.

Student

“Best Maths Resource out there! Absolutely amazing videos and very concise explantions on everything. Don't even get me started on the loads of exam question/worksheets that are so helpful. And it's all free!”
Dee avatar

Dee

Student

“The best Maths resource site in the world! They have it all and do a great job of keeping everything up to date. I still don't know how they are able to make this free for all. You are truly amazing.”
Hamid I. avatar

Hamid I.

Student

“They have helped me with my A level Maths performance significantly and I jumped from a grade U to a Grade A in only 2-3 months. I HIGHLY recommend to Maths students especially for A level.”
Sophie avatar

Sophie

Student

“MathsGenie's YouTube videos and worksheets are amazing. The videos go into such great depth but in a way that's simple to understand.”
Maria E. avatar

Maria E.

Student

“Amazing website! Truly helped with my GCSEs - I was a very poor student. Managed to go up and reach all grade 6-9's from U-4's. Would definitely recommend :)”
Justine K. avatar

Justine K.

Student

“Absolutely brilliant website with well organised, well written resources for learning or revising maths. I never hesitate to recommend mathsgenie to my students.”
Daryl G. avatar

Daryl G.

Student

“Took me a bit of getting used to but this new site is excellent. I found the old one really useful but this is next level. I share it with all my colleagues and students.”
Binuk J. avatar

Binuk J.

Student

“I used to be really bad at math. My first GCSE mocks I had a 2 but after I found MathsGenie I jumped from 2 to 4 under 3 months.”
Jourdie avatar

Jourdie

Student

“Improved my grade, I used to be borderline passing maths now I'm performing much better. There are videos, practice papers, solutions, exam questions, past GCSE papers all for free. This is really useful.”
Olla avatar

Olla

Student

“Honestly, it's super great. Easy, with the explanation on the side. Every topic also has more than 50 questions, making you feel more confident in doing different types f question in one topic. Try it!”

Ready to breeze through your GCSEs?IGCSEs?A-Levels?AS Levels?GCSEs?GCSEs?

Sign inStart studying for free

Footer

Quick links

  • GCSE past papers
  • GCSE question bank
  • GCSE worksheets
  • GCSE revision guides
  • GCSE lessons
  • Literary Hub
  • Free maths course
  • A Level past papers
  • A Level question bank
  • Old MathsGenie

Tools

  • Revision planner
  • Mock exam builder
  • Ask Genie AI
  • Answer marking
  • Grade calculator
  • Pricing

Company

  • About MathsGenie
  • Careers
  • Contact
  • For educators
  • For parents
  • Student ambassadors
  • Help centre
  • More resources
  • Blog
  • Student questions
  • Sitemap
  • Privacy policy
  • Terms of Service
  • Cookie policy
  • Report a bug

GCSE

  • Biology
  • Chemistry
  • English Language
  • English Literature
  • Geography
  • Maths
  • Old Maths
  • Physics
  • Statistics

IGCSE

  • Biology
  • Business
  • Chemistry
  • Computer Science
  • English Language
  • English Literature
  • Geography
  • Maths
  • Physics

A Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Old Maths
  • Physics
  • Psychology
  • Sociology

AS Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Physics
  • Psychology
  • Religious Studies
  • Sociology
MathsGenie logo

© 2026 MyDojo, Inc. All rights reserved. MyDojo, Inc. does business as MathsGenie.

Exam board names are used for identification only and do not imply affiliation or endorsement.