Skip to main content
Logo image

Modeling, Functions, and Graphs

Section 5.1 Inverse Functions

Subsection Introduction

When you buy a house, your monthly mortgage payment is a function of the size of the loan. The table shows mortgage payments on \(30\)-year loans of various sizes at \(6\)% interest.
Loan amount, \(L\) \(150,000\) \(175,000\) \(200,000\) \(225,000\) \(250,000\)
Mortgage payment, \(M\) \(899.33\) \(1049.21\) \(1199.10\) \(1348.99\) \(1498.88\)
For the function \(M = f (L)\text{,}\) the input value is the amount of the loan, and the output is the mortgage payment.
However, when you are shopping for a house, you may think of the mortgage payment as the input variable: If you can afford a certain monthly mortgage payment, how large a loan can you finance? Now the mortgage payment is the input value, and the loan amount is the output. By interchanging the inputs and outputs, we define a new function, \(L = g(M)\text{,}\) shown below.
Mortgage payment, \(M\) \(899.33\) \(1049.21\) \(1199.10\) \(1348.99\) \(1498.88\)
Loan amount, \(L\) \(150,000\) \(175,000\) \(200,000\) \(225,000\) \(250,000\)
This new function gives the same information as the original function, \(f\text{,}\) but from a different point of view. We call the function \(g\) the inverse function for \(f\text{.}\)
The elements of the range of \(f\) are used as the input values for \(g\text{,}\) and the output values of \(g\) are the corresponding domain elements of \(f\text{.}\) For example, from the tables you can verify that \(f (200,000) = 1199.10\text{,}\) and \(g(1199.10) = 200,000\text{.}\) In fact, this property defines the inverse function.

Inverse Functions.

Suppose \(g\) is the inverse function for \(f\text{.}\) Then
\begin{equation*} g(b) = a~~~~~ \text{ if and only if }~~~~~f(a) = b \end{equation*}

Example 5.1.

Suppose \(g\) is the inverse function for \(f\text{,}\) and we know the following function values for \(f\text{:}\)
\begin{equation*} f (-3) = 5, ~~ f (2) = 1, ~~ f (5) = 0 \end{equation*}
Find \(g(5)\) and \(g(0)\text{.}\)
Solution.
We know that \(g(5) = -3\) because \(f (-3) = 5\text{,}\) and \(g(0) = 5\) because \(f (5) = 0\text{.}\) Tables may be helpful in visualizing the two functions, as shown below.
\(y=f(x)\)
\(x\) \(y\)
\(-3\) \(5\)
\(2\) \(1\)
\(5\) \(0\)
\(\blert{~~~~~~\text{→ Interchange the columns →}}\)
\(x=g(y)\)
\(y\) \(x\)
\(5\) \(-3\)
\(1\) \(2\)
\(0\) \(5\)
For the function \(f\text{,}\) the input variable is \(x\) and the output variable is \(y\text{.}\) For the inverse function \(g\text{,}\) the roles of the variables are interchanged: \(y\) is now the input and \(x\) is the output.

Checkpoint 5.2. Practice 1.

Suppose \(g\) is the inverse function for \(f\text{,}\) and suppose we know the following function values for f :
\begin{equation*} f (-1) = 0, ~ f (0) = 1, ~ f (1) = 2 \end{equation*}
Find \(g(0)\) and \(g(1)\text{.}\)
\(g(0)=\)
\(g(1)=\)
Answer 1.
\(-1\)
Answer 2.
\(0\)
Solution.
\(g(0) = -1\text{;}\) \(g(1) = 0\)

Checkpoint 5.3. QuickCheck 1.

If the point \((3,-4)\) lies on the graph of \(f\text{,}\) what point lies on the graph of its inverse function?
  • \(\displaystyle (-3,4)\)
  • \(\displaystyle (-4,3)\)
  • \(\displaystyle (4,-3)\)
  • \(\displaystyle \left(\dfrac{1}{3}, -\dfrac{1}{4}\right)\)
Answer.
\(\text{Choice 2}\)
Solution.
\((-4,3)\)

Subsection Finding a Formula for the Inverse Function

If a function is given by a table of values, we can interchange the columns (or rows) of the table to obtain the inverse function. Swapping the columns works because we are really interchanging the input and output variables. If a function is defined by an equation, we can find a formula for its inverse function in the same way: Interchange the roles of the variables in the equation so that the old output variable becomes the new input variable.

Example 5.4.

  1. The function \(H = f (t) = 6 + 2t\) gives the height of corn seedlings, in inches, \(t\) days after they are planted. Find a formula for the inverse function and explain its meaning in this context.
  2. Make a table of values for \(f (t)\) and a table for its inverse function.
Solution.
  1. Write the equation for \(f\) in the form
    \begin{equation*} H = 6 + 2t \end{equation*}
    In this equation, \(t\) is the input and \(H\) is the output. We interchange the roles of the variables by solving for \(t\) to obtain
    \begin{equation*} t = \frac{H - 6}{2} \end{equation*}
    In this equation, \(H\) is the input and \(t\) is the output. The formula for the inverse function is
    \begin{equation*} t=g(H) = \dfrac{H - 6}{2} \end{equation*}
    The function \(g\) gives the number of days it will take the corn seedlings to grow to a height of \(H\) inches.
  2. To make a table for \(f\text{,}\) we choose values for \(t\) and evaluate \(f (t) = 6 + 2t\) at those \(t\)-values, as shown at left below.
    \(H=f(t)\)
    \(t\) \(H\)
    \(0\) \(6\)
    \(1\) \(8\)
    \(2\) \(10\)
    \(3\) \(12\)
    \(t=g(H)\)
    \(H\) \(t\)
    \(6\) \(0\)
    \(8\) \(1\)
    \(10\) \(2\)
    \(12\) \(3\)
    To make a table for \(g\text{,}\) we could choose values for \(H\) and evaluate \(\dfrac{H-6}{2}\text{,}\) but because \(g\) is the inverse function for \(f\text{,}\) we can simply interchange the columns in our table for \(f\text{,}\) as shown at right above.
    You can check that the values in the second table do satisfy the formula for the inverse function, \(g(H)=\dfrac{H-6}{2}\text{.}\)

