Understanding and Graphing the Inverse Function

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
Your next lesson will play in 10 seconds
  • 0:06 Inverse Functions
  • 2:24 Five Steps to…
  • 2:46 Examples
  • 5:31 Graphing Inverse Functions
  • 6:52 Lesson Summary
Create an account to start this course today
Try it free for 5 days!
Create An Account
Lesson Transcript
Instructor: Robert Egan
If you use a function to map a to b, is there a way to go back from b to a again? Learn how to find and graph inverse functions so that you can turn a into b and back into a.

Inverse Functions

If I tell you that I have a function that maps the number of feet in some distance to the number of inches in that distance, you might tell me that the function is y=f(x) where the input x is the number of feet and the output y is the number of inches. You might even tell me that y = f(x) = 12x, because there are 12 inches in every foot. But what if I told you that I wanted a function that does the exact opposite? What if I want a function to take the number of inches as input and return the number of feet as output? Could you tell me what this function is?

Inverse functions are exactly that. If we have a function y=f(x), then the inverse function is written as y= f^(-1)(x), and it does the exact opposite of the function. What happens if you put a function and its inverse into a composite function such as f^(-1)(f(x))? First, we evaluate the inner function, f(x), then we're going to evaluate the outer function f^(-1)(x).

Let's take a look at an example. Say we start with 4 feet. Well, our function is f(x)=12x because there are 12 inches in every foot. If we plug in 4 feet to start, then f(4) = 12 * 4 = 48 inches. Now if we take the inverse function, and the inverse function is going to be f^(-1)(x) = x(1/12). So, if we take 48 inches, then our inverse function, f^(-1)(48) = 48 / 12 = 4 feet. Okay, so you might be able to find f(x) and f^(-1)(x) just based on your understanding of inches and feet, but how do you do it in general?

Five Steps to Inversing a Function

  1. Write your function out in terms of x and y: y=f(x).
  2. Swap the x and y variables: x=f(y).
  3. Solve for y as a function of x.
  4. Set y = f^(-1)(x).
  5. Check the composite function: f^(-1)(f(x)).


Graph of f(x) = 3x - 6 and its inverse
Graphing Inverse Function Graph

Following these steps, let's say we have a function f(x) = 3(x - 1) + 2.

We're going to write this out in terms of x and y: y = 3(x - 1) + 2. Then we're going swap the x and y variables, so we're going to write this as x = 3(y - 1) + 2. This can be a confusing step if you're not careful, but at its heart, all you're doing is putting x everywhere you see y and putting y everywhere you see x. Then you're going to solve for y as a function of x. So I'm going to subtract 2 from both sides, x - 2 = 3(y - 1), divide both sides by 3, (x - 2) / 3 = y - 1 and add 1 to both sides and I end up with y = 1 + (x - 2)/3.

I'm going to call what's on the right-hand side my inverse function, f^(-1)(x) = 1 + (x-2)/3. Finally, I'm going to check my answer, so I'm going to find f^(-1) of (f(x)). To do this, I'm going to write f(x) = 3(x-1) + 2. I'm going to plug that in as input for my inverse function, so f^(-1)(x) = 1 + ((3(x-1) + 2) - 2)/3. I have my input here, so I'm just going to solve and simplify for f^(-1)(x) = 1 + (3(x-1))/3: f^(-1)(x) = 1 + x - 1. And sure enough, f^(-1)(f(x)) = x, which is exactly what we'd expect.

So what about a function like y = round(x)? Remember that round(x) just rounds our input to the nearest integer: round(4.2) = 4. However, round(4.8) = 5 and round(5.1) = 5. In this case, do you think that you can find an inverse function that can take 5 and give your either 5.1 or 4.8? No, round(x) is a function that has no inverse.

Graphing Inverse Functions

Graph of the final complex function and its inverse
Complex Function Graph

To unlock this lesson you must be a Study.com Member.
Create your account

Register for a free trial

Are you a student or a teacher?
I am a teacher
What is your educational goal?

Unlock Your Education

See for yourself why 10 million people use Study.com

Become a Study.com member and start learning now.
Become a Member  Back

Earning College Credit

Did you know… We have over 49 college courses that prepare you to earn credit by exam that is accepted by over 2,000 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? Study.com has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Click "next lesson" whenever you finish a lesson and quiz. Got It
You now have full access to our lessons and courses. Watch the lesson now or keep exploring. Got It
You're 25% of the way through this course! Keep going at this rate,and you'll be done before you know it.
The first step is always the hardest! Congrats on finishing your first lesson. Go to Next Lesson Take Quiz
Way to go! If you watch at least 30 minutes of lessons each day you'll master your goals before you know it. Go to Next Lesson Take Quiz
Congratulations on earning a badge for watching 10 videos but you've only scratched the surface. Keep it up! Go to Next Lesson Take Quiz
You've just watched 20 videos and earned a badge for your accomplishment! Go to Next Lesson Take Quiz
You've just earned a badge for watching 50 different lessons. Keep it up, you're making great progress! Go to Next Lesson Take Quiz
You just watched your 100th video lesson. You have earned a badge for this achievement! Go to Next Lesson Take Quiz
Congratulations! You just finished watching your 200th lesson and earned a badge! Go to Next Lesson Take Quiz
Congratulations! You just finished watching your 300th lesson and earned a badge! Go to Next Lesson Take Quiz
You are a superstar! You have earned the prestigious 500 video lessons watched badge. Go to Next Lesson Take Quiz
Incredible. You have just entered the exclusive club and earned the 1000 videos watched badge. Go to Next Lesson Take Quiz
You have earned a badge for watching 20 minutes of lessons.
You have earned a badge for watching 50 minutes of lessons.
You have earned a badge for watching 100 minutes of lessons.
You have earned a badge for watching 250 minutes of lessons.
You have earned a badge for watching 500 minutes of lessons.
You have earned a badge for watching 1000 minutes of lessons.