Consider a function . If a value of is given, we just need to substitute it in the formula of to obtain the corresponding value of . For example if , and is given, the corresponding value of is 8. Now suppose we want to know at which , the value of is . To answer this question, we need to solve for . If we take the cube root of both sides, we have . In general, for every , there exists a number for which , and that is given by
This equation defines as a function of . If we denote this function by , then
The function is called the inverse of because it undoes the effect of :
Table of Contents
The Inverse of a Function
Consider a general function with domain and range . For every in , there is at least one number in such that . If is one-to-one, there is exactly one in such that . Because is unique, we can define a function from to as follows:
As in Figure 1, the function reverses the correspondence given by and is called the inverse of and the process of obtaining from is called inversion.
The process of inversion can be applied to any one-to-one function. If is one-to-one, we often denote its inverse function by . The symbol is read “ inverse.”
Note that the “” in the symbol denotes an inverse and not an exponent. In other words is NOT the same as . The reciprocal is denoted by .
Figure 1:The function and its inverse undo the effects of each other.
Definition 1: Suppose is a one-to-one function on a domain with range . The inverse function is
defined as follows:
for every in .
Domains and Ranges of Inverse Functions
From the above definition, it is clear that the range and domain of and simply switch!
and
Example 1
Given the function has an inverse and , , and , find , and .
Solution
From Definition 1 we have
As we can see in the following arrow diagram, the effect of simply undoes the effect of .
(a)
(b)
Figure 2
The following theorem can be used to verify that a function is the inverse of .
Theorem 1: Let be a one-to-one function with domain and range , and be a function with domain and range . The function is the inverse function of (i.e. ) if and only if the following conditions hold:
(1) for everyin
and
(2) for everyin.
Click to Read the Proof
Hide the Proof
First, suppose ; we are going to show that (1) and (2) are true. By the definition of an inverse function, we have
for every in and every in . If we substitute for in we obtain
Similarly, if we substitute for in , we obtain
Thereby we proved that if both (1) and (2) are true.
Conversely, suppose is a function for which both (1) and (2) are true, then we have to show implies and implies .
If , because (2) is true, ;
that is . This shows that
Next suppose . Because (1) is true, ; that is . This shows that
Thereby we proved that if (1) and (2) hold, then ,and the proof is complete.
Inverse of Inverse
The above theorem indicates that if is the inverse of then the inverse of is . In other words the inverse of inverse of is , or and are inverses of each other.
Changing the Independent Variable
Note that in simply represents an arbitrary number in the domain of the function . There is nothing special about . Therefore, can be replaced by any letter that you like such as , or even ! So, instead of , we may write . In this case the two conditions of the above theorem can be written as
for every in the domain of
and
for every in the domain of .
Example 2
Verify that
are inverses of each other.
Solution
The domain of and the domain of are both the entire set of real numbers . Thus to prove that they are inverse of each other, we have to show that for all , we have and :
and
When Does a Function Have an Inverse?
As explained at the beginning of this section, if a function is one-to-one, then it has an inverse function; otherwise, it does not. That is,
A function has an inverse function if an only if it is one-to-one
In Section 2.15, we learned that every monotonic (= increasing or decreasing) function is one-to-one. Thus we can say:
Every increasing or decreasing function has an inverse function.
Example 3
Determine if each of the following functions has an inverse function.
(a)
(b)
Solution
(a) We know how looks like. So we can easily sketch the graph of by shifting the graph of upward one unit. From Figure 3(a), it is clear that is a one-to-one function, so it has an inverse function. Alternatively, we can algebraically show that is one-to-one. To do so, we have to show that implies
(b) We note that , and thus has three real roots and 1; that is,
Because the value of at three different values of is the same, is not a one-to-one function We may confirm the fact that is not one-to-one by sketching its graph using a computer or a graphing calculator. As it is clear from the Figure 3(b),the horizontal test is not passed, and hence is not one-to-one.Therefore, does not have an inverse function.
(a) Graph of . The horizontal line test is passed.
(b) Graph of . The horizontal line test is not passed.
Figure 3
How to Find the Inverse Function
To find the inverse of a one-to-one function , we have to solve the equation for . Solving this equation for may not be easy if not impossible, but the fact that is one-to-one assures that there is a unique solution for in terms of provided that lies in the range of . The process of inversion is more explained through the following examples.
Example 4
Given , find its inverse function.
Solution
Let and then solve for in terms of to find
Therefore, . Note that must lie within the range of . Because is a polynomial of an odd degree, its range is . Therefore, can be any number, and the domain of is or .
Recall that in represents an arbitrary number in the domain of . That is, simply means that transforms the input to the output . So if you wish to denote the input variable by instead of then just replace every “” in with an “.” That is,
The steps of finding the inverse of a function can be summarized as
Write down the equation .
Solve the equation for and express as a function of :
The equation provides a formula for the inverse function ; that is, with as the independent variable.
If is acceptable as the independent variable for , you are finished. However, if you wish to denote the independent variable, as usual, by , simply replace every in the formula by to obtain a formula for . Now as usual, we can show the output of by and write .
Example 5
Given , find the inverse of .
Solution
First let and solve for in terms of to find :
Therefore,
Again we note that must lie within the range of . The graph of is a line which shows that its range is and hence can be any real number.
We can show the input of by “” instead of “”. That is,
We can easily verify that and .
Example 6
Given , find the inverse of .
Solution
Let and solve for in terms of to find :
Therefore, . We note that must lie within the range of . We know that the output of the square root is always nonnegative, and because , the range of is .
Therefore
If we wish, we can replace “” in with “” and write:
Example 7
Given (), find .
Solution
Let , solve this equation for in terms of to find :
Now there are two solutions for , . Because the domain of is restricted to , we choose
Therefore, . As we can see the range of is [simply plot the graph of to see that], and the domain of is . Again we can denote the independent variable of by “” instead of “”. Thus
Note that if we do not restrict the domain of to negative numbers (or positive numbers), its graph does not pass the horizontal test, which shows, in this case, the function would not be one-to-one and hence would not have an inverse function.
Graph of the Inverse Function
Let’s graph a number of functions we have seen in the examples of this section and their inverses.
(a) and
(b) and
(c) and
Figure 4
In these figures, the graphs of each function and its inverse appear to be mirror images of each other with respect to the bisector of the first and third quadrants . Those are not coincidences. If is a point on the graph of , then . It follows from that , which means is on the graph of . A similar argument will verify that if is on the graph of , then will be on the graph of . We get the point from by reflecting through the line .
The graphs of a function and its inverse are the reflections of one another through the line
The line is the bisector of the first and third quadrants.
Here we have plotted the graph of ; that is, if the independent variable is laid off along the horizontal axis (= -axis) and the dependent variable along the -axis. But if we plot ;
that is, if the independent variable is marked off along the vertical axis (=-axis) and the dependent along the -axis, then the graph of the inverse function coincides with the graph of .
Example 8
Given is graphed in Figure 5, sketch the graph of .
Figure 5
Solution
The graph of will be obtained by reflecting the graph of across the line . The reflection of the point across the line is the point . Because and are on the graph of , the points , and are on graph of . The graph of is depicted in Figure 6.
Figure 6 : The graph of (orange) and the graph of its inverse are reflections of one another across .