MX Algebra Inverse Functions

Section 3.7Inverse Functions

Corequisite Skills review (optional warm-up)

Learning Objectives

  • Find and evaluate composite functions (IA 10.1.1).
  • Determine whether a function is one-to-one (IA 10.1.2).

Objective 1: Find and evaluate composite functions (IA 10.1.1).

A composite function is a two-step function and can have numerical or variable inputs.

This figure shows x as the input to a box denoted as function g with g of x as the output of the box. Then, g of x is the input to a box denoted as function f with f of g of x as the output of the box.

\(\left(fog\right)\left(x\right)=f\left(g\left(x\right)\right)\) is read as “f of g of x”.

To evaluate a composite function, we always start by evaluating the inner function and then evaluate the outer function in terms of the inner function.

Warm-up Example 1Find and evaluate composite functions.

For functions \(f\left(x\right)=2x-7\) , \(g\left(x\right)=\frac{x+7}{2}\) , find:

  • ⓐ \(g\left(5\right)\)
  • ⓑ \(f\left(g\left(5\right)\right)\)
  • ⓒ \(f\left(g\left(x\right)\right)\)
  • ⓐ To find \(g\left(5\right)\) , we evaluate \(g\left(x\right)\) when \(x\) is 5.
    \(g\left(x\right)=\frac{x+7}{2}\)
    \(g\left(5\right)=\frac{5+7}{2}=\frac{12}{2}=6\)
  • ⓑTo find \(f\left(g\left(5\right)\right)\) , we start evaluating the inner function \(g\) in terms of 5 (see part a) and then evaluate the outer function \(f\) in terms of this value.
    \(f(g\left(5\right))=f(6)=2(6)-7=12-7=5\)
  • ⓒIn parts a and b we had numerical outputs because our inputs were numbers. When we find \(f\left(g\left(x\right)\right)\) this will be a function written in terms of the variable x.
    \(f(g\left(x\right))=f(\frac{x+7}{2})=2(\frac{x+7}{2})-7=x+7-7=x\)
    This is interesting, notice that the functions \(f(x)\) and \(g(x)\) have a special relationship in that one undoes the other. We call functions like this, inverses of one another. For any one-to-one function \(f(x)\) , the inverse is a function \({f}^{-1}(x)\) such that \({f}^{-1}(f(x))=x\) .

Practice Makes Perfect

Find and evaluate composite functions.

For each of the following function pairs find:

P1

\(f\left(x\right)=\sqrt[3]{x-2}\) , \(g\left(x\right)={x}^{3}+2\)

ⓐ \(f(g\left(x\right))\)

ⓑ \(g(f\left(x\right))\)

ⓒ Graph the functions f(x) and g(x) on the same coordinate system below

A blank Cartesian coordinate system with labeled x and y axes ranging from -10 to 10, complete with grid lines.

ⓓ What do you notice about the relationship between the graphs of f(x) and g(x)?

P2

\(f(x)=\frac{1}{(x+3)}\) , \(g(x)=\frac{1}{x}-3\)

ⓐ \(f(g\left(x\right))\)

ⓑ \(g(f\left(x\right))\)

ⓒ Graph the functions f(x) and g(x) on the same coordinate system below

A blank Cartesian coordinate system with labeled x and y axes ranging from -10 to 10, complete with grid lines.

ⓓ What do you notice about the relationship between the graphs of f(x) and g(x)?

Objective 2: Determine whether a function is one-to-one (IA 10.1.2).

In creating a process called a function, f(x), it is often useful to undo this process, or create an inverse to the function, f-1(x). When finding the inverse, we restrict our work to one-to-one functions, this means that the inverse we find should also be one-to-one. Remember that the horizontal line test is a great way to check to see if a graph represents a one-to-one function.

For any one-to-one function f(x), the inverse is a function f-1(x) such that \({f}^{-1}(f(x))=x\) and \(f({f}^{-1}(x))=x\) .

The following key terms will be important to our understanding of functions and their inverses.

Function: a relation in which each input value yields a unique output value.
Vertical line test: a method of testing whether a graph represents a function by determining whether a vertical line intersects the graph no more than once.
One-to-one function: a function for which each value of the output is associated with a unique input value.
Horizontal line test: a method of testing whether a function is one-to-one by determining whether any horizontal line intersects the graph more than once.

Warm-up Example 2Determine whether a function is one-to-one.

Determine ⓐ whether each graph is the graph of a function and, if so, ⓑ whether it is one-to-one.

This first graph shows a straight line passing through (0, 2) and (3, 0). This second shows a parabola opening up with vertex at (0, negative 1).

ⓐ Since any vertical line intersects the graph in at most one point, the graph is the graph of a function. Since any horizontal line intersects the graph in at most one point, the graph is the graph of a one-to-one function.

ⓑ Since any vertical line intersects the graph in at most one point, the graph is the graph of a function. However, a horizontal line shown on the graph may intersect it in two points. This graph does not represent a one-to-one function.

Practice Makes Perfect

Determine whether each graph is the graph of a function and, if so, whether it is one-to-one.

P3
This figure shows a straight line segment decreasing from (negative 4, 6) to (2, 0), after which it increases from (2, 0) to (6, 4).
P4
This figure shows a graph of a curve that starts at (negative 6 negative 2) increases to the origin and then continues increasing slowly to (6, 2).
P5
This figure shows a graph of a circle with center at the origin and radius 3.

A reversible heat pump is a climate-control system that is an air conditioner and a heater in a single device. Operated in one direction, it pumps heat out of a house to provide cooling. Operating in reverse, it pumps heat into the building from the outside, even in cool weather, to provide heating. As a heater, a heat pump is several times more efficient than conventional electrical resistance heating.

If some physical machines can run in two directions, we might ask whether some of the function “machines” we have been studying can also run backwards. Figure 1 provides a visual representation of this question. In this section, we will consider the reverse nature of functions.

Diagram of a function and would be its inverse.
Figure 1 — Can a function “machine” operate in reverse?

Verifying That Two Functions Are Inverse Functions

Betty is traveling to Milan for a fashion show and wants to know what the temperature will be. She is not familiar with the Celsius scale. To get an idea of how temperature measurements are related, Betty wants to convert 75 degrees Fahrenheit to degrees Celsius using the formula

\[C=\frac{5}{9}(F-32)\]

