Functions: Question 9

Syllabus 1.2

Multiple choice AS 1 mark

The functions ff and gg are defined, for x∈Rx \in \mathbb{R}, by f(x)=x2−1andg(x)=3−x.f(x) = x^2 - 1 \qquad \text{and} \qquad g(x) = 3 - x.

What is the value of gf(−2)gf(-2)?

Choose an answer to check it, then compare with the worked solution below.

Show worked solution Hide worked solution

Worked solution

Step 1: Understand the order of composition

gf(−2)gf(-2) means g(f(−2))g(f(-2)), apply ff first, then apply gg to that result.

Step 2: Find f(−2)f(-2)

f(−2)=(−2)2−1=4−1=3f(-2) = (-2)^2 - 1 = 4 - 1 = 3

Step 3: Apply gg to this result

g(3)=3−3=0g(3) = 3 - 3 = 0

So gf(−2)=0gf(-2) = 0.

Why the other options are wrong

  • B (33): this is just f(−2)f(-2), the working stops one step too early, forgetting to apply gg.
  • C (2424): this comes from computing fg(−2)fg(-2) instead, i.e. applying the functions in the wrong order: g(−2)=5g(-2)=5, then f(5)=25−1=24f(5)=25-1=24.
  • D (88): this comes from a sign error, treating (−2)2(-2)^2 as −4-4 so that f(−2)f(-2) is wrongly found to be −5-5, then g(−5)=3−(−5)=8g(-5)=3-(-5)=8.

Final answer

gf(−2)=0(Option A)\boxed{gf(-2) = 0} \quad \text{(Option A)}