Note 5.5.

Note once again that the two tables show the same relationship between \(t\) and \(H\text{,}\) but the roles of input and output have been interchanged. The function \(f\) tells us the height of the seedlings after \(t\) days, and \(g\) tells us how long it will take the seedlings to grow to height \(H\text{.}\)

Checkpoint 5.6. QuickCheck 2.

Which of these is the inverse of the function \(h=3m-2\) ?
  • \(\displaystyle m=\dfrac{h+2}{3}\)
  • \(\displaystyle m=2h-3\)
  • \(\displaystyle m=\dfrac{h-3}{2}\)
  • \(\displaystyle m=\dfrac{1}{3h-2}\)
Answer.
\(\text{Choice 1}\)
Solution.
\(m=\dfrac{h+2}{3}\)

Checkpoint 5.7. Practice 2.

Carol can burn 600 calories per hour bicycling and 400 calories per hour swimming. She would like to lose 5 pounds, which is equivalent to 16,000 calories.
  1. Write an equation relating the number of hours of cycling, \(x\text{,}\) and the number of hours swimming, \(y\text{,}\) that Carol must spend to lose 5 pounds. [Do not use commas: For example, enter “10000” rather than “10,000”.
    Answer:
  2. Write \(y\) as a function of \(x\text{,}\) \(y = f (x)\text{.}\)
    \(y =f(x)=\)
    What does \(f (10)=\) tell you?
    • If Carol cycles for 10 hrs, she must swim for \(f(10)\) hrs.
    • If Carol cycles for \(f(10)\) hrs, she must swim for 10 hrs.
  3. Find the inverse function, \(x = g(y)\text{.}\)
    \(x=g(y)=\)
    What does \(g(10)=\) tell you?
    • If Carol swims for 10 hrs, she must cycle for \(g(10)\) hrs.
    • If Carol swims for \(g(10)\) hrs, she must cycle for 10 hrs.
Answer 1.
\(600x+400y = 16000\)
Answer 2.
\(\frac{16000-600x}{400}\)
Answer 3.
\(25\)
Answer 4.
\(\text{Choice 1}\)
Answer 5.
\(\frac{16000-400y}{600}\)
Answer 6.
\(20\)
Answer 7.
\(\text{Choice 1}\)
Solution.
  1. \(\displaystyle 600x + 400y = 16,000\)
  2. \(y = f (x) = 40 - 1.5x\text{;}\) \(f (10) = 25\text{;}\) If Carol cycles for 10 hrs, she must swim for 25 hrs.
  3. \(x = g(y) = 26\frac{2}{3} - \frac{2}{3} y\text{;}\) \(g(10) = 20\text{;}\) If Carol swims for \(10\) hrs, she must cycle for \(20\) hrs.

Subsection Inverse Function Notation

If the inverse of a function \(f\) is also a function, we denote the inverse by the symbol \(f^{-1}\text{,}\) read "\(f\) inverse." This notation makes it clear that the two functions are related in a special way. For example, the function \(f (t) = 6 + 2t\) in Example 5.4 has inverse function \(f^{-1}(H) = \dfrac{H -6}{2}\text{.}\)

Example 5.8.

If \(~~y = f (x) = x^3 + 2,~~\) find \(~~f^{-1}(10)\text{.}\)
Solution.
We first find the inverse function for \(y = x^3 + 2\) by solving for \(x\text{:}\)
\begin{equation*} \begin{aligned}[t] x^3 \amp = y - 2 \amp\amp \blert{\text{Substract 2 from both sides.}} \\ x \amp = \sqrt[3]{y - 2}\amp\amp \blert{\text{Take cube roots.}} \end{aligned} \end{equation*}
The inverse function is \(x = f^{-1}(y) = \sqrt[3]{y - 2}\text{.}\) Now we evaluate the inverse function at \(y = 10\text{:}\)
\begin{equation*} f^{-1}(10) = \sqrt[3]{10 - 2} = 2 \end{equation*}

Caution 5.9.

Although the same symbol, \(^{-1}\text{,}\) is used for both reciprocals and inverse functions, the two notions are not equivalent. That is, the inverse of a given function is usually not the same as the reciprocal of that function. In Example 5.4, note that \(f^{-1}(y)\) is not the same as the reciprocal of \(f (y)\text{,}\) because
\begin{equation*} \frac{1}{f(y)}= \frac{1}{y^3+ 2} ~~\text{ but }~~ f^{-1}(y)= \sqrt[3]{y - 2} \end{equation*}
To avoid confusion, we use the notation \(\dfrac{1}{f}\) to refer to the reciprocal of the function \(f\text{.}\)

Note 5.10.

In Example 5.4, you can check that \(f(2) = 10\text{.}\) In fact, the two statements
\begin{equation*} f^{-1}(10) = 2 ~~\text{ and } ~~ f(2) = 10 \end{equation*}
are equivalent; they convey the same information. This fact is a restatement of our earlier observation about inverse functions, this time using inverse function notation.

Checkpoint 5.11. QuickCheck 3.

If \(f(5)=2\text{,}\) what is \(f^{-1}(2)\) equal to?
  • \(\displaystyle \dfrac{1}{2}\)
  • \(\displaystyle \dfrac{1}{5}\)
  • \(\displaystyle 5\)
  • \(\displaystyle -5\)
Answer.
\(\text{Choice 3}\)
Solution.
\(5\)

Inverse Functions.

Suppose the inverse of \(f\) is a function, denoted by \(f^{-1}\text{.}\) Then
\begin{equation*} f^{-1}(y) = x~~~~ \text{ if and only if }~~~~f(x) = y \end{equation*}

Checkpoint 5.12. Practice 3.

  1. If \(z = f (w) = \dfrac{1}{w + 3}\text{,}\) find \(f^{-1}(1)\text{.}\)
    \(f^{-1}(1)=\)
  2. Write two equations about the value of \(f^{-1}(1)\text{,}\) one using \(f^{-1}\) and one using \(f\text{.}\)
    \(f^{-1}(1)=\), and \(f(-2)=\)
  3. Show that \(f^{-1}(1)\) is not equal to \(\dfrac{1}{f(1)}\text{.}\)
    \(f^{-1}(1)=\), but \(\dfrac{1}{f(1)} =\), which
    • is the same.
    • is not the same.
Answer 1.
\(-2\)
Answer 2.
\(-2\)
Answer 3.
\(1\)
Answer 4.
\(-2\)
Answer 5.
\(4\)
Answer 6.
\(\text{is not the same.}\)
Solution.
  1. \(\displaystyle -2\)
  2. \(f^{-1}(1) = -2\text{,}\) \(f (-2) = 1\)
  3. \(f^{-1}(1) = -2\text{,}\) but \(\dfrac{1}{f (1)}= 4\)
We can use a graph of a function \(y = f (x)\) to find values of the inverse function \(x = f^{-1}(y)\text{.}\) The figure below shows the graph of \(f(x) = x^3 + 2\text{.}\)
You already know how to evaluate a function from its graph: We start with the horizontal axis. For instance, to evaluate \(f(-2)\text{,}\) we find \(-2\) on the \(x\)-axis, move vertically to the point on the graph with \(x = -2\text{,}\) in this case \((-2, -6)\text{,}\) and read the \(y\)-coordinate of the point. We see that \(f(-2) = -6\text{.}\)
To evaluate the inverse function, we start with the vertical axis. For example, to find \(f^{-1}(10)\text{,}\) we find \(10\) on the vertical axis and move horizontally to the point on the graph with \(y = 10\text{.}\) In this case, the point is \((2, 10)\text{,}\) so \(f^{-1}(10) = 2\text{.}\)
reading values of f-inverse from graph of f

Example 5.13.

The function \(C = h(F)\) gives Celsius temperature as a function of Fahrenheit temperature. The graph of the function is shown below. Use the graph to evaluate \(h(68)\) and \(h^{-1}(10)\text{,}\) and then explain their meaning in this context.
graph of Celsius vs Fahrenheit
Solution.
To evaluate \(h(68)\text{,}\) we find the input \(F = 68\) on the horizontal axis, then find the point on the graph with \(F = 68\) and read its vertical coordinate. We see that the point \((68, 20)\) lies on the graph, so \(h(68) = 20\text{.}\) When the Fahrenheit temperature is \(68\degree\text{,}\) the Celsius temperature is \(20\degree\text{.}\)
The inverse function reverses the roles of input and output. Because \(C = h(F)\text{,}\) \(F = h^{-1}(C)\text{,}\) so the inverse function gives us the Fahrenheit temperature if we know the Celsius temperature. In particular, \(h^{-1}(10)\) is the Fahrenheit temperature when the Celsius temperature is \(10\degree\text{.}\)
To use the graph of \(h\) to find values of \(h^{-1}\text{,}\) we start with the vertical axis and find the point on the graph with \(C = 10\text{.}\) This point is \((50, 10)\text{,}\) so \(F = 50\) when \(C = 10\text{,}\) or \(h^{-1}(10) = 50\text{.}\) When the Celsius temperature is \(10\degree\text{,}\) the Fahrenheit temperature is \(50\degree\text{.}\)

Checkpoint 5.14. Practice 4.

Use the graph of \(h\) in Example 5.13.
  1. Find \(h^{-1}(-10)\text{.}\)
    \(h^{-1}(-10)=\)
  2. Does \(h^{-1}(-10) = -h^{-1}(10)\text{?}\)
    • Yes
    • No
  3. Select two equations, one using \(h\) and one using \(h^{-1}\text{,}\) stating the Fahrenheit temperature when the Celsius temperature is \(0^\circ\text{.}\)
    • \(h(32)=0\)
      • Yes
      • No
    • \(h(0)=32\)
      • Yes
      • No
    • \(h^{-1}(32)=0\)
      • Yes
      • No
    • \(h^{-1}(0)=32\)
      • Yes
      • No
Answer 1.
\(14\)
Answer 2.
\(\text{No}\)
Answer 3.
\(\text{Yes}\)
Answer 4.
\(\text{No}\)
Answer 5.
\(\text{No}\)
Answer 6.
\(\text{Yes}\)
Solution.
  1. \(14\text{:}\) On the graph of \(h\text{,}\) when \(C=-10\text{,}\) \(F=14\text{.}\)
  2. No
  3. \(h(32) = 0\text{,}\) \(h^{-1}(0) = 32\)

Checkpoint 5.15. Pause and Reflect.

If the function \(f\) tells you how much money is in your account after \(t\) years, what does the function \(f^{-1}\) tell you?

Subsection Graph of the Inverse Function

In Example 5.13, we used a graph of \(h\) to read values of \(h^{-1}\text{.}\) But we can also plot the graph of \(h^{-1}\) itself. Because \(C\) is the input variable for \(h^{-1}\text{,}\) we plot \(C\) on the horizontal axis and \(F\) on the vertical axis. To find some points on the graph of \(h^{-1}\text{,}\) we interchange the coordinates of points on the graph of \(h\text{.}\) The graph of \(h^{-1}\) is shown at right.
\(C=h(F)\) \(F=h^{-1}(C)\)
\(F\) \(C\) \(\hphantom{00000}\) \(C\) \(F\)
\(14\) \(-10\) \(-10\) \(14\)
\(32\) \(0\) \(0\) \(32\)
\(50\) \(10\) \(10\) \(50\)
\(68\) \(20\) \(20\) \(68\)
graph of Fahrenheit vs Celsius

Example 5.16.

The Park Service introduced a flock of \(12\) endangered pheasant into a wildlife preserve. After \(t\) years, the population of the flock was given by
\begin{equation*} P = f (t) = 12 + 2t^3 \end{equation*}
  1. Graph the function on the domain \([0, 5]\text{.}\)
  2. Find a formula for the inverse function, \(t = f^{-1}(P)\text{.}\) What is the meaning of the inverse function in this context?
  3. Sketch a graph of the inverse function.
Solution.
  1. The graph of \(f\) is shown at right, with \(t\) on the horizontal axis and \(P\) on the vertical axis.
    graph of pheasant population
  2. We solve \(P = 12 + 2t^3\) for \(t\) in terms of \(P\text{.}\)
    \begin{equation*} \begin{aligned}[t] 2t^3 \amp = P - 12\amp\amp \blert{\text{Substract 12 from both sides.}}\\ t^3 \amp = \frac{P - 12}{2}\amp\amp \blert{\text{Divide both sides by 2.}}\\ t \amp = \sqrt[3]{\frac{P - 12}{2}}\amp\amp \blert{\text{Take cube roots.}} \end{aligned} \end{equation*}
    The inverse function is \(t = f^{-1}(P) =\sqrt[3]{\dfrac{P - 12}{2}}\text{.}\) It tells us the number of years it takes for the pheasant population to grow to size \(P\text{.}\)
  3. The graph of \(f^{-1}\) is shown below, with \(P\) on the horizontal axis and \(t\) on the vertical axis.
    graph of time to achieve pheasant population

Checkpoint 5.17. Practice 5.

The formula \(T = f(L) = 2\pi \sqrt{\dfrac{L}{32}}\) gives the period in seconds, \(T\text{,}\) of a pendulum as a function of its length in feet, \(L\text{.}\)
  1. Graph the function on the domain \([0, 5]\text{.}\)
  2. Find a formula for the inverse function, \(L = f^{-1}(T )\text{.}\) [Enter “pi” to get \(\pi\text{.}\)]
    \(L=f^{-1}(T)=\)
    What is the meaning of the inverse function in this context?
    • \(f^{-1} \) gives the length of the pendulum as a function of its period.
    • \(f^{-1} \) gives the period of the pendulum as a function of its length.
    • \(f^{-1} \) gives the reciprocal of the period of the pendulum.
  3. Sketch a graph of the inverse function.
Answer 1.
\(\frac{8}{\pi ^{2}}T^{2}\)
Answer 2.
\(\text{Choice 1}\)
Solution.
  1. A graph is below for both parts (a) and (c).
  2. \(L = f^{-1}(T ) =\dfrac{8}{\pi^2} T^2.\\\) \(~f^{-1}\) gives the length of a pendulum as a function of its period.
  3. See graph for part(a) below.
both inverse and reciprocal

Subsection When Is the Inverse a Function?

We can always find the inverse of a function simply by interchanging the input and output variables. In the preceding examples, interchanging the variables created a new function. However, the inverse of a function does not always turn out to be a function itself.
For example, to find the inverse of \(y = f (x) = x^2\text{,}\) we solve for \(x\) to get \(x = \pm\sqrt{y}\text{.}\) When we regard \(y\) as the input and \(x\) as the output, the relationship does not describe a function. The graphs of \(f\) and its inverse are shown below. (Note that for the graph of the inverse, we plot \(y\) on the horizontal axis and \(x\) on the vertical axis.) Because the graph of the inverse does not pass the vertical line test, it is not a function.
graphs of x-squared and its inverse
For many applications, it is important to know whether or not the inverse of \(f\) is a function. This can be determined from the graph of \(f\text{.}\) When we interchange the roles of the input and output variables, horizontal lines of the form \(y = k\) become vertical lines.
Thus, if the graph of the inverse is going to pass the vertical line test, the graph of the original function must pass the horizontal line test, namely, that no horizontal line should intersect the graph in more than one point.

Horizontal Line Test.

If no horizontal line intersects the graph of a function more than once, then its inverse is also a function.
Notice that the graph of \(f(x) = x^2\) does not pass the horizontal line test, so we would not expect its inverse to be a function.

Example 5.18.

Which of the functions shown below have inverses that are also functions?
graphs for vertical line test
Solution.
In each case, we apply the horizontal line test to determine whether the inverse is a function. Because no horizontal line intersects their graphs more than once, the functions pictured in figures (a) and (c) have inverses that are also functions. The functions in figures (b) and (d) do not have inverses that are functions.

Checkpoint 5.19. Practice 6.

graphs for vertical line test
Which of the functions whose graphs are shown above have inverses that are also functions?
    • Yes
    • No
    • Yes
    • No
    • Yes
    • No
    • Yes
    • No
Answer 1.
\(\text{Yes}\)
Answer 2.
\(\text{No}\)
Answer 3.
\(\text{No}\)
Answer 4.
\(\text{Yes}\)
Solution.
(a) and (d)
A function that passes the horizontal line test is called one-to-one, because each input has only one output and each output has only one input. A one-to-one function passes the horizontal line test as well as the vertical line test. With this terminology, we can state the following theorem.

One-to-one Functions.

The inverse of a function \(f\) is also a function if and only if \(f\) is one-to-one.

Caution 5.20.

A function may have an inverse function even if we cannot find its formula. The function \(f (x) = x^5 + x + 1\) shown in figure (a) is one-to-one, so it has an inverse function. We can even graph the inverse function, as shown in figure (b), by interchanging the coordinates of points on the graph of \(f\text{.}\)
graphs of f and f-inverse
However, we cannot find a formula for the inverse function because we cannot solve the equation \(y = x^5 + x + 1\) for \(x\) in terms of \(y\text{.}\)

Checkpoint 5.21. Pause and Reflect.

What does the term one-to-one mean? Give an example.

Subsection Mathematical Properties of the Inverse Function

The inverse function \(f^{-1}\) undoes the effect of the function \(f\text{.}\) In Example 5.4, the function \(f(t) = 6 + 2t\) multiplies the input by \(2\) and then adds \(6\) to the result. The inverse function \(f^{-1}(H) = \dfrac{H -6}{2}\) undoes those operations in reverse order: It subtracts \(6\) from the input and then divides the result by \(2\text{.}\)
If we apply the function \(f\) to a given input value and then apply the function \(f^{-1}\) to the output from \(f\text{,}\) the end result will be the original input value. For example, if we choose \(t = \alert{5}\) as an input value, we find that
\begin{equation*} \begin{aligned}[t] f(\alert{5})\amp= 6 + 2(\alert{5}) = \blert{16}\amp\amp \blert{\text{ Multiply by 2, then add 6.}}\\ \text{and } f^{-1}(\blert{16}) \amp = \frac{\blert{16} - 6}{2} = \alert{5}\amp\amp \blert{\text{Subtract 6, then divide by 2.}} \end{aligned} \end{equation*}
function and inverse diagram
We return to the original input value, \(5\text{,}\) as illustrated above.

Checkpoint 5.22. QuickCheck 4.

An inverse function
  • A) makes the output negative.
  • B) makes the input negative.
  • C) interchanges the input and output.
  • D) takes the reciprocal of the output.
