Skip to content
Elite Mathematics
IGCSE · 4WM2H · Topic

Functions: past paper questions & worked solutions

Every Functions question in our Modular Unit 2 bank, 2020–2026, sorted from easiest to hardest. Functions belongs to Chapter 3: Sequences, Functions & Graphs of the IGCSE Maths course. Try each one first, then open the worked solution.

26questions
129marks in total
53%of papers (26 of 49) include it
0/15/11easy / medium / hard

Questions, easiest first

Level is estimated from marks: 1–2 easy, 3–4 medium, 5+ hard.

1. Nov 2025 P2H · Q19

Medium3 marks
Nov 2025 P2H Question 19 (3 marks): Functions – 19 The functions f and g are such that f(x) = 3x - 2 g(x) = 2 1 x x (a) Find g(3) (1) (b) Find gf(x) Give your answer in its simplest form. gf(x) = (2) (Total for Question 19 is 3 marks)
Show worked solution
  1. Evaluate fraction
    \[ f(x)=3x-2,\qquad g(x)=\frac{x}{x-1} \]
  2. (a)
    \[ g(3)=\frac{3}{3-1}=\frac32 \]
  3. (b)
    \[ gf(x)=g(f(x)) \]
    \[ gf(x)=\frac{3x-2}{(3x-2)-1} \]
    \[ gf(x)=\frac{3x-2}{3x-3} \]
Final answer

\(g(3)=\frac32\), and \(gf(x)=\dfrac{3x-2}{3x-3}\).

2. Jun 2025 P2HR · Q19

