Skip to main content
Logo image

Section 2.6 Finding the Inverse Function (FN6)

Subsection 2.6.1 Activities

Remark 2.6.1.

A function is a process that converts a collection of inputs to a corresponding collection of outputs. One question we can ask is: for a particular function, can we reverse the process and think of the original function’s outputs as the inputs?

Activity 2.6.2.

Temperature can be measured using many different units such as Fahrenheit, Celsius, and Kelvin. Fahrenheit is what is usually reported on the news each night in the United States, while Celsius is commonly used for scientific work. We will begin by converting between these two units. To convert from degrees Fahrenheit to Celsius use the following formula.
\begin{equation*} C=\dfrac{5}{9} (F-32) \end{equation*}
(a)
Room temperature is around \(68\) degrees Fahrenheit. Use the above equation to convert this temperature to Celsius.
  1. \(\displaystyle 5.8\)
  2. \(\displaystyle 20\)
  3. \(\displaystyle 155.4\)
  4. \(\displaystyle 293\)
Answer.
B
(b)
Solve the equation \(C=\dfrac{5}{9} (F-32)\) for \(F\) in terms of \(C\text{.}\)
  1. \(\displaystyle F=\dfrac{5}{9} C + 32\)
  2. \(\displaystyle F=\dfrac{5}{9} C - 32\)
  3. \(\displaystyle F=\dfrac{9}{5}( C + 32)\)
  4. \(\displaystyle F=\dfrac{9}{5} C + 32\)
Answer.
D
(c)
Alternatively, \(20\) degrees Celsius is a fairly comfortable temperature. Use your solution for \(F\) in terms of \(C\) to convert this temperature to Fahrenheit.
  1. \(\displaystyle 43.1\)
  2. \(\displaystyle -20.9\)
  3. \(\displaystyle 93.6\)
  4. \(\displaystyle 68\)
Answer.
D

Remark 2.6.3.

Notice that when you converted \(68\) degrees Fahrenheit, you got a value of \(20\) degrees Celsius. Alternatively, when you converted \(20\) degrees Celsius, you got \(68\) degrees Fahrenheit. This indicates that the equation you were given for \(C\) and the equation you found for \(F\) are inverses.

Definition 2.6.4.

Let \(f\) be a function. If there exists a function \(g\) such that
\begin{equation*} f(g(x))=x \quad \text{and} \quad g(f(x))=x \end{equation*}
for all \(x\text{,}\) then we say \(f\) has an inverse function, or that \(g\) is the inverse of \(f\text{.}\) When a given function \(f\) has an inverse function, we usually denote it as \(f^{-1}\text{,}\) which is read as "\(f\) inverse".

Remark 2.6.5.

An inverse is a function that "undoes" another function. For any input in the domain, the function \(g\) will reverse the process of \(f\text{.}\)

Activity 2.6.6.

Let \(f(x)=2x+7\) and \(g(x)=\dfrac{x-7}{2}\text{.}\)
(a)
Compute \(f(g(x))\text{.}\)
Answer.
\(f(g(x))=x\)
(b)
Compute \(g(f(x))\text{.}\)
Answer.
\(g(f(x))=x\)
(c)
What can you conclude about \(f(x)\) and \(g(x)\text{?}\)
Answer.
\(f(x)\) and \(g(x)\) are inverses of each other.

Activity 2.6.7.

It is important to note that in Definition 2.6.4 we say "if there exists a function," but we don’t guarantee that this is always the case. How can we determine whether a function has a corresponding inverse or not? Consider the following two functions \(f\) and \(g\) represented by the tables.
Table 2.6.8.
\(x\) \(f(x)\)
\(0\) \(6\)
\(1\) \(4\)
\(2\) \(3\)
\(3\) \(4\)
\(4\) \(6\)
Table 2.6.9.
\(x\) \(g(x)\)
\(0\) \(3\)
\(1\) \(1\)
\(2\) \(4\)
\(3\) \(2\)
\(4\) \(0\)
(a)
Use the definition of \(g(x)\) in Table 2.6.9 to find an \(x\) such that \(g(x)=4\text{.}\)
  1. \(\displaystyle x=0\)
  2. \(\displaystyle x=1\)
  3. \(\displaystyle x=2\)
  4. \(\displaystyle x=3\)
  5. \(\displaystyle x=4\)