and substitutes 75 for \(F\) to calculate

\[\frac{5}{9}(75-32)\approx 24\text{°C}\]

Knowing that a comfortable 75 degrees Fahrenheit is about 24 degrees Celsius, Betty gets the week’s weather forecast from Figure 2 for Milan, and wants to convert all of the temperatures to degrees Fahrenheit.

A forecast of Monday’s through Thursday’s weather.
Figure 2

At first, Betty considers using the formula she has already found to complete the conversions. After all, she knows her algebra, and can easily solve the equation for \(F\) after substituting a value for \(C.\) For example, to convert 26 degrees Celsius, she could write

\[\begin{array}{lll}26 & = & \frac{5}{9}(F-32) \\ 26\cdot \frac{9}{5} & = & F-32 \\ F & = & 26\cdot \frac{9}{5}+32\approx 79\end{array}\]

After considering this option for a moment, however, she realizes that solving the equation for each of the temperatures will be awfully tedious. She realizes that since evaluation is easier than solving, it would be much more convenient to have a different formula, one that takes the Celsius temperature and outputs the Fahrenheit temperature.

The formula for which Betty is searching corresponds to the idea of an inverse function, which is a function for which the input of the original function becomes the output of the inverse function and the output of the original function becomes the input of the inverse function.

Given a function \(f(x),\) we represent its inverse as \({f}^{-1}(x),\) read as \(\text{“}f\) inverse of \(x.\text{”}\) The raised \(-1\) is part of the notation. It is not an exponent; it does not imply a power of \(-1\) . In other words, \({f}^{-1}(x)\) does not mean \(\frac{1}{f(x)}\) because \(\frac{1}{f(x)}\) is the reciprocal of \(f\) and not the inverse.

The “exponent-like” notation comes from an analogy between function composition and multiplication: just as \({a}^{-1}a=1\) (1 is the identity element for multiplication) for any nonzero number \(a,\) so \({f}^{-1}∘f\) equals the identity function, that is,

\[({f}^{-1}∘f)(x)={f}^{-1}(f(x))={f}^{-1}(y)=x\]

This holds for all \(x\) in the domain of \(f.\) Informally, this means that inverse functions “undo” each other. However, just as zero does not have a reciprocal, some functions do not have inverses.

Given a function \(f(x),\) we can verify whether some other function \(g(x)\) is the inverse of \(f(x)\) by checking if both \(g(f(x))=x\) and \(f(g(x))=x\) are true.

For example, \(y=4x\) and \(y=\frac{1}{4}x\) are inverse functions.

\[({f}^{-1}∘f)(x)={f}^{-1}(4x)=\frac{1}{4}(4x)=x\]

and

\[(f∘{f}^{-1})(x)=f(\frac{1}{4}x)=4(\frac{1}{4}x)=x\]

A few coordinate pairs from the graph of the function \(y=4x\) are (−2, −8), (0, 0), and (2, 8). A few coordinate pairs from the graph of the function \(y=\frac{1}{4}x\) are (−8, −2), (0, 0), and (8, 2). If we interchange the input and output of each coordinate pair of a function, the interchanged coordinate pairs would appear on the graph of the inverse function.

Inverse Function

For any one-to-one function \(f(x)=y,\) a function \({f}^{-1}(x)\) is an inverse function of \(f\) if \({f}^{-1}(y)=x.\) This can also be written as \({f}^{-1}(f(x))=x\) for all \(x\) in the domain of \(f.\) It also follows that \(f({f}^{-1}(x))=x\) for all \(x\) in the domain of \({f}^{-1}\) if \({f}^{-1}\) is the inverse of \(f.\)

The notation \({f}^{-1}\) is read \(\text{“}f\) inverse.” Like any other function, we can use any variable name as the input for \({f}^{-1},\) so we will often write \({f}^{-1}(x),\) which we read as \(\text{“}f\) inverse of \(x.\text{”}\) Keep in mind that

\[{f}^{-1}(x)\ne \frac{1}{f(x)}\]

and not all functions have inverses.

Example 1

If for a particular one-to-one function \(f(2)=4\) and \(f(5)=12,\) what are the corresponding input and output values for the inverse function?

Swap the input/output roles: if f(2)=4, what must be true about the inverse at 4?

The inverse function reverses the input and output quantities, so if

\[\begin{array}{lll}f(2) & = & 4,\,\text{then }{f}^{-1}(4)=2; \\ f(5) & = & 12,{\,\text{then f}}^{-1}(12)=5.\end{array}\]

Alternatively, if we want to name the inverse function \(g,\) then \(g(4)=2\) and \(g(12)=5.\)

Analysis

Notice that if we show the coordinate pairs in a table form, the input and output are clearly reversed. See Table 1.

Table 1
\((x,f(x))\)\((x,g(x))\)
\((2,4)\)\((4,2)\)
\((5,12)\)\((12,5)\)
Try It #1

Given that \({h}^{-1}(6)=2,\) what are the corresponding input and output values of the original function \(h?\)

\(h(2)=6\)

Did you get it?
How To

Given two functions \(f(x)\) and \(g(x),\) test whether the functions are inverses of each other.

  • Determine whether \(f(g(x))=x\) or \(g(f(x))=x.\)
  • If both statements are true, then \(g={f}^{-1}\) and \(f={g}^{-1}.\) If either statement is false, then both are false, and \(g\ne {f}^{-1}\) and \(f\ne {g}^{-1}.\)
Example 2

If \(f(x)=\frac{1}{x+2}\) and \(g(x)=\frac{1}{x}-2,\) is \(g={f}^{-1}?\)

Compose g(f(x)) and simplify — does it collapse to just x?

\[\begin{array}{lll}g(f(x)) & = & \frac{1}{(\frac{1}{x+2})}-2 \\ & = & x+2-2 \\ & = & x\end{array}\]

We must also verify the other formula.

\[\begin{array}{lll}f(g(x)) & = & \frac{1}{\frac{1}{x}-2+2} \\ & = & \frac{1}{\frac{1}{x}} \\ & = & x\end{array}\]

so

\[g={f}^{-1}\,\text{and }f={g}^{-1}\]

Analysis

Notice the inverse operations are in reverse order of the operations from the original function.

Try It #2

