Skip to content

Functions — Answers, Worked Solutions & Mark Scheme

Teacher copy  ·  Cambridge IGCSE Mathematics 0580 (Extended) style  ·  25 questions  ·  96 marks
Question 1  [2 marks]
(a)Find f(4).
  1. f(4) = 5 × 4 − 3 — replace x by 4
  2. = 20 − 3 = 17
(b)Find f(−2).
  1. f(−2) = 5 × (−2) − 3 — replace x by −2
  2. = −10 − 3 = −13
Mark scheme
AnswerMarksPartial marks / notes
(a)171B1
cao
(b)−131B1
cao
Question 2  [3 marks]
(a)Find g(−5).
  1. g(−5) = (−5)² — replace x by −5, keeping the brackets
  2. = 25 — a negative number squared is positive
(b)Find fg(2).
  1. fg(2) means do g first, then f. — work from the inside out
  2. g(2) = 2² = 4
  3. f(4) = 3 × 4 + 1 = 13
Mark scheme
AnswerMarksPartial marks / notes
(a)251B1
cao
(b)132M1 for g(2) = 4 seen
A1
SC1 for 49 (gf(2) evaluated)
Question 3  [3 marks]
(a)Find f(−3).
  1. f(−3) = 2 × (−3) − 7 — replace x by −3
  2. = −6 − 7 = −13
(b)Solve f(x) = 0.
  1. 2x − 7 = 0 — set the function equal to 0
  2. 2x = 7 — add 7 to both sides
  3. x = 3.5 — divide both sides by 2
  4. Check: f(3.5) = 7 − 7 = 0 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)−131B1
cao
(b)3.52M1 for 2x − 7 = 0 or 2x = 7
A1
oe, e.g. 7⁄2
Question 4  [4 marks]
(a)Find f−1(x).
  1. Write y = 3x − 8 and make x the subject. — the inverse undoes the function
  2. y + 8 = 3x — add 8 to both sides
  3. x = (y + 8)⁄3 — divide both sides by 3
  4. f−1(x) = (x + 8)⁄3 — rewrite in terms of x
(b)Find f−1(4).
  1. f−1(4) = (4 + 8)⁄3 = 12⁄3 — substitute x = 4 into the inverse
  2. = 4 — check: f(4) = 12 − 8 = 4 ✓
(c)Write down the value of ff−1(19).
  1. f−1 sends 19 to some number, then f sends it straight back.
  2. ff−1(19) = 19 — a function and its inverse undo each other, so ff−1(x) = x
Mark scheme
AnswerMarksPartial marks / notes
(a)(x + 8)⁄32M1 for y + 8 = 3x or x = 3y − 8 seen
A1
oe, e.g. x⁄3 + 8⁄3
(b)41B1
FT their (a)
(c)191B1
f and f−1 undo each other
Question 5  [4 marks]
(a)Find fg(x), giving your answer in its simplest form.
  1. fg(x) means do g first, then f. — work from the inside out
  2. fg(x) = f(x² + 3) = 2(x² + 3) − 1 — replace x in f by the whole of g(x)
  3. = 2x² + 6 − 1 — expand the bracket
  4. fg(x) = 2x² + 5
  5. Check with x = 3: g(3) = 12, f(12) = 23 and 2 × 9 + 5 = 23 ✓
(b)Find gf(x), giving your answer in its simplest form.
  1. gf(x) means do f first, then g.
  2. gf(x) = g(2x − 1) = (2x − 1)² + 3
  3. = 4x² − 4x + 1 + 3 — expand (2x − 1)²
  4. gf(x) = 4x² − 4x + 4
  5. Check with x = 3: f(3) = 5, g(5) = 28 and 36 − 12 + 4 = 28 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)2x² + 52M1 for 2(x² + 3) − 1 seen
A1
cao
(b)4x² − 4x + 42M1 for (2x − 1)² + 3 seen
A1
cao, nfww
Question 6  [4 marks]
(a)Find h(5).
  1. h(5) = 6⁄(5 − 2) = 6⁄3 — work out the denominator first
  2. = 2
(b)Find h−1(x).
  1. Write y = 6⁄(x − 2) and make x the subject.
  2. y(x − 2) = 6 — multiply both sides by (x − 2)
  3. x − 2 = 6⁄y — divide both sides by y
  4. x = 6⁄y + 2 — add 2 to both sides
  5. h−1(x) = 6⁄x + 2 — check: h(5) = 2 and 6⁄2 + 2 = 5 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)21B1
