Skip to main content
Examonaut

Topic A.1 · Lesson 5 of 6

Functions (Higher tier)

FunctionsHigher tier

A function is a rule that turns each input into exactly one output, like the machine in the diagram below. The notation f(x)=3x−1f(x) = 3x - 1 means "the function ff multiplies the input by 3 and then subtracts 1". So f(4)=3×4−1=11f(4) = 3 \times 4 - 1 = 11, and f(−2)=−7f(-2) = -7.

f(x) = 3x − 1x× 3− 13x − 1inverse: undo each step in reverse orderx+ 1÷ 3(x + 1)/3

An inverse function, written f−1(x)f^{-1}(x), reverses ff: it takes the output back to the input. In the machine picture, undo each step in reverse order: add 1, then divide by 3. Algebraically:

  1. Write y=f(x)y = f(x).
  2. Rearrange to make xx the subject.
  3. Swap xx and yy (or just replace yy with xx) to write f−1(x)f^{-1}(x).

A composite function applies one function and then another. fg(x)fg(x) means "do gg first, then ff": it is f(g(x))f(g(x)), read from the inside out. The order matters: usually fg(x)≠gf(x)fg(x) \ne gf(x).

Worked example

Composite and inverse functionsgrade 8–9

f(x)=3x−1f(x) = 3x - 1 and g(x)=x2+2g(x) = x^2 + 2. a) Find fg(x)fg(x) and gf(x)gf(x). b) Find f−1(x)f^{-1}(x). c) Solve fg(x)=26fg(x) = 26.

Show solution
  1. a) fg(x)=f(g(x))=f(x2+2)=3(x2+2)−1=3x2+5fg(x) = f(g(x)) = f(x^2 + 2) = 3(x^2 + 2) - 1 = 3x^2 + 5. And gf(x)=g(3x−1)=(3x−1)2+2=9x2−6x+3gf(x) = g(3x - 1) = (3x - 1)^2 + 2 = 9x^2 - 6x + 3. These are different, which shows that order matters.
  2. b) Write y=3x−1y = 3x - 1. Then y+1=3xy + 1 = 3x, so x=y+13x = \frac{y + 1}{3}. Hence f−1(x)=x+13f^{-1}(x) = \frac{x + 1}{3}. Check: f(4)=11f(4) = 11 and f−1(11)=4f^{-1}(11) = 4. ✓
  3. c) 3x2+5=263x^2 + 5 = 26, so 3x2=213x^2 = 21, x2=7x^2 = 7 and x=±7x = \pm\sqrt{7}.

Practise this topic

Both are part of Premium.