Sub topic 12
The graph of an inverse: reflection across y = x
Assume you can read a function’s graph, identify its domain and range, and find an inverse algebraically. This chapter explains how the graph of an inverse is related to the graph of the original function.
The reflection rule
If \(f\) is one-to-one and has an inverse \(f^{-1}\), then the graph of \(f^{-1}\) is the reflection of the graph of \(f\) across the line
\[ y=x. \]
A reflection across \(y=x\) swaps the coordinates of every point:
\[ (a,b)\longrightarrow(b,a). \]
For example, if \((2,7)\) lies on the graph of \(f\), then \((7,2)\) lies on the graph of \(f^{-1}\). This matches the meaning of an inverse:
- \(f(2)=7\)
- \(f^{-1}(7)=2\)
The input and output exchange roles.
Domain and range switch
The domain of a function is the set of possible inputs. Its range is the set of possible outputs. Because an inverse swaps inputs and outputs,
\[ \operatorname{domain}(f^{-1})=\operatorname{range}(f) \]
and
\[ \operatorname{range}(f^{-1})=\operatorname{domain}(f). \]
Consider
\[ f(x)=2x+3. \]
Its graph contains the point \((4,11)\), because \(f(4)=11\). The inverse contains \((11,4)\), because \(f^{-1}(11)=4\).
Since a nonvertical line has every real number as both its domain and range, the inverse also has domain and range equal to all real numbers.
Using the line y = x
To sketch an inverse graph:
- Draw or imagine the line \(y=x\).
- Choose several points on the graph of \(f\).
- Switch the coordinates of each point.
- Plot the new points and connect them with the reflected shape.
For \(f(x)=2x+3\), useful points include:
| Point on \(f\) | Point on \(f^{-1}\) |
|---|---|
| \((0,3)\) | \((3,0)\) |
| \((1,5)\) | \((5,1)\) |
| \((-1,1)\) | \((1,-1)\) |
The reflected graph is the line
\[ f^{-1}(x)=\frac{x-3}{2}. \]
Every point on the original graph and its matching inverse point are equally far from \(y=x\), on opposite sides of that line.
Why one-to-one matters
A function has an inverse function only when each output comes from exactly one input. On a graph, this is tested with the horizontal line test: every horizontal line must intersect the graph at most once.
If a horizontal line intersects \(f\) twice, then two different inputs produce the same output. After swapping coordinates, one input in the inverse would have two outputs. That relation would not be a function.
For example, \(f(x)=x^2\) is not one-to-one on all real numbers. Both \(2\) and \(-2\) produce \(4\). Its graph cannot have an inverse function unless its domain is restricted, such as \(x\geq0\).
Exercise
If the graph of f contains the point (-3, 8), which point must be on the graph of f inverse?
Show answer
The point (8, -3), because an inverse swaps the coordinates of every point.