Answer.
\(\text{C) interchanges ... and output.}\)
Solution.
interchanges the input and output.
Example 5.23 illustrates the fact that if \(f^{-1}\) is the inverse function for \(f\text{,}\) then \(f\) is also the inverse function for \(f^{-1}\text{.}\)

Example 5.23.

Consider the function \(f(x) = x^3 + 2\) and its inverse, \(f^{-1}(y) = \sqrt[3]{y - 2}\text{.}\)
  1. Show that the inverse function undoes the effect of \(f\) on \(x = 2\text{.}\)
  2. Show that \(f\) undoes the effect of the inverse function on \(y = -25\text{.}\)
Solution.
  1. We first evaluate the function \(f\) for \(x = 2\text{:}\)
    \begin{equation*} f(\alert{2}) = \alert{2}^3 + 2 = \blert{10} \end{equation*}
    Then we evaluate the inverse function \(f^{-1}\) at \(y = 10\text{:}\)
    \begin{equation*} f^{-1}(\blert{10}) = \sqrt[3]{\blert{10} - 2} = \sqrt[3]{8}= \alert{2} \end{equation*}
    We started and ended with \(2\text{.}\)
  2. We first evaluate the function \(f^{-1}\) for \(y = -25\text{:}\)
    \begin{equation*} f^{-1}(\alert{-25}) = \sqrt[3]{\alert{-25} - 2} = \blert{-3} \end{equation*}
    Then we evaluate the function \(f\) for \(x = -3\text{:}\)
    \begin{equation*} f (\blert{-3}) = (\blert{-3})^3 + 2 = \alert{-25} \end{equation*}
    We started and ended with \(-25\text{.}\)

