MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Blog
  4. /
  5. Composite Functions Exam Questions: GCSE Guide

Composite Functions Exam Questions: GCSE Guide

Composite functions exam questions explained through three GCSE worked examples. Learn function order, show clear methods and avoid common exam mistakes.

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

A student sees fg(x)fg(x)fg(x) and pauses. Does it mean multiply, substitute, or start with the first letter? Composite functions exam questions ask you to apply one function to the output of another. In fg(x)=f(g(x))fg(x)=f(g(x))fg(x)=f(g(x)), you apply ggg first, then fff. Getting that order right is the first step towards a clear, mark-worthy solution.

Imagine a student working through three questions, each adding one challenge: finding a numerical output, forming an algebraic expression, then solving an equation. These are original exam-style questions, not extracts from a particular paper. The marking comments explain useful working to show; exact marks depend on the question’s mark scheme.

Your composite functions checklist

Before calculating, establish what the question wants:

  • A value: substitute the given input into the inner function, then use its output in the outer function.
  • An expression: replace every input in the outer function with the complete inner expression.
  • An equation to solve: form the composite expression first, then solve the resulting equation.
  • A check: confirm the order, brackets and final answer.

Composite functions are a GCSE Higher tier topic. MathsGenie’s inverse and composite functions lesson brings the relevant explanations and practice together. Students following Eduqas can use the matching Eduqas functions lesson.

Read the order before doing the algebra

The notation looks less mysterious when you read from the brackets outwards:

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

The input enters ggg, and that result enters fff. By contrast,

gf(x)=g(f(x))gf(x)=g(f(x))gf(x)=g(f(x))

starts with fff. These usually produce different results, so function order deserves its own moment of attention.

Composition also differs from multiplication. You are feeding one output into another rule, not multiplying two separate outputs. Writing the nested form at the start makes your interpretation visible and gives the rest of your working a reliable structure.

Composite functions exam questions: three worked examples

Question one: calculate a numerical output

The student begins with:

f(x)=3x−2,g(x)=x+4.f(x)=3x-2,\qquad g(x)=x+4.f(x)=3x−2,g(x)=x+4.

Find fg(2)fg(2)fg(2).

Their first useful line establishes the order:

fg(2)=f(g(2)).fg(2)=f(g(2)).fg(2)=f(g(2)).

First, calculate the inner output:

g(2)=2+4=6.g(2)=2+4=6.g(2)=2+4=6.

Then put that output into fff:

f(6)=3×6−2=16.f(6)=3\times6-2=16.f(6)=3×6−2=16.

Therefore,

fg(2)=16.\boxed{fg(2)=16}.fg(2)=16​.

Where the method is visible: the lines showing g(2)g(2)g(2) followed by f(6)f(6)f(6) demonstrate correct composition. If an arithmetic slip occurs, written evidence of the intended process may still earn credit where the mark scheme allows it. A bare incorrect answer gives the examiner much less to assess.

The student can also check the order by describing the operations: add four first, then multiply by three and subtract two. That description should match the calculation.

Start practising this same inner-then-outer method with the Question Bank on MathsGenie’s composite functions topic page.

Question two: form and simplify an expression

The next question keeps the input algebraic:

f(x)=x2−5,g(x)=2x+3.f(x)=x^2-5,\qquad g(x)=2x+3.f(x)=x2−5,g(x)=2x+3.

Find and simplify fg(x)fg(x)fg(x).

The student writes:

fg(x)=f(2x+3).fg(x)=f(2x+3).fg(x)=f(2x+3).

The rule for fff squares its entire input, then subtracts five. Therefore,

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

Now expand carefully:

(2x+3)(2x+3)−5(2x+3)(2x+3)-5(2x+3)(2x+3)−5 =4x2+6x+6x+9−5=4x^2+6x+6x+9-5=4x2+6x+6x+9−5 fg(x)=4x2+12x+4.\boxed{fg(x)=4x^2+12x+4}.fg(x)=4x2+12x+4​.

Where the method is visible: the expression (2x+3)2−5(2x+3)^2-5(2x+3)2−5 shows the correct substitution before any expansion. The following lines show how it was simplified. Keeping those stages separate helps an examiner distinguish understanding of composition from accuracy in algebra.

Brackets do essential work here. The whole expression 2x+32x+32x+3 replaces the input of fff, so the whole expression must be squared.

A quick check is to choose an easy input and compare both forms. At x=0x=0x=0, applying the original functions gives g(0)=3g(0)=3g(0)=3 and f(3)=4f(3)=4f(3)=4. The simplified expression also gives 444. This does not prove the expression is correct, but it can expose a mistake.

Stick-figure revision comic about deciding who goes firstStick-figure revision comic about deciding who goes first

