Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
K12 LibreTexts

1.12: 1.12 Inverses of Functions

( \newcommand{\kernel}{\mathrm{null}\,}\)

Functions are commonly known as rules that take inputs and produce outputs. An inverse function does exactly the reverse, undoing what the original function does. How can you tell if two functions are inverses?

Finding Inverses of Functions

A function is written as f(x) and its inverse is written as f1(x). A common misconception is to see the -1 and interpret it as an exponent and write 1f(x), but this is not correct. Instead, f1(x) should be viewed as a new function from the range of f(x) back to the domain.

clipboard_ecebb8fd77f5641e9eaede58da76fcc7b.png

It is important to see the cycle that starts with x, becomes y and then goes back to x. In order for two functions to truly be inverses of each other, this cycle must hold algebraically.

f(f1(x))=x and f1(f(x))=x

When given a function there are two steps to take to find its inverse. In the original function, first switch the variables x and y. Next, solve the function for y. This will give you the inverse function. After finding the inverse, it is important to check both directions of compositions to make sure that together the function and its inverse produce the value x. In other words, verify that f(f1(x))=x and f1(f(x))=x.

Graphically, inverses are reflections across the line y=x. Below you see inverses y=ex and y=lnx. Notice how the (x,y) coordinates in one graph become (y,x) coordinates in the other graph.

clipboard_e97a425a9a721722523f62d5e0f849121.png

In order to decide whether an inverse function is also actually a function you can use the vertical line test on the inverse function like usual. You can also use the horizontal line test on the original function. The horizontal line test is exactly like the vertical line test except the lines simply travel horizontally.

Examples

Example 1

Earlier, you were asked how you can tell that two functions are inverses. You can tell that two functions are inverses if each undoes the other, always leaving the original x.

Example 2

Find the inverse, then verify the inverse algebraically. f(x)=y=(x+1)2+4

To find the inverse, switch x and y then solve for y.

x=(y+1)2+4x4=(y+1)2±x4=y+11±x4=y=f1(x)

To verify algebraically, you must show x=f(f1(x))=f1(f(x))

f(f1(x))=f(1±x4)=((1±x4)+1)2+4=(±x4)2+4=x4+4=x

f1(f(x))=f1((x+1)2+4)=1±((x+1)2+4)4=1±(x+1)2=1+x+1=x

As you can see from the graph, the ± causes the inverse to be a relation instead of a function. This can be observed in the graph because the original function does not pass the horizontal line test and the inverse does not pass the vertical line test.

clipboard_ebdfbd967ce2234a97352937e962cebe0.png

Example 3

Find the inverse of the function and then verify that x=f(f1(x))=f1(f(x)).

f(x)=y=x+1x1

Sometimes it is quite challenging to switch x and y and then solve for y. You must be careful with your algebra.

x=y+1y1x(y1)=y+1xyx=y+1xyy=x+1y(x1)=x+1y=x+1x1

This function turns out to be its own inverse. since they are identical, you only need to show that x=f(f1(x))

f(x+1x1)=(x+1x1)+1(x+1x1)1=x+1+x1x+1(x1)=2x2=x

Example 4

What is the inverse of f(x)=y=sinx?

The sine function does not pass the horizontal line test and so its true inverse is not a function.

clipboard_e4e752218c5cdbdba7349661a9be427a0.png

However, if you restrict the domain to just the part of the x -axis between π2 and π2 then it will pass the horizontal line test and the inverse will be a function.

clipboard_e18b31f5c3aff8a32c7f3ba80dfaaca23.png

The inverse of the sine function is called the arcsine function, f(x)=sin1(x), and is shown in black. It is truncated so that it only inverts a part of the whole sine wave. You will study periodic functions and their inverses in more detail later.

Example 5

Determine if f(x)=37x21 and g(x)=73x+21 are inverses of one another.

Even though f(x)=37x21 and g(x)=73x+21 have some inverted pieces, they are not inverses of each other. In order to show this, you must show that the composition does not simplify to x.

37(73x+21)21=x+921=x12x

Review

Consider f(x)=x3

1. Sketch f(x) and f1(x).

2. Find f1(x) algebraically. It is actually a function?

3. Verify algebraically that f(x) and f1(x) are inverses.

Consider g(x)=x.

4. Sketch g(x) and g1(x).

5. Find g1(x) algebraically. It is actually a function?

6. Verify algebraically that g(x) and g1(x) are inverses.

Consider h(x)=|x|

7. Sketch h(x) and h1(x).

8. Find h1(x) algebraically. It is actually a function?

9. Verify graphically that h(x) and h1(x) are inverses.

Consider j(x)=2x5

10. Sketch j(x) and j1(x).

11. Find j1(x) algebraically. It is actually a function?

12. Verify algebraically that j(x) and j1(x) are inverses.

13. Use the horizontal line test to determine whether or not the inverse of f(x)=x32x2+1 is also a function.

14. Are g(x)=ln(x+1) and h(x)=ex1 inverses? Explain.

15. If you were given a table of values for a function, how could you create a table of values for the inverse of the function?

c


1.12: 1.12 Inverses of Functions is shared under a CC BY-NC license and was authored, remixed, and/or curated by LibreTexts.

Support Center

How can we help?