Checkpoint 5.24. Practice 7.

  1. Find a formula for the inverse of the function \(f(x)=\dfrac{2}{x - 1}\) Use \(y\) as in input variable for \(f^{-1} \text{.}\)
    \(f^{-1}(y)=\)
  2. Show that \(f^{-1}\) undoes the effect of \(f\) on \(x = {3} \text{.}\)
    \(f({3} )=\) and \(f^{-1}({1} )=\)
  3. Show that \(f\) undoes the effect of \(f^{-1}\) on \(y = -2\text{.}\)
    \(f^{-1}({-2} )=\) and \(f({0} )=\)
Answer 1.
\(1+\frac{2}{y}\)
Answer 2.
\(1\)
Answer 3.
\(3\)
Answer 4.
\(0\)
Answer 5.
\(-2\)
Solution.
  1. \(\displaystyle f^{-1}(y) = 1 + \dfrac{2}{y}\)
  2. \(f(3)=1 \text{,}\) and \(f^{-1}(1)=3\)
  3. \(f^{-1}(-2)=0\) and \(f(0)=-2\)

Functions and Inverse Functions.

Suppose \(f^{-1}\) is the inverse function for \(f\text{.}\) Then
\begin{equation*} f^{-1}\left(f(x)\right) = x~\text{ and }~f\left(f^{-1}( y)\right) = y \end{equation*}
as long as \(x\) is in the domain of \(f\text{,}\) and \(y\) is in the domain of \(f^{-1}\text{.}\)

