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

Guides d'étude > College Algebra

Define and Graph an Inverse

Learning Objectives

  • Find and evaluate the inverse of a function in tabular form
  • Find and evaluate the inverse of a function given as an equation
  • Graph a function's inverse
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: Interpreting the Inverse of a Tabular Function

A function f(t)f\left(t\right) is given below, showing distance in miles that a car has traveled in tt minutes. Find and interpret f1(70){f}^{-1}\left(70\right).
t (minutes)t\text{ (minutes)} 30 50 70 90
f(t) (miles)f\left(t\right)\text{ (miles)} 20 40 60 70

Answer: The inverse function takes an output of ff and returns an input for ff. So in the expression f1(70){f}^{-1}\left(70\right), 70 is an output value of the original function, representing 70 miles. The inverse will return the corresponding input of the original function ff, 90 minutes, so f1(70)=90{f}^{-1}\left(70\right)=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)=bf\left(a\right)=b, then f1(b)=a{f}^{-1}\left(b\right)=a. By this definition, if we are given f1(70)=a{f}^{-1}\left(70\right)=a, then we are looking for a value aa so that f(a)=70f\left(a\right)=70. In this case, we are looking for a tt so that f(t)=70f\left(t\right)=70, which is when t=90t=90.

Try It

Using the table below, find and interpret (a)  f(60)\text{ }f\left(60\right), and (b)  f1(60)\text{ }{f}^{-1}\left(60\right).
t (minutes)t\text{ (minutes)} 30 50 60 70 90
f(t) (miles)f\left(t\right)\text{ (miles)} 20 40 50 60 70

Answer: a. f(60)=50f\left(60\right)=50. In 60 minutes, 50 miles are traveled. b. f1(60)=70{f}^{-1}\left(60\right)=70. To travel 60 miles, it will take 70 minutes.

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

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.

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

Example: Evaluating a Function and Its Inverse from a Graph at Specific Points

A function g(x)g\left(x\right) is given below. Find g(3)g\left(3\right) and g1(3){g}^{-1}\left(3\right). Graph of g(x).

Answer: To evaluate g(3)g\left(3\right), we find 3 on the x-axis and find the corresponding output value on the y-axis. The point (3,1)\left(3,1\right) tells us that g(3)=1g\left(3\right)=1. To evaluate g1(3){g}^{-1}\left(3\right), recall that by definition g1(3){g}^{-1}\left(3\right) means the value of x for which g(x)=3g\left(x\right)=3. By looking for the output value 3 on the vertical axis, we find the point (5,3)\left(5,3\right) on the graph, which means g(5)=3g\left(5\right)=3, so by definition, g1(3)=5{g}^{-1}\left(3\right)=5. Graph of g(x).

Try It

Using the graph in the previous example, (a) find g1(1){g}^{-1}\left(1\right), and (b) estimate g1(4){g}^{-1}\left(4\right).

Answer: a. 3; b. 5.6

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, yy as a function of xx- we can often find the inverse function by solving to obtain xx as a function of yy.

How To: Given a function represented by a formula, find the inverse.

  1. Make sure ff is a one-to-one function.
  2. Solve for xx.
  3. Interchange xx and yy.

Example: Inverting the Fahrenheit-to-Celsius Function

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

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

Answer:

C=59(F32)C95=F32F=95C+32\begin{array}{c}\hfill{ C }=\frac{5}{9}\left(F - 32\right)\hfill \\ C\cdot \frac{9}{5}=F - 32\hfill \\ F=\frac{9}{5}C+32\hfill \end{array}

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

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

then

F=h1(C)=95C+32F={h}^{-1}\left(C\right)=\frac{9}{5}C+32.

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

Try It

Solve for xx in terms of yy given y=13(x5)y=\frac{1}{3}\left(x - 5\right)

Answer: x=3y+5x=3y+5

Example: Solving to Find an Inverse Function

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