If \(f(x)={x}^{3}-4\) and \(g(x)=\sqrt[\,3]{x+4},\) is \(g={f}^{-1}?\)

Yes

Did you get it?
Example 3

If \(f(x)={x}^{3}\) (the cube function) and \(g(x)=\frac{1}{3}x,\) is \(g={f}^{-1}?\)

Try composing f(g(x)) first; if it doesn't simplify to x, you already have your answer.

\[f(g(x))=\frac{{x}^{3}}{27}\ne x\]

No, the functions are not inverses.

Analysis

The correct inverse to the cube is, of course, the cube root \(\sqrt[3]{x}={x}^{\frac{1}{3}},\) that is, the one-third is an exponent, not a multiplier.

Try It #3

If \(f(x)={(x-1)}^{3}\,\text{and}\,g(x)=\sqrt[3]{x}+1,\) is \(g={f}^{-1}?\)

Yes

Did you get it?

Finding Domain and Range of Inverse Functions

The outputs of the function \(f\) are the inputs to \({f}^{-1},\) so the range of \(f\) is also the domain of \({f}^{-1}.\) Likewise, because the inputs to \(f\) are the outputs of \({f}^{-1},\) the domain of \(f\) is the range of \({f}^{-1}.\) We can visualize the situation as in Figure 3.

Domain and range of a function and its inverse.
Figure 3 — Domain and range of a function and its inverse

When a function has no inverse function, it is possible to create a new function where that new function on a limited domain does have an inverse function. For example, the inverse of \(f(x)=\sqrt{x}\) is \({f}^{-1}(x)={x}^{2},\) because a square “undoes” a square root; but the square is only the inverse of the square root on the domain \([0,\infty ),\) since that is the range of \(f(x)=\sqrt{x}.\)

We can look at this problem from the other side, starting with the square (toolkit quadratic) function \(f(x)={x}^{2}.\) If we want to construct an inverse to this function, we run into a problem, because for every given output of the quadratic function, there are two corresponding inputs (except when the input is 0). For example, the output 9 from the quadratic function corresponds to the inputs 3 and –3. But an output from a function is an input to its inverse; if this inverse input corresponds to more than one inverse output (input of the original function), then the “inverse” is not a function at all! To put it differently, the quadratic function is not a one-to-one function; it fails the horizontal line test, so it does not have an inverse function. In order for a function to have an inverse, it must be a one-to-one function.

In many cases, if a function is not one-to-one, we can still restrict the function to a part of its domain on which it is one-to-one. For example, we can make a restricted version of the square function \(f(x)={x}^{2}\) with its domain limited to \([0,\infty ),\) which is a one-to-one function (it passes the horizontal line test) and which has an inverse (the square-root function).

If \(f(x)={(x-1)}^{2}\) on \([1,\infty ),\) then the inverse function is \({f}^{-1}(x)=\sqrt{x}+1.\)

Q&A

Is it possible for a function to have more than one inverse?

No. If two supposedly different functions, say, \(g\) and \(h,\) both meet the definition of being inverses of another function \(f,\) then you can prove that \(g=h.\) We have just seen that some functions only have inverses if we restrict the domain of the original function. In these cases, there may be more than one way to restrict the domain, leading to different inverses. However, on any one domain, the original function still has only one unique inverse.

Domain and Range of Inverse Functions

The range of a function \(f(x)\) is the domain of the inverse function \({f}^{-1}(x).\)

The domain of \(f(x)\) is the range of \({f}^{-1}(x).\)

How To

Given a function, find the domain and range of its inverse.

  • If the function is one-to-one, write the range of the original function as the domain of the inverse, and write the domain of the original function as the range of the inverse.
  • If the domain of the original function needs to be restricted to make it one-to-one, then this restricted domain becomes the range of the inverse function.
Example 4

Identify which of the toolkit functions besides the quadratic function are not one-to-one, and find a restricted domain on which each function is one-to-one, if any. The toolkit functions are reviewed in Table 2. We restrict the domain in such a fashion that the function assumes all y-values exactly once.

Table 2
ConstantIdentityQuadraticCubicReciprocal
\(f(x)=c\)\(f(x)=x\)\(f(x)={x}^{2}\)\(f(x)={x}^{3}\)\(f(x)=\frac{1}{x}\)
Reciprocal squaredCube rootSquare rootAbsolute value
\(f(x)=\frac{1}{{x}^{2}}\)\(f(x)=\sqrt[3]{x}\)\(f(x)=\sqrt{x}\)\(f(x)=|x|\)

Check each toolkit function against the horizontal line test before restricting its domain.

The constant function is not one-to-one, and there is no domain (except a single point) on which it could be one-to-one, so the constant function has no inverse.

The absolute value function can be restricted to the domain \([0,\infty ),\) where it is equal to the identity function.

The reciprocal-squared function can be restricted to the domain \((0,\infty ).\)

Analysis

We can see that these functions (if unrestricted) are not one-to-one by looking at their graphs, shown in Figure 4. They both would fail the horizontal line test. However, if a function is restricted to a certain domain so that it passes the horizontal line test, then in that restricted domain, it can have an inverse.

Figure 4 — (a) Absolute value (b) Reciprocal square
Try It #4

The domain of function \(f\) is \((1,\infty )\) and the range of function \(f\) is \((-\infty ,-2).\) Find the domain and range of the inverse function.

The domain of function \({f}^{-1}\) is \((-\infty \text{,}-2)\) and the range of function \({f}^{-1}\) is \((1,\infty ).\)

Did you get it?

Finding and Evaluating Inverse Functions

Once we have a one-to-one function, we can evaluate its inverse at specific inverse function inputs or construct a complete representation of the inverse function in many cases.

Inverting Tabular Functions

Suppose we want to find the inverse of a function represented in table form. Remember that the domain of a function is the range of the inverse and the range of the function is the domain of the inverse. So we need to interchange the domain and range.

Each row (or column) of inputs becomes the row (or column) of outputs for the inverse function. Similarly, each row (or column) of outputs becomes the row (or column) of inputs for the inverse function.

Example 5

A function \(f(t)\) is given in Table 3, showing distance in miles that a car has traveled in \(t\) minutes. Find and interpret \({f}^{-1}(70).\)

Table 3
\(t\,\text{(minutes)}\)30507090
\(f(t)\,\text{(miles)}\)20406070