Answer.
C
(b)
Is it possible to reverse the input and output rows of the function \(g(x)\) and have the new table result in a function?
Answer.
Yes. If you reverse the input and output values, you will see that every input goes to exactly one output (which defines a function).
(c)
Use the definition of \(f(x)\) in Table 2.6.8 to find an \(x\) such that \(f(x)=4\text{.}\)
  1. \(\displaystyle x=0\)
  2. \(\displaystyle x=1\)
  3. \(\displaystyle x=2\)
  4. \(\displaystyle x=3\)
  5. \(\displaystyle x=4\)
Answer.
B and D
(d)
Is it possible to reverse the input and output rows of the function \(f(x)\) and have the new table result in a function?
Answer.
If you reverse the input and output values, the resulting table is NOT a function. This is because the new input \(x=4\) will be mapping onto two \(y\)-values (\(1\) and \(3\)).

Remark 2.6.10.

Some functions, like \(f(x)\) in Table 2.6.8, have a given output value that corresponds to two or more input values: \(f(0)=6\) and \(f(4)=6 \text{.}\) If we attempt to reverse the process of this function, we have a situation where the new input \(6\) would correspond to two potential outputs.

Definition 2.6.11.

A one-to-one function is a function in which each output value corresponds to exactly one input.

Remark 2.6.12.

A function must be one-to-one in order to have an inverse.

Activity 2.6.13.

For each of the following graphs, determine if they represent a function that is one-to-one or not. If they are not one-to-one, what outputs have the same input?
(a)
Answer.
This graph is not one-to-one
(b)
Answer.
This graph is one-to-one
(c)
Answer.
This graph is one-to-one
(d)
Answer.
This graph is not one-to-one
(e)
For each graph that was not one-to-one, draw a line connecting the points where two inputs had the same output. What do you notice about the lines?
Answer.
A line between two points whose output is the same have the same \(y\)-value, so the line is horizontal.

Observation 2.6.14.

When two outputs have the same input, this means that a horizontal line intersects the graph in two places. This leads us to the horizontal line test for one-to-one functions.

Activity 2.6.16.

Consider the function \(f(x)=\dfrac{x-5}{3}\text{.}\)
(a)
When you evaluate this expression for a given input value of \(x\text{,}\) what operations do you perform and in what order?
  1. divide by \(3\text{,}\) subtract \(5\)
  2. subtract \(5\text{,}\) divide by \(3\)
  3. add \(5\text{,}\) multiply by \(3\)
  4. multiply by \(3\text{,}\) add \(5\)
Answer.
B
(b)
When you "undo" this expression to solve for a given output value of \(y\text{,}\) what operations do you perform and in what order?
  1. divide by \(3\text{,}\) subtract \(5\)
  2. subtract \(5\text{,}\) divide by \(3\)
  3. add \(5\text{,}\) multiply by \(3\)
  4. multiply by \(3\text{,}\) add \(5\)
Answer.
D
(c)
This set of operations reverses the process for the original function, so can be considered the inverse function. Write an equation to express the inverse function \(f^{-1}\text{.}\)
  1. \(\displaystyle f^{-1}(x)=\dfrac{x}{3}-5\)
  2. \(\displaystyle f^{-1}(x)=\dfrac{x-5}{3}\)
  3. \(\displaystyle f^{-1}(x)=5(x+3)\)
  4. \(\displaystyle f^{-1}(x)=3x+5\)
Answer.
D
(d)
Check your answer to the previous question by finding \(f(f^{-1}(x))\) and \(f^{-1}(f(x))\text{.}\)
Answer.
By completing this task, students should find that when they do the composition (in both directions), they will get an output of \(x\text{.}\)

Observation 2.6.17.

To find the inverse of a one-to-one function, perform the reverse operations in the opposite order.

Activity 2.6.18.

Let’s look at an alternate method for finding an inverse by solving the function for \(x\) and then interchanging the \(x\) and \(y\text{.}\)
\begin{equation*} h(x)=\dfrac{x}{x+1} \end{equation*}
(a)
Interchange the variables \(x\) and \(y\text{.}\)
  1. \(\displaystyle y=\dfrac{x}{x+1}\)
  2. \(\displaystyle x=\dfrac{y}{x+1}\)
  3. \(\displaystyle x=\dfrac{y}{y+1}\)
  4. \(\displaystyle x=\dfrac{x}{y+1}\)
