To turn a Celsius reading into Fahrenheit you multiply by and add . To go back you undo those steps in reverse order, subtract and then multiply by . An inverse function is that return trip. It exists only when every output comes from exactly one input, and when that fails you can often repair it by keeping only part of the domain.
Key terms
Inverse function
Definition Let be a one-to-one function with domain and range . The inverse function of is the function with domain given by
Because is one-to-one, each in comes from exactly one in , so this rule gives a single output and really is a function. A function that is not one-to-one has no inverse function on its whole domain.
In plain words Picture as a mapping that sends each input along an arrow to its output. The inverse mapping reverses every arrow, so where sends to , the inverse sends back to .
Example Take the function on with , and . Reversing each arrow gives , and . If instead were , the reversed rule would have to send to both and , and there would be no inverse function.
Inverse versus reciprocal
Definition The symbol names the inverse function. It does not mean the reciprocal. The reciprocal of is the function given by
defined for those in the domain of with . With an exponent it is written , with parentheses around the output. The two are usually different, so never read as .
In plain words The in means undo , not one over . The reciprocal flips each output upside down. The inverse runs the whole function backwards.
Example The function doubles and then adds , so its inverse subtracts and then halves, . Its reciprocal is . At they give different numbers.
Domain and range swap
Definition If is one-to-one with domain and range , then has domain and range . The domain of is therefore the range of , which can be smaller than the set of numbers where the formula for happens to make sense.
In plain words Inputs and outputs trade places. Whatever can produce is exactly what accepts.
Example The function has domain and range . Squaring and solving gives , so its inverse is
with range . The condition is part of the answer. Without it the formula would also send to , yet , not .
Reflection of the graph
Definition Let be one-to-one. A point lies on the graph of exactly when lies on the graph of . For the line is the perpendicular bisector of the segment joining and , so the two points are mirror images across that line. Hence the graph of is the reflection of the graph of across the line . The picture looks like a mirror image only when both axes use the same scale.
In plain words Swap the two coordinates of every point on the graph. Geometrically that folds the picture over the diagonal line .
Example The function is one-to-one with inverse . The points , and on the cube curve become , and on the cube root curve. The segment from to has its midpoint on the line and slope , so it crosses that line at a right angle. Points on the line itself, such as , stay where they are.
Solving for the inverse
Definition To find a formula for the inverse of a one-to-one function , write and solve for in terms of . If each in the range of gives exactly one solution in the domain of , that solution is . Renaming the variable then gives in the usual letter. The domain of is still the range of , so find that range as part of the work.
In plain words Treat the formula as an equation and get by itself. The result tells you which input produced a given output.
Example Let for . Set equal to it, clear the denominator and collect the terms.
The last step divides by , so it needs . Indeed has no solution, because it would force . For every other the formula gives an allowed input, since would force . So the range of is every real number except , and
As a check, the inverse gives , and
Restricting to a one-to-one branch
Definition Let be a function that is not one-to-one, and let be a subset of its domain on which is one-to-one. One-to-one functions are also called injective, so the piece of over is an injective branch. The restriction of to is the function with the same rule and domain . It has an inverse, whose domain is the set of outputs with in and whose range is . The usual choice is an interval on which is increasing or decreasing and on which still takes every value it takes anywhere. Different choices of give different inverses, so the choice must always be stated.
In plain words Keep only a piece of the graph that passes the horizontal line test, then invert that piece.
Example The function sends both and to , so it is not one-to-one. Its graph is a parabola with lowest point , and it is increasing on . On that branch, solving gives , and since there we take the nonnegative square root.
On the other branch we have , so the inverse there is , also with domain . The first inverse sends to and the second sends to , the two inputs that sent to .
Composition identities
Definition If is one-to-one with domain and range , then
Conversely, suppose a function has domain , that is in and for every in , and that is in and for every in . Then is one-to-one with range , and .
In plain words Doing and then , or the other way around, brings you back to where you started. Checking both compositions is the standard way to confirm a proposed inverse, and both identities hold only on the stated domains.
Example Take and , both defined for all real numbers. Then
so . Domains matter for restricted to , whose inverse is . There for every , but at the same expression gives . That is no contradiction, because is not in the domain of the restricted function.
Check yourself
- Find the inverse of , where , and state its domain.
Show the answer
From we get , so
The value is not in the range of , since is impossible. As a check, and .
- The function is restricted to . Find together with its domain and range.
Show the answer
On this branch the outputs fill . From and we get , so
with range . As a check, and .
- For , compute and .
Show the answer
Solving gives , so . Since , the reciprocal is . The two numbers differ, as they usually do.