Scan the table for the row where the output is 70 — its input is f⁻¹(70).

The inverse function takes an output of \(f\) and returns an input for \(f.\) So in the expression \({f}^{-1}(70),\) 70 is an output value of the original function, representing 70 miles. The inverse will return the corresponding input of the original function \(f,\) 90 minutes, so \({f}^{-1}(70)=90.\) The interpretation of this is that, to drive 70 miles, it took 90 minutes.

Alternatively, recall that the definition of the inverse was that if \(f(a)=b,\) then \({f}^{-1}(b)=a.\) By this definition, if we are given \({f}^{-1}(70)=a,\) then we are looking for a value \(a\) so that \(f(a)=70.\) In this case, we are looking for a \(t\) so that \(f(t)=70,\) which is when \(t=90.\)

Try It #5

Using Table 4, find and interpret ⓐ \(\,f(60),\) and ⓑ \(\,{f}^{-1}(60).\)

Table 4
\(t\,\text{(minutes)}\)3050607090
\(f(t)\,\text{(miles)}\)2040506070
  • ⓐ \(f(60)=50.\) In 60 minutes, 50 miles are traveled.
  • ⓑ \({f}^{-1}(60)=70.\) To travel 60 miles, it will take 70 minutes.
Did you get it?

Evaluating the Inverse of a Function, Given a Graph of the Original Function

We saw in Functions and Function Notation that the domain of a function can be read by observing the horizontal extent of its graph. We find the domain of the inverse function by observing the vertical extent of the graph of the original function, because this corresponds to the horizontal extent of the inverse function. Similarly, we find the range of the inverse function by observing the horizontal extent of the graph of the original function, as this is the vertical extent of the inverse function. If we want to evaluate an inverse function, we find its input within its domain, which is all or part of the vertical axis of the original function’s graph.

How To

Given the graph of a function, evaluate its inverse at specific points.

  • Find the desired input on the y-axis of the given graph.
  • Read the inverse function’s output from the x-axis of the given graph.
Example 6

A function \(g(x)\) is given in Figure 5. Find \(g(3)\) and \({g}^{-1}(3).\)

A graph displays an exponential growth function g(x) on a coordinate plane. The blue curve rises continuously, starting near the x-axis for negative x values and increasing sharply for positive x values.
Figure 5

Read straight up from x=3 for g(3), then read straight across from y=3 for g⁻¹(3).

To evaluate \(g(3),\) we find 3 on the x-axis and find the corresponding output value on the y-axis. The point \((3,1)\) tells us that \(g(3)=1.\)

To evaluate \({g}^{-1}(3),\) recall that by definition \({g}^{-1}(3)\) means the value of x for which \(g(x)=3.\) By looking for the output value 3 on the vertical axis, we find the point \((5,3)\) on the graph, which means \(g(5)=3,\) so by definition, \({g}^{-1}(3)=5.\) See Figure 6.

Graph of g(x).
Figure 6
Try It #6

Using the graph in Figure 5, ⓐ find \({g}^{-1}(1),\) and ⓑ estimate \({g}^{-1}(4).\)

  • ⓐ 3
  • ⓑ 5.6
Did you get it?

Finding Inverses of Functions Represented by Formulas

Sometimes we will need to know an inverse function for all elements of its domain, not just a few. If the original function is given as a formula—for example, \(y\) as a function of \(x\text{—}\) we can often find the inverse function by solving to obtain \(x\) as a function of \(y.\)

How To

Given a function represented by a formula, find the inverse.

  • Make sure \(f\) is a one-to-one function.
  • Solve for \(x.\)
  • Interchange \(x\) and \(y.\)
  • Replace \(y\) with \({f}^{-1}(x)\) . (Variables may be different in different cases, but the principle is the same.)
Example 7

Find a formula for the inverse function that gives Fahrenheit temperature as a function of Celsius temperature.

\[C=\frac{5}{9}(F-32)\]

Start from the given equation relating C and F, then solve algebraically for F.

\[\begin{array}{lll}C & = & \frac{5}{9}(F-32) \\ C\cdot \frac{9}{5} & = & F-32 \\ F & = & \frac{9}{5}C+32\end{array}\]

By solving in general, we have uncovered the inverse function. If

\[C=h(F)=\frac{5}{9}(F-32),\]

then

\[F={h}^{-1}(C)=\frac{9}{5}C+32\]

In this case, we introduced a function \(h\) to represent the conversion because the input and output variables are descriptive, and writing \({C}^{-1}\) could get confusing.

Try It #7

Solve for \(x\) in terms of \(y\) given \(y=\frac{1}{3}(x-5).\)

\(x=3y+5\)

Did you get it?
Example 8

Find the inverse of the function \(f(x)=\frac{2}{x-3}+4.\)

Undo the operations in reverse order — subtract, then take the reciprocal, then add.

\[\begin{array}{llll}y & = & \frac{2}{x-3}+4 & \,\text{Set up an equation}. \\ y-4 & = & \frac{2}{x-3} & \,\text{Subtract 4 from both sides}. \\ x-3 & = & \frac{2}{y-4} & \,\text{Multiply both sides by }x-3\,\text{and divide by }y-4. \\ x & = & \frac{2}{y-4}+3 & \,\text{Add 3 to both sides}.\end{array}\]

So \({f}^{-1}(y)=\frac{2}{y-4}+3\) or \({f}^{-1}(x)=\frac{2}{x-4}+3.\)

Analysis

The domain and range of \(f\) exclude the values 3 and 4, respectively. \(f\) and \({f}^{-1}\) are equal at two points but are not the same function, as we can see by creating Table 5.

Table 5
\(x\)125\({f}^{-1}(y)\)
\(f(x)\)325\(y\)
Example 9

Find the inverse of the function \(f(x)=2+\sqrt{x-4}.\)

Isolate the square root term before squaring both sides.

\[\begin{array}{lll}y & = & 2+\sqrt{x-4} \\ {(y-2)}^{2} & = & x-4 \\ x & = & {(y-2)}^{2}+4\end{array}\]

So \({f}^{-1}(x)={(x-2)}^{2}+4.\)

The domain of \(f\) is \([4,\infty ).\) Notice that the range of \(f\) is \([2,\infty ),\) so this means that the domain of the inverse function \({f}^{-1}\) is also \([2,\infty ).\)