Subsection Symmetry

So far we have been careful to keep track of the input and output variables when we work with inverse functions. This is important when we are dealing with applications; the names of the variables are usually chosen because they have a meaning in the context of the application, and it would be confusing to change them.
However, we can also study inverse functions purely as mathematical objects. There is a relationship between the graph of a function and the graph of its inverse that is easier to see if we plot them both on the same set of axes.
A graph does not change if we change the names of the variables, so we can let \(x\) represent the input for both functions, and let \(y\) represent the output. Consider the function \(C = h(F)\) from Example 5.13, and its inverse function, \(F = h^{-1}(C)\text{.}\) The formulas for these functions are
\begin{equation*} \begin{aligned}[t] C \amp = h(F) = \frac{5}{9}(F - 32)\\ F \amp = h^{-1}(C) = 32 + \frac{9}{5}C \end{aligned} \end{equation*}
But their graphs are the same if we write them as
\begin{equation*} \begin{aligned}[t] y \amp = h(x) =\frac{5}{9}(x - 32)\\ y \amp= h^{-1}(x) = 32 + \frac{9}{5}x \end{aligned} \end{equation*}
The graphs are shown below.
graphs of both function and inverse
Now, for every point \((a, b)\) on the graph of \(f\text{,}\) the point \((b, a)\) is on the graph of the inverse function. Observe that the points \((a, b)\) and \((b, a)\) are always located symmetrically across the line \(y=x\text{.}\) The graphs are symmetric about the line \(y=x\), which means that if we were to place a mirror along the line \(y=x\text{,}\) each graph would be the reflection of the other.

Checkpoint 5.25. QuickCheck 5.

The graphs of \(f\) and \(f^{-1}\) are symmetric about
  • the \(x\)-axis.
  • the \(y\)-axis.
  • the asymptote.
  • the line \(y=x\text{.}\)
Answer.
\(\text{Choice 4}\)
Solution.
the line \(y=x\text{.}\)

Example 5.26.

Graph the function \(f (x) = 2\sqrt{x + 4}\) on the domain \([-4, 12]\text{.}\) Graph its inverse function \(f^{-1}\) on the same grid.
Solution.
The graph of \(f\) has the same shape as the graph of \(y = \sqrt{x}\text{,}\) shifted \(4\) units to the left and stretched vertically by a factor of \(2\text{.}\) The figure at left below shows the graph of \(f\text{,}\) along with a table of values. By interchanging the rows of the table, we obtain points on the graph of the inverse function, shown at right.
graphs and tables of a function and its inverse function
If we use \(x\) as the input variable for both functions, and \(y\) as the output, we can graph \(f\) and \(f^{-1}\) on the same grid, as shown at right. The two graphs are symmetric about the line \(y = x\text{.}\)
function and inverse on the same grid

