Inverse functions have reflective symmetry across the line y = x. If you graph any function and its inverse on the same coordinate plane, one will be the mirror image of the other, with that diagonal line acting as the mirror. This holds true for every pair of inverse functions, no exceptions.
Why the Line y = x Is the Mirror
The reason comes down to what an inverse function actually does: it swaps the input and output. If the point (3, 8) sits on the graph of a function, then the point (8, 3) sits on the graph of its inverse. Every single point undergoes this coordinate swap.
When you switch the x and y values of any point, the new point lands exactly on the opposite side of the line y = x, at the same distance from that line. This is the definition of a reflection. The line y = x runs diagonally at 45 degrees through the origin, and it acts as a perfect fold line: if you literally folded the graph paper along it, the function and its inverse would land on top of each other.
How the Coordinate Swap Works in Practice
The exponential function and the logarithmic function are one of the clearest examples. Take the curve y = 2ˣ. Some of its points include (0, 1), (1, 2), (2, 4), and (3, 8). Now look at its inverse, the logarithm base 2. Its points are those same pairs reversed: (1, 0), (2, 1), (4, 2), and (8, 3). Plot both curves on the same axes and you’ll see two shapes curving away from each other, perfectly symmetric across that diagonal line.
This pattern extends in both directions. The point (-2, 1/4) on the exponential curve becomes (1/4, -2) on the logarithmic curve. Every point has its partner on the other side of y = x.
Domain and Range Also Flip
Because every x becomes a y and vice versa, the domain of the original function becomes the range of the inverse, and the range of the original becomes the domain of the inverse. You can see this on the graph: the horizontal spread of one curve matches the vertical spread of the other. If a function only produces positive outputs, its inverse only accepts positive inputs.
For some functions, like linear ones that stretch infinitely in both directions, the domain and range are both all real numbers, so the flip isn’t obvious. But for functions with restricted domains, like a square root function, the swap becomes visually clear. The curve that stretches far to the right gets an inverse that stretches far upward instead.
Functions That Are Their Own Inverses
Some functions are their own inverses, meaning applying them twice returns you to where you started. These have a special graphical property: their graphs are symmetric with respect to the line y = x all by themselves.
Three common examples:
- The identity function, y = x. It literally is the line y = x, so reflecting it across that line changes nothing.
- The negation function, y = -x. This line passes through the origin at a right angle to y = x. Reflecting it across y = x produces the same line.
- The reciprocal function, y = 1/x. Its two curved branches sit symmetrically on either side of the line y = x. Swapping coordinates on any point, like turning (2, 1/2) into (1/2, 2), just moves you to another spot on the same curve.
If you ever want to check whether a function might be its own inverse, look at its graph and ask whether it’s symmetric across that diagonal. If it is, the function undoes itself.
Not Every Function Has an Inverse
For this symmetry to exist at all, the function needs to have an inverse in the first place. The quick graphical test is the horizontal line test: draw horizontal lines across the graph, and if any horizontal line hits the curve more than once, the function doesn’t have an inverse (at least not without restricting its domain).
The logic is straightforward. If two different inputs produce the same output, the inverse wouldn’t know which input to return. On the graph, that shows up as two points at the same height, which means a horizontal line crosses the curve twice. A parabola like y = x², for instance, fails this test because both x = 3 and x = -3 give y = 9. The inverse wouldn’t know whether 9 should map back to 3 or -3. That’s why you typically restrict the parabola to one side (x ≥ 0) before finding its inverse, the square root function.
How to Use This Symmetry
If you need to sketch the inverse of a function and you already have its graph, you don’t need to do any algebra. Pick several points on the original curve, swap their coordinates, plot the new points, and connect them. The result will be the reflection across y = x.
You can also use this as a visual check. After finding an inverse algebraically, graph both functions. If they aren’t mirror images across y = x, something went wrong in your calculations. The symmetry is guaranteed by the mathematics, so any deviation points to an error.
For a hands-on feel, try tracing a function on paper, then fold the paper along the line y = x (corner to corner if your axes are scaled equally). The original curve should land right on its inverse.

