10: Inverse Functions

Objectives

After completing this lesson, you should be able to:

  1. Determine if a function is one-to-one
  2. Find the inverse of a function
  3. Graph functions and their inverses

Instructor Commentary

In Lesson 8, we learned about two functions that were inverses of each other. Not all functions have inverses. In order for a function to have an inverse, it must be a one-to-one function. This means it passes a vertical line test to be a function, but then it must also pass a horizontal line test to be considered one-to-one.

 

In general, for every x-value in the domain, there is one and only one unique associated y-value in the range. No two x-values can have the same associated y-value. This allows us to switch the domain and range to generate the points from the function to get the points for the inverse function. Below are examples of functions that are one-to-one and functions that are not one-to-one.

 

Functions that are NOT one-to-one

  • A horizontal line is shown crossing the graphs in more than one place
  • Two values in the domain are associated with the same value in the range
  • These are functions because they satisfy the vertical line test

One-to-One Functions

 

pic10.11.png

 

pic10.12.png

 

pic10.13.png

 

pic10.14.png

 

pic10.15.png 

 

pic10.16.png

 

Given a one-to-one function, we can find the inverse algebraically following these two steps:

  1. Switch the variables x and y
  2. Solve for y to find the inverse function

 

Example

Find the inverse of the function g(x) = 3x + 6

 

This is the same as saying y = 3x + 6, so we begin by switching the x and y variables (wherever there is an x, make it a y and wherever there is a y, make it an x).

 

x = 3y + 6

 

Now we solve for y
x – 6 = 3y
pic10.1.jpg x – 2 = y

 

So g-1(x) =  pic10.10.jpgx – 2

 

Note the points on the two functions

 

        pic10.17.png

 

Graphing the Function and the Inverse on the same grid.
One is the reflection of the other over the line y = x

pic10.21.jpg g(x) = 3x + 6pic10.21.jpg

x

y

- 3

- 3

- 2

0

- 1

3

0

6

1

9

pic10.21.jpg g-1(x) =  pic10.10.jpg x – 2pic10.21.jpg

x

y

- 3

- 3

0

- 2

3

- 1

6

0

9

1

 

You can check your new function. When you place the inverse of a function inside of the function you get x and when you place the function inside of the inverse you also get x.

 

pic10.2.jpg

 

Example

Find the inverse of the function h(x) = pic10.3.jpg
y =  pic10.3.jpg

 

Switch x and y
x =  pic10.4.jpg

 

Solve for y
x(y + 1) = 2y – 4
xy + x = 2y – 4
xy – 2y = - x – 4
y(x – 2) = - x – 4
y =  pic10.5.jpg

 

h-1(x) =  pic10.5.jpg

pic10.18.png

 

You can check your new function. When you place the inverse of a function inside of the function you get x and when you place the function inside of the inverse you also get x.

 

pic10.6.jpg

 

Example

Find the inverse of the function k(x) = x2 for x ≤ 0

Note: x 2 is NOT a one-to-one function, but if we restrict the domain to only consider part of the function, then we can MAKE the function one-to-one

 

y = x2 for x ≤ 0

 

Switch x and y
x = y2 for y ≤ 0
±pic10.7.jpg  = y

 

Since we have y ≤ 0 there is no confusion as to whether we take the ± root. We need to take the negative root since y ≤ 0

 

y = - pic10.7.jpg

 

k-1(x) = - pic10.7.jpg

pic10.19.png

 

 

You can check your new function. When you place the inverse of a function inside of the function you get x and when you place the function inside of the inverse you also get x.

 

pic10.8.jpg

 

The x values we are considering are negative values so to make sure the square root is positive we have the opposite of those x values

 

Example

Find the inverse of the function f(x) = x2 for x ≥ 0

 

y = x2 for x ≥ 0

 

Switch x and y
x = y2 for y ≥ 0
±pic10.7.jpg  = y

 

Since we have y 0 there is no confusion as to whether we take the ± root. We need to take the positive root since y ≥ 0

 

ypic10.7.jpg

 

f-1(x) = pic10.7.jpg

pic10.20.png

 

You can check your new function. When you place the inverse of a function inside of the function you get x and when you place the function inside of the inverse you also get x.

 

pic10.9.jpg