MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Blog
  4. /
  5. Hardest GCSE Maths Functions Questions Explained

Hardest GCSE Maths Functions Questions Explained

Master the hardest GCSE Maths functions questions with step-by-step worked examples on composite functions, inverse functions and solving equations.

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

The hardest GCSE Maths functions questions combine function notation with algebraic techniques such as expanding brackets, solving quadratics, rearranging fractions and checking restrictions. At Higher tier, you need to interpret inverse and composite functions, form expressions such as fg(x)fg(x)fg(x), and solve equations involving functions.

This guide explains those demanding question types step by step. It also shows how to interpret the notation, avoid common errors and organise your working so that each stage can earn marks.

What makes a GCSE functions question difficult?

A function is a rule that maps an input to an output. If

f(x)=2x+3, f(x)=2x+3, f(x)=2x+3,

then f(5)f(5)f(5) means substitute 555 for xxx:

f(5)=2(5)+3=13. f(5)=2(5)+3=13. f(5)=2(5)+3=13.

Simple substitution is only the starting point. Harder Higher tier questions may require you to:

  • apply two functions in the correct order;
  • form and simplify a composite function;
  • find an inverse function algebraically;
  • solve an equation involving a composite or inverse function;
  • recognise that a quadratic equation may have two solutions;
  • apply a restriction to decide whether a solution is valid;
  • work backwards from a given output.

Inverse and composite functions are identified as Higher-only content in the GCSE subject requirements used by major exam boards. The phrase “hardest questions” is not an official exam-board category. It usually refers to multi-step problems in which functions are combined with demanding algebra.

You can compare the content for different specifications using the GCSE Maths topics by exam board and tier guide.

Function notation you must understand

Most mistakes in difficult functions questions begin with a misunderstanding of the notation.

NotationMeaning
f(4)f(4)f(4)Put 444 into the function fff
f(a)f(a)f(a)Put aaa into the function fff
fg(x)fg(x)fg(x)Apply ggg first, then apply fff
gf(x)gf(x)gf(x)Apply fff first, then apply ggg
f−1(x)f^{-1}(x)f−1(x)The inverse function, which reverses fff
f2(x)f^2(x)f2(x)Usually f(f(x))f(f(x))f(f(x)) in function notation, not [f(x)]2[f(x)]^2[f(x)]2

The order in a composite function matters. In general,

fg(x)≠gf(x). fg(x)\ne gf(x). fg(x)=gf(x).

Read a composite function from right to left. For fg(x)fg(x)fg(x), begin with g(x)g(x)g(x) and substitute the whole expression into fff.

An inverse function is also not the reciprocal of a function. In particular,

f−1(x)≠1f(x). f^{-1}(x)\ne \frac{1}{f(x)}. f−1(x)=f(x)1​.

The inverse reverses the original mapping. Consequently,

f−1(f(x))=x f^{-1}(f(x))=x f−1(f(x))=x

for inputs on which the functions are defined.

Hardest GCSE Maths functions questions: worked examples

Worked example 1: solving a composite function equation

Let

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

Solve

gf(x)=29. gf(x)=29. gf(x)=29.

Step 1: Decide which function acts first.

In gf(x)gf(x)gf(x), the function fff acts first. Therefore,

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

Step 2: Substitute f(x)f(x)f(x) into ggg.

The rule for ggg is to square its input and add 444. Its input is now 2x−32x-32x−3, so

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

The brackets are essential because the whole expression is being squared.

Step 3: Form the equation.

(2x−3)2+4=29. (2x-3)^2+4=29. (2x−3)2+4=29.

Subtract 444:

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

Step 4: Use both square roots.

2x−3=5or2x−3=−5. 2x-3=5 \qquad \text{or} \qquad 2x-3=-5. 2x−3=5or2x−3=−5.

This gives

x=4orx=−1. x=4 \qquad \text{or} \qquad x=-1. x=4orx=−1.

Step 5: Check both answers.

For x=4x=4x=4, f(4)=5f(4)=5f(4)=5 and g(5)=29g(5)=29g(5)=29. For x=−1x=-1x=−1, f(−1)=−5f(-1)=-5f(−1)=−5 and g(−5)=29g(-5)=29g(−5)=29. Both solutions are valid.

The most common error is writing (2x−3)2(2x-3)^2(2x−3)2 as 4x2+94x^2+94x2+9. The correct expansion is

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

In this example, taking square roots before expanding is faster.

Worked example 2: finding the inverse of a fractional function

