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

학습 가이드 > MATH 1314: College Algebra

Use the graph of a function to graph its 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 in Figure 7.

Graph of f(x).Figure 7. 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 in Figure 8.
Graph of f(x) and f^(-1)(x).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: 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).Figure 9

Solution

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 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 f\text{ } and  f1\text{ }{f}^{-1}.

Solution

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