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 Higher
Functions, inverse and composite functions worksheet — GCSE Higher
MathsUKwww.geekhero.co.uk
- 1.A number machine multiplies its input by 2 and then subtracts 5. Work out the output when the input is 6.
- 2.f(x) = 3x − 2. Find f⁻¹(x).y = 3x − 2
- 3.y = 5 − 2x. Work out the value of x when y = 11.
- 4.f(x) = x + 3 and g(x) = 2x. Work out fg(x).y = x + 3
- 5.f(x) = x² − 1 and g(x) = 3x. Work out fg(4).y = x² − 1
- 6.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.
- 7.A rule turns each input into an output. An input of 0 gives an output of −1, an input of 1 gives an output of 1, and an input of 2 gives an output of 3. Work out the rule, writing the input as x and the output as y.
- 8.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?
- 9.f(x) = 2x − 1. Work out ff(x).y = 2x − 1
- 10.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.
- 11.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.
- 12.A rule turns each input x into an output y. The inputs are x = −1, 0, 1, 2 and the matching outputs are y = 5, 3, 1, −1. Work out the rule.
- 13.f(x) = 2x² + 1 and g(x) = x − 1. Work out fg(x), giving your answer in expanded form.y = 2x² + 1
- 14.A number machine multiplies its input by 3 and then adds 7. The output is 1. Work out the input.
- 15.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²
Answer key
- (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.
- (b) (x + 2)/3 — Start with y = 3x − 2 and swap x and y: x = 3y − 2. Add 2 to both sides: x + 2 = 3y. Divide both sides by 3: y = (x + 2)/3, so f⁻¹(x) = (x + 2)/3. Writing x/3 + 2 comes from dividing only the 3y term by 3 and leaving the +2 outside the division — the 2 must be added before you divide, not after. Writing (x − 2)/3 comes from keeping the subtraction sign instead of flipping it to addition when the −2 is moved across the equals sign. Writing 3x + 2 comes from swapping x and y but never actually solving for y — just changing the sign of the constant term.
- (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.
- (b) 2x + 3 — fg(x) means f(g(x)): apply g first, then apply f to the result. g(x) = 2x, so f(g(x)) = f(2x) = 2x + 3. Writing 2x + 6 comes from working out gf(x) instead — g(f(x)) = g(x + 3) = 2(x + 3) = 2x + 6 — which applies the functions in the wrong order. Writing 3x + 3 comes from adding f(x) and g(x) together, (x + 3) + 2x = 3x + 3, instead of composing them. Writing 2x² + 6x comes from multiplying f(x) and g(x) together, (x + 3)(2x) = 2x² + 6x, instead of substituting one into the other.
- (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.
- (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.
- (b) y = 2x − 1 — Method: in a rule that multiplies and then adds, the multiplier is the step in the outputs for each step of 1 in the input, and the number added on is the output when the input is 0. Working: the inputs 0, 1, 2 rise in ones while the outputs −1, 1, 3 rise by 2 each time, so the input is multiplied by 2; an input of 0 gives 2 × 0 = 0 and the output must be −1, so 1 is subtracted. Answer: y = 2x − 1, checked against the last pair by 2 × 2 − 1 = 3. The distractors: y = 2x + 1 comes from finding the multiplier 2 correctly and then reading the output at an input of 0 as +1 instead of −1; y = x − 1 comes from taking the multiplier as 1 because the inputs go up in ones, instead of using the step in the outputs; y = 3x − 1 comes from reading the largest output, 3, as the multiplier.
- (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.
- (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.
- (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.
- (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.
- (a) y = −2x + 3 — Method: find the step in the outputs for each step of 1 in the input — falling outputs mean a negative multiplier — then read off the output when the input is 0, because that is the number added on. Working: the outputs 5, 3, 1, −1 fall by 2 each time x rises by 1, so x is multiplied by −2; the output at x = 0 is 3, so 3 is added. Answer: y = −2x + 3, checked at x = 2 by −2 × 2 + 3 = −1. The distractors: y = 2x + 3 comes from taking the size of the step, 2, as the multiplier and ignoring the fact that the outputs are falling; y = −2x − 3 comes from using the correct multiplier but writing the number added on as −3 instead of the output 3 listed at x = 0; y = −x + 4 comes from taking the multiplier as −1, its size read from the step of 1 in the inputs instead of the step of 2 in the outputs and its sign from the fact that the outputs fall, and then fitting the number added on to the pair x = −1, y = 5.
- (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) −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.
- (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.
Build your own mix at the worksheet builder.