AP® Precalculus · Unit 2 · Topic 2.8
Reflecting Over the Line y = x
The graph of f−1 is the graph of f flipped across the line y = x, because inverting a function swaps the roles of input and output: every point (p, q) on f becomes (q, p) on f−1.
An inverse function undoes what the original did, and that undoing shows up visually as a reflection. If (p, q) is a point on f, it means f sent p to q. The inverse reverses that: it sends q back to p. So the point (q, p) sits on the graph of f−1. Swapping the coordinates of every point is exactly what reflecting across the line y = x does, since that line is where x and y coordinates are equal and swapping them is a mirror flip over it. That is the whole mechanism: build f−1 by swapping x and y everywhere, and graphically that swap is a reflection.
Try f(x) = 2x. The point (0, 1) lies on it, since 20 = 1. The point (3, 8) lies on it too, since 23 = 8. Reflect those across y = x and you get (1, 0) and (8, 3), which lie on the inverse, the logarithm log2(x). Trace the whole curve this way and the rising exponential curve becomes the slower-rising log curve, bent the other way across the diagonal.
This reflection forces domain and range to trade places. Whatever x-values f could accept become the y-values f−1 produces, and whatever y-values f could produce become the x-values f−1 accepts. That trade is why 2x, with domain all reals and range y > 0, has an inverse log2(x) with domain x > 0 and range all reals. Keeping track of that swap is what makes the next topics, finding inverses algebraically and matching exponential models to log models, make sense.
Key terms
- Inverse function
- A function f−1 that reverses f, sending each output of f back to the input that produced it.
- Line y = x
- The diagonal line where every point has equal x and y coordinates, used as the mirror line for inverses.
- Domain
- The complete set of input values a function accepts.
- Range
- The complete set of output values a function can produce.
Watch it explained
Check yourself
End of topic.