Checkpoint 5.27. Practice 8.

Graph the function \(f (x) = x^3 + 2\) and its inverse \(f^{-1}(x) = \sqrt[3]{x - 2}\) on the same set of axes, along with the line \(y = x\text{.}\)
Answer.
cubic and inverse

Checkpoint 5.28. Pause and Reflect.

Explain the difference between the meaning of the notation \(p^{-1}\) if \(p\) is a function or if \(p\) is a variable.

Subsection Domain and Range

When we interchange the input and output variables to obtain the inverse function, we interchange the domain and range of the function. For the functions graphed in Example 5.26, you can see that
\begin{equation*} \begin{aligned}[t] \text{Domain} (f) \amp=[-4, 12] \amp\text{and}\amp\amp \text{Domain} ( f^{-1}) \amp= [0, 8]\\ \text{Range} ( f ) \amp = [0, 8] \amp\amp\amp \text{Range} ( f -1) \amp = [-4, 12] \end{aligned} \end{equation*}
This relationship between the domain and range of a function and its inverse holds in general.

Domain and Range of the Inverse Function.

If \(f^{-1}\) is the inverse function for \(f, \) then
\begin{align*} \blert{\textbf{Domain}}\left(f^{-1}\right) \amp= \blert{\textbf{Range}}\left(f\right) \\ \blert{\textbf{Range}}\left(f^{-1}\right) \amp= \blert{\textbf{Domain}}\left(f\right) \end{align*}

Example 5.29.

  1. Graph the function \(y = f (x) = \dfrac{1}{x +3}\) in the window
    \begin{equation*} \begin{aligned}[t] \text{Xmin} \amp = -6 \amp\amp \text{Xmax} = 3.4\\ \text{Ymin} \amp = -6 \amp\amp \text{Ymax} = 3 \end{aligned} \end{equation*}
  2. Graph the inverse function in the same window, along with the line \(y = x\text{.}\)
  3. State the domain and range of \(f\text{,}\) and of \(f^{-1}\text{.}\)
Solution.
  1. The graph of \(f\) is shown below. It looks like the graph of \(y = \dfrac{1}{x}\text{,}\) shifted \(3\) units to the left.
  2. To find the inverse function, we solve for \(x\text{.}\) Take the reciprocal of both sides of the equation.
    \begin{equation*} \begin{aligned}[t] \dfrac{1}{y} \amp= x + 3\amp\amp \blert{\text{Subtract 3 from both sides.}}\\ x \amp = \dfrac{1}{y}- 3 \end{aligned} \end{equation*}
    The inverse function is \(x = f^{-1}(y) = \dfrac{1}{y}- 3\text{,}\) or, using \(x\) for the input variable, \(f^{-1}(x) = \dfrac{1}{x}- 3\text{.}\) The graph of \(f^{-1}\) looks like the graph of \(y = \dfrac{1}{x}\text{,}\) shifted down \(3\) units, as shown below.
    GC graph of function and inverse
  3. Because \(f\) is undefined at \(x = -3\text{,}\) the domain of \(f\) is all real numbers except \(-3\text{.}\) The graph has a horizontal asymptote at \(y = 0\text{,}\) so the range is all real numbers except \(0\text{.}\)
    The inverse function \(f^{-1}(x) = \dfrac{1}{x}- 3\) is undefined at \(x = 0\text{,}\) so its domain is all real numbers except \(0\text{.}\) The graph of \(f^{-1}\) has a horizontal asymptote at \(y = -3\text{,}\) so its range is all real numbers except \(-3\text{.}\)