Medium3 marks
Jun 2025 P2HR Question 19 (3 marks): Functions – 19 The functions f and g are such that f( ) x x 3 4 where x > 2 g( ) x x x 2 1 (a) State the value of x that cannot be included in any domain of g (1) (b) Find gf(x) Give your answer in its simplest form. gf(x) = (2) (To
Show worked solution
  1. Evaluate fraction
    \[ f(x)=3x-4,\qquad g(x)=\frac{x}{2x+1} \]
  2. (a) The denominator of cannot

    (a) The denominator of \(g\) cannot be zero: \[ 2x+1=0 \]

    \[ x=-\frac12 \]
  3. (b)
    \[ gf(x)=g(f(x)) \]
    \[ gf(x)=\frac{3x-4}{2(3x-4)+1} \]
    \[ gf(x)=\frac{3x-4}{6x-7} \]
Final answer

Excluded value \(-\frac12\), and \(gf(x)=\dfrac{3x-4}{6x-7}\).

3. Jun 2024 P2HR · Q17

Medium3 marks
Jun 2024 P2HR Question 17 (3 marks): Functions – 17 f( ) x x x 2 4 g( ) x x 3 1 Given that fg(k) = 2 work out the value of k  k = (Total for Question 17 is 3 marks)
Show worked solution
  1. Evaluate fraction
    \[ f(x)=\frac{k}{2x-4},\qquad g(x)=3x+1 \]
  2. Given
    \[ fg(k)=2 \]
  3. This means
    \[ f(g(k))=2 \]
  4. Calculate value

    Now \[ g(k)=3k+1 \]

  5. Evaluate fraction

    So \[ f(g(k))=\frac{k}{2(3k+1)-4}=\frac{k}{6k-2} \]

    \[ \frac{k}{6k-2}=2 \]
    \[ k=12k-4 \]
    \[ 11k=4 \]
    \[ k=\frac{4}{11} \]
Final answer

\(k=\frac{4}{11}\).

4. Jan 2021 P1H · Q22

Medium3 marks
Jan 2021 P1H Question 22 (3 marks): Functions – 22 The function f is such that f(x) = x 2 - 8x + 5 where x < 4 Express the inverse function f -1 in the form f -1(x) = f -1(x) = (Total for Question 22 is 3 marks)
Show worked solution
  1. Calculate value
    \[ f(x)=x^2-8x+5 \]
    \[ f(x)=(x-4)^2-11 \]
  2. Let
    \[ y=(x-4)^2-11 \]
    \[ y+11=(x-4)^2 \]
  3. Find inverse function

    Since the domain is \(x<4\), take the negative square root:

    \[ x-4=-\sqrt{y+11} \]
    \[ x=4-\sqrt{y+11} \]
Final answer

\(f^{-1}(x)=4-\sqrt{x+11}\)

5. Jun 2026 4WM2HR · Q17

Medium4 marks
Jun 2026 4WM2HR Question 17 (4 marks): Functions – 17 The functions f and g are such that f(x) = x2 - 5, g(x) = 2x + 1. Solve fg(x) = 2gf(x). Show clear algebraic working.
Show worked solution
  1. fg(x): put g into f
    \[\mathrm{fg}(x)=(2x+1)^2-5=4x^2+4x-4\]
  2. gf(x): put f into g
    \[\mathrm{gf}(x)=2(x^2-5)+1=2x^2-9,\qquad 2\,\mathrm{gf}(x)=4x^2-18\]
  3. Solve
    \[4x^2+4x-4=4x^2-18\Rightarrow4x=-14\Rightarrow x=-3.5\]
Final answer

\(x=-3.5\)

6. Jun 2025 P1H · Q16

Medium4 marks
Jun 2025 P1H Question 16 (4 marks): Functions – 16 f (x) = 9 - x where x  0 g (x) = 4x 2 (a) Find f (9) (1) (b) Solve fg (x) < 0 Show clear algebraic working. (3) (Total for Question 16 is 4 marks)
Show worked solution
  1. Solve quadratic equation
    \[ f(x)=9-\sqrt{x},\qquad g(x)=4x^2 \]
  2. (a)
    \[ f(9)=9-\sqrt9=6 \]
  3. (b)
    \[ fg(x)=f(g(x))=9-\sqrt{4x^2} \]
    \[ =9-2|x| \]
  4. Solve
    \[ 9-2|x|<0 \]
    \[ 2|x|>9 \]
    \[ |x|>\frac92 \]
  5. Solve quadratic equation

    So \[ x<-\frac92 \quad \text{or} \quad x>\frac92 \]

  6. Solve quadratic equation

    If the input is restricted to \(x\ge0\), this becomes \(x>\frac92\).

Final answer

\(f(9)=6\), and \(x<-\frac92\) or \(x>\frac92\).

7. May 2025 4WM2HR · Q17

Medium4 marks
May 2025 4WM2HR Question 17 (4 marks): Functions – 17 The function g is defined as g x x x 3 2 (a) State the value of x that cannot be included in any domain of g (1) (b) Express the inverse function g−1 in the form g 1 x  g 1 x (3) (Total for Question 17 is 4 marks)
Show worked solution
  1. Required

    $g(x) = \\dfrac{3x}{x-2}$. (a) Value excluded from domain. (b) Find *g*<sup>−1</sup>(*x*).

  2. Part (a)

    The denominator must not equal zero: *x* − 2 ≠ 0.

  3. Answer

    *x* = 2 cannot be in any domain of *g*

  4. Set y g ( x

    Set *y* = *g*(*x*) and swap *x* ↔ *y*: $$x = \\frac{3y}{y-2}$$

  5. Multiply both sides by (

    Multiply both sides by (*y*−2): *x*(*y*−2) = 3*y* ⟹ *x**y* − 2*x* = 3*y*

  6. Collect y terms and factorise

    Collect *y* terms and factorise: *x**y* − 3*y* = 2*x* ⟹ *y*(*x*−3) = 2*x*

  7. Solve for y

    Solve for *y*: $$y = \\frac{2x}{x-3}$$

  8. Note

    *g*<sup>−1</sup>(*x*) is undefined at *x* = 3, which is the range restriction of *g*(*x*) (horizontal asymptote).

Final answer

$g^{-1}(x) = \\dfrac{2x}{x-3}$

8. Nov 2024 P1H · Q25

Medium4 marks
Nov 2024 P1H Question 25 (4 marks): Functions – 25 The function f is such that f x x x  2 24 7 2 where x 6 Find the inverse function f 1 x f 1 x (Total for Question 25 is 4 marks)
Show worked solution
  1. Calculate value
    \[ f(x)=2x^2-24x+7 \]
  2. Complete the square

    Complete the square:

    \[ f(x)=2(x^2-12x)+7 \]
    \[ f(x)=2[(x-6)^2-36]+7 \]
    \[ f(x)=2(x-6)^2-65 \]
  3. Let

    Let \(y=f(x)\).

    \[ y=2(x-6)^2-65 \]
    \[ y+65=2(x-6)^2 \]
    \[ \frac{y+65}{2}=(x-6)^2 \]
  4. Simplify surd

    Since \(x\ge 6\), take the positive square root:

    \[ x-6=\sqrt{\frac{y+65}{2}} \]
    \[ x=6+\sqrt{\frac{y+65}{2}} \]
  5. Replace by

    Replace \(y\) by \(x\).

Final answer

\(\displaystyle f^{-1}(x)=6+\sqrt{\frac{x+65}{2}}\)

9. May 2024 P1H · Q15

Medium4 marks
May 2024 P1H Question 15 (4 marks): Functions – 15 The function f is defined as f : x  3 1 2 x x (a) State the value of x that cannot be included in any domain of the function f (1) (b) Express the inverse function f -1 in the form f -1(x) = f -1(x) = (3) (Total for
Show worked solution
  1. Evaluate fraction
    \[ f(x)=\frac{3x+1}{x-2} \]
  2. (a) The denominator cannot be

    (a) The denominator cannot be zero, so \[ x-2=0 \]

    \[ x=2 \]
  3. (b) Let
    \[ y=\frac{3x+1}{x-2} \]
    \[ y(x-2)=3x+1 \]
    \[ yx-2y=3x+1 \]
    \[ x(y-3)=2y+1 \]
    \[ x=\frac{2y+1}{y-3} \]
  4. Evaluate fraction

    So \[ f^{-1}(x)=\frac{2x+1}{x-3} \]

Final answer

Excluded value \(2\), and \(f^{-1}(x)=\dfrac{2x+1}{x-3}\).

10. May 2023 P1H · Q17

Medium4 marks
May 2023 P1H Question 17 (4 marks): Functions – 17 The functions g and h are such that g(x) = 11 2 5 x - h(x) = x 2 + 4 x  0 (a) What value of x must be excluded from any domain of g? (1) (b) Solve gh(x) = 1 (3) (Total for Question 17 is 4 marks)
Show worked solution
  1. Find inverse function
    \[ g(x)=\frac{11}{2x-5},\qquad h(x)=x^2+4,\quad x\ge0 \]
  2. (a) The denominator of cannot

    (a) The denominator of \(g(x)\) cannot be zero.

    \[ 2x-5=0 \]
    \[ x=\frac52 \]
  3. Find inverse function

    So \(x=\frac52\) must be excluded.

  4. (b)
    \[ gh(x)=g(h(x))=\frac{11}{2(x^2+4)-5} \]
    \[ =\frac{11}{2x^2+3} \]
  5. Solve
    \[ \frac{11}{2x^2+3}=1 \]
    \[ 2x^2+3=11 \]
    \[ 2x^2=8 \]
    \[ x^2=4 \]
  6. Solve inequality

    Since \(x\ge0\), \[ x=2 \]

Final answer

Exclude \(x=\frac52\), and \(x=2\).

11. Jun 2022 P1H · Q14

Medium4 marks
Jun 2022 P1H Question 14 (4 marks): Functions – 14 The function f is defined as f : x  2 6 x x - x ≠ 6 (a) Find f(10) (1) (b) Express the inverse function f -1 in the form f -1 : x  f -1 : x  (3) (Total for Question 14 is 4 marks)
Show worked solution
  1. Evaluate fraction
    \[ f(x)=\frac{2x}{x-6} \]
  2. (a)
    \[ f(10)=\frac{2(10)}{10-6}=\frac{20}{4}=5 \]
  3. (b) Let
    \[ y=\frac{2x}{x-6} \]
    \[ y(x-6)=2x \]
    \[ yx-6y=2x \]
    \[ x(y-2)=6y \]
    \[ x=\frac{6y}{y-2} \]
  4. Evaluate fraction

    So \[ f^{-1}(x)=\frac{6x}{x-2} \]

Final answer

\(f(10)=5\), and \(f^{-1}(x)=\dfrac{6x}{x-2}\).

12. Jun 2022 P2HR · Q19

Medium4 marks
Jun 2022 P2HR Question 19 (4 marks): Functions – 19 f(x) = x 2 - 4 g(x) = 2x + 1 Solve fg(x) > 0 Show clear algebraic working. (Total for Question 19 is 4 marks)
Show worked solution
  1. Solve quadratic equation
    \[ f(x)=x^2-4,\qquad g(x)=2x+1 \]
    \[ fg(x)=f(g(x))=(2x+1)^2-4 \]
    \[ =4x^2+4x+1-4=4x^2+4x-3 \]
  2. Solve
    \[ 4x^2+4x-3>0 \]
  3. Factorise

    Factorise: \[ (2x+3)(2x-1)>0 \]

  4. The critical values are
    \[ x=-\frac32,\qquad x=\frac12 \]
  5. The product is positive outside

    The product is positive outside the roots.

Final answer

\(x<-\frac32\) or \(x>\frac12\).

13. Jan 2022 P2HR · Q23

Medium4 marks
Jan 2022 P2HR Question 23 (4 marks): Functions – 23 The functions f and g are such that f(x) = x + 25 g(x) = x2 - 12x The function h is such that h(x) = fg(x) The domain of h is {x : x < 6} Express the inverse function h-1 in the form h-1(x) = h-1(x) = (Total for Quest
Show worked solution
  1. Calculate value
    \[ f(x)=x+25 \]
    \[ g(x)=x^2-12x \]
    \[ h(x)=fg(x)=f(g(x)) \]
    \[ h(x)=x^2-12x+25 \]
    \[ h(x)=(x-6)^2-11 \]
  2. Let
    \[ y=(x-6)^2-11 \]
    \[ y+11=(x-6)^2 \]
  3. Find inverse function

    Since the domain of \(h\) is \(x<6\), take the negative square root:

    \[ x-6=-\sqrt{y+11} \]
    \[ x=6-\sqrt{y+11} \]
Final answer

\(h^{-1}(x)=6-\sqrt{x+11}\)

14. Jan 2020 P1HR · Q17

Medium4 marks
Jan 2020 P1HR Question 17 (4 marks): Functions – 17 The function f is such that f (x) = (x - 4)2 for all values of x. (a) Find f (1) (1) (b) State the range of the function f. (1) The function g is such that g(x) = 4 3 x + x ≠ -3 (c) Work out fg(2) (2) (Total for Quest
Show worked solution
  1. Calculate value
    \[ f(x)=(x-4)^2 \]
  2. (a)
    \[ f(1)=(1-4)^2=9 \]
  3. (b) A square is always

    (b) A square is always greater than or equal to zero, so the range is \[ f(x)\ge0 \]

  4. (c)
    \[ g(x)=\frac{4}{x+3} \]
    \[ g(2)=\frac{4}{2+3}=\frac45 \]
Final answer

\(f(1)=9\), range \(f(x)\ge0\), and \(g(2)=\frac45\).

15. Specimen 4WM2H · Q13

Medium4 marks
Specimen 4WM2H Question 13 (4 marks): Functions – 13 The function f is defined as f: x maps to 2x/(x - 6). (a) Find f(10). (b) Express the inverse function f^-1. (Total for Question 13 is 4 marks)
Show worked solution
  1. Evaluate fraction
    \[ f(10)=\frac{2(10)}{10-6}=\frac{20}{4}=5 \]
  2. Let

    For the inverse, let

    \[ y=\frac{2x}{x-6} \]
    \[ y(x-6)=2x \]
    \[ xy-6y=2x \]
    \[ x(y-2)=6y \]
    \[ x=\frac{6y}{y-2} \]
  3. Evaluate fraction

    So

    \[ f^{-1}:x\mapsto \frac{6x}{x-2} \]
Final answer

\(5\), and \(f^{-1}:x\mapsto \frac{6x}{x-2}\).

16. Jun 2026 P2H | L-to-M Unit 2 · Q16

Hard5 marks
Jun 2026 P2H | L-to-M Unit 2 Question 16 (5 marks): Functions – 16 The functions f and g are such that f( ) x x � � 4 g( ) x x � � 3 2 2 (a) Find g( ) 4 (1) (b) Find f −1 7 ( ) (2) (c) Express gf(x) in the form ax bx c 2 + + where a, b and c are integers. gf( ) x = (2) (Total for Que
Show worked solution
  1. Part (a) | Step 1
    \[g(4)=3(4)^2+2=48+2=50.\]

    Substitute 4 for the function input.

  2. Part (b) | Step 1

    If \(y=4+x\), then \(x=y-4\), so \(f^{-1}(x)=x-4\).

    Reverse the input-output relationship.

  3. Part (b) | Step 2
    \[f^{-1}(7)=7-4=3.\]

    Apply the inverse function to 7.

  4. Part (c) | Step 1
    \[gf(x)=g(f(x))=g(x+4)=3(x+4)^2+2.\]

    Apply f first and use its whole output as the input of g.

  5. Part (c) | Step 2
    \[3(x^2+8x+16)+2=3x^2+24x+50.\]

    Expand and collect the constant terms.

Final answer

(a) \(50\)

(b) \(3\)

(c) \(gf(x)=3x^2+24x+50\)

17. Jan 2022 P2H · Q25

Hard5 marks
Jan 2022 P2H Question 25 (5 marks): Functions – 25 The function g is defined as g : x  5 + 6x - x2 with domain {x : x  3} (a) Express the inverse function g-1 in the form g-1 : x  g-1 : x  (4) (b) State the domain of g-1 (1) (Total for Question 25 is 5 marks)
Show worked solution
  1. Calculate value
    \[ g(x)=5+6x-x^2 \]
  2. Complete the square

    Complete the square:

    \[ g(x)=14-(x-3)^2 \]
  3. Let
    \[ y=14-(x-3)^2 \]
    \[ (x-3)^2=14-y \]
  4. Find inverse function

    The domain of \(g\) is \(x\ge 3\), so take the positive square root:

    \[ x-3=\sqrt{14-y} \]
    \[ x=3+\sqrt{14-y} \]
  5. Simplify surd

    Therefore

    \[ g^{-1}:x\mapsto 3+\sqrt{14-x} \]
  6. Calculate statistic

    The range of \(g\) is \(x\le 14\), so this is the domain of \(g^{-1}\).

Final answer

(a) \(g^{-1}:x\mapsto 3+\sqrt{14-x}\), (b) domain \(x\le 14\)

18. Jan 2020 P1H · Q21

Hard5 marks
Jan 2020 P1H Question 21 (5 marks): Functions – 21 The functions f and g are such that f(x) = x2 - 2x g(x) = x + 3 The function h is such that h(x) = fg(x) for x  -2 Express the inverse function h-1(x) in the form h-1(x) = h-1(x) = (Total for Question 21 is 5 marks)
Show worked solution
  1. Calculate value
    \[ f(x)=x^2-2x \]
    \[ g(x)=x+3 \]
    \[ h(x)=fg(x)=f(g(x)) \]
    \[ h(x)=(x+3)^2-2(x+3) \]
    \[ h(x)=x^2+4x+3 \]
    \[ h(x)=(x+2)^2-1 \]
  2. Let
    \[ y=(x+2)^2-1 \]
  3. Find inverse function

    Since the domain is \(x\ge -2\), take the positive square root:

    \[ x+2=\sqrt{y+1} \]
    \[ x=\sqrt{y+1}-2 \]
Final answer

\(h^{-1}(x)=\sqrt{x+1}-2\)

19. Nov 2021 P2H · Q15

Hard6 marks
Nov 2021 P2H Question 15 (6 marks): Functions – 15 The functions f and g are such that f g ( ) ( ) x x x x x = - = 2 3 3 1 + (a) State the value of x that cannot be included in any domain of g (1) (b) Find gf(x) Simplify your answer. gf(x) = (2) (c) Express the invers
Show worked solution
  1. Evaluate fraction
    \[ f(x)=2x-3,\qquad g(x)=\frac{x}{3x+1} \]
  2. (a) The denominator of cannot

    (a) The denominator of \(g\) cannot be zero: \[ 3x+1=0 \]

    \[ x=-\frac13 \]
  3. (b)
    \[ gf(x)=g(f(x)) \]
    \[ gf(x)=\frac{2x-3}{3(2x-3)+1} \]
    \[ gf(x)=\frac{2x-3}{6x-8} \]
  4. (c) Let
    \[ y=\frac{x}{3x+1} \]
    \[ y(3x+1)=x \]
    \[ 3xy+y=x \]
    \[ x(3y-1)=-y \]
    \[ x=\frac{y}{1-3y} \]
  5. Evaluate fraction

    So \[ g^{-1}(x)=\frac{x}{1-3x} \]

Final answer

Excluded value \(-\frac13\), \(gf(x)=\dfrac{2x-3}{6x-8}\), and \(g^{-1}(x)=\dfrac{x}{1-3x}\).

20. May 2021 P1H · Q24

Hard6 marks
May 2021 P1H Question 24 (6 marks): Functions – 24 The functions f and g are defined as f(x) = 5x2 - 10x + 7 where x  1 g(x) = 7x - 6 (a) Find fg(2) (2) (b) Express the inverse function f -1 in the form f -1 (x) = f -1 (x) = (4) (Total for Question 24 is 6 marks)
Show worked solution
  1. (a)
    \[ g(2)=7(2)-6=8 \]
    \[ fg(2)=f(8) \]
    \[ f(8)=5(8)^2-10(8)+7 \]
    \[ f(8)=247 \]
  2. (b)
    \[ f(x)=5x^2-10x+7 \]
    \[ f(x)=5(x-1)^2+2 \]
  3. Let
    \[ y=5(x-1)^2+2 \]
    \[ (x-1)^2=\frac{y-2}{5} \]
  4. Find inverse function

    Since the domain is \(x\ge 1\), take the positive square root:

    \[ x=1+\sqrt{\frac{y-2}{5}} \]
Final answer

(a) \(247\), (b) \(f^{-1}(x)=1+\sqrt{\dfrac{x-2}{5}}\)

21. Jun 2026 P1HR | L-to-M Unit 2 · Q23

Hard7 marks
Jun 2026 P1HR | L-to-M Unit 2 Question 23 (7 marks): Functions – 23 The function f is such that f(x) = 1 x (a) Write down the value of x that cannot be included in any domain of f (1) The function g is such that g(x) = 4x 2 – 8x + 15 The domain of g is x  1 (b) Work out gf(0.5) (2) (
Show worked solution
  1. Part (a) | Step 1

    For \(f(x)=\frac1x\), the denominator is zero when \(x=0\).

    Division by zero is undefined, so this input must be excluded.

  2. Part (b) | Step 1
    \[f(0.5)=\frac{1}{0.5}=2.\]

    In gf, apply f first.

  3. Part (b) | Step 2
    \[gf(0.5)=g(2)=4(2)^2-8(2)+15=16-16+15=15.\]

    The input 2 lies in the stated domain x>=1 of g.

  4. Part (c) | Step 1
    \[y=4x^2-8x+15=4(x-1)^2+11.\]

    Complete the square to isolate the expression containing x.

  5. Part (c) | Step 2
    \[(x-1)^2=\frac{y-11}{4},\qquad x-1=\frac{\sqrt{y-11}}{2}.\]

    Choose the nonnegative root because the domain of g is x>=1.

  6. Part (c) | Step 3
    \[x=1+\frac{\sqrt{y-11}}{2}.\]

    Rearrange to make the original input the subject.

  7. Part (c) | Step 4
    \[g^{-1}(x)=1+\frac{\sqrt{x-11}}{2},\qquad x\ge11.\]

    Exchange the input and output labels; the range of g becomes the domain of the inverse.

Final answer

(a) \(x=0\) must be excluded.

(b) \(gf(0.5)=15\)

(c) \(g^{-1}(x)=1+\frac{\sqrt{x-11}}{2},\quad x\ge11\)

22. Nov 2025 4WM2H · Q21

Hard7 marks
Nov 2025 4WM2H Question 21 (7 marks): Functions – 21 The functions f and g are defined as f ( ) x x 5 3 g( ) x x x 4 16 9 2 where x −2 (a) Find g( ) −1 (1) (b) Find fg( ) x Give your answer in its simplest form. fg( ) x = (2) g( ) x x x 4 16 9 2 where x −2 (c) Express
Show worked solution
  1. (a) Find g ( 1)

    **(a) Find *g*(−1):** *g*(−1) = 4(−1)<sup>2</sup> + 16(−1) − 9 = 4 − 16 − 9 =  − 21

  2. Answer

    \(a\)  − 21

    **(b) Find *f**g*(*x*):** *f**g*(*x*) = *f*(*g*(*x*)) = 5(4*x*<sup>2</sup>+16*x*−9) − 3  = 20*x*<sup>2</sup> + 80*x* − 45 − 3 = 20*x*<sup>2</sup> + 80*x* − 48

  3. Answer

    \(b\) 20*x*<sup>2</sup> + 80*x* − 48

    Let *y* = 4*x*<sup>2</sup> + 16*x* − 9. We must rearrange to make *x* the subject.

    **Step 1: Complete the square for the *x* terms.** *y* = 4(*x*<sup>2</sup>+4*x*) − 9 *y* = 4((*x*+2)<sup>2</sup>−4) − 9 *y* = 4(*x*+2)<sup>2</sup> − 16 − 9 *y* = 4(*x*+2)<sup>2</sup> − 25

    **Step 2: Rearrange for *x*.** *y* + 25 = 4(*x*+2)<sup>2</sup> $$\\frac{y + 25}{4} = (x + 2)^2$$ $$x + 2 = \\pm\\sqrt{\\frac{y + 25}{4}}$$

    Since *x* ≥  − 2, *x* + 2 is positive, so we take the positive root. $$x + 2 = \\frac{\\sqrt{y + 25}}{2}$$ $$x = \\frac{\\sqrt{y + 25}}{2} - 2$$

    **Step 3: Swap *y* for *x* to write the inverse function.**

Final answer

$g^{-1}(x) = \\frac{\\sqrt{x + 25}}{2} - 2$

When finding the inverse of a quadratic, always complete the square. The restricted domain (*x* ≥  − 2) tells you whether to take the positive or negative square root!

23. May 2025 4WM2H · Q21

Hard7 marks
May 2025 4WM2H Question 21 (7 marks): Functions – 21 The function g is defined as x ≠ 0 (a) Solve gg (x) = 6 Show clear algebraic working. x = (3) P81641A ©2025 Pearson Education Ltd The function h is defined as h (x) = 5x2 + 30x − 7 x ⩾ − 3 (b) Express the inverse func
Show worked solution
  1. Evaluate fraction

    (a) If \(g(g(x))=6\), then

    \[ \frac{7g(x)+20}{2g(x)}=6 \]
    \[ 7g(x)+20=12g(x) \]
    \[ g(x)=4 \]
  2. Evaluate fraction

    So

    \[ \frac{7x+20}{2x}=4 \]
    \[ 7x+20=8x \]
    \[ x=20 \]
  3. (b)
    \[ h(x)=5x^2+30x-7=5(x+3)^2-52 \]
  4. Simplify surd

    Let \(y=5(x+3)^2-52\). Since \(x\ge -3\), use the positive square root:

    \[ x+3=\sqrt{\frac{y+52}{5}} \]
    \[ h^{-1}(x)=\sqrt{\frac{x+52}{5}}-3 \]
Final answer

\(x=20\); \(h^{-1}(x)=\sqrt{\dfrac{x+52}{5}}-3\).

24. Nov 2023 P2H · Q19

Hard7 marks
Nov 2023 P2H Question 19 (7 marks): Functions – 19 The functions f and g are such that f g : : x x x x   5 7 5 2 9 (a) State which value of x cannot be included in any domain of g (1) (b) Find fg(4) (2) The function h is such that h:x x x 3 12 8 2 where x > 2 (c) E
Show worked solution
  1. Evaluate fraction
    \[ f(x)=5x+7,\qquad g(x)=\frac{5}{2x-9} \]
  2. (a) The denominator of cannot

    (a) The denominator of \(g\) cannot be zero: \[ 2x-9=0 \]

    \[ x=\frac92 \]
  3. (b)
    \[ g(4)=\frac{5}{8-9}=-5 \]
    \[ fg(4)=f(-5)=5(-5)+7=-18 \]
  4. (c)
    \[ h(x)=3x^2-12x+8,\qquad x>2 \]
  5. Complete the square

    Complete the square: \[ h(x)=3(x-2)^2-4 \]

  6. Let
    \[ y=3(x-2)^2-4 \]
    \[ y+4=3(x-2)^2 \]
    \[ x-2=\sqrt{\frac{y+4}{3}} \]
  7. Simplify surd

    Since \(x>2\), take the positive root: \[ x=2+\sqrt{\frac{y+4}{3}} \]

  8. Simplify surd

    So \[ h^{-1}(x)=2+\sqrt{\frac{x+4}{3}} \]

Final answer

Excluded value \(\frac92\), \(fg(4)=-18\), and \(h^{-1}(x)=2+\sqrt{\frac{x+4}{3}}\).

25. Jan 2021 P2HR · Q17

Hard9 marks
Jan 2021 P2HR Question 17 (9 marks): Functions – 17 The functions f and g are defined as f(x) = x 2 + 6 g(x) = x - 10 (a) Find fg(3) (2) (b) Solve the equation fg(x) = f(x) Show clear algebraic working. (3) The function h is defined as h(x) = 2 4 x x - (c) State the va
Show worked solution
  1. Solve quadratic equation
    \[ f(x)=x^2+6,\qquad g(x)=x-10 \]
  2. (a)
    \[ g(3)=3-10=-7 \]
    \[ fg(3)=f(-7)=(-7)^2+6=55 \]
  3. (b)
    \[ fg(x)=f(g(x))=(x-10)^2+6 \]
  4. Solve

    Solve \(fg(x)=f(x)\): \[ (x-10)^2+6=x^2+6 \]

    \[ x^2-20x+100=x^2 \]
    \[ -20x+100=0 \]
    \[ x=5 \]
  5. (c)
    \[ h(x)=\frac{2x-4}{x} \]
  6. Solve quadratic equation

    The denominator cannot be zero, so \(x=0\) cannot be included.

  7. (d) Let
    \[ y=\frac{2x-4}{x} \]
    \[ y=2-\frac4x \]
    \[ y-2=-\frac4x \]
    \[ x=\frac{4}{2-y} \]
  8. Solve quadratic equation

    Therefore \[ h^{-1}(x)=\frac{4}{2-x} \]

Final answer

\(fg(3)=55\), \(x=5\), excluded value \(0\), and \(h^{-1}(x)=\dfrac{4}{2-x}\).

26. May-Nov 2020 P1HR · Q16

Hard9 marks
May-Nov 2020 P1HR Question 16 (9 marks): Functions – 16 The functions f and g are defined as f : x  5x - 7 g : x  5 4 x x + (a) Write down the value of x that must be excluded from any domain of g (1) (b) Find gf(2.6) (2) (c) Solve fg(x) = 2 x = (3) (d) Express the inver
Show worked solution
  1. Evaluate fraction
    \[ f(x)=5x-7,\qquad g(x)=\frac{5x}{x+4} \]
  2. (a) The denominator of cannot

    (a) The denominator of \(g\) cannot be zero, so \[ x=-4 \]

  3. (b)
    \[ f(2.6)=5(2.6)-7=6 \]
    \[ gf(2.6)=g(6)=\frac{5(6)}{6+4}=3 \]
  4. (c)
    \[ fg(x)=2 \]
    \[ f(g(x))=2 \]
    \[ 5g(x)-7=2 \]
    \[ g(x)=\frac95 \]
    \[ \frac{5x}{x+4}=\frac95 \]
    \[ 25x=9x+36 \]
    \[ 16x=36 \]
    \[ x=\frac94 \]
  5. (d) Let
    \[ y=\frac{5x}{x+4} \]
    \[ y(x+4)=5x \]
    \[ yx+4y=5x \]
    \[ x(y-5)=-4y \]
    \[ x=\frac{4y}{5-y} \]
  6. Evaluate fraction

    So \[ g^{-1}(x)=\frac{4x}{5-x} \]

Final answer

\(-4\), \(3\), \(x=\frac94\), and \(g^{-1}(x)=\dfrac{4x}{5-x}\).

More IGCSE Maths 4WM2H topics

Dr Eslam Ahmed
Dr Eslam Ahmed

Elite Mathematics · Questions classified by topic, solutions checked by Dr Eslam