Algebra 2 · Functions and transformations

Inverse functions

Undoing the operation — and checking the result is still a function.

Getting back to where you started

A machine takes 4, triples it, adds 6 and hands you 18. Given only the 18, can you rebuild the 4? Doing that for every output at once means writing a new function — and the move that builds it is a single swap of two letters.

An inverse function reverses what the original did: it takes an output back to the input that produced it. Finding one is a short procedure; the interesting part is that not every function has one.

f(f^{-1}(x)) = x \qquad f^{-1}(f(x)) = x

The central example

Finding an inverse in three steps

  1. Take y = 3x + 6.
  2. Swap x and y. x = 3y + 6
  3. Solve for y. y = \frac{x - 6}{3}
  4. Check by composing. f(f^{-1}(x)) = x
  5. The swap is what reverses the roles of input and output.
A calculator: A linear function and its inverse — sliders for The coefficient a, The constant b, The input, with results that update at once on a graph.