cao
(b)6⁄x + 23M1 for y(x − 2) = 6 oe (correct first step after swapping)
M1 for x − 2 = 6⁄y oe
A1
oe, e.g. (6 + 2x)⁄x
Question 7  [4 marks]
(a)Solve f(x) = 22.
  1. x² − 3 = 22 — set the function equal to 22
  2. x² = 25 — add 3 to both sides
  3. x = 5 or x = −5 — a square root has two values — do not lose the negative one
(b)Solve gf(x) = 15.
Give your answers correct to 3 significant figures.
  1. gf(x) = g(x² − 3) = 2(x² − 3) + 1 = 2x² − 5 — do f first, then g
  2. 2x² − 5 = 15 — set equal to 15
  3. 2x² = 20, so x² = 10
  4. x = ±√10 = ±3.1622…
  5. x = 3.16 or x = −3.16 (3 s.f.) — exact values ±√10
Mark scheme
AnswerMarksPartial marks / notes
(a)5 and −52M1 for x² = 25
A1
A0 if only 5 given
(b)3.16 and −3.162M1 for 2(x² − 3) + 1 = 15 or x² = 10
A1
exact √10 and −√10; A0 if only one value given
Question 8  [4 marks]
(a)Find f−1(x).
  1. Write y = 5 − 2x and make x the subject.
  2. 2x = 5 − y — add 2x and subtract y from both sides
  3. x = (5 − y)⁄2 — divide both sides by 2
  4. f−1(x) = (5 − x)⁄2 — check: f(2) = 1 and (5 − 1)⁄2 = 2 ✓
(b)Show that ff(x) = 4x − 5.
  1. ff(x) = f(5 − 2x) — apply f to its own output
  2. = 5 − 2(5 − 2x) — replace x in 5 − 2x by 5 − 2x
  3. = 5 − 10 + 4x — expand, watching the sign of −2 × (−2x)
  4. = 4x − 5 — as required
  5. Check with x = 3: f(3) = −1, f(−1) = 7 and 4 × 3 − 5 = 7 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)(5 − x)⁄22M1 for 2x = 5 − y oe
A1
oe, e.g. 2.5 − x⁄2
(b)4x − 52M1 for 5 − 2(5 − 2x) seen
A1 for correct expansion to 4x − 5, nfww
Question 9  [5 marks]
(a)Find g(5).
  1. g(5) = 25 — replace x by 5 in the index
  2. = 32
(b)Find fg(3).
  1. g(3) = 2³ = 8 — do g first
  2. fg(3) = f(8) = 3 × 8 − 4
  3. = 20
(c)Solve g(x) = 1⁄8.
  1. 2x = 1⁄8
  2. 1⁄8 = 1⁄2³ = 2−3 — a negative index means the reciprocal
  3. 2x = 2−3, so x = −3 — if the bases are equal then the indices are equal
Mark scheme
AnswerMarksPartial marks / notes
(a)321B1
cao
(b)202M1 for g(3) = 8 seen
A1
(c)−32M1 for 2x = 2−3 or 1⁄8 = 2−3 seen
A1
cao
Question 10  [6 marks]
(a)Find f−1(x), giving your answer as a single fraction.
  1. Write y = (x + 1)⁄(x − 4) and make x the subject.
  2. y(x − 4) = x + 1 — multiply both sides by (x − 4)
  3. xy − 4y = x + 1 — expand the bracket
  4. xy − x = 4y + 1 — collect the terms containing x on one side
  5. x(y − 1) = 4y + 1 — factorise the left-hand side
  6. f−1(x) = (4x + 1)⁄(x − 1) — divide by (y − 1), then rewrite in terms of x
  7. Check: f(9) = 10⁄5 = 2 and f−1(2) = 9⁄1 = 9 ✓
(b)Solve f(x) = x.
Give your answers correct to 3 significant figures.
  1. (x + 1)⁄(x − 4) = x
  2. x + 1 = x(x − 4) — multiply both sides by (x − 4)
  3. x + 1 = x² − 4x — expand
  4. x² − 5x − 1 = 0 — collect everything on one side
  5. x = 5 ± √(25 + 4)⁄2 = (5 ± √29)⁄2 — quadratic formula with a = 1, b = −5, c = −1
  6. x = 5.19258… or x = −0.19258…
  7. x = 5.19 or x = −0.193 (3 s.f.) — exact values (5 ± √29)⁄2
Mark scheme
AnswerMarksPartial marks / notes
(a)(4x + 1)⁄(x − 1)3M1 for y(x − 4) = x + 1 oe
M1 for collecting the x terms, x(y − 1) = 4y + 1 oe
A1
oe, nfww
(b)5.19 and −0.1933M1 for x + 1 = x(x − 4) oe
M1 for x² − 5x − 1 = 0 and correct use of the quadratic formula
A1
exact (5 ± √29)⁄2; A0 if only one root given
Question 11  [3 marks]
(a)The input is x. Write down an expression for the output.
  1. Multiply by 3, then subtract 4. — read the machine from left to right
  2. Output = 3x − 4
