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

Most marks are lost in the working, not the answer. I check every line.
The question, in short
? / 2
4MA1/2FR Jun 2025 Q6
A number machine multiplies the input by 4 then subtracts 15; find the output for two given inputs.
In our own words. See the official paper for the exact wording.
Try this question
No card needed. Marked in seconds.
All 70 questions, with worked solutions
70 real exam questions on functions as a mapping from 0580, 4MA1, 4024, each with a full worked solution.
New to this? Read the free lesson on functions as a mapping first →
الدوال كتطبيق: الأسئلة بالشرح العربي
Cambridge IGCSE Mathematics (0580)
- 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/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/42 May/Jun 2025 Q19 · 6 marksUse the functions f(x) = x + 1, g(x) = 5 − 2x and h(x) = 2ˣ to evaluate, find a range, and solve for x.
- 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/41 Oct/Nov 2025 Q28 · 3 marksf(x) = 7^(x − 4). Find x when f(x) = 1, and when f⁻¹(x) = 1.
- 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 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/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/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/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/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/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/41 Oct/Nov 2021 Q8 · 16 marksFor f(x) = 3 − 5x and g(x) = 18 − 3x − x², find values, inverse, completed-square form, sketch with turning point, and tangent at x = 4.
- 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/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/2FR Jun 2025 Q6 · 2 marksA number machine multiplies the input by 4 then subtracts 15; find the output for two given inputs.
- 4MA1/2F Nov 2025 Q6 · 2 marksUse number machines: find the output for input 8 in a × 3 then − 9 machine, then choose a second step so input 8 gives output 4 after + 12.
- 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/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/1HR Jan 2023 Q16 · 6 marksFor f(x) = 2/(3x − 5), x ≠ 5/3, evaluate f at 1/3, derive the inverse function, and rewrite g(x) = 5x² − 20x + 23 in completed-square form a(x − b)² + c.
- 4MA1/2F Jan 2023 Q8 · 5 marksApply two number machines and a hire-cost rule: find outputs, complete a missing operation, and work out a cost and a number of days.
- 4MA1/1F Jun 2023 Q9 · 3 marksUse number machines.
- 4MA1/2F Nov 2023 Q10 · 4 marksUse a two-step number machine to find the multiplier, then write the output of a second machine in terms of x.
- 4MA1/2F Jan 2022 Q2 · 6 marksUse the given list of seven numbers to pick out numbers of stated types, then reverse a number machine that multiplies by 5 and adds 3.
- 4MA1/1H Jun 2022 Q14 · 4 marksEvaluate a rational function at x = 10, then rearrange to find its inverse function, stating it in the form f⁻¹ : x ↦ …
- 4MA1/2F Jan 2021 Q5 · 5 marksA number machine applies ×3, then +5, then ÷2 to its input. Find an output, reverse the machine for a given output, and express the output P in terms of input n.
- 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/2F Jan 2020 Q7 · 4 marksComplete three number machines by filling in missing outputs, inputs or operations so each machine works correctly.
- 4MA1/2FR Jan 2019 Q7 · 3 marksA number machine halves the input then adds 10. Find the output for an input of 8, and find the input that gives an output of 120.
- 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/1FR Jun 2019 Q10 · 5 marksA number machine multiplies the input by 7 then subtracts 9; find outputs, reverse the process, and express the output in terms of y.
- 4MA1/2H Jun 2019 Q24 · 5 marksFor f(x) = 3x − 2 find f(5), and for g(x) = 2x² − 20x + 9 with x ≥ 5 find the inverse function g⁻¹(x).
- 4MA1/1FR Jun 2018 Q6 · 5 marksApply two number machines: one multiplies by 4 then subtracts 8, the other multiplies by 5 then adds x; find outputs, inputs and the value of x.
- 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.
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/22 May/Jun 2025 Q17 · 3 marksFor f(x) = (10 − x)/3 find f(−8), and for g(x) = 4x + 3 find the inverse function g⁻¹(x).
- 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 May/Jun 2024 Q19 · 6 marksFor f(x) = 2x − 5, evaluate f(11), find the inverse function f⁻¹(x), and solve f(x) = x² + x − 11.
- 4024/11 Oct/Nov 2024 Q22 · 4 marksFor f(x) = 3x² + 5, evaluate f(−1) and solve the equation f(2x) = 17 for x.
- 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/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/11 May/Jun 2022 Q20 · 4 marksFor f(x) = (6x + 2)/5, evaluate the function at x = 3 and determine the inverse function f⁻¹(x).
- 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/21 May/Jun 2021 Q6 · 10 marksWith f and g given, evaluate g(−1), solve f(x) = 2, find the inverse of g and find when f is 4 more than g.
- 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/11 May/Jun 2020 Q17 · 3 marksFor f(x) = 5 − 4x, work out the value at x = −3 and determine the inverse function.
- 4024/12 May/Jun 2020 Q22 · 5 marksWith f(x) = 4(3 − x) and g(x) = 5(3x − 2)/x, find an inverse and solve an equation.
- 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).