If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Intro to inverse functions

Learn what the inverse of a function is, and how to evaluate inverses of functions that are given in tables or graphs.
Inverse functions, in the most general sense, are functions that "reverse" each other.
For example, here we see that function f takes 1 to x, 2 to z, and 3 to y.
The inverse of f, denoted f1 (and read as "f inverse"), will reverse this mapping. Function f1 takes x to 1, y to 3, and z to 2.
Reflection question
Which of the following is a true statement?
صرف 1 جواب چنو

Defining inverse functions

In general, if a function f takes a to b, then the inverse function, f1, takes b to a.
From this, we have the formal definition of inverse functions:

f(a)=bf1(b)=a

Let's dig further into this definition by working through a couple of examples.

Example 1: Mapping diagram

Suppose function h is defined by mapping diagram above. What is h1(9)?

Solution

We are given information about function h and are asked a question about function h1. Since inverse functions reverse each other, we need to reverse our thinking.
Specifically, to find h1(9), we can find the input of h whose output is 9. This is because if h1(9)=x, then by definition of inverses, h(x)=9.
From the mapping diagram, we see that h(6)=9, and so h1(9)=6.

Check your understanding

Problem 1
g1(3)=
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

Example 2: Graph

This is the graph of function g. Let's find g1(7).

Solution

To find g1(7), we can find the input of g that corresponds to an output of 7. This is because if g1(7)=x, then by definition of inverses, g(x)=7.
From the graph, we see that g(3)=7.
Therefore, g1(7)=3.

Check your understanding

Problem 2
What is h1(4)?
صرف 1 جواب چنو

Challenge problem
Given that f(x)=3x2, what is f1(7)?
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

A graphical connection

The examples above have shown us the algebraic connection between a function and its inverse, but there is also a graphical connection!
Consider function f, given in the graph and in a table of values.
xf(x)
214
112
01
12
24
We can reverse the inputs and outputs of function f to find the inputs and outputs of function f1. So if (a,b) is on the graph of y=f(x), then (b,a) will be on the graph of y=f1(x).
This gives us these graph and table of values of f1.
xf1(x)
142
121
10
21
42
Looking at the graphs together, we see that the graph of y=f(x) and the graph of y=f1(x) are reflections across the line y=x.
This will be true in general; the graph of a function and its inverse are reflections over the line y=x.

Check your understanding

Problem 3
This is the graph of y=h(x).
Which is the best choice for the graph of y=h1(x)?
صرف 1 جواب چنو

Problem 4
The graph of y=h(x) is a line segment joining the points (5,1) and (2,7).
Drag the endpoints of the solid segment below to graph y=h1(x).

Why study inverses?

It may seem arbitrary to be interested in inverse functions but in fact we use them all the time!
Consider that the equation C=59(F32) can be used to convert the temperature in degrees Fahrenheit, F, to a temperature in degrees Celsius, C.
But suppose we wanted an equation that did the reverse – that converted a temperature in degrees Celsius to a temperature in degrees Fahrenheit. This describes the function F=95C+32, or the inverse function.
On a more basic level, we solve many equations in mathematics, by "isolating the variable". When we isolate the variable, we "undo" what is around it. In this way, we are using the idea of inverse functions to solve equations.