Printable · GCSE Higher · ages 14-16
Functions, inverse and composite functions worksheet — GCSE Higher
Fifteen questions on "functions, inverse and composite functions" — DfE statement A7. Print it, or print three versions so neighbours cannot copy by letter; the key gives the letter for each version.
part HigherNon-calculator
Functions, inverse and composite functions worksheet — GCSE Higher
MathsUKwww.geekhero.co.uk
- 1.f(x) = 2x² + 1 and g(x) = x − 1. Work out fg(x), giving your answer in expanded form.y = 2x² + 1
- 2.f(x) = 2x + 1. Work out the value of x for which f⁻¹(x) = 5.y = 2x + 1
- 3.Ben is asked to find the inverse of f(x) = 4 − 3x. He writes f⁻¹(x) = (4 − x)/3. Which statement about Ben's answer is correct?
- 4.The function f(x) = x² for all real values of x has no inverse function, but g(x) = x² for x ≥ 0 does have one. Which statement correctly explains this?y = x²
- 5.A plumber charges a call-out fee of £30 plus £25 per hour worked. Work out the total charge for a job that takes 3 hours.
- 6.A number machine multiplies its input by 2 and then subtracts 5. Work out the output when the input is 6.
- 7.A rule turns each input x into an output y. The inputs are x = 0, 1, 2, 3 and the outputs are y = 4, 7, 10, 13. Work out the output when x = 5.
- 8.f(x) = 2x − 1. Work out ff(x).y = 2x − 1
- 9.f(x) = (x + 1)/2. Find f⁻¹(x).
- 10.f(x) = x² − 1 and g(x) = 3x. Work out fg(4).y = x² − 1
- 11.y = 5 − 2x. Work out the value of x when y = 11.
- 12.A number machine multiplies its input by 3 and then adds 7. The output is 1. Work out the input.
- 13.A rule multiplies the input by a fixed number and then adds a fixed number. An input of 1 gives an output of 5, and an input of 3 gives an output of 11. Work out the rule, writing the input as x and the output as y.
- 14.A rule turns each input x into an output y. The inputs are x = 1, 2, 3, 4 and the matching outputs are y = −5, −3, −1 and one missing value. Work out the missing value of y.
- 15.A rule turns each input x into an output y. An input of 1 gives an output of 1, an input of 2 gives an output of 4 and an input of 3 gives an output of 9. Work out the rule.
Answer key
- (d) 2x² − 4x + 3 — fg(x) means f(g(x)): substitute g(x) into f in place of x. g(x) = x − 1, so fg(x) = f(x − 1) = 2(x − 1)² + 1. Expanding (x − 1)² = x² − 2x + 1, so fg(x) = 2(x² − 2x + 1) + 1 = 2x² − 4x + 2 + 1 = 2x² − 4x + 3. Writing 2x² comes from working out gf(x) instead — g(f(x)) = f(x) − 1 = (2x² + 1) − 1 = 2x², which applies the functions in the wrong order. Writing 2x² − 1 comes from expanding (x − 1)² as x² − 1, dropping the middle term, so f(x − 1) becomes 2(x² − 1) + 1 = 2x² − 2 + 1 = 2x² − 1. Writing 2x² − 4x + 2 comes from expanding correctly but forgetting the final + 1 from f, stopping at 2(x² − 2x + 1) = 2x² − 4x + 2.
- (d) 11 — f⁻¹(x) = 5 means x = f(5), since applying f to both sides undoes the inverse. f(5) = 2 × 5 + 1 = 11. Writing 2 comes from confusing f⁻¹(x) = 5 with f(x) = 5, and solving 2x + 1 = 5 instead: 2x = 4, x = 2. Writing 9 comes from finding f⁻¹(x) with a sign error, f⁻¹(x) = (x + 1)/2 instead of (x − 1)/2, then setting this equal to 5: x + 1 = 10, x = 9. Writing 6 comes from finding f⁻¹(x) without dividing by 2 at all, f⁻¹(x) = x − 1, then setting this equal to 5: x = 6.
- (c) Correct: 3y = 4 − x gives f⁻¹(x) = (4 − x)/3 — Swap x and y: x = 4 − 3y. Add 3y to both sides and subtract x from both sides: 3y = 4 − x. Divide by 3: y = (4 − x)/3, which is exactly what Ben wrote — his rearrangement is correct. Check with a value: f(1) = 4 − 3 = 1, and Ben's formula gives (4 − 1)/3 = 1, which matches. 'Correct, but only because f is its own inverse' gives the right verdict for a false reason — f(f(x)) = 4 − 3(4 − 3x) = 9x − 8, which is not x, so f is not self-inverse; Ben's rearrangement is correct for the ordinary algebraic reason above, not because of any special property of f. 'Wrong: sign kept, giving (−4 − x)/3' comes from not carrying the swap through consistently — testing x = 1 gives (−4 − 1)/3 = −5/3, which does not equal 1, so it is wrong. 'Wrong: correct inverse is (x − 4)/3' comes from writing 3y = x − 4 instead of 3y = 4 − x, a sign slip when isolating y — testing x = 1 gives (1 − 4)/3 = −1, which again does not equal 1.
- (d) g is one-to-one: f(3) = f(−3), removed by x ≥ 0 — A function has an inverse only if it is one-to-one: every output must come from exactly one input. f(3) = 9 and f(−3) = 9, so two different inputs give the same output, and there is no way to send 9 back to a single input — f is not one-to-one over all real x. Restricting the domain to x ≥ 0 removes one of the two inputs behind every such pair, so g is one-to-one and does have an inverse. 'g's outputs are positive; f's could be negative' is wrong because f(x) = x² also only gives outputs of 0 or more — the outputs of f and g are identical sets; it is the INPUTS that differ, not the outputs. 'Restricting any domain always creates an inverse' is wrong because a restriction only helps if it actually removes the repeated outputs: restricting f(x) = x² to x ≥ −3 still leaves f(1) = f(−1) = 1, so that restricted function is still not one-to-one and still has no inverse. 'Squares can never be reversed, under any conditions' is wrong because √9 = 3 does reverse 3² = 9 once you know the input was non-negative — a square root just cannot tell you WHICH of two inputs you started from unless the domain has already ruled one of them out.
- (b) £105 — The hourly charge is 25 × 3 = £75. Adding the call-out fee: £75 + £30 = £105. A candidate who forgets the call-out fee gives just the hourly charge, £75. A candidate who adds the call-out fee to the hourly rate before multiplying by the hours, (30 + 25) × 3, gets £165. A candidate who multiplies the call-out fee by the number of hours instead of the hourly rate, 30 × 3, gets £90.
- (a) 7 — Multiply the input by 2: 6 × 2 = 12. Then subtract 5: 12 − 5 = 7. A candidate who does the operations in the wrong order, subtracting 5 first and then multiplying by 2, gets (6 − 5) × 2 = 2. A candidate who only carries out the multiplication and forgets to subtract gets 12. A candidate who adds 5 instead of subtracting gets 6 × 2 + 5 = 17.
- (a) 19 — Each time x increases by 1, y increases by 3 (4, 7, 10, 13 — a constant difference of 3). So at x = 4, y = 13 + 3 = 16, and at x = 5, y = 16 + 3 = 19. A candidate who stops one step early, giving the value for x = 4 instead of x = 5, answers 16. A candidate who overcounts and adds three steps of 3 instead of two from x = 3 gets 13 + 9 = 22. A candidate who mistakes the y-intercept (4) for the common difference and adds 4 twice from x = 3 gets 13 + 8 = 21.
- (c) 4x − 3 — ff(x) means f(f(x)): substitute f(x) into f in place of x. f(f(x)) = 2 × f(x) − 1 = 2 × (2x − 1) − 1. Expanding the bracket: 2 × (2x − 1) = 4x − 2. Combining the constant terms: −2 − 1 = −3, so f(f(x)) = 4x − 3. Writing 4x − 2 comes from expanding 2(2x − 1) correctly to get 4x − 2, then forgetting to subtract the outer 1 at all. Writing 4x² − 4x + 1 comes from reading ff(x) as f(x) multiplied by itself, (2x − 1)(2x − 1) = 4x² − 4x + 1, instead of substituting f(x) into f. Writing 4x − 1 comes from doubling the coefficient of x in the original rule directly, without actually substituting f(x) into f at all.
- (a) 2x − 1 — Swap x and y: x = (y + 1)/2. Multiply both sides by 2: 2x = y + 1. Subtract 1 from both sides: y = 2x − 1, so f⁻¹(x) = 2x − 1. Writing 2x + 1 comes from not flipping the sign on the 1 when it is moved across the equals sign. Writing (x − 1)/2 comes from reversing the sign of the 1 but leaving the ÷2 from the original rule in place, instead of turning it into ×2. Writing x/2 − 1 comes from dividing only the x by 2 and treating the 1 as already outside the fraction.
- (b) 143 — fg(4) means f(g(4)): work out g(4) first, then substitute the result into f. g(4) = 3 × 4 = 12, then f(12) = 12² − 1 = 144 − 1 = 143. Working out gf(4) instead swaps the order: f(4) = 4² − 1 = 15, then g(15) = 3 × 15 = 45 — that is the wrong composition. Treating f(x) as x − 1 (forgetting to square the input) gives f(12) = 12 − 1 = 11. Applying g twice instead of applying g then f gives g(g(4)) = g(12) = 3 × 12 = 36, which mixes up which function should be applied second.
- (d) −3 — Substitute y = 11 into y = 5 − 2x, giving 11 = 5 − 2x. Subtracting 5 from both sides gives 6 = −2x, so x = 6 ÷ (−2) = −3. A candidate who mishandles the negative sign when rearranging, treating the equation as 6 = 2x, gets x = 3. A candidate who correctly finds −2x = 6 but forgets to divide by 2 at all gets x = 6. A candidate who adds 5 and 11 instead of subtracting, getting 2x = 16, gets x = 8.
- (d) −2 — Method: run the machine backwards, undoing the operations in the opposite order and swapping each one for its inverse. Working: the machine added 7 last, so take 7 off the output: 1 − 7 = −6; before that the machine had multiplied by 3, so divide: −6 ÷ 3, and a negative divided by a positive stays negative. Answer: −2, which checks because 3 × (−2) + 7 = −6 + 7 = 1. The distractors: 2 comes from dividing 6 by 3 and losing the minus sign; −6 comes from taking the 7 off and stopping there, never undoing the multiplication; −18 comes from multiplying −6 by 3 instead of dividing by 3.
- (c) y = 3x + 2 — Method: divide the change in the outputs by the change in the inputs to find the multiplier, then put one pair of values into the rule to find the number added on. Working: the output rises by 11 − 5 = 6 while the input rises by 3 − 1 = 2, so the multiplier is 6 ÷ 2 = 3; with an input of 1, 3 × 1 = 3 and the output is 5, so 2 is added. Answer: y = 3x + 2, checked against the second pair by 3 × 3 + 2 = 11. The distractors: y = 3x − 2 comes from finding the multiplier 3 and then subtracting the 2 instead of adding it; y = 2x + 3 comes from swapping the multiplier and the number added on; y = x + 4 comes from assuming the input is multiplied by 1 and using 5 − 1 = 4 as the number added on.
- (d) 1 — Method: find the step in the outputs for each step of 1 in the input, write the rule from that step and from one pair of values, then apply the rule to the last input. Working: the outputs −5, −3, −1 rise by 2 while x rises in ones, so x is multiplied by 2; at x = 1, 2 × 1 = 2 while y = −5, so 7 is subtracted, giving y = 2x − 7; at x = 4 the rule gives 2 × 4 = 8 and 8 − 7 = 1. Answer: y = 1. The distractors: 3 comes from carrying the outputs on one step too far, to x = 5; 0 comes from assuming the outputs −5, −3, −1 carry on by adding 1 rather than by adding 2; 8 comes from doubling the input and forgetting to subtract the 7.
- (c) y = x² — Method: test a candidate rule against every pair given, not just one — a rule that fits one pair and fails another is not the rule. Working: the outputs 1, 4, 9 rise by 3 and then by 5, so they are not going up in equal steps and the input is not simply multiplied by a fixed number; comparing each output with its own input gives 1 × 1 = 1, 2 × 2 = 4 and 3 × 3 = 9, and all three pairs fit. Answer: y = x². The distractors: y = 3x comes from fitting only the last pair, where 3 × 3 = 9, and reading that 3 as a multiplier; y = 3x − 2 comes from assuming a multiply-then-add rule and using the first step in the outputs, 4 − 1 = 3, as the multiplier — it fits the first two pairs and fails the third; y = 2x comes from fitting only the pair 2 and 4 and reading every output as double its input.
Build your own mix at the worksheet builder.