Worked solution: inverse of f(x) = 3x - 5

Step-by-step working for this composite and inverse function problem, produced and checked by the solver.

Inverse function Answer checked
Answer
f−1(x)=x+53f^{-1}(x) = \frac{x+5}{3}
f and f^-1-6-4-20246-6-4-20246f and f^-1f(x)f^-1(x)y = xGraph with x from -6 to 6 and y from -6 to 6. Shows the curve f(x); the curve f^-1(x); the curve y = x.
  1. The function
  2. Write
  3. Swap the roles: make the subject
    Undo the operations in reverse order.
  4. Rename as
  5. Check: applying the function and then its inverse gets you back

Change the numbers and solve your own

The method in brief

  1. fg(x) means do g first, then f. Replace x in f with the whole of g(x).
  2. To evaluate gf(2), work out f(2) first, then put that into g.
  3. For the inverse, write y = f(x), swap x and y, then make y the subject.
  4. Check by showing f(f⁻¹(x)) = x.

Full guide: Composite functions fg(x) and inverse functions.

More A-level examples on this topic