Analysis

The formula we found for \({f}^{-1}(x)\) looks like it would be valid for all real \(x.\) However, \({f}^{-1}\) itself must have an inverse (namely, \(f\) ) so we have to restrict the domain of \({f}^{-1}\) to \([2,\infty )\) in order to make \({f}^{-1}\) a one-to-one function. This domain of \({f}^{-1}\) is exactly the range of \(f.\)

Try It #8

What is the inverse of the function \(f(x)=2-\sqrt{x}?\) State the domains of both the function and the inverse function.

\({f}^{-1}(x)={(2-x)}^{2};\) \(\text{domain}\,\text{of}\,f:\,\,[0,\infty );\) \(\text{domain}\,\text{of}\,{f}^{-1}:\,(-\infty ,2]\)

Did you get it?

Finding Inverse Functions and Their Graphs

Now that we can find the inverse of a function, we will explore the graphs of functions and their inverses. Let us return to the quadratic function \(f(x)={x}^{2}\) restricted to the domain \([0,\infty )\text{,}\) on which this function is one-to-one, and graph it as in Figure 7.

Figure 7 — Quadratic function with domain restricted to [0, ∞).

Restricting the domain to \([0,\infty )\) makes the function one-to-one (it will obviously pass the horizontal line test), so it has an inverse on this restricted domain.

We already know that the inverse of the toolkit quadratic function is the square root function, that is, \({f}^{-1}(x)=\sqrt{x}.\) What happens if we graph both \(f\) and \({f}^{-1}\) on the same set of axes, using the \(x\text{-}\) axis for the input to both \(f\,\text{and }{f}^{-1}?\)

We notice a distinct relationship: The graph of \({f}^{-1}(x)\) is the graph of \(f(x)\) reflected about the diagonal line \(y=x,\) which we will call the identity line, shown in Figure 8.

Figure 8 — Square and square-root functions on the non-negative domain

This relationship will be observed for all one-to-one functions, because it is a result of the function and its inverse swapping inputs and outputs. This is equivalent to interchanging the roles of the vertical and horizontal axes.

Example 10

Given the graph of \(f(x)\) in Figure 9, sketch a graph of \({f}^{-1}(x).\)

This Cartesian coordinate graph displays a square root function. The curve starts at roughly (0, -3.5) on the y-axis and extends upward and to the right, illustrating an increasing trend.
Figure 9

Reflect a few labeled points on the graph across the line y=x, then connect them.

This is a one-to-one function, so we will be able to sketch an inverse. Note that the graph shown has an apparent domain of \((0,\infty )\) and range of \((-\infty ,\infty ),\) so the inverse will have a domain of \((-\infty ,\infty )\) and range of \((0,\infty ).\)

If we reflect this graph over the line \(y=x,\) the point \((1,0)\) reflects to \((0,1)\) and the point \((4,2)\) reflects to \((2,4).\) Sketching the inverse on the same axes as the original graph gives Figure 10.

Graph of f(x) and f^(-1)(x).
Figure 10 — The function and its inverse, showing reflection about the identity line
Try It #9

Draw graphs of the functions \(f\) and \(\,{f}^{-1}\) from Example 8.

Graph of f(x) and f^(-1)(x).
Did you get it?
Q&A

Is there any function that is equal to its own inverse?

Yes. If \(f={f}^{-1},\) then \(f(f(x))=x,\) and we can think of several functions that have this property. The identity function does, and so does the reciprocal function, because

\[\frac{1}{\frac{1}{x}}=x\]

Any function \(f(x)=c-x,\) where \(c\) is a constant, is also equal to its own inverse.

Media

Access these online resources for additional instruction and practice with inverse functions.

Key Concepts

Section Exercises

Verbal

1

Describe why the horizontal line test is an effective way to determine whether a function is one-to-one?

Each output of a function must have exactly one output for the function to be one-to-one. If any horizontal line crosses the graph of a function more than once, that means that \(y\) -values repeat and the function is not one-to-one. If no horizontal line crosses the graph of the function more than once, then no \(y\) -values repeat and the function is one-to-one.

2

Why do we restrict the domain of the function \(f(x)={x}^{2}\) to find the function’s inverse?

3

Can a function be its own inverse? Explain.

Yes. For example, \(f(x)=\frac{1}{x}\) is its own inverse.

4

Are one-to-one functions either always increasing or always decreasing? Why or why not?

5

How do you find the inverse of a function algebraically?

Given a function \(y=f(x),\) solve for \(x\) in terms of \(y.\) Interchange the \(x\) and \(y.\) Solve the new equation for \(y.\) The expression for \(y\) is the inverse, \(y={f}^{-1}(x).\)

Algebraic

6

Show that the function \(f(x)=a-x\) is its own inverse for all real numbers \(a.\)

For the following exercises, find \({f}^{-1}(x)\) for each function.

7

\(f(x)=x+3\)

\({f}^{-1}(x)=x-3\)

8

\(f(x)=x+5\)

9

\(f(x)=2-x\)

\({f}^{-1}(x)=2-x\)

10

\(f(x)=3-x\)

11

\(f(x)=\frac{x}{x+2}\)

\({f}^{-1}(x)=\frac{-2x}{x-1}\)

12

\(f(x)=\frac{2x+3}{5x+4}\)

For the following exercises, find a domain on which each function \(f\) is one-to-one and non-decreasing. Write the domain in interval notation. Then find the inverse of \(f\) restricted to that domain.

13

\(f(x)={(x+7)}^{2}\)

domain of \(f(x):\,[-7,\infty );\,{f}^{-1}(x)=\sqrt{x}-7\)

14

\(f(x)={(x-6)}^{2}\)

15

\(f(x)={x}^{2}-5\)

domain of \(f(x):\,[0,\infty );\,{f}^{-1}(x)=\sqrt{x+5}\)

16

Given \(f(x)=\frac{x}{2+x}\) and \(g(x)=\frac{2x}{1-x}:\)

  • ⓐFind \(f(g(x))\) and \(g(f(x)).\)
  • ⓑWhat does the answer tell us about the relationship between \(f(x)\) and \(g(x)?\)
  • ⓐ \(f(g(x))=x\) and \(g(f(x))=x.\)
  • ⓑThis tells us that \(f\) and \(g\) are inverse functions