Checkpoint 5.30. Practice 9.

  1. Graph the function \(f(x) = \dfrac{2}{x -1}\) and its inverse function, \(f^{-1}\) (which you found above in Practice 7, on the same set of axes, along with the line \(y = x\text{.}\)
  2. State the domain and range of \(f\text{,}\) and of \(f^{-1}\text{.}\)
    The domain of \(f\) includes all real numbers except , and the range of \(f\) includes all real number except
    The domain of \(f^{-1}\) includes all real numbers except , and the range of \(f^{-1}\) includes all real number except
Answer 1.
\(1\)
Answer 2.
\(0\)
Answer 3.
\(0\)
Answer 4.
\(1\)
Solution.
  1. A graph is below.
  2. Domain of \(f\text{:}\) all real numbers except \(1\text{,}\) Range of \(f\text{:}\) all real numbers except \(0\text{,}\) Domain of \(f^{-1}\text{:}\) all real numbers except \(0\text{,}\) Range of \(f^{-1}\text{:}\) all real numbers except \(1\)
Another graph of \(f\) and \(f^{-1}\)
function and invese

Subsection Section Summary

Subsubsection Vocabulary

Look up the definitions of new terms in the Glossary.
  • Inverse function
  • Horizontal line test
  • One-to-one

Subsubsection CONCEPTS

  1. The inverse of a function describes the same relationship between two variables but interchanges the roles of the input and output.
  2. Inverse Functions.
    If the inverse of a function \(f\) is also a function, then the inverse is denoted by the symbol \(f^{-1}\text{,}\) and
    \begin{equation*} f^{-1} (b) = a~~ \text{ if and only if } ~~f(a) = b \end{equation*}
  3. We can make a table of values for the inverse function, \(f^{-1}\text{,}\) by interchanging the columns of a table for \(f\text{.}\)
  4. If a function is defined by a formula in the form \(y = f (x)\text{,}\) we can find a formula for its inverse function by solving the equation for \(x\) to get \(x = f^{-1}(y)\text{.}\)
  5. The inverse function \(f^{-1}\) undoes the effect of the function \(f\text{,}\) that is, if we apply the inverse function to the output of \(f\text{,}\) we return to the original input value.
  6. If \(f^{-1}\) is the inverse function for \(f\text{,}\) then \(f\) is also the inverse function for \(f^{-1}\text{.}\)
  7. The graphs of \(f\) and its inverse function are symmetric about the line \(y = x\) .
  8. Horizontal line test: If no horizontal line intersects the graph of a function more than once, then the inverse is also a function.
  9. A function that passes the horizontal line test is called one-to-one.
  10. The inverse of a function \(f\) is also a function if and only if \(f\) is one-to-one.
  11. Functions and Inverse Functions.
    Suppose \(f^{-1}\) is the inverse function for \(f\text{.}\) Then
    \begin{equation*} f^{-1}\left(f(x)\right) = x~\text{ and }~f\left(f^{-1}( y)\right) = y \end{equation*}
    as long as \(x\) is in the domain of \(f\text{,}\) and \(y\) is in the domain of \(f^{-1}\text{.}\)
  12. Domain and Range of the Inverse Function.
    If \(f^{-1}\) is the inverse function for \(f, \) then
    \begin{align*} \blert{\textbf{Domain}}\left(f^{-1}\right) \amp= \blert{\textbf{Range}}\left(f\right) \\ \blert{\textbf{Range}}\left(f^{-1}\right) \amp= \blert{\textbf{Domain}}\left(f\right) \end{align*}

Subsubsection STUDY QUESTIONS

  1. Explain how the terms inverse function, one-to-one, and horizontal line test are related.
  2. If you know that \(f^{-1}(3) = -7\text{,}\) what can you say about the values of \(f\) ?
  3. Explain how to use a graph of the function \(g\) to evaluate \(g^{-1}(2)\text{.}\)
  4. Evaluate \(f ( f^{-1}(5))\text{.}\)
  5. Delbert says that if \(f (x) = x^{3/5}\text{,}\) then \(f^{-1}(x) = x^{-3/5}\text{.}\) Is he correct? Why or why not?

Subsubsection SKILLS

Practice each skill in the Homework problems listed.
  1. Given certain function values, find values of the inverse function: #1–4
  2. Interpret values of the inverse function: #5–12
  3. Find a formula for the inverse function: #9–22, 27–34
  4. Graph the inverse function: #15 and 16, 23–34
  5. Find the domain and range of the inverse function: #33 and 34
  6. Use the horizontal line test to identify one-to-one functions: #35–42

Exercises Homework 5.1

1.

Let \(f (-1) = 0\text{,}\) \(f (0) = 1\text{,}\) \(f (1) = -2\text{,}\) and \(f (2) = -1\text{.}\)
  1. Make a table of values for \(f (x)\) and another table for its inverse function.
  2. Find \(f^{-1}(1) \)
  3. Find \(f^{-1}(-1) \)

2.

Let \(f (-1) = 1\text{,}\) \(f (-1) = -2\text{,}\) \(f (0) = 0\text{,}\) and \(f (1) = -1\text{.}\)
  1. Make a table of values for \(f (x)\) and another table for its inverse function.
  2. Find \(f^{-1}(-1) \)
  3. Find \(f^{-1}(1) \)

3.

\(f (x) = x^3+x+1\)
  1. Make a table of values for \(f (x)\) and another table for its inverse function.
  2. Find \(f^{-1}(1) \)
  3. Find \(f^{-1}(3) \)

4.

\(f (x) =x^5+x^3+7 \)
  1. Make a table of values for \(f (x)\) and another table for its inverse function.
  2. Find \(f^{-1}(7) \)
  3. Find \(f^{-1}(5) \)

Exercise Group.

For Problems 5-8, use the graph to evaluate each expression.
5.
An insurance investigator measures the length, \(d\text{,}\) of the skid marks at an accident scene, in feet. The graph shows the function \(v = f (d)\text{,}\) which gives the velocity, \(v\) (mph), at which a car was traveling when it hit the brakes.
velocity vs skid marks length
  1. Use the graph to estimate \(f (60)\) and explain its meaning in this context.
  2. Use the graph to estimate \(f^{-1}(60)\) and explain its meaning in this context.
6.
The weight, \(m\text{,}\) of a missile launched from a catapult is a function of the distance, \(d\text{,}\) to the target. The graph shows the function \(m = f (d)\text{,}\) where \(d\) is in meters and \(m\) is in kilograms.
mass vs target distance
  1. Use the graph to estimate \(f (100)\) and explain its meaning in this context.
  2. Use the graph to estimate \(f^{-1}(100)\) and explain its meaning in this context.
7.
After eating, the weight of a vampire bat drops steadily until its next meal. The graph shows the function \(W = f (t)\text{,}\) which gives the weight, \(W\text{,}\) of the bat in grams \(t\) hours since its last meal.
bat weight vs time
  1. Estimate the coordinates of the point of starvation. Include units in your answer.
  2. Use the graph to estimate \(f^{-1}(90)\) and explain what it tells us about vampire bats.
8.
The amount of money, \(A\text{,}\) in an interest-bearing savings account is a function of the number of years, \(t\text{,}\) it remains in the account. The graph shows \(A = f (t)\text{,}\) where \(A\) is in thousands of dollars.
exponential growth
  1. Use the graph to estimate \(f (30)\) and explain what it tells us about the account.
  2. Use the graph to estimate \(f^{-1}(30)\) and explain what it tells us about the account.

9.

The function \(I = g(r ) = (1 + r )^5 - 1\) gives the interest, \(I\text{,}\) that a dollar earns in \(5\) years in terms of the interest rate, \(r\text{.}\)
  1. Evaluate \(g(0.05)\) and explain what it tells us about the interest.
  2. Find the interest rate needed to earn \(\$0.50\) by substituting \(I = 0.50\) in the formula and solving for \(r\text{.}\)
  3. Find a formula for the inverse function.
  4. Write your answer to part (b) with inverse function notation.

10.

The function \(C = h(F) = \dfrac{5}{9}(F - 32)\) gives the Celsius temperature \(C\) in terms of the Fahrenheit temperature \(F\text{.}\)
  1. Evaluate \(h(104)\) and explain what it tells us about the temperature.
  2. Find the Fahrenheit temperature of \(37\degree\) Celsius by substituting \(C = 37\) in the formula and solving for \(F\text{.}\)
  3. Find a formula for the inverse function.
  4. Write your answer to part (b) with inverse function notation.

11.

If you are flying in an airplane at an altitude of \(h\) miles, on a clear day you can see a distance of \(d\) miles to the horizon, where \(d = f (h) = \sqrt{7920h}\text{.}\)
  1. Evaluate \(f(0.5)\) and explain what it tells us about the horizon.
  2. Find the altitude needed in order to see a distance of \(10\) mile by substituting \(d = 10\) in the formula and solving for \(h\text{.}\)
  3. Find a formula for the inverse function.
  4. Write your answer to part (b) with inverse function notation.

12.

A moving ship creates waves that impede its own speed. The function \(v = f (L) = 1.3\sqrt{L}\) gives the ship’s maximum speed in knots in terms of its length, \(L\text{,}\) in feet.
  1. Evaluate \(f(400)\) and explain what it tells us about the ship’s speed.
  2. Find the length needed for a maximum speed of \(35\) knots by substituting \(v = 35\) in the formula and solving for \(L\text{.}\)
  3. Find a formula for the inverse function.
  4. Write your answer to part (b) with inverse function notation.

13.

  1. Use the graph of \(h(x) = \sqrt{5 - x}\) to find \(h^{-1}(3)\text{.}\)
  2. Find a formula for \(h^{-1}(x)\) and evaluate \(h^{-1}(3)\text{.}\)
transformed square root

14.

  1. Use the graph of \(g(x) = \dfrac{1}{3 - x}\) to find \(g^{-1}(-2)\text{.}\)
  2. Find a formula for \(g^{-1}(x)\) and evaluate \(g^{-1}(-2)\text{.}\)
transformed reciprocal function

15.

  1. Find \(f^{-1}\) for the function \(f (x) = (x - 2)^3\text{.}\)
  2. Show that \(f^{-1}\) undoes the effect of \(f\) on \(x = 4\text{.}\)
  3. Show that \(f\) undoes the effect of \(f^{-1}\) on \(x = -8\text{.}\)
  4. Graph the function and its inverse on the same grid, along with the graph of \(y = x\text{.}\)

16.

  1. Find \(f^{-1}\) for the function \(f (x) = \dfrac{2}{x+1} \text{.}\)
  2. Show that \(f^{-1}\) undoes the effect of \(f\) on \(x = 3\text{.}\)
  3. Show that \(f\) undoes the effect of \(f^{-1}\) on \(x = -1\text{.}\)
  4. Graph the function and its inverse on the same grid, along with the graph of \(y = x\text{.}\)

17.

If \(F(t) = \dfrac{2}{3}t + 1\text{,}\) find \(F^{-1}(5)\text{.}\)

18.

If \(G(s) = \dfrac{s-3}{4} \text{,}\) find \(G^{-1}(-2)\text{.}\)

19.

If \(m(v) =6- \dfrac{2}{v}\text{,}\) find \(m^{-1}(-3)\text{.}\)

20.

If \(p(z) = 1- 2z^3 \text{,}\) find \(p^{-1}(7)\text{.}\)

21.

If \(f(x) = \dfrac{x+2}{x-1}\text{,}\) find \(f^{-1}(2)\text{.}\)

22.

If \(g(n) = \dfrac{3n+1}{n-3} \text{,}\) find \(g^{-1}(-2)\text{.}\)

Exercise Group.

For Problems 23–26,
  1. Use the graph to make a table of values for the function \(y = f (x)\text{.}\)
  2. Make a table of values and a graph of the inverse function.
23.
line
24.
line
25.
curve
26.
root

Exercise Group.

For Problems 27–32,
  1. Find a formula for the inverse of the function.
  2. Graph the function and its inverse on the same set of axes, along with the graph of \(y = x\text{.}\)
27.
\(f(x)=2x-6 \)
28.
\(f(x)=3x-1 \)
29.
\(f(x)=x^3+1 \)
30.
\(f(x)=\sqrt[3]{x+1} \)
31.
\(f(x)=\dfrac{1}{x-1} \)
32.
\(f(x)=\dfrac{1}{x}-3 \)

33.

  1. Find the domain and range of the function \(g(x) = \sqrt{4 - x}\text{.}\)
  2. Find a formula for \(g^{-1}(x)\text{.}\)
  3. State the domain and range of \(g^{-1}(x)\text{.}\)
  4. Graph \(g\) and \(g^{-1}\) on the same grid.

34.

  1. Find the domain and range of the function \(g(x) =8- \sqrt{x}\text{.}\)
  2. Find a formula for \(g^{-1}(x)\text{.}\)
  3. State the domain and range of \(g^{-1}(x)\text{.}\)
  4. Graph \(g\) and \(g^{-1}\) on the same grid.

Exercise Group.

Which of the functions in Problems 35–42 have inverses that are also functions?
35.
four curves
36.
four curves
37.
  1. \(\displaystyle f(x)=x \)
  2. \(\displaystyle f(x)=x^2 \)
38.
  1. \(\displaystyle f(x)=x^3 \)
  2. \(\displaystyle f(x)=\abs{x} \)
39.
  1. \(\displaystyle f(x)=\dfrac{1}{x} \)
  2. \(\displaystyle f(x)=\dfrac{1}{x^2} \)
40.
  1. \(\displaystyle f(x)=\sqrt{x} \)
  2. \(\displaystyle f(x)=\sqrt[3]{x} \)
41.
  1. \(\displaystyle f(x)=2^x \)
  2. \(\displaystyle f(x)=\left(\dfrac{1}{2}\right)^x \)
42.
  1. \(\displaystyle f(x)=x^3+x^2 \)
  2. \(\displaystyle f(x)=x^3+x \)

43.

Find a formula for each function shown in (a)–(d). Then match each function with its inverse from I–IV.
two columns of four graphs

44.

Find a formula for each function shown in (a)–(d). Then match each function with its inverse from I–IV.
two columns of four graphs

Exercise Group.

For Problems 45 and 46, use the graph of \(f\) to match the other graphs with the appropriate function. (Hint: Look at the coordinates of some specific points.)
45.
increasing cu curve
  1. \(\displaystyle -f\)
  2. \(\displaystyle \dfrac{1}{f} \)
  3. \(\displaystyle f^{-1} \)
  1. curve
  2. curve
  3. curve
46.
curve
  1. \(\displaystyle -f\)
  2. \(\displaystyle \dfrac{1}{f} \)
  3. \(\displaystyle f^{-1} \)
  1. curve
  2. curve
  3. curve