(b)Find the output when the input is 2.5.
  1. 3 × 2.5 − 4 = 7.5 − 4
  2. Output = 3.5
(c)Find the input when the output is 20.
  1. Work backwards: 20 + 4 = 24, then 24 ÷ 3 = 8 — undo each step in reverse order
  2. Input = 8 — check: 3 × 8 − 4 = 20 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)3x − 41B1
cao
(b)3.51B1
oe
(c)81B1
cao
Question 12  [2 marks]
(a)Find f(9).
  1. f(9) = √(9 + 7) = √16 — add inside the root first
  2. = 4
(b)Find g(−0.5).
  1. g(−0.5) = (−0.5)³ = (−0.5) × (−0.5) × (−0.5) — keep the brackets
  2. = −0.125 — a negative number cubed is negative
Mark scheme
AnswerMarksPartial marks / notes
(a)41B1
cao
(b)−0.1251B1
oe, −1⁄8
Question 13  [3 marks]
(a)Find the value of a.
  1. f(4) = 4a + 3 — replace x by 4
  2. 4a + 3 = 11 — this equals 11
  3. 4a = 8, so a = 2
(b)Find f(−1).
  1. f(x) = 2x + 3, so f(−1) = 2 × (−1) + 3
  2. = 1
Mark scheme
AnswerMarksPartial marks / notes
(a)22M1 for 4a + 3 = 11
A1
(b)11B1
FT their a
Question 14  [3 marks]
(a)Write down the value of x that must be excluded from the domain of f.
  1. The function is not defined when the denominator is 0. — division by zero is impossible
  2. 2x − 1 = 0 gives x = 1⁄2
(b)Find f(2).
  1. f(2) = 3⁄(2 × 2 − 1) = 3⁄3
  2. = 1
(c)Solve f(x) = 3⁄7.
  1. 3⁄(2x − 1) = 3⁄7
  2. 2x − 1 = 7 — the numerators are equal, so the denominators are equal
  3. x = 4 — check: 3 ÷ (8 − 1) = 3⁄7 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)1⁄21B1
oe, 0.5
(b)11B1
cao
(c)41B1
cao
Question 15  [3 marks]
(a)Find f(x + 1), giving your answer in its simplest form.
  1. f(x + 1) = 3(x + 1) + 2 — replace every x by (x + 1), in brackets
  2. = 3x + 3 + 2 — expand
  3. = 3x + 5 — check with x = 4: f(5) = 17 and 3 × 4 + 5 = 17 ✓
(b)Find and simplify f(2x) − f(x).
  1. f(2x) = 3(2x) + 2 = 6x + 2 — replace x by 2x
  2. f(2x) − f(x) = 6x + 2 − (3x + 2) = 3x — the +2s cancel
Mark scheme
AnswerMarksPartial marks / notes
(a)3x + 52M1 for 3(x + 1) + 2 seen
A1
(b)3x1B1
from 6x + 2 − (3x + 2)
Question 16  [4 marks]
(a)Find f−1(x).
  1. Write y = x³ − 1 and make x the subject.
  2. x³ = y + 1 — add 1 to both sides
  3. x = ∛(y + 1) — cube root both sides
  4. f−1(x) = ∛(x + 1) — rewrite in terms of x
(b)Find f−1(26).
  1. f−1(26) = ∛(26 + 1) = ∛27
  2. = 3 — check: f(3) = 27 − 1 = 26 ✓
(c)Solve f(x) = 7.
  1. x³ − 1 = 7, so x³ = 8
  2. x = 2 — a cube root has only one real value
Mark scheme
AnswerMarksPartial marks / notes
(a)∛(x + 1)2M1 for x³ = y + 1 oe
A1
oe, (x + 1)1/3
(b)31B1
FT their (a)
(c)21B1
cao
Question 17  [4 marks]
(a)Find fg(x).
  1. fg(x) = f(x − 2) — do g first, then f
  2. = (x − 2)² — square the whole of g(x)
(b)Find gf(x).
  1. gf(x) = g(x²) — do f first, then g
  2. = x² − 2
(c)Solve fg(x) = gf(x).
  1. (x − 2)² = x² − 2
  2. x² − 4x + 4 = x² − 2 — expand the bracket
  3. −4x + 4 = −2 — the x² terms cancel
  4. −4x = −6, so x = 1.5 — check: fg(1.5) = (−0.5)² = 0.25 and gf(1.5) = 2.25 − 2 = 0.25 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)(x − 2)²1B1
