Graphs of Inverse Functions Advanced. This lesson goes beyond core Algebra I. You can skip it.
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Reflect a graph across by swapping the coordinates of any point you can read off
- Trade domain for range when the axes swap
- Turn the horizontal line test into the vertical one by reflecting
- Restrict to a one-to-one branch before inverting
The swap of coordinates is a reflection
Let be one-to-one, so it has an inverse defined on its range. The inverse reverses by swapping each input with its output. Suppose . Then : the point on the graph of becomes the point on the graph of , its coordinates swapped. If you plot both points, you can see that they sit on opposite sides of the diagonal , the line through the origin at forty-five degrees when both axes use the same scale, like mirror images.
The diagram suggests a mirror. To prove it for any point, use the midpoint formula from The Equation of a Circle (average the endpoint coordinates) and perpendicular slopes from Graphing Lines.
Swapping coordinates reflects a point across #
First take and its swap . Their midpoint is , on . The segment’s slope is , perpendicular to the diagonal’s slope . Thus the diagonal cuts the joining segment in half at a right angle: it is the mirror between them.
Now take a point with , so is not on the diagonal, and let be its coordinate-swap. To show the line is the mirror that sends to , it is enough to show that line is the perpendicular bisector of the segment . The perpendicular bisector is the line that meets at a right angle through its midpoint.
First, the midpoint of is
whose two coordinates are equal, so the midpoint lies on .
Second, the segment runs from to , so its slope is
while the line has slope . Two slopes whose product is mark perpendicular lines, and , so crosses at a right angle.
The diagonal passes through the midpoint of and is perpendicular to it, so it is the perpendicular bisector of . Reflecting across therefore lands exactly on . A point already on the diagonal has , so its swap is itself and it does not move. Either way, switching the coordinates of a point is the same as reflecting it across .
For a one-to-one function, means , and the converse holds too. Thus is on the graph of exactly when is on the graph of . The proof shows that this coordinate swap is a reflection across .
The graph of an inverse is the mirror image across y = x
For a one-to-one function, the graph of is the reflection of the graph of across . Every old point has a coordinate-swapped point on the inverse, and every inverse point comes from this swap. Reflect the whole graph, using equal scales on the axes. You do not need a formula for .
The figure shows it for a line. The function has a steep graph of slope ; its inverse has the gentle graph of slope . The two lines are mirror images across the dashed diagonal. The point sits on because , and its reflection sits on because .
Worked example 1 Sketch the inverse of a line from its graph
The graph of is a line through , , and . Sketch the graph of without first finding a formula for it.
By the reflection rule, each point of reflects across to a point of with its coordinates swapped. Swap the coordinates of the three known points:
Plot , , and and draw the line through them. That line is the graph of , the mirror image of across the diagonal.
As a check, find the formula the algebraic way: from , swap to , and solve for . Then
which are exactly the three reflected points.
Reading an inverse straight off a graph
If a function is given by a one-to-one curve, read points from that curve and swap their coordinates. Use these points to guide the sketch; to get the shape between them, reflect the entire curve.
Worked example 2 Read four points of an inverse off a graph
The graph above shows a function given only by its curve, no formula, passing through , , , and . The curve rises steadily from left to right, so it passes the horizontal line test and has an inverse. Find four points on the graph of .
Swap the coordinates of each known point, since is the reflection of across :
So passes through , , , and . For instance, becomes : the input and output trade roles.
Check your understanding
is one-to-one, and the point lies on its graph. Which point must lie on the graph of ?
Because is one-to-one, exists, and its graph is the reflection of the graph of across , which swaps the two coordinates of every point.
The input and output trade places, so is on . Negating a coordinate is a reflection across an axis, a different move, so the other choices are wrong.
Domain and range trade places by swapping the axes
The domain lists the graph’s input coordinates and the range lists its output coordinates. This gives a picture of the domain-range exchange proved algebraically in Inverse Functions. When becomes , each old output becomes an input and each old input becomes an output:
- the range of becomes the domain of ;
- the domain of becomes the range of .
Geometrically, reflecting across swaps horizontal and vertical directions. For example, reflects to , so the x-axis reflects to the y-axis. The graph’s horizontal and vertical spreads trade places in the same way.
Worked example 3 Track the domain and range through the reflection
The function has domain (the square root needs a nonnegative input) and range (the smallest output is ). Find the domain and range of from the reflection.
Reflecting across swaps the horizontal and vertical spreads, so the domain and range trade:
The range of was , so the domain of is . The domain of was , so the range of is .
A check against the formula agrees: from , swap to , so and for . That inverse accepts only and returns values , matching the swapped domain and range.
Check your understanding
A one-to-one function has domain and range . What are the domain and range of ?
Because is one-to-one, exists, and reflecting across trades the horizontal and vertical spreads, so the inverse swaps domain and range.
The domain of is the old range , and its range is the old domain .
Fixed points stay on the mirror
A point on stays put when its coordinates swap: it is a fixed point of the reflection. If , then too, so mark as a shared point of the two graphs. Other intersections can occur away from this diagonal. For example, is its own inverse: swapping gives , or again. The two graphs share and , even though those points exchange places under reflection rather than staying fixed.
For a strictly increasing function, however, every shared point is on the diagonal. An increasing graph rises from left to right, whereas two distinct coordinate-swapped points lie downhill from one another. They cannot both lie on that increasing graph.
The horizontal line test becomes the vertical line test
Back in the Inverse Functions lesson you saw that a function has an inverse only when it is one-to-one. On a graph that condition is the horizontal line test: no horizontal line may cross the graph more than once. Reflecting across shows why this test works.
Reflecting across the diagonal turns a horizontal line into a vertical line. A horizontal line is the set of points at height ; swapping coordinates sends each point to , and those make up the vertical line . So horizontal lines and vertical lines are mirror images of each other across .
If a horizontal line meets at two distinct points, the reflected vertical line meets the reflected graph at two distinct points. That gives two outputs for one input, so the reflection is not a function.
Conversely, if every horizontal line meets at most once, every vertical line meets the reflection at most once. The reflected graph is then a function: . Thus the horizontal line test for becomes the vertical line test for its reflection.
Worked example 4 Which reflections are graphs of functions?
Compare and , both reflected across .
The cube always rises: as increases, increases, so every horizontal line meets its graph exactly once and is one-to-one. Reflecting its graph across gives a curve that every vertical line meets exactly once. So that reflection is the graph of a function, the inverse (the cube-root curve ). No restriction is needed.
The square is different. The horizontal line meets its graph twice, at and , because
Reflecting, those two points become and , both on the reflected curve, so the vertical line meets the reflection twice. The reflected sideways parabola is not the graph of a function, which is the picture of the fact that on all inputs has no inverse. The next section fixes this by restricting the domain.
Check your understanding
The graph of a function is reflected across the line . The reflection is itself the graph of a function exactly when ...
Reflecting across turns each horizontal line into a vertical line, so a horizontal line meeting twice becomes a vertical line meeting the reflection twice. The reflection is a function exactly when no vertical line meets it twice, which happens exactly when passed the horizontal line test. Every function already passes the vertical line test, so passing it does not tell you whether the function has an inverse.
Graphing the inverse of a restricted function
When a function fails the horizontal line test, you cannot reflect its whole graph and get a function. The fix from the Inverse Functions lesson was to shrink the domain until the rule is one-to-one, then invert that piece. Graphically, that means reflecting only the surviving branch.
Take again, and restrict it to . The graph is now just the right half of the parabola, the branch in the first quadrant together with the origin. That branch passes the horizontal line test: each height is reached by a single nonnegative input. Reflect that single branch across . Because the branch lies in the first quadrant or at the origin, its reflection does too, and it is the graph of , the same inverse you found by algebra.
Worked example 5 Graph the inverse of on
With the domain restricted to , plot a few points on the branch and swap coordinates. Three easy points on with are
Reflect each across by swapping coordinates:
The points and sit on the diagonal, so they are fixed and do not move, while reflects to . These three points are anchors, but by themselves they do not pin down the curve: many different curves pass through the same three points. Reflect the entire right branch across , not just a few points on it. The reflected curve rises steeply at first and then flattens. It is the square-root graph, so , matching the algebra where with solves to .
Had you tried to reflect the entire parabola instead, the left branch would have reflected to the lower half of a sideways parabola. The reflection of the whole parabola would fail the vertical line test. That is why you restrict to one branch before reflecting.
Check your understanding
restricted to is the right branch of the parabola, passing through , , and . Which curve is the graph of ?
Only the points actually on 's restricted graph get reflected: , , swap to , , .
Reflecting the whole unrestricted parabola would also produce , giving two outputs for the input , which fails the vertical line test and is not a function. The left branch was never part of , since its domain is , so reflecting that branch instead is not relevant here. And is not its own inverse: , but , not .