Answer.
C
(b)
Eliminate the denominator.
  1. \(\displaystyle y(x+1)=x\)
  2. \(\displaystyle x(x+1)=y\)
  3. \(\displaystyle x(y+1)=x\)
  4. \(\displaystyle x(y+1)=y\)
Answer.
D
(c)
Distribute and gather the \(y\) terms together.
  1. \(\displaystyle yx+y=x\)
  2. \(\displaystyle x^{2}+x=y\)
  3. \(\displaystyle xy-y=-x\)
  4. \(\displaystyle xy=0\)
Answer.
C
(d)
Write the inverse function, by factoring and solving for \(y\text{.}\)
  1. \(\displaystyle h^{-1}(x)= \dfrac{x}{x-1}\)
  2. \(\displaystyle h^{-1}(x)=\dfrac{x}{1-x}\)
  3. \(\displaystyle h^{-1}(x)= \dfrac{-x}{1-x}\)
  4. \(\displaystyle h^{-1}(x)= \dfrac{x+1}{x}\)
Answer.
B

Activity 2.6.19.

Find the inverse of each function, using either method. Check your answer using function composition.
(a)
\(g(x)=\dfrac{4x-1}{7} \)
  1. \(\displaystyle g^{-1}(x)=\dfrac{7x+1}{4} \)
  2. \(\displaystyle g^{-1}(x)= \dfrac{7x}{4}+1\)
  3. \(\displaystyle g^{-1}(x)= \dfrac{4x+1}{7}\)
  4. \(\displaystyle g^{-1}(x)=\dfrac{7}{4x-1} \)
Answer.
A
(b)
\(f(x)=2x^3-3 \)
  1. \(\displaystyle f^{-1}(x)= \frac{1}{2}x^{\frac{1}{3}}+3 \)
  2. \(\displaystyle f^{-1}(x)= \left(\frac{1}{2}x\right)^{\frac{1}{3}}+3 \)
  3. \(\displaystyle f^{-1}(x)= \left(\frac{1}{2}x+3\right)^{\frac{1}{3}} \)
  4. \(\displaystyle f^{-1}(x)= \frac{1}{2}(x+3)^{\frac{1}{3}} \)
Answer.
D

Activity 2.6.20.

Consider the functions \(f(x)=x^2\) and \(g(x)=\sqrt{x}\text{.}\)
(a)
Compute each of the following
  1. \(\displaystyle \left(\sqrt{9}\right)^2\)
  2. \(\displaystyle \left(\sqrt{25}\right)^2\)
  3. \(\displaystyle \left(\sqrt{17}\right)^2\)
Answer.
  1. \(\displaystyle 9\)
  2. \(\displaystyle 25\)
  3. \(\displaystyle 17\)
(b)
Compute each of the following
  1. \(\displaystyle \sqrt{3^2}\)
  2. \(\displaystyle \sqrt{11^2}\)
  3. \(\displaystyle \sqrt{37^2}\)
  4. \(\displaystyle \sqrt{(-4)^2}\)
Answer.
  1. \(\displaystyle 3\)
  2. \(\displaystyle 11\)
  3. \(\displaystyle 37\)
  4. \(\displaystyle 4\)
(c)
Are the functions \(f(x)=x^2\) and \(g(x)=\sqrt{x}\) one-to-one?
Hint.
Use the horizontal line test.
Answer.
\(f(x)=x^2\) is not one-to-one but \(g(x)=\sqrt{x}\) is.
(d)
For which values of \(x\) is it true that \(f(g(x))=x\text{?}\)
Answer.
\(\left(\sqrt{x}\right)^2=x\) for all \(x\) in the interval \([0, \infty)\text{.}\)
(e)
For which values of \(x\) is it true that \(g(f(x))=x\text{?}\)
Answer.
\(\sqrt{x^2}=x\) for all \(x\) in the interval \([0, \infty)\text{.}\)

Observation 2.6.21.

While \(f(x)=x^2\) is not a one-to-one function and thus cannot have its inverse, we can restrict the domain to find an invertible function. In this case, considering \(f_0(x)=x^2\) defined only on the interval \([0,\infty)\text{,}\) \(f_0(x)\) is a one-to-one function with inverse \(f_0^{-1}(x)=\sqrt{x}\text{.}\)

Remark 2.6.22.

When finding inverses algebraically, it is tempting to write \(\sqrt{x^2}=x\text{,}\) but this only true for non-negative \(x\)-values. In general, \(\sqrt{x^2}=|x|\text{.}\)

Exercises 2.6.2 Exercises