Answer: y=2x3+4Set up an equation.y4=2x3Subtract 4 from both sides.x3=2y4Multiply both sides by x3 and divide by y4.x=2y4+3Add 3 to both sides.\begin{array}{l}y=\frac{2}{x - 3}+4\hfill & \text{Set up an equation}.\hfill \\ y - 4=\frac{2}{x - 3}\hfill & \text{Subtract 4 from both sides}.\hfill \\ x - 3=\frac{2}{y - 4}\hfill & \text{Multiply both sides by }x - 3\text{ and divide by }y - 4.\hfill \\ x=\frac{2}{y - 4}+3\hfill & \text{Add 3 to both sides}.\hfill \end{array} So f1(y)=2y4+3{f}^{-1}\left(y\right)=\frac{2}{y - 4}+3 or f1(x)=2x4+3{f}^{-1}\left(x\right)=\frac{2}{x - 4}+3.

Analysis of the Solution

The domain and range of ff exclude the values 3 and 4, respectively. ff and f1{f}^{-1} are equal at two points but are not the same function, as we can see by creating the table below.
xx 1 2 5 f1(y){f}^{-1}\left(y\right)
f(x)f\left(x\right) 3 2 5 yy

Example: Solving to Find an Inverse with Radicals

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

Answer: y=2+x4(y2)2=x4x=(y2)2+4\begin{array}{l}y=2+\sqrt{x - 4}\hfill \\ {\left(y - 2\right)}^{2}=x - 4\hfill \\ x={\left(y - 2\right)}^{2}+4\hfill \end{array} So f1(x)=(x2)2+4{f}^{-1}\left(x\right)={\left(x - 2\right)}^{2}+4. The domain of ff is [4,)\left[4,\infty \right). Notice that the range of ff is [2,)\left[2,\infty \right), so this means that the domain of the inverse function f1{f}^{-1} is also [2,)\left[2,\infty \right).

Analysis of the Solution

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

Try It

What is the inverse of the function f(x)=2xf\left(x\right)=2-\sqrt{x}? State the domains of both the function and the inverse function. Use Desmos to graph the function, it's inverse, and f(x)=xf(x) = x to check whether you are correct.

Answer: f1(x)=(2x)2;domain off:[0,);domain off1:(,2]{f}^{-1}\left(x\right)={\left(2-x\right)}^{2};\text{domain}\text{ of} f:\left[0,\infty \right);\text{domain}\text{ of}{ f}^{-1}:\left(-\infty ,2\right]\\

Graph a Function's Inverse

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)=x2f\left(x\right)={x}^{2} restricted to the domain [0,)\left[0,\infty \right), on which this function is one-to-one, and graph it as below.
Graph of f(x). Quadratic function with domain restricted to [0, ∞).
Restricting the domain to [0,)\left[0,\infty \right) 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, f1(x)=x{f}^{-1}\left(x\right)=\sqrt{x}. What happens if we graph both f f\text{ } and f1{f}^{-1} on the same set of axes, using the x-x\text{-} axis for the input to both f and f1?f\text{ and }{f}^{-1}? We notice a distinct relationship: The graph of f1(x){f}^{-1}\left(x\right) is the graph of f(x)f\left(x\right) reflected about the diagonal line y=xy=x, which we will call the identity line, shown below.
Graph of f(x) and f^(-1)(x). 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: Finding the Inverse of a Function Using Reflection about the Identity Line

Given the graph of f(x)f\left(x\right), sketch a graph of f1(x){f}^{-1}\left(x\right). Graph of f^(-1)(x).

Answer: 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,)\left(0,\infty \right) and range of (,)\left(-\infty ,\infty \right), so the inverse will have a domain of (,)\left(-\infty ,\infty \right) and range of (0,)\left(0,\infty \right). If we reflect this graph over the line y=xy=x, the point (1,0)\left(1,0\right) reflects to (0,1)\left(0,1\right) and the point (4,2)\left(4,2\right) reflects to (2,4)\left(2,4\right). Sketching the inverse on the same axes as the original graph gives us the result in the graph below.

Graph of f(x) and f^(-1)(x). The function and its inverse, showing reflection about the identity line

Q & A Is there any function that is equal to its own inverse? Yes. If f=f1f={f}^{-1}, then f(f(x))=xf\left(f\left(x\right)\right)=x, and we can think of several functions that have this property. The identity function does, and so does the reciprocal function, because

11x=x\frac{1}{\frac{1}{x}}=x

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

Licenses & Attributions