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) = x + 3 and g(x) = 2x. Work out fg(x).y = x + 3
- 2.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.
- 3.f(x) = (x + 1)/2. Find f⁻¹(x).
- 4.f(x) = 2x + 1. Work out the value of x for which f⁻¹(x) = 5.y = 2x + 1
- 5.f(x) = x² − 1 and g(x) = 3x. Work out fg(4).y = x² − 1
- 6.f(x) = 2x² + 1 and g(x) = x − 1. Work out fg(x), giving your answer in expanded form.y = 2x² + 1
- 7.f(x) = 2x − 1. Work out ff(x).y = 2x − 1
- 8.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.
- 9.A number machine multiplies its input by 3 and then adds 7. The output is 1. Work out the input.
- 10.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.
- 11.f(x) = x + 2 and g(x) = x². Work out the value of x for which fg(x) = gf(x).y = x + 2
- 12.A number machine multiplies its input by 2 and then subtracts 5. Work out the output when the input is 6.
- 13.A taxi firm charges a fixed fee of £3.50 plus £2.20 per mile. Work out the total cost of a journey of 6 miles.
- 14.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.
- 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
- (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.
- (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.
- (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.
- (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.
- (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) 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.
- (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.
- (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) −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.
- (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) −0.5 — fg(x) = f(g(x)) = f(x²) = x² + 2. gf(x) = g(f(x)) = g(x + 2) = (x + 2)² = x² + 4x + 4. Setting fg(x) = gf(x): x² + 2 = x² + 4x + 4. Subtract x² from both sides: 2 = 4x + 4. Subtract 4 from both sides: −2 = 4x, so x = −0.5. Writing 1.5 comes from adding the 4 instead of subtracting it: 4x = 2 + 4 = 6, giving x = 1.5. Writing 'no solution' comes from expanding (x + 2)² as x² + 4 using (a + b)² = a² + b², losing the middle term — the equation then reads x² + 2 = x² + 4, which has no solution, but the expansion itself is wrong. Writing 0 comes from treating gf(x) as g(x) + f(x) instead of g(f(x)): x² + (x + 2) = x² + 2 gives x = 0, but that adds the two functions rather than composing them.
- (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.
- (d) £16.70 — The mileage charge is 2.20 × 6 = £13.20. Adding the fixed fee: £13.20 + £3.50 = £16.70. A candidate who forgets the fixed fee gives just the mileage charge, £13.20. A candidate who adds the fixed fee to the per-mile rate before multiplying by the number of miles, (3.50 + 2.20) × 6, gets £34.20. A candidate who rounds £2.20 down to £2 gets 2 × 6 + 3.50 = £15.50.
- (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) 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.