Given

f(x)=3x+2x−4, f(x)=\frac{3x+2}{x-4}, f(x)=x−43x+2​,

find f−1(x)f^{-1}(x)f−1(x).

Step 1: Write the function using yyy.

y=3x+2x−4. y=\frac{3x+2}{x-4}. y=x−43x+2​.

Step 2: Rearrange the equation to make xxx the subject.

Multiply both sides by x−4x-4x−4:

y(x−4)=3x+2. y(x-4)=3x+2. y(x−4)=3x+2.

Expand:

xy−4y=3x+2. xy-4y=3x+2. xy−4y=3x+2.

Collect the terms containing xxx on one side:

xy−3x=4y+2. xy-3x=4y+2. xy−3x=4y+2.

Factorise the left-hand side:

x(y−3)=4y+2. x(y-3)=4y+2. x(y−3)=4y+2.

Divide by y−3y-3y−3:

x=4y+2y−3. x=\frac{4y+2}{y-3}. x=y−34y+2​.

Step 3: Replace yyy with xxx.

f−1(x)=4x+2x−3. f^{-1}(x)=\frac{4x+2}{x-3}. f−1(x)=x−34x+2​.

Swapping the letters xxx and yyy is not enough by itself. The essential work is rearranging the equation so that the original xxx becomes the subject.

There are also restrictions. The original function is undefined when x=4x=4x=4, while the inverse is undefined when x=3x=3x=3. Unless a question asks specifically for the domain, GCSE mark schemes often focus on the inverse formula, but recognising restrictions helps you reject invalid values in later equations.

Worked example 3: solving an equation involving an inverse

The function hhh is defined by

h(x)=x2+1,x≥0. h(x)=x^2+1, \qquad x\geq 0. h(x)=x2+1,x≥0.

Solve

h−1(2x+2)=x. h^{-1}(2x+2)=x. h−1(2x+2)=x.

Step 1: Find the inverse.

Start with

y=x2+1. y=x^2+1. y=x2+1.

Rearrange:

x2=y−1. x^2=y-1. x2=y−1.

Because the original domain states x≥0x\geq 0x≥0, take the positive square root:

x=y−1. x=\sqrt{y-1}. x=y−1​.

Therefore,

h−1(x)=x−1. h^{-1}(x)=\sqrt{x-1}. h−1(x)=x−1​.

The restriction x≥0x\geq 0x≥0 matters. Without it, h(x)=x2+1h(x)=x^2+1h(x)=x2+1 would not have a single-valued inverse over all real numbers.

Step 2: Substitute 2x+22x+22x+2 into the inverse.

(2x+2)−1=x, \sqrt{(2x+2)-1}=x, (2x+2)−1​=x,

so

2x+1=x. \sqrt{2x+1}=x. 2x+1​=x.

Step 3: Square both sides.

2x+1=x2. 2x+1=x^2. 2x+1=x2.

Rearrange:

x2−2x−1=0. x^2-2x-1=0. x2−2x−1=0.

Using the quadratic formula gives

x=1±2. x=1\pm\sqrt{2}. x=1±2​.

Step 4: Check the solutions in the original equation.

The left-hand side is a square root and therefore cannot be negative. The solution 1−21-\sqrt{2}1−2​ is negative, so it cannot equal 2x+1\sqrt{2x+1}2x+1​.

The only valid solution is

x=1+2. x=1+\sqrt{2}. x=1+2​.

Squaring an equation can introduce an extraneous solution, which satisfies the squared equation but not the original one. Always check solutions after squaring.

A reliable method for difficult functions questions

Use this sequence when a question contains several layers.

  1. Identify the outer and inner functions. For fg(x)fg(x)fg(x), ggg is applied first and fff is applied second.
  2. Write an intermediate line. Write fg(x)=f(g(x))fg(x)=f(g(x))fg(x)=f(g(x)) before substituting.
  3. Use brackets around the substituted expression. If f(x)=x2−5f(x)=x^2-5f(x)=x2−5, then f(g(x))=[g(x)]2−5f(g(x))=[g(x)]^2-5f(g(x))=[g(x)]2−5.
  4. Simplify only after the substitution is correct. Premature expansion often causes sign errors.
  5. Solve the resulting equation completely. Look for two roots when a quadratic or square is involved.
  6. Check restrictions and substituted answers. Denominators cannot equal zero, square-root inputs must be non-negative, and inverse functions may have restricted domains.