For the following exercises, use function composition to verify that \(f(x)\) and \(g(x)\) are inverse functions.

17

\(f(x)=\sqrt[3]{x-1}\) and \(g(x)={x}^{3}+1\)

\(f(g(x))=x,\,g(f(x))=x\)

18

\(f(x)=-3x+5\) and \(g(x)=\frac{x-5}{-3}\)

Graphical

For the following exercises, use a graphing utility to determine whether each function is one-to-one.

19

\(f(x)=\sqrt{x}\)

one-to-one

20

\(f(x)=\sqrt[3]{3x+1}\)

21

\(f(x)=-5x+1\)

one-to-one

22

\(f(x)={x}^{3}-27\)

For the following exercises, determine whether the graph represents a one-to-one function.

23
Graph of a parabola.

not one-to-one

24
Graph of a step-function.

For the following exercises, use the graph of \(f\) shown in Figure 11.

Graph of a line.
Figure 11
25

Find \(f(0).\)

\(3\)

26

Solve \(f(x)=0.\)

27

Find \({f}^{-1}(0).\)

\(2\)

28

Solve \({f}^{-1}(x)=0.\)

For the following exercises, use the graph of the one-to-one function shown in Figure 12.

Graph of a square root function.
Figure 12
29

Sketch the graph of \({f}^{-1}.\)

Graph of a square root function and its inverse.
30

Find \(f(6)\,\text{and }{f}^{-1}(2).\)

31

If the complete graph of \(f\) is shown, find the domain of \(f.\)

\([2,10]\)

32

If the complete graph of \(f\) is shown, find the range of \(f.\)

Numeric

For the following exercises, evaluate or solve, assuming that the function \(f\) is one-to-one.

33

If \(f(6)=7,\) find \({f}^{-1}(7).\)

\(6\)

34

If \(f(3)=2,\) find \({f}^{-1}(2).\)

35

If \({f}^{-1}(-4)=-8,\) find \(f(-8).\)

\(-4\)

36

If \({f}^{-1}(-2)=-1,\) find \(f(-1).\)

For the following exercises, use the values listed in Table 6 to evaluate or solve.

Table 6
\(x\)0123456789
\(f(x)\)8074265391
37

Find \(f(1).\)

\(0\)

38

Solve \(f(x)=3.\)

39

Find \({f}^{-1}(0).\)

\(1\)

40

Solve \({f}^{-1}(x)=7.\)

41

Use the tabular representation of \(f\) in Table 7 to create a table for \({f}^{-1}(x).\)

Table 7
\(x\)3691314
\(f(x)\)1471216
Table 8
\(x\)1471216
\({f}^{-1}(x)\)3691314

Technology

For the following exercises, find the inverse function. Then, graph the function and its inverse.

42

\(f(x)=\frac{3}{x-2}\)

43

\(f(x)={x}^{3}-1\)

\({f}^{-1}(x)={(1+x)}^{1/3}\)

Graph of a cubic function and its inverse.
44

Find the inverse function of \(f(x)=\frac{1}{x-1}.\) Use a graphing utility to find its domain and range. Write the domain and range in interval notation.

Real-World Applications

45

To convert from \(x\) degrees Celsius to \(y\) degrees Fahrenheit, we use the formula \(f(x)=\frac{9}{5}x+32.\) Find the inverse function, if it exists, and explain its meaning.

\({f}^{-1}(x)=\frac{5}{9}(x-32).\) Given the Fahrenheit temperature, \(x,\) this formula allows you to calculate the Celsius temperature.

46

The circumference \(C\) of a circle is a function of its radius given by \(C(r)=2\pi r.\) Express the radius of a circle as a function of its circumference. Call this function \(r(C).\) Find \(r(36\pi )\) and interpret its meaning.

47

A car travels at a constant speed of 50 miles per hour. The distance the car travels in miles is a function of time, \(t,\) in hours given by \(d(t)=50t.\) Find the inverse function by expressing the time of travel in terms of the distance traveled. Call this function \(t(d).\) Find \(t(180)\) and interpret its meaning.

\(t(d)=\frac{d}{50},\) \(t(180)=\frac{180}{50}.\) The time for the car to travel 180 miles is 3.6 hours.

Chapter Review Exercises

Functions and Function Notation

For the following exercises, determine whether the relation is a function.

1

\({(a,b),(c,d),(e,d)}\)

function

2

\({(5,2),(6,1),(6,2),(4,8)}\)

3

\({y}^{2}+4=x,\) for \(x\) the independent variable and \(y\) the dependent variable

not a function

4

Is the graph in Figure 13 a function?

Graph of a parabola.
Figure 13

For the following exercises, evaluate \(\,\,f(-3);\,\,f(2);\,\,\,f(-a);\,\,\,-f(a);\,\,\,f(a+h).\)

5

\(f(x)=-2{x}^{2}+3x\)

\(f(-3)=-27;\) \(f(2)=-2;\) \(f(-a)=-2{a}^{2}-3a;\)
\(-f(a)=2{a}^{2}-3a;\) \(f(a+h)=-2{a}^{2}+3a-4ah+3h-2{h}^{2}\)

6

\(f(x)=2|3x-1|\)

For the following exercises, determine whether the functions are one-to-one.

7

\(f(x)=-3x+5\)

one-to-one

8

\(f(x)=|x-3|\)

For the following exercises, use the vertical line test to determine if the relation whose graph is provided is a function.

9
Graph of a cubic function.

function

10
Graph of a relation.
11
Graph of a relation.

function

For the following exercises, graph the functions.

12

\(f(x)=|x+1|\)

13

\(f(x)={x}^{2}-2\)

A graph of an upward-opening parabola with its vertex at (0, -2) and passing through approximately (-1.4, 0) and (1.4, 0). The curve extends upwards on both sides.

For the following exercises, use Figure 14 to approximate the values.

Graph of a parabola.
Figure 14
14

\(f(2)\)

15

\(f(-2)\)

\(2\)

16

If \(f(x)=-2,\) then solve for \(x.\)

17

If \(f(x)=1,\) then solve for \(x.\)

\(x=-1.8\) or \(\text{or }x=1.8\)

For the following exercises, use the function \(h(t)=-16{t}^{2}+80t\) to find the values in simplest form.

18

\(\frac{h(2)-h(1)}{2-1}\)

19

