Composite Functions: past-paper questions with worked solutions
Think you’ve got Composite Functions? Prove it.

Most marks are lost in the working, not the answer. I check every line.
The question, in short
? / 3
4024/22 May/Jun 2026 Q13
Given f(x) = 2x + 3 and g(x) = 1/(x − 2), evaluate f and the composite gf.
In our own words. See the official paper for the exact wording.
Try this question
No card needed. Marked in seconds.
All 83 questions, with worked solutions
83 real exam questions on composite functions from 0580, 4MA1, 4024, 0606, each with a full worked solution.
New to this? Read the free lesson on composite functions first →
الدوال المركبة: الأسئلة بالشرح العربي
Cambridge IGCSE Mathematics (0580)
- 0580/42 Feb/Mar 2026 Q15 · 8 marksGiven f(x) = 10 − 2x and g(x) = 2x² + 3, find a range, an inverse function, a composite function, and evaluate an inverse for h(x) = 10^(2/x).
- 0580/41 May/Jun 2026 Q20 · 9 marksWork with functions f, g, h and j: evaluate, solve a composite equation, find a range from a domain, and solve with an inverse.
- 0580/42 May/Jun 2026 Q17 · 7 marksf(x) = 20 − 3x, g(x) = 64/2ˣ and h(x) = 7 + 2x. Find f(4), the inverse of h, gg(5), and solve g⁻¹(x) = 8.
- 0580/43 May/Jun 2026 Q18 · 8 marksWork with f(x) = 3x + 1 and g(x) = 5 − 3x: solve an equation, invert, compose, then use an inverse for h(x) = 2²ˣ.
- 0580/42 Feb/Mar 2025 Q14 · 5 marksFor f(x) = 5 − 4x, evaluate the function at a value, form a composite expression in x, and find the inverse function.
- 0580/21 May/Jun 2025 Q14 · 8 marksGiven f(x) = 3x − 4 and g(x) = 4x + 1, evaluate and invert f, find the form of fg(x), and combine two fractions.
- 0580/23 May/Jun 2025 Q22 · 8 marksWork with f(x) = 2x + 5, g(x) = x − 4 and h(x) = 5ˣ: evaluate, invert and solve.
- 0580/21 Oct/Nov 2025 Q18 · 4 marksUse f(x) = 2x + 5 to expand f(x)f(x) − ff(x) and find the coefficients a, b and c of ax² + bx + c.
- 0580/22 Oct/Nov 2025 Q20 · 11 marksWork with f(x) = 21/(2x − 1) and g(x) = 3x + 4: evaluate, compose, invert and solve an equation.
- 0580/43 Oct/Nov 2025 Q19 · 8 marksUse f(x) = 5ˣ, g(x) = 3x − 2 and h(x) = x² + 1 to evaluate, invert and compose functions, then solve an equation.
- 0580/42 Feb/Mar 2024 Q11 · 10 marksWork with f(x) = 1/x, g(x) = 3x − 5 and h(x) = 2ˣ: composite and inverse functions, substitution and solving equations.
- 0580/41 May/Jun 2024 Q9 · 12 marksGiven f(x) = 4x + 1, g(x) = 6 − 2x and h(x) = 3^(x − 2), evaluate values, find an inverse, and solve equations involving these functions.
- 0580/42 May/Jun 2024 Q7 · 11 marksSolve a linear equation, factorise two expressions, and evaluate functions f and g, including a composition and an equation g(k) = f(7).
- 0580/41 Oct/Nov 2024 Q8 · 19 marksWith f(x) = 7 − 3x and g(x) = x² − 16, solve, invert, compose, sketch and find a tangent, then sketch y = 3ˣ and name its asymptote.
- 0580/42 Oct/Nov 2024 Q9 · 8 marksWith f(x) = 2x − 5 and g(x) = x² − 2x, evaluate, combine and invert functions, then simplify an expression.
- 0580/43 Oct/Nov 2024 Q11 · 14 marksWork with functions f, g, h and j: evaluate, combine, invert, compose, and solve using exponents.
- 0580/42 Feb/Mar 2023 Q11 · 10 marksUse four given functions f, g, h and j to evaluate, solve, compose and identify a self-inverse function.
- 0580/23 May/Jun 2023 Q20 · 6 marksWork with f(x) = 6x − 7 and g(x) = x⁻³: substitute, invert and solve.
- 0580/41 May/Jun 2023 Q10 · 9 marksUsing f(x) = x − 4, g(x) = 2x + 5 and h(x) = 3ˣ, evaluate, invert and combine these functions, then solve an equation linking h, g and f.
- 0580/41 Oct/Nov 2023 Q9 · 15 marksUsing f, g and h defined with products, linear and exponential forms, evaluate, invert, solve and expand to find coefficients.
- 0580/42 Oct/Nov 2023 Q11 · 14 marksUse f(x) = 1 − 3x, g(x) = (x − 1)² and h(x) = 3/x to evaluate, compose, invert, and solve for unknown values.
- 0580/43 Oct/Nov 2023 Q6 · 12 marksUsing f, g and h: evaluate and compose, find an inverse, solve an exponential equation, and combine 1/f(x) and h(x) into one fraction.
- 0580/42 Feb/Mar 2022 Q3 · 6 marksFor f(x) = 1 + 4x and g(x) = x², evaluate a composite at 3, form a composite function, simplify an inverse composition, and solve f(x) = 15.
- 0580/22 May/Jun 2022 Q19 · 4 marksFor f, g and h, find the inverse of f and the x value at which h(x) equals g(1/3).
- 0580/23 May/Jun 2022 Q19 · 7 marksGiven four functions f, g, h and j, find k from f(−5k) = 675, a composite gh, and the simplified sum of h's inverse and j.
- 0580/41 May/Jun 2022 Q4 · 11 marksWork with four functions f, g, h and j: evaluate, compose, invert and combine them.
- 0580/22 Oct/Nov 2022 Q17 · 6 marksGiven f(x) = x², g(x) = (x + 5)/2 and h(x) = 7x − 3, evaluate f(−3), find the inverse of g, and solve gf(x) = hh⁻¹(63) for x > 0.
- 0580/23 Oct/Nov 2022 Q19 · 6 marksGiven f(x) = 5x − 3 for x > 1 and g(x) = 10/(x − 2) for x ≠ 2, find a composite function, an inverse, and a composition involving f and its inverse.
- 0580/41 Oct/Nov 2022 Q7 · 16 marksWork with four functions: evaluate, compose, solve equations, find an inverse, combine into one fraction, expand a difference of squares and use an exponential inverse.
- 0580/22 May/Jun 2021 Q18 · 4 marksGiven f(x) = x² − 25 and g(x) = x + 4, solve the equation fg(x + 1) = gf(x).
- 0580/41 May/Jun 2021 Q12 · 14 marksUsing f(x) = 3 − 2x, g(x) = x² + 5 and h(x) = x³, evaluate functions, compose them, solve an equation and find an inverse.
- 0580/43 May/Jun 2021 Q10 · 11 marksWork with four functions: evaluate and compose them, find an inverse, build a composite in quadratic form, differentiate, and use an exponential's inverse.
- 0580/22 Oct/Nov 2021 Q20 · 5 marksGiven f(x) = 2ˣ⁻³, g(x) = 2x − 1 and h(x) = 5/(x − 4), evaluate composite expressions and solve an equation linking f and h.
- 0580/43 Oct/Nov 2021 Q11 · 11 marksUse the four given functions f, g, h and j to evaluate, solve and invert, working with powers and composite functions.
- 0580/42 Feb/Mar 2020 Q10 · 15 marksUsing f(x) = 4x − 1, g(x) = x² and h(x) = 3⁻ˣ, simplify composite functions, find an inverse, prove an identity and solve equations.
- 0580/21 May/Jun 2020 Q14 · 5 marksUse composite functions to find an unknown constant, and find the inverse of a fraction function.
- 0580/42 May/Jun 2020 Q6 · 14 marksUsing f(x) = 3x + 2, g(x) = x² + 1 and h(x) = 4^x, evaluate and combine functions, find an inverse, and solve equations.
- 0580/43 May/Jun 2020 Q11 · 11 marksWork with functions f, g and h: evaluate and combine them, simplify a sum of fractions, solve an equation and find where h(p) = p.
- 0580/21 Oct/Nov 2020 Q17 · 6 marksUse f(x) = 3x² + a to find a, then combine and invert two linear functions g and h.
- 0580/42 Oct/Nov 2020 Q10 · 14 marksUsing f, g, h and j (x² + 1, 1 − 2x, 1/x, 5ˣ), evaluate, compose, invert and solve equations.
- 0580/43 Oct/Nov 2020 Q10 · 12 marksGiven f(x) = 4 − 3x, g(x) = x² + x and h(x) = 3ˣ, evaluate, invert and simplify combinations, and find k.
Pearson Edexcel International GCSE Mathematics A (4MA1)
- 4MA1/1H Jun 2025 Q16 · 4 marksFor f(x) = 9 − √x with x ≥ 0 and g(x) = 4x², evaluate f(9) and solve the inequality fg(x) < 0, showing algebraic working.
- 4MA1/2HR Jun 2025 Q19 · 3 marksGiven f(x) = 3x − 4 for x > 2 and g(x) = x/(2x + 1), state an excluded x value for g and find the composite gf(x) in simplest form.
- 4MA1/2H Nov 2025 Q19 · 3 marksWith f(x) = 3x − 2 and g(x) = x/(2x − 1), evaluate g and build the composite gf in simplest form.
- 4MA1/2HR Jun 2024 Q17 · 3 marksWith f(x) = x/(2x − 4) and g(x) = 3x + 1, find k such that fg(k) equals 2.
- 4MA1/1H Jan 2023 Q18 · 4 marksFor f(x) = k/x with integer k, find its inverse, evaluate g at −2, and form the composite hg in simplest form.
- 4MA1/1H Jun 2023 Q17 · 4 marksGiven g(x) = 11/(2x − 5) and h(x) = x² + 4 for x ≥ 0, find an excluded domain value for g and solve the composite equation gh(x) = 1.
- 4MA1/2H Nov 2023 Q19 · 7 marksWith f(x) = 5x + 7 and g(x) = 5/(2x − 9), find a domain restriction, a composite value and an inverse.
- 4MA1/2HR Jan 2022 Q23 · 4 marksGiven f(x) = x + 25 and g(x) = x² − 12x, h = fg with domain x ≤ 6. Give the inverse function h⁻¹(x).
- 4MA1/2HR Jun 2022 Q19 · 4 marksGiven f(x) = x² − 4 and g(x) = 2x + 1, solve the inequality fg(x) > 0, showing clear algebraic working.
- 4MA1/2HR Jan 2021 Q17 · 9 marksGiven f(x) = x² + 6 and g(x) = x − 10, work with these functions: evaluate a composite at 3, solve an equation, and handle h(x) = (2x − 4)/x including its domain and inverse.
- 4MA1/1H Jun 2021 Q24 · 6 marksGiven f(x) = 5x² − 10x + 7 for x ≥ 1 and g(x) = 7x − 6, find a composite value and derive the inverse of f.
- 4MA1/2H Nov 2021 Q15 · 6 marksGiven f(x) = 2x − 3 and g(x) = x/(3x + 1), identify an excluded x value for g, form the composite gf(x) in simplified form, and derive g⁻¹(x).
- 4MA1/1H Jan 2020 Q21 · 5 marksGiven f(x) = x² − 2x and g(x) = x + 3, and h(x) = fg(x) for x ≥ −2, find the inverse function h⁻¹(x).
- 4MA1/1HR Jan 2020 Q17 · 4 marksFor f(x) = (x − 4)², evaluate f(1) and give the range of f; for g(x) = 4/(x + 3), x ≠ −3, work out fg(2).
- 4MA1/1HR Nov 2020 Q16 · 9 marksGiven f(x) = 5x − 7 and g(x) = 5x/(x + 4), find an excluded domain value, a composite value, solve a composite equation, and find the inverse of g.
- 4MA1/1HR Jan 2019 Q23 · 6 marksFor f(x) = √(x² + k²)/x with x > 0 and k positive, determine a value p satisfying an inverse condition, and use g(x) = x² to express a in terms of k.
- 4MA1/2H Jan 2019 Q17 · 4 marksGiven f(x) = 4 − 3x and g(x) = 1/(1 − 2x), evaluate f at 5, find the excluded x for g, and work out the composite fg at −1.5.
- 4MA1/2HR Jun 2019 Q18 · 9 marksTwo functions, one a fraction in x and one a shift: the value excluded from the domain, a composite, an inverse, and a gradient estimated from a drawn curve.
- 4MA1/1H Jun 2018 Q14 · 7 marksFor f(x) = (3x − 5)/4 and g(x) = √(19 − x), evaluate f at −7, find the inverse of f, compute fg(3), and identify x values excluded from any domain of g.
- 4MA1/1HR Jun 2018 Q20 · 4 marksTwo functions f and g are given for x > 0. With h defined as the composite fg, find an expression for the inverse function h⁻¹.
Cambridge O Level Mathematics (4024)
- 4024/22 May/Jun 2026 Q13 · 3 marksGiven f(x) = 2x + 3 and g(x) = 1/(x − 2), evaluate f and the composite gf.
- 4024/23 May/Jun 2026 Q15 · 6 marksWith f(x) = 6x + 8 and g(x) = (x − 1)/3, evaluate f, find an inverse, and solve a composite equation.
- 4024/23 May/Jun 2025 Q10 · 7 marksUse f(x) = 3x − 5 and g(x) = 2 − 6x to evaluate, solve, compose and find a range.
- 4024/11 Oct/Nov 2025 Q19 · 3 marksGiven g(x) = x/2 + 4 and h(x) = 3x − 1, solve hg(x) = 5.
- 4024/12 Oct/Nov 2025 Q20 · 5 marksGiven f(x) = ax + 3 and g(x) = (x + b)², find the inverse of f, then use gf(x) = 9x² + 24x + 16 with positive integers a and b to find a and b.
- 4024/12 May/Jun 2024 Q20 · 5 marksGiven f(x) = (2 − 4x)/5, find the inverse function and simplify the difference between f(x) and f(2x).
- 4024/12 Oct/Nov 2024 Q22 · 6 marksGiven f(x) = (3x − 1)/2 and g(x) = 5ˣ, evaluate and invert f, then solve an equation linking f and g.
- 4024/12 May/Jun 2023 Q17 · 5 marksGiven f(x) = 2 − 3x and g(x) = x − 4, find an inverse function and solve an equation involving both.
- 4024/11 Oct/Nov 2023 Q22 · 6 marksGiven f(x) = x/4 + 3 and g(x) = 2(x − 1), evaluate f(−8), find the inverse function f⁻¹(x), and solve f(p) = g(p + 5) for p.
- 4024/22 Oct/Nov 2023 Q11 · 6 marksWith f(x) = 4x + 1 and g(x) = 2x − 3, evaluate, invert and combine fractions.
- 4024/12 Oct/Nov 2022 Q21 · 6 marksGiven f(x) = 1 + 3x/2 and g(x) = 2/(1 − x), find the inverse of f and solve an equation involving g and f.
- 4024/21 Oct/Nov 2022 Q4 · 9 marksGiven f(x) = x² − 7 and g(x) = (4 − 3x)/2, evaluate f(8), evaluate g(−2), find the inverse g⁻¹(x), and solve f(2x − 1) + 3 = 0.
- 4024/22 May/Jun 2021 Q8 · 8 marksGiven f(x) = 3x − 5 and g(x) = (4x + 4)/3, evaluate, solve inequalities and equations, and work with the inverse of g.
- 4024/11 Oct/Nov 2021 Q21 · 7 marksFor f(x) = 6/(2 − x), evaluate f(−1), find the inverse function f⁻¹(x), and solve f(t) = f(5t + 2) for t.
- 4024/12 Oct/Nov 2021 Q24 · 6 marksWith f(x) = 2x² + 7x + 4 and g(x) = 2x + 6, evaluate, invert and solve.
- 4024/21 Oct/Nov 2020 Q10 · 7 marksWith f(x) = (3 − 2x)/5 and g(x) = (x − 7)/4: evaluate f, find its inverse, and solve g(p) = f(p + 1).
- 4024/22 Oct/Nov 2020 Q6 · 8 marksGiven f and g, find f(−5), solve an inequality, find the inverse of f and solve f(p) = g(2p + 1).
Cambridge IGCSE Additional Mathematics (0606)
- 0606/21 May/Jun 2024 Q9 · 7 marksGiven f(x) = 3x²/(4x − 1) and g(x) = 1/x², both for x < 0, work with the composite functions and the inverse of f.
- 0606/23 Oct/Nov 2023 Q1 · 6 marksGiven f(x) = 2 sin x + 3 cos x and g(x) = e^(3x) − 1 for all real x, find a composite value, a composite function, and solve an inverse-function equation.
- 0606/12 Feb/Mar 2022 Q9 · 12 marksFor f(x) = ln(5x + 2) with the largest possible domain restriction x > a, find a, the range, the inverse and its domain, and sketch both graphs with exact axis intercepts; then solve g²(x) = −2 for g(x) = x^(1/2) − 4, x > 0.
- 0606/22 May/Jun 2021 Q13 · 7 marksFor x > 0, f(x) = (2x² − 1)/(3x) and g(x) = 1/x. Find a simplified composite expression, state the range of the inverse of f, and verify the given inverse form.
- 0606/21 Oct/Nov 2021 Q9 · 9 marksFor x > 1, f(x) = (x + 3)/(x − 1) and g(x) = 1 + x². Find the composite fg(x), the inverse g⁻¹(x), and solve f(x) = g(x) without a calculator.