Clear intermediate lines are valuable in an examination because method marks can often be awarded even if the final arithmetic contains an error.

Choosing an efficient algebraic approach

Once you have formed the correct composite expression, pause before expanding it. The quickest method depends on the structure of the equation, and unnecessary algebra creates more opportunities for errors.

Equation structureUsually efficient approach
(ax+b)2=c(ax+b)^2=c(ax+b)2=cIsolate the square, then use both square roots
(ax+b)2+c=0(ax+b)^2+c=0(ax+b)2+c=0Isolate the square and check whether real solutions are possible
A factorised quadraticUse the zero-product rule
An expanded quadraticFactorise, complete the square or use the quadratic formula
A fractional expressionState excluded values, then clear the denominator carefully
An equation containing a square rootIsolate the root, square, then check every solution

For example, if you reach (2x−3)2=25(2x-3)^2=25(2x−3)2=25, expanding produces a quadratic that must later be solved. Taking square roots immediately keeps the work shorter. However, if the right-hand side contains xxx, expansion may be necessary to collect terms into a standard quadratic equation.

Do not assume the longest method is the safest. Efficient working is usually clearer because each line has one purpose. It also makes checking easier and reduces the chance of losing a negative sign.

Understanding domains, ranges and restrictions

The domain is the set of permitted inputs, while the range is the set of possible outputs. These ideas become especially important when a function is inverted because the domain and range exchange roles.

A linear function such as f(x)=2x+3f(x)=2x+3f(x)=2x+3, defined for all real xxx, has an inverse without requiring a restriction. A quadratic function does not generally have an inverse over all real numbers because two different inputs can produce the same output. For instance, both 222 and −2-2−2 produce 444 when squared.

Restricting a quadratic to x≥0x\geq 0x≥0 or x≤0x\leq 0x≤0 selects one branch, making a single-valued inverse possible. The chosen restriction determines which square root appears. If the original domain is x≥0x\geq 0x≥0, the inverse normally uses the positive square root. If it is x≤0x\leq 0x≤0, the inverse uses the negative square root.

Restrictions can also arise from the algebra itself. For a fractional function, any value that makes a denominator zero is excluded. For a real square-root function, the expression inside the root must be at least zero. These are mathematical requirements, not optional checking strategies.

When solving, distinguish between a value excluded from the function and an extraneous value created by a manipulation. An excluded value was never a permitted input. An extraneous solution may appear after an operation such as squaring, but it fails when substituted into the original equation.

Embedded exam-style question

Functions ppp and qqq are defined by

p(x)=3x+1andq(x)=x2−5. p(x)=3x+1 \qquad \text{and} \qquad q(x)=x^2-5. p(x)=3x+1andq(x)=x2−5.

Solve

qp(x)=11. qp(x)=11. qp(x)=11.

Give all possible values of xxx.

Answer

Since ppp acts first,

qp(x)=q(p(x))=(3x+1)2−5. qp(x)=q(p(x))=(3x+1)^2-5. qp(x)=q(p(x))=(3x+1)2−5.

Therefore,

(3x+1)2−5=11, (3x+1)^2-5=11, (3x+1)2−5=11, (3x+1)2=16, (3x+1)^2=16, (3x+1)2=16,

so

3x+1=4or3x+1=−4. 3x+1=4 \qquad \text{or} \qquad 3x+1=-4. 3x+1=4or3x+1=−4.

Hence

x=1orx=−53. x=1 \qquad \text{or} \qquad x=-\frac{5}{3}. x=1orx=−35​.

Try 4 more inverse and composite functions practice questions.

Four more exam-style practice questions

Question 1

Given

f(x)=5x−7, f(x)=5x-7, f(x)=5x−7,

find f−1(x)f^{-1}(x)f−1(x).

Answer:

f−1(x)=x+75. f^{-1}(x)=\frac{x+7}{5}. f−1(x)=5x+7​.

Question 2

Given

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

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

Answer:

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

Question 3

Given

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

solve fg(x)=21fg(x)=21fg(x)=21.

Answer:

f(g(x))=2(3x−1)+5=6x+3, f(g(x))=2(3x-1)+5=6x+3, f(g(x))=2(3x−1)+5=6x+3,

so

6x+3=21 6x+3=21 6x+3=21

and

x=3. x=3. x=3.

Question 4

The function fff is defined by

f(x)=x−32. f(x)=\frac{x-3}{2}. f(x)=2x−3​.

Find f−1(7)f^{-1}(7)f−1(7).

Answer: First find the inverse:

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