\(\frac{h(a)-h(1)}{a-1}\)

\(\frac{-64+80a-16{a}^{2}}{-1+a}=-16a+64\)

Domain and Range

For the following exercises, find the domain of each function, expressing answers using interval notation.

20

\(f(x)=\frac{2}{3x+2}\)

21

\(f(x)=\frac{x-3}{{x}^{2}-4x-12}\)

\((-\infty ,-2)∪(-2,6)∪(6,\infty )\)

22

\(f(x)=\frac{\sqrt{x-6}}{\sqrt{x-4}}\)

23

Graph this piecewise function: \(f(x)=\left\{\begin{array}{l}x+1\,\,x<-2 \\ -2x-3\,\,x\ge -2\end{array}\right.\)

A piecewise linear graph featuring a jump discontinuity at x = -2. The function approaches -1 from the left with an open circle, and has a value of 1 from the right, continuing downwards.

Rates of Change and Behavior of Graphs

For the following exercises, find the average rate of change of the functions from \(x=1\,\text{to }x=2.\)

24

\(f(x)=4x-3\)

25

\(f(x)=10{x}^{2}+x\)

\(31\)

26

\(f(x)=-\frac{2}{{x}^{2}}\)

For the following exercises, use the graphs to determine the intervals on which the functions are increasing, decreasing, or constant.

27
Graph of a parabola.

increasing \((2,\infty );\) decreasing \((-\infty ,2)\)

28
Graph of a cubic function.
29
Graph of a function.

increasing \((-3,1);\) constant \((-\infty ,-3)∪(1,\infty )\)

30

Find the local minimum of the function graphed in (see original).

31

Find the local extrema for the function graphed in (see original).

local minimum \((-2,-3);\) local maximum \((1,3)\)

32

For the graph in Figure 15, the domain of the function is \([-3,3].\) The range is \([-10,10].\) Find the absolute minimum of the function on this interval.

33

Find the absolute maximum of the function graphed in Figure 15.

Graph of a cubic function.
Figure 15

\((-1.8,10)\)

Composition of Functions

For the following exercises, find \((f∘g)(x)\) and \((g∘f)(x)\) for each pair of functions.

34

\(f(x)=4-x,\,g(x)=-4x\)

35

\(f(x)=3x+2,\,g(x)=5-6x\)

\((f∘g)(x)=17-18x;\,(g∘f)(x)=-7-18x\)

36

\(f(x)={x}^{2}+2x,\,g(x)=5x+1\)

37

\(f(x)=\sqrt{x+2},\,\,g(x)=\frac{1}{x}\)

\((f∘g)(x)=\sqrt{\frac{1}{x}+2};\,(g∘f)(x)=\frac{1}{\sqrt{x+2}}\)

38

\(f(x)=\frac{x+3}{2},\,\,g(x)=\sqrt{1-x}\)

For the following exercises, find \((f∘g)\) and the domain for \((f∘g)(x)\) for each pair of functions.

39

\(f(x)=\frac{x+1}{x+4},\,\,g(x)=\frac{1}{x}\)

\((f∘g)(x)=\frac{1+x}{1+4x}, x\ne 0, x\ne -\frac{1}{4}\)

40

\(f(x)=\frac{1}{x+3},\,\,g(x)=\frac{1}{x-9}\)

41

\(f(x)=\frac{1}{x},\,\,g(x)=\sqrt{x}\)

\((f∘g)(x)=\frac{1}{\sqrt{x}},\,x>0\)

42

\(f(x)=\frac{1}{{x}^{2}-1},\,\,g(x)=\sqrt{x+1}\)

For the following exercises, express each function \(H\) as a composition of two functions \(f\) and \(g\) where \(H(x)=(f∘g)(x).\)

43

\(H(x)=\sqrt{\frac{2x-1}{3x+4}}\)

sample: \(g(x)=\frac{2x-1}{3x+4};\,f(x)=\sqrt{x}\)

44

\(H(x)=\frac{1}{{(3{x}^{2}-4)}^{-3}}\)

Transformation of Functions

For the following exercises, sketch a graph of the given function.

45

\(f(x)={(x-3)}^{2}\)

Graph of f(x)
46

\(f(x)={(x+4)}^{3}\)

47

\(f(x)=\sqrt{x}+5\)

Graph of f(x)
48

\(f(x)=-{x}^{3}\)

49

\(f(x)=\sqrt[3]{-x}\)

Graph of f(x)
50

\(f(x)=5\sqrt{-x}-4\)

51

\(f(x)=4[|x-2|-6]\)

A V-shaped graph resembling an absolute value function is shown on a Cartesian plane. Its vertex is at (2, -24), and it crosses the x-axis at (-4, 0) and (8, 0).
52

\(f(x)=-{(x+2)}^{2}-1\)

For the following exercises, sketch the graph of the function \(g\) if the graph of the function \(f\) is shown in Figure 16.

Figure 16
53

\(g(x)=f(x-1)\)

Graph of a half circle.
54

\(g(x)=3f(x)\)

For the following exercises, write the equation for the standard function represented by each of the graphs below.

55
Graph of an absolute function.

\(f(x)=|x-3|\)

56
Graph of a half circle.

For the following exercises, determine whether each function below is even, odd, or neither.

57

\(f(x)=3{x}^{4}\)

even

58

\(g(x)=\sqrt{x}\)

59

\(h(x)=\frac{1}{x}+3x\)

odd

For the following exercises, analyze the graph and determine whether the graphed function is even, odd, or neither.

60
Graph of a parabola.
61
Graph of a parabola.

even

62
Graph of a cubic function.

Absolute Value Functions

For the following exercises, write an equation for the transformation of \(f(x)=|x|.\)

63
Graph of f(x).

\(f(x)=\frac{1}{2}|x+2|+1\)

64
A blue V-shaped graph on a Cartesian coordinate plane, representing an absolute value function. The graph opens upwards, with its vertex located at the point (1.5, -3).
65
Graph of f(x).

\(f(x)=-3|x-3|+3\)

For the following exercises, graph the absolute value function.

66

\(f(x)=|x-5|\)

67

\(f(x)=-|x-3|\)

A graph displays a blue V-shaped function, symmetrical around x=3, with its vertex at (3, 0). The two linear segments extend downwards, passing through points (0, -3) and (6, -3).
68

\(f(x)=|2x-4|\)

Inverse Functions

For the following exercises, find \(\,{f}^{-1}(x)\) for each function.

69

\(f(x)=9+10x\)

\({f}^{-1}(x)=\frac{x-9}{10}\)

70

\(f(x)=\frac{x}{x+2}\)

For the following exercise, find a domain on which the function \(\,f\) is one-to-one and non-decreasing. Write the domain in interval notation. Then find the inverse of \(\,f\) restricted to that domain.

71

\(f(x)={x}^{2}+1\)

\({f}^{-1}(x)=\sqrt{x-1}\)

72

Given \(f(x)={x}^{3}-5\) and \(g(x)=\sqrt[3]{x+5}:\)

  • ⓐFind \(f(g(x))\) and \(g(f(x)).\)
  • ⓑWhat does the answer tell us about the relationship between \(f(x)\) and \(g(x)?\)

For the following exercises, use a graphing utility to determine whether each function is one-to-one.

73

\(f(x)=\frac{1}{x}\)

The function is one-to-one.

A graph of the reciprocal function y = 1/x, showing a curve in the first and third quadrants of the Cartesian coordinate system. The x-axis and y-axis are labeled with tick marks from -4 to 4. The curve has a vertical asymptote at x=0 (the y-axis) and a horizontal asymptote at y=0 (the x-axis). In the first quadrant, the curve starts high near the positive y-axis, passes through (1,1) and extends towards the positive x-axis. In the third quadrant, the curve starts low near the negative y-axis, passes through (-1,-1) and extends towards the negative x-axis.
74

\(f(x)=-3{x}^{2}+x\)

75

If \(f(5)=2,\) find \({f}^{-1}(2).\)

\(5\)

76

If \(f(1)=4,\) find \({f}^{-1}(4).\)

Practice Test

For the following exercises, determine whether each of the following relations is a function.

1

\(y=2x+8\)

The relation is a function.

2

\({(2,1),(3,2),(-1,1),(0,-2)}\)

For the following exercises, evaluate the function \(f(x)=-3{x}^{2}+2x\) at the given input.

3

\(f(-2)\)

−16

4

\(f(a)\)

5

Show that the function \(f(x)=-2{(x-1)}^{2}+3\) is not one-to-one.

The graph is a parabola and the graph fails the horizontal line test.

6

Write the domain of the function \(f(x)=\sqrt{3-x}\) in interval notation.

7

Given \(f(x)=2{x}^{2}-5x,\) find \(f(a+1)-f(1)\) in simplest form.

\(2{a}^{2}-a\)

8

Graph the function \(f(x)=\left\{\begin{array}{ll}x+1\,\text{ if} & -2<x<3 \\ \,\,-x\,\text{ if } & x\ge 3\end{array}\right.\)

9

Find the average rate of change of the function \(f(x)=3-2{x}^{2}+x\) by finding \(\frac{f(b)-f(a)}{b-a}\) in simplest form.

\(-2(a+b)+1\)

For the following exercises, use the functions \(f(x)=3-2{x}^{2}+x\,\text{and }g(x)=\sqrt{x}\) to find the composite functions.

10

\((g∘f)(x)\)

11

\((g∘f)(1)\)

\(\sqrt{2}\)

12

Express \(H(x)=\sqrt[3]{5{x}^{2}-3x}\) as a composition of two functions, \(f\) and \(g,\) where \((f∘g)(x)=H(x).\)

For the following exercises, graph the functions by translating, stretching, and/or compressing a toolkit function.

13

\(f(x)=\sqrt{x+6}-1\)

A graph displays a curve resembling a square root function, starting at approximately (-6, -1) and extending upward and to the right, passing through (-5, 0).
14

\(f(x)=\frac{1}{x+2}-1\)

For the following exercises, determine whether the functions are even, odd, or neither.

15

\(f(x)=-\frac{5}{{x}^{2}}+9{x}^{6}\)

\(\text{even}\)

16

\(f(x)=-\frac{5}{{x}^{3}}+9{x}^{5}\)

17

\(f(x)=\frac{1}{x}\)

\(\text{odd}\)

18

Graph the absolute value function \(f(x)=-2|x-1|+3.\)

For the following exercises, find the inverse of the function.

19

\(f(x)=3x-5\)

\({f}^{-1}(x)=\frac{x+5}{3}\)

20

\(f(x)=\frac{4}{x+7}\)

For the following exercises, use the graph of \(g\) shown in Figure 17.

Graph of a cubic function.
Figure 17
21

On what intervals is the function increasing?

\((-\infty ,-1.1)\,\text{and }(1.1,\infty )\)

22

On what intervals is the function decreasing?

23

Approximate the local minimum of the function. Express the answer as an ordered pair. The ordered pair should include both the \(x\) value as well as the \(g(x)\) value.

\((1.1,-0.9)\)

24

Approximate the local maximum of the function. Express the answer as an ordered pair. The ordered pair should include both the \(x\) value as well as the \(g(x)\) value.

For the following exercises, use the graph of the piecewise function shown in Figure 18.

Graph of absolute function and step function.
Figure 18
25

Find \(f(2).\)

\(f(2)=2\)

26

Find \(f(-2).\)

27

Write an equation for the piecewise function.

\(f(x)=\left\{\begin{array}{l}|x|\,\,\,\text{if}\,\,x\le 2 \\ 3\,\,\,\,\,\text{if}\,\,x>2\end{array}\right.\)

For the following exercises, use the values listed in Table 9.

Table 9
\(x\)012345678
\(F(x)\)1357911131517
28

Find \(f(6).\)

29

Solve the equation \(f(x)=5.\)

\(x=2\)

30

Is the graph increasing or decreasing on its domain?

31

Is the function represented by the graph one-to-one?

yes

32

Find \({f}^{-1}(15).\)

33

Given \(f(x)=-2x+11,\) find \({f}^{-1}(x).\)

\({f}^{-1}(x)=-\frac{x-11}{2}\)

Glossary

inverse function
for any one-to-one function \(f(x),\) the inverse is a function \({f}^{-1}(x)\) such that \({f}^{-1}(f(x))=x\) for all \(x\) in the domain of \(f;\) this also implies that \(f({f}^{-1}(x))=x\) for all \(x\) in the domain of \({f}^{-1}\)