We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > College Algebra

Verify inverse functions

Suppose a fashion designer traveling to Milan for a fashion show wants to know what the temperature will be. He is not familiar with the Celsius scale. To get an idea of how temperature measurements are related, he asks his assistant, Betty, to convert 75 degrees Fahrenheit to degrees Celsius. She finds the formula

C=59(F32)C=\frac{5}{9}\left(F - 32\right)

and substitutes 75 for FF to calculate

59(7532)24C\frac{5}{9}\left(75 - 32\right)\approx {24}^{ \circ} {C}.
A forecast of Monday’s through Thursday’s weather.Figure 2

Knowing that a comfortable 75 degrees Fahrenheit is about 24 degrees Celsius, he sends his assistant the week’s weather forecast for Milan, and asks her to convert all of the temperatures to degrees Fahrenheit.

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 FF after substituting a value for CC. For example, to convert 26 degrees Celsius, she could write

{26=59(F32)2695=F32F=2695+3279\begin{cases}26=\frac{5}{9}\left(F - 32\right)\hfill \\ 26\cdot \frac{9}{5}=F - 32\hfill \\ F=26\cdot \frac{9}{5}+32\approx 79\hfill \end{cases}

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)f\left(x\right), we represent its inverse as f1(x){f}^{-1}\left(x\right), read as "f"f inverse of x."x.\text{"} The raised 1-1 is part of the notation. It is not an exponent; it does not imply a power of 1-1 . In other words, f1(x){f}^{-1}\left(x\right) does not mean 1f(x)\frac{1}{f\left(x\right)} because 1f(x)\frac{1}{f\left(x\right)} is the reciprocal of ff and not the inverse.

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

(f1f)(x)=f1(f(x))=f1(y)=x\left({f}^{-1}\circ f\right)\left(x\right)={f}^{-1}\left(f\left(x\right)\right)={f}^{-1}\left(y\right)=x\\

This holds for all xx in the domain of ff. 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)f\left(x\right), we can verify whether some other function g(x)g\left(x\right) is the inverse of f(x)f\left(x\right) by checking whether either g(f(x))=xg\left(f\left(x\right)\right)=x or f(g(x))=xf\left(g\left(x\right)\right)=x is true. We can test whichever equation is more convenient to work with because they are logically equivalent (that is, if one is true, then so is the other.)

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

(f1f)(x)=f1(4x)=14(4x)=x\left({f}^{-1}\circ f\right)\left(x\right)={f}^{-1}\left(4x\right)=\frac{1}{4}\left(4x\right)=x\\

and

(ff1)(x)=f(14x)=4(14x)=x\left({f}^{}\circ {f}^{-1}\right)\left(x\right)=f\left(\frac{1}{4}x\right)=4\left(\frac{1}{4}x\right)=x\\

A few coordinate pairs from the graph of the function y=4xy=4x are (−2, −8), (0, 0), and (2, 8). A few coordinate pairs from the graph of the function y=14xy=\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.

A General Note: Inverse Function

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

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

f1(x)1f(x){f}^{-1}\left(x\right)\ne \frac{1}{f\left(x\right)}

and not all functions have inverses.

Example 1: Identifying an Inverse Function for a Given Input-Output Pair

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

Solution

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

{cf(2)=4, then f1(4)=2;f(5)=12, then f1(12)=5.\begin{cases}{c}f\left(2\right)=4,\text{ then }{f}^{-1}\left(4\right)=2;\\ f\left(5\right)=12,{\text{ then f}}^{-1}\left(12\right)=5.\end{cases}

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

Analysis of the Solution

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

(x,f(x))\left(x,f\left(x\right)\right) (x,g(x))\left(x,g\left(x\right)\right)
(2,4)\left(2,4\right) (4,2)\left(4,2\right)
(5,12)\left(5,12\right) (12,5)\left(12,5\right)

Try It 1

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

Solution
https://youtu.be/TSztRfzmk0M  

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

  1. Determine whether f(g(x))=xf\left(g\left(x\right)\right)=x or g(f(x))=xg\left(f\left(x\right)\right)=x.
  2. If either statement is true, then both are true, and g=f1g={f}^{-1} and f=g1f={g}^{-1}. If either statement is false, then both are false, and gf1g\ne {f}^{-1} and fg1f\ne {g}^{-1}.

Example 2: Testing Inverse Relationships Algebraically

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

Solution

{g(f(x))=1(1x+2)2=x+22=x\begin{cases} g\left(f\left(x\right)\right)=\frac{1}{\left(\frac{1}{x+2}\right)}{-2 }\hfill\\={ x }+{ 2 } -{ 2 }\hfill\\={ x }\hfill \end{cases}\\

so

g=f1 and f=g1g={f}^{-1}\text{ and }f={g}^{-1}

This is enough to answer yes to the question, but we can also verify the other formula.

{f(g(x))=11x2+2=11x=x\begin{cases} f\left(g\left(x\right)\right)=\frac{1}{\frac{1}{x}-2+2}\\ =\frac{1}{\frac{1}{x}}\hfill \\ =x\hfill \end{cases}\\

Analysis of the Solution

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

Try It 2

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

Solution

Example 3: Determining Inverse Relationships for Power Functions

If f(x)=x3f\left(x\right)={x}^{3} (the cube function) and g(x)=13xg\left(x\right)=\frac{1}{3}x, is g=f1?g={f}^{-1}?\\

Solution

f(g(x))=x327xf\left(g\left(x\right)\right)=\frac{{x}^{3}}{27}\ne x\\

No, the functions are not inverses.

Analysis of the Solution

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

Try It 3

If f(x)=(x1)3andg(x)=x3+1f\left(x\right)={\left(x - 1\right)}^{3}\text{and}g\left(x\right)=\sqrt[3]{x}+1\\, is g=f1?g={f}^{-1}?\\

Solution

Licenses & Attributions