Therefore,

f−1(7)=17. f^{-1}(7)=17. f−1(7)=17.

For a larger set with worked solutions and mark schemes, use the MathsGenie inverse and composite functions question bank. You can also work through the printable exam booklet.

Common mistakes in the hardest functions questions

Applying functions in the wrong order

fg(x)fg(x)fg(x) means f(g(x))f(g(x))f(g(x)), not g(f(x))g(f(x))g(f(x)). Write the expanded notation before doing any algebra.

Treating an inverse as a reciprocal

f−1(x)f^{-1}(x)f−1(x) reverses the operation performed by fff. It does not mean 1/f(x)1/f(x)1/f(x).

Substituting without brackets

If f(x)=x2+3xf(x)=x^2+3xf(x)=x2+3x, then

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

Brackets preserve the structure of the input and prevent sign errors.

Losing a quadratic solution

From u2=25u^2=25u2=25, the correct conclusion is u=5u=5u=5 or u=−5u=-5u=−5. Both branches must be considered unless a domain restriction removes one.

Ignoring restrictions

A denominator cannot be zero. A real square root requires a non-negative input. If a function has been restricted so that it possesses an inverse, that restriction must be respected.

Failing to check after squaring

Squaring can create answers that do not satisfy the original equation. Substitute each proposed solution into the equation before giving the final answer.

How to revise GCSE functions effectively

Begin by making sure that ordinary substitution and algebraic rearrangement are secure. Then practise composite functions, inverse functions and equations that combine both ideas.

The MathsGenie inverse and composite functions revision lesson brings the relevant resources together. The revision guide is useful before attempting questions independently.

After topic practice, complete full GCSE past papers and mark schemes under timed conditions. This matters because functions may appear alongside quadratics, algebraic fractions or problem-solving rather than as an isolated exercise.

Conclusion

The hardest GCSE Maths functions questions test careful notation and strong algebra together. Read composite functions from right to left, use brackets during substitution, rearrange systematically when finding an inverse, and check every solution against restrictions.

MathsGenie provides revision lessons, exam-style questions, worked solutions, booklets, past papers and mark schemes. Review the lesson first if the notation is uncertain, then use the linked practice questions to develop the accuracy needed for Higher tier problems.

Sources and referenced URLs

  • https://mathsgenie.co.uk/blog/gcse-maths-topics-by-exam-board-and-tier
  • https://mathsgenie.co.uk/gcse/maths/edexcel/grade-7-7-9-inverse-and-composite-functions
  • https://mathsgenie.co.uk/gcse/maths/edexcel/grade-7-7-9-inverse-and-composite-functions/revision-guides
  • https://mathsgenie.co.uk/gcse/maths/edexcel/grade-7-7-9-inverse-and-composite-functions/questions
  • https://mathsgenie.co.uk/gcse/maths/edexcel/grade-7-7-9-inverse-and-composite-functions/questions/q5
  • https://mathsgenie.co.uk/gcse/maths/ocr/grade-7-7-9-inverse-and-composite-functions/booklet
  • https://mathsgenie.co.uk/gcse/maths/edexcel
  • What makes a GCSE functions question difficult?
  • Function notation you must understand
  • Hardest GCSE Maths functions questions: worked examples
  • A reliable method for difficult functions questions
  • Choosing an efficient algebraic approach
  • Understanding domains, ranges and restrictions
  • Embedded exam-style question
  • Four more exam-style practice questions
  • Common mistakes in the hardest functions questions
  • How to revise GCSE functions effectively
  • Conclusion
  • Sources and referenced URLs

Frequently Asked Questions

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

More from the blog

Averages from Frequency Tables GCSE Maths Guide

20 Nov 2026

Averages from Frequency Tables GCSE Maths Guide

Learn averages from frequency tables for GCSE Maths. Study worked examples, avoid common mistakes and answer exam-style questions with solutions.

20 Nov 2026

Last-Minute GCSE Maths Foundation Revision

Revise the most often tested GCSE Maths Foundation topics with a practical checklist, short examples, exam technique and timed-paper advice.

20 Nov 2026

Last-Minute GCSE Maths Revision: Higher Topics

Prioritise the most often tested Higher GCSE Maths areas, practise key methods and improve exam technique with this focused last-minute checklist.

20 Nov 2026

Histograms GCSE Maths Revision Guide

Learn histograms for GCSE Maths Higher tier, including frequency density, drawing and interpreting histograms, worked examples and exam questions.

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.