Inverse Mirror: Function Inverses and Reflections
An inverse function runs the machine backwards — and its graph is just the original reflected across the line y = x, swapping every input with its output.
Undoing a function
Think of a function f as a machine: put in x, get out f(x). The inverse function, written f−1, is the machine that runs the process in reverse — feed it an output and it hands back the input that produced it.
If f adds 3, then f−1 subtracts 3. If f multiplies by 2, then f−1 divides by 2. Doing one and then the other lands you right back where you started.
The reflection across y = x
The inverse swaps the roles of input and output: every point (a, b) on the graph of f becomes the point (b, a) on the graph of f−1. Swapping a point's coordinates is exactly what a reflection across the diagonal line y = x does.
So the two graphs are mirror images in that diagonal. Whatever the domain of f is becomes the range of f−1, and vice versa — the mirror swaps the axes' roles too.
When does an inverse function exist?
Reflecting a graph across y = x always produces some curve, but it is only an inverse function if it passes the vertical line test. That happens exactly when the original f is one-to-one: no two different inputs share an output.
You can check this on the original graph with the horizontal line test: if any horizontal line hits the graph more than once, f is not one-to-one, and its reflection will fail the vertical line test.
- Write \( y = 2x - 6 \), then swap x and y to reverse the roles: \( x = 2y - 6 \).
- Solve for y: add 6 to both sides to get \( x + 6 = 2y \).
- Divide by 2: \( y = \dfrac{x + 6}{2} \).
- Compose one way: \( g(h(x)) = (\sqrt[3]{x})^3 = x \).
- Compose the other way: \( h(g(x)) = \sqrt[3]{x^3} = x \).
- Both compositions return x, matching the defining property of inverses.
Check your understanding
- An inverse function f⁻¹ undoes f: it maps each output back to the input that produced it.
- The notation f⁻¹ means 'inverse function,' not the reciprocal 1/f(x).
- Composing a function with its inverse in either order returns x.
- The graph of f⁻¹ is the reflection of f across the line y = x, swapping domain and range.
- An inverse function exists only when f is one-to-one (passes the horizontal line test); otherwise restrict the domain.