Inverse and Composite Functions - Worksheets, Questions and Revision
58 original exam-style questions - 14 pages of questions with a full mark scheme - free printable PDF.
Inverse and Composite Functions revision guideMore GCSE Maths practiceMock exams
This topic is chapter 4 of GCSE Maths Higher Topic Workbook 3 and chapter 8 of GCSE Maths Grade 8-9 Booster 1.

A composite function combines two functions by substituting the output of one into another, written as fg(x), meaning do g first, then f. An inverse function, written f-1(x), reverses the effect of f, undoing it to get back to the input; both are tested at GCSE Higher, often alongside algebraic fractions.
- For a composite function fg(x), work out g(x) first, then substitute that whole expression into f(x) in place of x.
- Read composite function notation carefully: fg(x) means g acts first, not f.
- To find an inverse function f-1(x), write y = f(x), then rearrange the equation to make x the subject.
- Once rearranged, replace y with x (and x with f-1(x)) to write the final inverse function.
- Check your inverse is correct by substituting a number into f, then into f-1, and confirming you get back to the original number.
- For functions written as fractions, clear the fraction by multiplying both sides by the denominator before rearranging.
Worked example
f(x) = 3x - 4 and g(x) = x + 5. Find fg(x) and f-1(x).
- For fg(x), substitute g(x) = x + 5 into f in place of x: f(x + 5) = 3(x + 5) - 4.
- Expand and simplify: fg(x) = 3x + 15 - 4 = 3x + 11.
- For f-1(x), write y = 3x - 4 and rearrange to make x the subject: y + 4 = 3x, so x = (y + 4)/3.
- Replace y with x to write the inverse function: f-1(x) = (x + 4)/3.
- State the final answers: fg(x) = 3x + 11 and f-1(x) = (x + 4)/3.
7.9 Inverse and Composite Functions
Find (g o f)(3).
- A) (x + 1)2
- B) x2 + 1
- C) x2 + x
- D) 2x2 + 1
Solve (f o g)(x) = 17. Give all real solutions.
A correct answer earns full marks unless the question asks for working, a method, proof or explanation.
Question 1
- 8 caoB1
- Answer: 8
Question 2
- -5 caoB1
- Answer: -5
Question 3
- 8 caoB1
- Answer: 8
Question 4
- compute f(3)=9 then g(9)=9+1 or equivalentM1
- 10 caoA1
- Answer: 10
Question 5
- (a) substitute f(x) into g: g(f(x))=3(x-5)+2 or equivalentM1
- (a) 3x - 13 caoA1
- (a) Answer: 3x - 13
- (b) substitute g(x) into f: f(g(x))=(3x+2)-5 or equivalentM1
- (b) 3x - 3 caoA1
- (b) Answer: 3x - 3
Question 6
- method: set y=3x+4, swap x and y and solve for y or equivalentM1
- f-1(x) = (x - 4)/3 caoA1
- Answer: f-1(x) = (x - 4)/3
Question 7
- f(4) = 14 caoB1
- Answer: f(4) = 14
Question 8
- correctly finds g(2) = 6, or substitutes g(2) into f, oeM1
- fg(2) = 27 caoA1
- Answer: fg(2) = 27
Question 9
- substitutes g(x) into fM1
- expands bracketsM1
- -2x - 6A1
- Answer: -2x - 6
Question 10
- writes y = f(x) and attempts to rearrange for xM1
- correct rearrangementM1
- 6x + 4 oeA1
- Answer: 6x + 4
Question 11
- fg(x) = 5(-3x - 1) - 2M1
- -15x - 7 = 68 and attempts to solveM1
- x = -5A1
- Answer: x = -5
Question 12
- g(-3) = 1M1
- 1A1
- Answer: 1
Question 13
- writes y = f(x) and rearrangesM1
- takes the positive square rootM1
- √x + 5 oeA1
- Answer: √x + 5
Question 14
- fg(x) = 2(-x + 2) - 3M1
- -2x + 1 = -9 and attempts to solveM1
- x = 5A1
- Answer: x = 5
Question 15
- (-3)2 = 9 seen, oeM1
- f(-3) = 8 caoA1
- Answer: f(-3) = 8
Question 16
- -2 = (x + 2)/4 or finds f-1(x)M1
- -10A1
- Answer: -10
Question 17
- substitutes f(x) into gM1
- expands bracketsM1
- 15x + 34A1
- Answer: 15x + 34
Question 18
- f(-2) = -8M1
- 64A1
- Answer: 64
Question 19
- fg(x) = -5(-2x - 5) - 4M1
- 10x + 21 = -19 and attempts to solveM1
- x = -4A1
- Answer: x = -4
Question 20
- substitutes g(x) into fM1
- expands bracketsM1
- 5x - 11A1
- Answer: 5x - 11
Question 21
- 1 = (x + 2)/6 or finds f-1(x)M1
- 4A1
- Answer: 4
Question 22
- fg(x) = 4(2x + 5) - 2M1
- 8x + 18 = 2 and attempts to solveM1
- x = -2A1
- Answer: x = -2
Question 23
- writes y = f(x) and attempts to rearrange for xM1
- correct rearrangementM1
- (x - 5)/3 oeA1
- Answer: (x - 5)/3
Question 24
- g(3) = 8M1
- 30A1
- Answer: 30
Question 25
- substitutes g(x) into fM1
- expands bracketsM1
- 4x - 4A1
- Answer: 4x - 4
Question 26
- -1 = (x + 2)/2 or finds f-1(x)M1
- -4A1
- Answer: -4
Question 27
- writes y = f(x) and rearrangesM1
- takes the positive square rootM1
- √x - 6 oeA1
- Answer: √x - 6
Question 28
- substitutes g(x) into fM1
- expands bracketsM1
- x - 7A1
- Answer: x - 7
Question 29
- f(0) = 4M1
- 9A1
- Answer: 9
Question 30
- writes y = f(x) and attempts to rearrange for xM1
- correct rearrangementM1
- (x - 4)/7 oeA1
- Answer: (x - 4)/7
Question 31
- substitutes f(x) into gM1
- expands bracketsM1
- -20x - 4A1
- Answer: -20x - 4
Question 32
- 7 = (x + 6)/6 or finds f-1(x)M1
- 36A1
- Answer: 36
Question 33
- fg(x) = -2(5x - 1) - 2M1
- -10x = 30 and attempts to solveM1
- x = -3A1
- Answer: x = -3
Question 34
- g(-3) = 11M1
- 19A1
- Answer: 19
Question 35
- substitutes g(x) into fM1
- expands bracketsM1
- 3xA1
- Answer: 3x
Question 36
- fg(x) = 3(-3x + 4) + 4M1
- -9x + 16 = 25 and attempts to solveM1
- x = -1A1
- Answer: x = -1
Question 37
- 6 = (x + 5)/6 or finds f-1(x)M1
- 31A1
- Answer: 31
Question 38
- fg(x) = -1(-3x + 2) + 5M1
- 3x + 3 = 6 and attempts to solveM1
- x = 1A1
- Answer: x = 1
Question 39
- B caoB1
- Answer: B
Question 40
- writes y = 2x + 7 and rearranges to make x the subject, e.g. x = (y - 7)/2M1
- f-1(x) = (x - 7)/2 oe, caoA1
- Answer: f-1(x) = (x - 7)/2
Question 41
- (a) writes y = (x - 5)/3 and multiplies both sides by 3, e.g. 3y = x - 5M1
- (a) f-1(x) = 3x + 5 oe, caoA1
- (a) Answer: f-1(x) = 3x + 5
- (b) f-1(4) = 17 cao, ft from part (a)B1
- (b) Answer: f-1(4) = 17
Question 42
- (a) substitutes h(x) into g correctly, e.g. g(x2) = 4(x2) - 1M1
- (a) gh(x) = 4x2 - 1 oe, caoA1
- (a) Answer: gh(x) = 4x2 - 1
- (b) substitutes g(x) into h correctly, e.g. h(4x - 1) = (4x - 1)2M1
- (b) hg(x) = 16x2 - 8x + 1 oe, caoA1
- (b) Answer: hg(x) = 16x2 - 8x + 1
- (c) gh(2) = 15 correctly found, ft from part (a)B1
- (c) hg(2) = 49 correctly found and 15 not equal to 49 stated as conclusion, ft from part (b), csoB1
- (c) Answer: gh(2) = 15, hg(2) = 49, so gh(2) is not equal to hg(2)
Question 43
- substitutes g(x) into f correctly, e.g. f(x - 4) = 1/(x - 4)M1
- fg(x) = 1/(x - 4) oe, caoA1
- x = 4 stated (denominator cannot be zero)B1
- Answer: fg(x) = 1/(x - 4); undefined when x = 4
Question 44
- form equation 4x2 - 7 = 17 and solve to x2 = 6 or equivalentM1
- x = ±√6 caoA1
- Answer: x = ±√6
Question 45
- (a) writes y = 2x + 3 and rearranges to make x the subject, e.g. x = (y - 3)/2M1
- (a) f-1(x) = (x - 3)/2 oe, caoA1
- (a) Answer: f-1(x) = (x - 3)/2
- (b) sets (x - 3)/2 = 7 (ft from part (a)) or uses x = f(7), and forms a correct equationM1
- (b) x = 17 caoA1
- (b) Answer: x = 17
Question 46
- (a) substitutes f(x) into g correctly, e.g. 3(x2 + 2) - 1M1
- (a) gf(x) = 3x2 + 5 oe, caoA1
- (a) Answer: gf(x) = 3x2 + 5
- (b) substitutes g(x) into f correctly, e.g. (3x - 1)2 + 2M1
- (b) fg(x) = 9x2 - 6x + 3 oe, caoA1
- (b) Answer: fg(x) = 9x2 - 6x + 3
- (c) substitutes x = 2 into both expressions correctly, ft from parts (a) and (b)M1
- (c) -10 caoA1
- (c) Answer: gf(2) - fg(2) = -10
Question 47
- (a) writes y = 20m + 15 and rearranges to make m the subject, e.g. m = (y - 15)/20M1
- (a) C-1(x) = (x - 15)/20 oe, caoA1
- (a) correct interpretation, e.g. C-1(x) gives the number of months of membership that a total cost of x pounds buysB1
- (a) Answer: C-1(x) = (x - 15)/20; it gives the number of months of membership for a total cost of x pounds
- (b) substitutes x = 195 into C-1(x), ft from part (a)M1
- (b) 9 (months) caoA1
- (b) Answer: 9 months
Question 48
- forms ff(x) correctly, e.g. 2(2x - 1) - 1M1
- simplifies and sets equal to 11, e.g. 4x - 3 = 11, then rearranges, ftM1
- x = 3.5 oe (e.g. 7/2) caoA1
- Answer: x = 3.5
Question 49
- sets 2x2 - 3 = 5x - 6 and rearranges to form a quadratic equal to zero, e.g. 2x2 - 5x + 3 = 0M1
- correctly factorises or applies the quadratic formula to the equation from the previous mark, e.g. (2x - 3)(x - 1) = 0M1
- x = 1 caoA1
- x = 1.5 oe (e.g. 3/2) caoA1
- Answer: x = 1 or x = 1.5
Question 50
- forms fg(x) correctly, e.g. 3(x/2 + 1) - 2, oeM1
- simplifies and sets equal to 13, e.g. 3x/2 + 1 = 13, then rearranges, ftM1
- x = 8 caoA1
- Answer: x = 8
Question 51
- set y = (x - 1)/(x + 2) and multiply both sides by (x + 2) or equivalentM1
- rearrange to get terms with x and y on correct sides, e.g. yx + 2y = x - 1M1
- isolate x: x(y - 1) = -(1 + 2y) and solve for xM1
- f-1(x) = (1 + 2x)/(1 - x) cao; x ≠ 1 statedA1
- Answer: f-1(x) = (1 + 2x)/(1 - x); restriction x ≠ 1
Question 52
- correctly finds f-1(x) = (x - 5)/2M1
- substitutes f(x) = 2x + 5 into f-1, e.g. f-1(2x + 5) = ((2x + 5) - 5)/2M1
- simplifies fully to x, with no errors seen, csoA1
- Answer: f-1(f(x)) = x (shown)
Question 53
- writes y = (2x + 1)/(x - 3) and multiplies both sides by (x - 3), e.g. y(x - 3) = 2x + 1M1
- expands and collects all terms in x on one side, e.g. xy - 2x = 3y + 1M1
- factorises out x, e.g. x(y - 2) = 3y + 1, dependent on the previous method markdM1
- f-1(x) = (3x + 1)/(x - 2) oe, caoA1
- Answer: f-1(x) = (3x + 1)/(x - 2)
Question 54
- forms two correct equations, e.g. 2a + b = 7 and 5a + b = 16M1
- eliminates one variable correctly, e.g. subtracts to get 3a = 9M1
- a = 3 caoA1
- b = 1 cao, ft from their value of aA1
- Answer: a = 3, b = 1
Question 55
- (a) writes y = (x + 1)/(x - 2) and multiplies both sides by (x - 2), e.g. y(x - 2) = x + 1M1
- (a) expands and collects all terms in x on one side, e.g. xy - x = 2y + 1M1
- (a) factorises out x, e.g. x(y - 1) = 2y + 1, dependent on the previous method markdM1
- (a) g-1(x) = (2x + 1)/(x - 1) oe, caoA1
- (a) Answer: g-1(x) = (2x + 1)/(x - 1)
- (b) x = 2 (g(x) undefined)B1
- (b) x = 1 (g-1(x) undefined), ft from part (a)B1
- (b) Answer: g(x) is undefined at x = 2; g-1(x) is undefined at x = 1
Question 56
- correctly forms fg(x) = 2x + 5M1
- correctly forms gf(x) = 2x + 2M1
- correct reasoning that 2x + 5 = 2x + 2 leads to 5 = 2, which is false for all x, so there is no solution (or equivalent statement that the two expressions represent parallel lines with different intercepts and so never meet), csoC1
- Answer: No solutions (since 2x + 5 = 2x + 2 would require 5 = 2, which is impossible)
Question 57
- writes y = 1/(x - 1) + 2 and rearranges to isolate the fraction, e.g. y - 2 = 1/(x - 1)M1
- takes the reciprocal of both sides correctly, e.g. x - 1 = 1/(y - 2)M1
- f-1(x) = 1 + 1/(x - 2) oe, caoA1
- x is not equal to 2 stated as the excluded valueB1
- Answer: f-1(x) = 1 + 1/(x - 2), x is not equal to 2
Question 58
- writes y = (x + 2)/(x - 1) and multiplies both sides by (x - 1), e.g. y(x - 1) = x + 2, then collects terms in x, e.g. x(y - 1) = y + 2M1
- correctly makes x the subject, e.g. x = (y + 2)/(y - 1)M1
- concludes f-1(x) = (x + 2)/(x - 1), which is identical to f(x), hence f is self-inverse, csoA1
- Answer: f-1(x) = (x + 2)/(x - 1) = f(x), so f is self-inverse (shown)
Mark your answers
Check answers without an account. Some answers can be checked automatically; use the mark scheme to mark the rest.