oe, x² − 4x + 4
(b)x² − 21B1
cao
(c)1.52M1 for x² − 4x + 4 = x² − 2 oe with the (x − 2)² correctly expanded
A1
oe, 3⁄2
Question 18  [4 marks]
(a)Find the value of a and the value of b.
  1. f(2) = 2a + b = 7 — substitute x = 2
  2. f(−1) = −a + b = −8 — substitute x = −1
  3. Subtracting: 3a = 15, so a = 5 — eliminate b
  4. 2 × 5 + b = 7, so b = −3 — substitute back
  5. a = 5, b = −3 — check: f(−1) = −5 − 3 = −8 ✓
(b)Find f−1(12).
  1. f−1(12) is the value of x with f(x) = 12.
  2. 5x − 3 = 12, so 5x = 15
  3. f−1(12) = 3
Mark scheme
AnswerMarksPartial marks / notes
(a)a = 5, b = −33M1 for 2a + b = 7 and −a + b = −8
M1 for correctly eliminating one variable, e.g. 3a = 15
A1 for both
(b)31B1
FT their a and b, from 5x − 3 = 12
Question 19  [4 marks]
(a)Find g−1(x).
  1. Write y = 5⁄x. Then xy = 5, so x = 5⁄y. — multiply by x, then divide by y
  2. g−1(x) = 5⁄x — g is a self-inverse function: applying it twice returns x
(b)Find fg(x).
  1. fg(x) = f(5⁄x) = 2 × 5⁄x − 3 — do g first
  2. = 10⁄x − 3
(c)Solve fg(x) = 7.
  1. 10⁄x − 3 = 7
  2. 10⁄x = 10 — add 3 to both sides
  3. x = 1 — check: g(1) = 5, f(5) = 7 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)5⁄x1B1
g is its own inverse
(b)10⁄x − 31B1
oe, 2 × 5⁄x − 3
(c)12M1 for 10⁄x = 10 oe
A1
FT their (b) if of the form k⁄x − 3
Question 20  [4 marks]
(a)Find f(12).
  1. f(12) = √(12 − 3) = √9
  2. = 3
(b)Find f−1(x).
  1. Write y = √(x − 3).
  2. y² = x − 3 — square both sides
  3. x = y² + 3 — add 3
  4. f−1(x) = x² + 3 — check: f(12) = 3 and 3² + 3 = 12 ✓
(c)Write down the domain of f−1.
  1. A square root is never negative, so the outputs of f are all the values f(x) ≥ 0. — the range of f starts at f(3) = 0
  2. The domain of f−1 is the range of f: x ≥ 0
Mark scheme
AnswerMarksPartial marks / notes
(a)31B1
cao
(b)x² + 32M1 for y² = x − 3 oe (squaring both sides)
A1
(c)x ≥ 01B1
the range of f
Question 21  [4 marks]
(a)Show that ff(x) = (x − 1)⁄x.
  1. ff(x) = f(1⁄(1 − x)) = 1⁄(1 − 1⁄(1 − x)) — replace x in f by the whole of f(x)
  2. Denominator: 1 − 1⁄(1 − x) = (1 − x) − 1⁄(1 − x) = −x⁄(1 − x) — write the denominator as a single fraction
  3. ff(x) = 1 ÷ −x⁄(1 − x) = (1 − x)⁄−x — dividing by a fraction: multiply by its reciprocal
  4. = (x − 1)⁄x — multiply top and bottom by −1, as required
(b)Hence find fff(x) in its simplest form.
  1. fff(x) = f((x − 1)⁄x) = 1⁄(1 − (x − 1)⁄x) — apply f to ff(x)
  2. 1 − (x − 1)⁄x = (x − x + 1)⁄x = 1⁄x
  3. fff(x) = 1 ÷ 1⁄x = x — check with x = 2: f(2) = −1, f(−1) = 1⁄2, f(1⁄2) = 2 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)(x − 1)⁄x3M1 for 1⁄(1 − 1⁄(1 − x)) seen
M1 for writing the denominator as a single fraction (1 − x − 1)⁄(1 − x) or −x⁄(1 − x)
A1 for correct completion, nfww
(b)x1B1
cao
Question 22  [4 marks]
(a)Find f−1(x).
  1. Write y = (2x + 3)⁄4 and make x the subject.
  2. 4y = 2x + 3 — multiply both sides by 4
  3. 2x = 4y − 3 — subtract 3
  4. f−1(x) = (4x − 3)⁄2 — divide by 2, then rewrite in terms of x
