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\)
(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\)
(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\)

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.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\)
(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?
(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?

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?
(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?

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\)
(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\)
(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\)
(d)
Check your answer to the previous question by finding \(f(f^{-1}(x))\) and \(f^{-1}(f(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}\)
(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}\)

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} \)
(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}} \)

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\)
(d)
For which values of \(x\) is it true that \(f(g(x))=x\text{?}\)
(e)
For which values of \(x\) is it true that \(g(f(x))=x\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{.}\)

Subsection 2.6.2 Exercises