Question three: solve an equation involving composition

Now the student meets a question with two possible answers:

f(x)=x2−1,g(x)=2x+3.f(x)=x^2-1,\qquad g(x)=2x+3.f(x)=x2−1,g(x)=2x+3.

Solve fg(x)=24fg(x)=24fg(x)=24.

They form the composite function before solving:

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

Add one to both sides:

(2x+3)2=25.(2x+3)^2=25.(2x+3)2=25.

Taking square roots gives two possibilities:

2x+3=5or2x+3=−5.2x+3=5\quad\text{or}\quad2x+3=-5.2x+3=5or2x+3=−5.

Solve each equation:

2x=2or2x=−8,2x=2\quad\text{or}\quad2x=-8,2x=2or2x=−8,

so

x=1orx=−4.\boxed{x=1\quad\text{or}\quad x=-4}.x=1orx=−4​.

Where the method is visible: the initial composite equation shows correct substitution. Isolating the squared expression and considering both square roots show the solving method. The final solutions establish accuracy, subject to any restrictions stated in the question.

The student checks both answers in the original functions. For x=1x=1x=1, the inner output is 555; for x=−4x=-4x=−4, it is −5-5−5. Both produce 242424 when substituted into fff. The negative inner output is valid here because squaring it gives a positive result.

Common mistakes that lose useful working

Applying the functions in the wrong order. Rewrite fg(x)fg(x)fg(x) as f(g(x))f(g(x))f(g(x)) before substituting. The expression inside the brackets acts first.

Treating composition as multiplication. Writing f(x)g(x)f(x)g(x)f(x)g(x) answers a different question. Make the substitution explicit.

Dropping brackets. If the outer function squares its input, the entire inner expression needs brackets before the square.

Expanding a square incorrectly. A squared binomial includes a middle term. Writing it as two brackets can make that term harder to miss.

Losing a square-root solution. When a squared expression equals a positive number, consider both the positive and negative roots, then check any stated restrictions.

Assuming every written line earns a mark. Credit comes from relevant, correct mathematical progress. Show substitution and solving steps clearly, then compare them with the specific mark scheme.

Exam-style practice and past paper questions

Try these without looking back at the examples. Use

f(x)=2x−3,g(x)=x2+1.f(x)=2x-3,\qquad g(x)=x^2+1.f(x)=2x−3,g(x)=x2+1.
  • Find fg(3)fg(3)fg(3).
  • Find and simplify gf(x)gf(x)gf(x).
  • Solve fg(x)=17fg(x)=17fg(x)=17.

Answers: fg(3)=17fg(3)=17fg(3)=17; gf(x)=4x2−12x+10gf(x)=4x^2-12x+10gf(x)=4x2−12x+10; and x=3x=3x=3 or x=−3x=-3x=−3.

For the equation, your working should include 2(x2+1)−3=172(x^2+1)-3=172(x2+1)−3=17, which simplifies to x2=9x^2=9x2=9. If you found only the positive answer, revisit the square-root step.

When choosing composite functions past paper questions, match the exam board and tier to your course. MathsGenie’s Edexcel GCSE topic booklets provide topic-based past-paper practice. Attempt questions before reading solutions, then identify whether each error came from function order, substitution or algebra. That diagnosis tells you what to practise next.

Turn the method into independent answers

Our imagined student now has a repeatable approach: identify the inner function, substitute with brackets, and show the algebra. Your next challenge is recognising those steps without a worked solution beside you. Start your next composite functions practice session with MathsGenie’s Lessons and Question Bank, then answer a question independently.

  • Your composite functions checklist
  • Read the order before doing the algebra
  • Composite functions exam questions: three worked examples
  • Common mistakes that lose useful working
  • Exam-style practice and past paper questions
  • Turn the method into independent answers

Frequently Asked Questions

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

More from the blog

20 Nov 2026

Large Data Set Revision for the Mock

Large data set revision for the mock, with a focused checklist, statistical examples, common mistakes and practical advice for A-Level Maths students.

20 Nov 2026

Proof Questions in A-Level Maths Mocks: A Clear Guide

Proof questions in A-Level Maths mocks explained through worked examples, common mistakes and focused revision. Build your next targeted practice paper.

20 Nov 2026

Integration Questions in A-Level Maths Mocks

Integration questions in A-Level Maths mocks: choose methods, avoid common errors and build targeted practice with free MathsGenie lessons and solutions.

20 Nov 2026

Differentiation Questions in A-Level Maths Mocks

Differentiation questions in A-Level maths mocks: revise key rules, follow worked examples, avoid common mistakes and build a focused practice paper today.

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
  • Maths Genie on Google Play
  • Careers
  • Contact
  • For educators
  • For parents
  • Student ambassadors
  • 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.