(b)Solve f(x) = f−1(x).
  1. (2x + 3)⁄4 = (4x − 3)⁄2
  2. 2x + 3 = 2(4x − 3) = 8x − 6 — multiply both sides by 4
  3. 9 = 6x, so x = 1.5 — a function and its inverse meet on the line y = x, so solving f(x) = x gives the same answer: 2x + 3 = 4x
  4. Check: f(1.5) = 6⁄4 = 1.5 and f−1(1.5) = 3⁄2 = 1.5 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)(4x − 3)⁄22M1 for 4y = 2x + 3 or 4y − 3 = 2x seen
A1
oe, e.g. 2x − 1.5
(b)1.52M1 for (2x + 3)⁄4 = their f−1(x) or for (2x + 3)⁄4 = x
A1
oe, 3⁄2
Question 23  [5 marks]
(a)Find f−1(x).
  1. Write y = (x − 2)².
  2. x − 2 = √y — square root both sides; take the positive root because x ≥ 2 means x − 2 ≥ 0
  3. f−1(x) = 2 + √x — check: f(5) = 9 and 2 + √9 = 5 ✓
(b)Find gf(x).
  1. gf(x) = g((x − 2)²) — do f first, then g
  2. = 1⁄(x − 2)²
(c)Solve gf(x) = 1⁄9.
  1. 1⁄(x − 2)² = 1⁄9, so (x − 2)² = 9
  2. x − 2 = 3 or x − 2 = −3, giving x = 5 or x = −1
  3. x = 5 — reject −1 because the domain of f is x ≥ 2; check: f(5) = 9, g(9) = 1⁄9 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)2 + √x2M1 for √y = x − 2 oe
A1
2 ± √x or 2 − √x scores M1 only
(b)1⁄(x − 2)²1B1
oe
(c)52M1 for (x − 2)² = 9 oe
A1
A0 if −1 is also given as an answer
Question 24  [5 marks]
(a)Find gf(x).
  1. gf(x) = g(x² − 2) = x² − 2 − 3 — do f first, then g
  2. = x² − 5
(b)Find fg(x), giving your answer in the form x² + bx + c.
  1. fg(x) = f(x − 3) = (x − 3)² − 2 — do g first, then f
  2. = x² − 6x + 9 − 2 = x² − 6x + 7 — expand (x − 3)²
(c)Solve fg(x) = x.
Give your answers correct to 3 significant figures.
  1. x² − 6x + 7 = x
  2. x² − 7x + 7 = 0 — subtract x from both sides
  3. x = 7 ± √(49 − 28)⁄2 = (7 ± √21)⁄2 — quadratic formula with a = 1, b = −7, c = 7; it does not factorise
  4. x = 5.7912… or x = 1.2087…
  5. x = 5.79 or x = 1.21 (3 s.f.) — check: g(5.7912) = 2.7912, f(2.7912) = 5.79 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)x² − 51B1
cao
(b)x² − 6x + 71B1
cao
(c)5.79 and 1.213M1 for x² − 7x + 7 = 0 (FT their (b))
M1 for correct substitution into the quadratic formula
A1
exact (7 ± √21)⁄2; A0 if only one root given
Question 25  [5 marks]
(a)Find the value of k.
  1. ff(x) = f(2x + k) = 2(2x + k) + k — apply f to its own output
  2. = 4x + 3k — expand and collect
  3. 4x + 3k = 4x + 9, so 3k = 9 — compare with the given expression
  4. k = 3 — check: f(x) = 2x + 3, ff(1) = f(5) = 13 = 4 + 9 ✓
(b)g(x) = x² − k.
Solve gf(x) = 6.
  1. gf(x) = g(2x + 3) = (2x + 3)² − 3 — do f first, then g, with k = 3
  2. (2x + 3)² − 3 = 6, so (2x + 3)² = 9 — add 3 to both sides
  3. 2x + 3 = 3 or 2x + 3 = −3 — square root both sides: two possibilities
  4. x = 0 or x = −3 — check: f(−3) = −3, g(−3) = 9 − 3 = 6 ✓
Mark scheme
AnswerMarksPartial marks / notes
(a)32M1 for 2(2x + k) + k = 4x + 9 or 3k = 9
A1
(b)0 and −33M1 for (2x + 3)² − 3 = 6 oe (FT their k)
M1 for 2x + 3 = ±3 or 4x² + 12x = 0 oe
A1 for both; A0 if only one value given
Total: 96 marks
Original questions written for MathClicks in the style of Cambridge IGCSE Mathematics 0580 (Extended). Not reproduced from any past paper. All answers verified computationally; every diagram generated from the verified coordinates.